Skip to content

Commit

Permalink
chore: update some deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcherGu committed Dec 27, 2022
1 parent 69801d8 commit 37b378e
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 34 deletions.
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -29,9 +29,9 @@
"prepublishOnly": "npm run build"
},
"dependencies": {
"execa": "^6.0.0",
"global-dirs": "^3.0.0",
"resolve": "^1.22.0"
"execa": "^6.1.0",
"global-dirs": "^3.0.1",
"resolve": "^1.22.1"
},
"devDependencies": {
"@lightwing/eslint-config": "0.0.9",
Expand All @@ -42,7 +42,7 @@
"simple-git-hooks": "2.8.1",
"tsup": "6.5.0",
"typescript": "4.9.4",
"vitest": "0.25.8"
"vitest": "0.26.2"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
Expand Down
103 changes: 75 additions & 28 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions src/utils.ts
@@ -1,5 +1,5 @@
import path from 'path'
import execa from 'execa'
import { execaSync } from 'execa'
import globalDirs from 'global-dirs'

export interface GlobalPackagesDirs {
Expand Down Expand Up @@ -32,7 +32,7 @@ export function getGlobalPackagesDirs(): GlobalPackagesDirs {

try {
// TODO: SO SLOW!!!!!
const { stdout } = execa.sync('pnpm', ['root', '-g'])
const { stdout } = execaSync('pnpm', ['root', '-g'])
pnpmGlobalDir = stdout.trim()
}
catch { }
Expand Down

0 comments on commit 37b378e

Please sign in to comment.