Skip to content

Commit 779831d

Browse files
committed
chore: use tinyglobby
1 parent bd78805 commit 779831d

File tree

3 files changed

+12
-26
lines changed

3 files changed

+12
-26
lines changed

.scripts/build.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import fsp from 'node:fs/promises'
2-
import { globby } from 'globby'
2+
import { glob } from 'tinyglobby'
33
import { readPackageJSON } from 'pkg-types'
44
import { join, resolve } from 'pathe'
55

66
const stringify = contents => JSON.stringify(contents, null, 2)
77

8-
const packages = await globby([
8+
const packages = await glob([
99
'examples/**/package.json',
1010
'!**/node_modules',
1111
'!**/.nitro',

package.json

+4-7
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,19 @@
1111
},
1212
"devDependencies": {
1313
"@nuxt/eslint": "^1.3.0",
14-
"@nuxt/kit": "3.13.2",
1514
"@types/node": "^22.9.0",
1615
"consola": "^3.2.3",
1716
"eslint": "^9.14.0",
18-
"globby": "^14.0.2",
1917
"pathe": "^2.0.0",
2018
"pkg-types": "^2.1.0",
2119
"tinyexec": "^1.0.1",
22-
"turbo": "^2.3.0",
23-
"typescript": "^5.6.3"
20+
"tinyglobby": "^0.2.12",
21+
"turbo": "2.3.0",
22+
"typescript": "5.6.3"
2423
},
2524
"resolutions": {
2625
"@nuxt/kit": "3.13.2",
27-
"destr": "2.0.3",
28-
"nuxt": "^3.13.2",
29-
"ufo": "1.5.4"
26+
"nuxt": "^3.13.2"
3027
},
3128
"packageManager": "[email protected]"
3229
}

pnpm-lock.yaml

+6-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)