Skip to content

Commit 607981d

Browse files
committed
refactor: migrate globby to tinyglobby
1 parent f71953c commit 607981d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"defu": "^6.1.4",
3838
"destr": "^2.0.3",
3939
"didyoumean2": "^7.0.4",
40-
"globby": "^14.1.0",
4140
"magic-string": "^0.30.17",
4241
"mdbox": "^0.1.1",
4342
"mlly": "^1.7.4",
@@ -46,6 +45,7 @@
4645
"perfect-debounce": "^1.0.0",
4746
"pkg-types": "^2.0.0",
4847
"scule": "^1.3.0",
48+
"tinyglobby": "^0.2.12",
4949
"untyped": "^1.5.2"
5050
},
5151
"devDependencies": {

pnpm-lock.yaml

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/automd.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ export async function automd(_config: Config = {}): Promise<AutomdReturn> {
5353

5454
let inputFiles = config.input;
5555
if (inputFiles.some((i) => i.includes("*"))) {
56-
const { globby } = await import("globby");
57-
inputFiles = await globby(inputFiles, {
56+
const { glob } = await import("tinyglobby");
57+
inputFiles = await glob(inputFiles, {
5858
cwd: config.dir,
5959
absolute: false,
6060
onlyFiles: true,

0 commit comments

Comments
 (0)