Skip to content

Commit cb052ad

Browse files
committed
fix(test): change tiny glob to fast glob
1 parent cb9dfa4 commit cb052ad

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@
4444
"@types/react-dom": "^18.2.19",
4545
"eslint": "^8.57.0",
4646
"postcss": "^8",
47-
"tiny-glob": "^0.2.9",
4847
"tsup": "^8.2.0",
4948
"typescript": "^5.3.3"
5049
},
5150
"dependencies": {
5251
"@lit/react": "^1.0.5",
5352
"@material/web": "^2.2.0",
5453
"autoprefixer": "^10.4.19",
54+
"fast-glob": "^3.3.2",
5555
"lit": "^3.2.0",
5656
"react": "^18.2.0",
5757
"react-hot-toast": "^2.4.1",

packages/ui/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"extends": "@repo/typescript-config/react-library.json",
33
"compilerOptions": {
4-
"outDir": "dist"
4+
"outDir": "dist",
5+
"baseUrl": "."
56
},
67
"include": ["**/*", "*.cjs"],
78
"exclude": ["node_modules", "dist"]

packages/ui/tsup.config.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
import glob from "tiny-glob";
1+
import fg from "fast-glob";
22
import { defineConfig } from "tsup";
33

44
export default defineConfig(async (options) => ({
55
clean: true,
6-
entry: await glob("./src/**/!(*.d|*.spec).tsx"),
6+
entry: await fg("./src/**/!(*.d|*.spec).tsx"),
77
splitting: true,
88
target: "es5",
99
format: "esm",
10-
// dts: true,
1110
treeshake: true,
1211
bundle: true,
13-
// sourcemap: true,
1412
outDir: "./dist",
1513
minify: !options.watch,
1614
}));

0 commit comments

Comments
 (0)