Skip to content

Commit c539fa7

Browse files
GoodbyeNJNCopilot
andcommitted
feat: separate glob module from fs module
Co-authored-by: Copilot <copilot@github.com>
1 parent 1750edd commit c539fa7

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
"types": "./dist/fs.d.ts",
3232
"import": "./dist/fs.js"
3333
},
34+
"./glob": {
35+
"types": "./dist/glob.d.ts",
36+
"import": "./dist/glob.js"
37+
},
3438
"./json": {
3539
"types": "./dist/json.d.ts",
3640
"import": "./dist/json.js"

rolldown.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const input = {
1010
common: "src/common/index.ts",
1111
exec: "src/exec/index.ts",
1212
fs: "src/fs/index.ts",
13+
glob: "src/glob/index.ts",
1314
json: "src/json/index.ts",
1415
remeda: "src/remeda/index.ts",
1516
result: "src/result/index.ts",
@@ -29,7 +30,7 @@ export default defineConfig([
2930
chunkFileNames: "chunks/chunk-[hash].js",
3031
comments: {
3132
annotation: true,
32-
jsdoc: true,
33+
jsdoc: false,
3334
legal: false,
3435
},
3536
},

src/fs/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
export { convertPathToPattern, escapePath, glob, globSync, isDynamicPattern } from "./glob";
21
export { BaseVFile } from "./vfile";
32

43
export * from "./safe";
54
export * from "./unsafe";
65

7-
export type { GlobOptions } from "./glob";
86
export type {
97
AppendFileOptions,
108
BufferEncodingOptions,
File renamed without changes.

0 commit comments

Comments
 (0)