Skip to content

Commit 9241939

Browse files
authored
Replace fast-glob with tinyglobby (#1582)
1 parent f0db6bf commit 9241939

File tree

5 files changed

+30
-8
lines changed

5 files changed

+30
-8
lines changed

pnpm-lock.yaml

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

scripts/build-dts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import fs from 'fs/promises';
33
import path from 'path';
44
import { pathToFileURL } from 'url';
55

6-
import glob from 'fast-glob';
6+
import { glob } from 'tinyglobby';
77
import { legacy, resolve } from 'resolve.exports';
88
import { rollup } from 'rollup';
99
import dts from 'rollup-plugin-dts';

scripts/copy-next-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import glob from 'fast-glob';
1+
import { glob } from 'tinyglobby';
22
import { existsSync } from 'fs';
33
import fs from 'fs/promises';
44
import path from 'path';

scripts/copy-readme-to-packages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from 'fs/promises';
22
import path from 'path';
33

4-
import glob from 'fast-glob';
4+
import { glob } from 'tinyglobby';
55

66
const packages = await glob('packages/*', {
77
onlyDirectories: true,

scripts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"private": true,
44
"type": "module",
55
"devDependencies": {
6-
"fast-glob": "^3.2.7",
76
"resolve.exports": "^2.0.2",
87
"rollup": "^4.20.0",
98
"rollup-plugin-dts": "^6.1.1",
10-
"rollup-plugin-node-externals": "^7.1.3"
9+
"rollup-plugin-node-externals": "^7.1.3",
10+
"tinyglobby": "^0.2.13"
1111
}
1212
}

0 commit comments

Comments
 (0)