File tree 3 files changed +8
-7
lines changed
3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 108
108
/tests /fixtures /** /actual-types.svelte
109
109
/tests /fixtures /** /actual-types.astro
110
110
/tests /fixtures /** /actual-types.ts
111
- /lib
111
+ /lib
112
+ /yarn.lock
Original file line number Diff line number Diff line change 69
69
}
70
70
},
71
71
"dependencies" : {
72
- "globby" : " ^11.1.0" ,
73
- "is-glob" : " ^4.0.3"
72
+ "tinyglobby" : " ^0.2.12"
74
73
},
75
74
"devDependencies" : {
76
75
"@changesets/changelog-github" : " ^0.5.0" ,
Original file line number Diff line number Diff line change 1
- import { sync as globSync } from "globby" ;
2
- import isGlob from "is-glob" ;
1
+ import { globSync , isDynamicPattern } from "tinyglobby" ;
3
2
import path from "path" ;
4
3
import * as ts from "typescript" ;
5
4
@@ -42,9 +41,11 @@ export function resolveProjectList(
42
41
43
42
// Transform glob patterns into paths
44
43
const nonGlobProjects = sanitizedProjects . filter (
45
- ( project ) => ! isGlob ( project ) ,
44
+ ( project ) => ! isDynamicPattern ( project ) ,
45
+ ) ;
46
+ const globProjects = sanitizedProjects . filter ( ( project ) =>
47
+ isDynamicPattern ( project ) ,
46
48
) ;
47
- const globProjects = sanitizedProjects . filter ( ( project ) => isGlob ( project ) ) ;
48
49
49
50
const uniqueCanonicalProjectPaths = new Set (
50
51
nonGlobProjects
You can’t perform that action at this time.
0 commit comments