Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 01a8ae5

Browse files
committed
chore(package): fast-glob has chaged to globby
1 parent 70b76f2 commit 01a8ae5

File tree

3 files changed

+49
-6
lines changed

3 files changed

+49
-6
lines changed

compiler/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as path from 'path';
22
import * as fs from 'fs';
33
import ts from 'typescript';
4-
import fg from 'fast-glob';
4+
import { globby } from 'globby';
55
import { cleanUp } from './clean-up';
66
import { createBuildIn } from '../../src/core/method/create-build-in-helper.js';
77
import { setBuildIn } from '../../src/core/method/set-build-in-helper.js';
@@ -32,7 +32,7 @@ async function getAppRoot(): Promise<string> {
3232
(async () => {
3333
await cleanUp();
3434
const appRoot = await getAppRoot();
35-
const files = await fg([path.join(appRoot, '**/*.{ts,tsx}')]);
35+
const files = await globby([path.join(appRoot, '**/*.{ts,tsx}')]);
3636
const styleFiles = files.filter(isCSSX);
3737
console.log('\n💬 The following CSS caches were accepted:\n');
3838
const importPromises = styleFiles.map(styleFile => import(path.resolve(styleFile)));

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"cssx": "./bin/cssx.mjs"
1919
},
2020
"dependencies": {
21-
"fast-glob": "^3.3.2",
21+
"globby": "^14.0.2",
2222
"tsx": "^4.19.1"
2323
},
2424
"devDependencies": {

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)