@fumadocs/cli 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ast-DFGM1gEn.js +72 -0
- package/dist/ast-DFGM1gEn.js.map +1 -0
- package/dist/build/index.d.ts +142 -137
- package/dist/build/index.d.ts.map +1 -0
- package/dist/build/index.js +275 -323
- package/dist/build/index.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +557 -760
- package/dist/index.js.map +1 -0
- package/package.json +21 -18
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import path from "node:path";
|
|
2
|
+
import { Visitor } from "oxc-parser";
|
|
3
|
+
|
|
4
|
+
//#region src/constants.ts
|
|
5
|
+
const typescriptExtensions = [
|
|
6
|
+
".ts",
|
|
7
|
+
".tsx",
|
|
8
|
+
".js",
|
|
9
|
+
".jsx"
|
|
10
|
+
];
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/utils/ast.ts
|
|
14
|
+
/**
|
|
15
|
+
* Return the import modifier for `sourceFile` to import `referenceFile`
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```ts
|
|
19
|
+
* toReferencePath('index.ts', 'dir/hello.ts')
|
|
20
|
+
* // should output './dir/hello'
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function toImportSpecifier(sourceFile, referenceFile) {
|
|
24
|
+
const extname = path.extname(referenceFile);
|
|
25
|
+
const removeExt = typescriptExtensions.includes(extname);
|
|
26
|
+
let importPath = path.relative(path.dirname(sourceFile), removeExt ? referenceFile.substring(0, referenceFile.length - extname.length) : referenceFile).replaceAll(path.sep, "/");
|
|
27
|
+
if (removeExt && importPath.endsWith("/index")) importPath = importPath.slice(0, -6);
|
|
28
|
+
return importPath.startsWith("../") ? importPath : `./${importPath}`;
|
|
29
|
+
}
|
|
30
|
+
function transformSpecifiers(program, s, transformSpecifier) {
|
|
31
|
+
new Visitor({
|
|
32
|
+
ImportDeclaration(node) {
|
|
33
|
+
const source = node.source;
|
|
34
|
+
const out = transformSpecifier(source.value);
|
|
35
|
+
if (out) {
|
|
36
|
+
s.update(source.start + 1, source.end - 1, out);
|
|
37
|
+
source.value = out;
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
ImportExpression(node) {
|
|
41
|
+
if (node.source.type === "Literal") {
|
|
42
|
+
const source = node.source;
|
|
43
|
+
const out = transformSpecifier(source.value);
|
|
44
|
+
if (out) {
|
|
45
|
+
s.update(source.start + 1, source.end - 1, out);
|
|
46
|
+
source.value = out;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
ExportAllDeclaration(node) {
|
|
51
|
+
const source = node.source;
|
|
52
|
+
const out = transformSpecifier(source.value);
|
|
53
|
+
if (out) {
|
|
54
|
+
s.update(source.start + 1, source.end - 1, out);
|
|
55
|
+
source.value = out;
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
ExportNamedDeclaration(node) {
|
|
59
|
+
const source = node.source;
|
|
60
|
+
if (!source) return;
|
|
61
|
+
const out = transformSpecifier(source.value);
|
|
62
|
+
if (out) {
|
|
63
|
+
s.update(source.start + 1, source.end - 1, out);
|
|
64
|
+
source.value = out;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}).visit(program);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
//#endregion
|
|
71
|
+
export { transformSpecifiers as n, typescriptExtensions as r, toImportSpecifier as t };
|
|
72
|
+
//# sourceMappingURL=ast-DFGM1gEn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ast-DFGM1gEn.js","names":[],"sources":["../src/constants.ts","../src/utils/ast.ts"],"sourcesContent":["export const typescriptExtensions = ['.ts', '.tsx', '.js', '.jsx'];\n","import path from 'node:path';\nimport { typescriptExtensions } from '@/constants';\nimport { type Program, Visitor } from 'oxc-parser';\nimport type MagicString from 'magic-string';\n\n/**\n * Return the import modifier for `sourceFile` to import `referenceFile`\n *\n * @example\n * ```ts\n * toReferencePath('index.ts', 'dir/hello.ts')\n * // should output './dir/hello'\n * ```\n */\nexport function toImportSpecifier(sourceFile: string, referenceFile: string): string {\n const extname = path.extname(referenceFile);\n const removeExt = typescriptExtensions.includes(extname);\n\n let importPath = path\n .relative(\n path.dirname(sourceFile),\n removeExt ? referenceFile.substring(0, referenceFile.length - extname.length) : referenceFile,\n )\n .replaceAll(path.sep, '/');\n\n if (removeExt && importPath.endsWith('/index')) {\n importPath = importPath.slice(0, -'/index'.length);\n }\n\n return importPath.startsWith('../') ? importPath : `./${importPath}`;\n}\n\nexport function transformSpecifiers(\n program: Program,\n s: MagicString,\n transformSpecifier: (value: string) => string | undefined,\n) {\n new Visitor({\n // static imports\n ImportDeclaration(node) {\n const source = node.source;\n const out = transformSpecifier(source.value);\n if (out) {\n s.update(source.start + 1, source.end - 1, out);\n source.value = out;\n }\n },\n // dynamic imports\n ImportExpression(node) {\n if (node.source.type === 'Literal') {\n const source = node.source;\n const out = transformSpecifier(source.value as string);\n if (out) {\n s.update(source.start + 1, source.end - 1, out);\n source.value = out;\n }\n }\n },\n // exports\n ExportAllDeclaration(node) {\n const source = node.source;\n const out = transformSpecifier(source.value);\n if (out) {\n s.update(source.start + 1, source.end - 1, out);\n source.value = out;\n }\n },\n ExportNamedDeclaration(node) {\n const source = node.source;\n if (!source) return;\n const out = transformSpecifier(source.value);\n if (out) {\n s.update(source.start + 1, source.end - 1, out);\n source.value = out;\n }\n },\n }).visit(program);\n}\n"],"mappings":";;;;AAAA,MAAa,uBAAuB;CAAC;CAAO;CAAQ;CAAO;CAAO;;;;;;;;;;;;;ACclE,SAAgB,kBAAkB,YAAoB,eAA+B;CACnF,MAAM,UAAU,KAAK,QAAQ,cAAc;CAC3C,MAAM,YAAY,qBAAqB,SAAS,QAAQ;CAExD,IAAI,aAAa,KACd,SACC,KAAK,QAAQ,WAAW,EACxB,YAAY,cAAc,UAAU,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c-resolver";
|
|
3
3
|
|
|
4
|
+
//#region src/registry/schema.d.ts
|
|
4
5
|
type NamespaceType = (typeof namespaces)[number];
|
|
5
6
|
type CompiledComponent = z.input<typeof componentSchema>;
|
|
6
7
|
declare const namespaces: readonly ["components", "lib", "css", "route", "ui", "block"];
|
|
7
8
|
declare const componentSchema: z.ZodObject<{
|
|
9
|
+
name: z.ZodString;
|
|
10
|
+
title: z.ZodOptional<z.ZodString>;
|
|
11
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12
|
+
files: z.ZodArray<z.ZodObject<{
|
|
13
|
+
type: z.ZodLiteral<"components" | "lib" | "css" | "route" | "ui" | "block">;
|
|
14
|
+
path: z.ZodString;
|
|
15
|
+
target: z.ZodOptional<z.ZodString>;
|
|
16
|
+
content: z.ZodString;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
dependencies: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
19
|
+
devDependencies: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
20
|
+
subComponents: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
21
|
+
type: z.ZodLiteral<"http">;
|
|
22
|
+
baseUrl: z.ZodString;
|
|
23
|
+
component: z.ZodString;
|
|
24
|
+
}, z.core.$strip>]>>>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
declare const registryInfoSchema: z.ZodObject<{
|
|
27
|
+
variables: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
28
|
+
description: z.ZodOptional<z.ZodString>;
|
|
29
|
+
default: z.ZodOptional<z.ZodUnknown>;
|
|
30
|
+
}, z.core.$strip>>>;
|
|
31
|
+
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
32
|
+
indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
8
33
|
name: z.ZodString;
|
|
9
34
|
title: z.ZodOptional<z.ZodString>;
|
|
10
35
|
description: z.ZodOptional<z.ZodString>;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
path: z.ZodString;
|
|
14
|
-
target: z.ZodOptional<z.ZodString>;
|
|
15
|
-
content: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>;
|
|
17
|
-
dependencies: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
18
|
-
devDependencies: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
19
|
-
subComponents: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
20
|
-
type: z.ZodLiteral<"http">;
|
|
21
|
-
baseUrl: z.ZodString;
|
|
22
|
-
component: z.ZodString;
|
|
23
|
-
}, z.core.$strip>]>>>;
|
|
36
|
+
}, z.core.$strip>>>;
|
|
37
|
+
registries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
24
38
|
}, z.core.$strip>;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
description: z.ZodOptional<z.ZodString>;
|
|
28
|
-
default: z.ZodOptional<z.ZodUnknown>;
|
|
29
|
-
}, z.core.$strip>>>;
|
|
30
|
-
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
31
|
-
indexes: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
32
|
-
name: z.ZodString;
|
|
33
|
-
title: z.ZodOptional<z.ZodString>;
|
|
34
|
-
description: z.ZodOptional<z.ZodString>;
|
|
35
|
-
}, z.core.$strip>>>;
|
|
36
|
-
registries: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
|
-
}, z.core.$strip>;
|
|
38
|
-
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/build/compiler.d.ts
|
|
39
41
|
type OnResolve = (reference: SourceReference) => Reference;
|
|
40
42
|
interface CompiledRegistry {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
name: string;
|
|
44
|
+
components: CompiledComponent[];
|
|
45
|
+
info: z.output<typeof registryInfoSchema>;
|
|
44
46
|
}
|
|
45
47
|
interface ComponentFile {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
type: NamespaceType;
|
|
49
|
+
path: string;
|
|
50
|
+
target?: string;
|
|
49
51
|
}
|
|
50
52
|
interface Component {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
53
|
+
name: string;
|
|
54
|
+
title?: string;
|
|
55
|
+
description?: string;
|
|
56
|
+
files: ComponentFile[];
|
|
57
|
+
/**
|
|
58
|
+
* Don't list the component in registry index file
|
|
59
|
+
*/
|
|
60
|
+
unlisted?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Map imported file paths, inherit from registry if not defined.
|
|
63
|
+
*/
|
|
64
|
+
onResolve?: OnResolve;
|
|
63
65
|
}
|
|
64
66
|
interface PackageJson {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
+
dependencies?: Record<string, string>;
|
|
68
|
+
devDependencies?: Record<string, string>;
|
|
67
69
|
}
|
|
68
70
|
interface Registry extends Omit<z.input<typeof registryInfoSchema>, 'indexes'> {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
71
|
+
name: string;
|
|
72
|
+
packageJson: string | PackageJson;
|
|
73
|
+
tsconfigPath: string;
|
|
74
|
+
components: Component[];
|
|
75
|
+
/**
|
|
76
|
+
* The directory of registry, used to resolve relative paths
|
|
77
|
+
*/
|
|
78
|
+
dir: string;
|
|
79
|
+
/**
|
|
80
|
+
* Map import paths of components
|
|
81
|
+
*/
|
|
82
|
+
onResolve?: OnResolve;
|
|
83
|
+
/**
|
|
84
|
+
* When a referenced file is not found in component files, this function is called.
|
|
85
|
+
* @returns file, or `false` to mark as external.
|
|
86
|
+
*/
|
|
87
|
+
onUnknownFile?: (absolutePath: string) => ComponentFile | false | undefined;
|
|
88
|
+
dependencies?: Record<string, string | null>;
|
|
89
|
+
devDependencies?: Record<string, string | null>;
|
|
88
90
|
}
|
|
89
91
|
declare class RegistryCompiler {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
createSourceFile(file: string): Promise<SourceFile>;
|
|
96
|
-
compile(): Promise<CompiledRegistry>;
|
|
92
|
+
readonly raw: Registry;
|
|
93
|
+
resolver: RegistryResolver;
|
|
94
|
+
constructor(registry: Registry);
|
|
95
|
+
private readPackageJson;
|
|
96
|
+
compile(): Promise<CompiledRegistry>;
|
|
97
97
|
}
|
|
98
98
|
declare class RegistryResolver {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
99
|
+
private readonly compiler;
|
|
100
|
+
private readonly deps;
|
|
101
|
+
private readonly devDeps;
|
|
102
|
+
private readonly fileToComponent;
|
|
103
|
+
readonly oxc: ResolverFactory;
|
|
104
|
+
constructor(compiler: RegistryCompiler, packageJson?: PackageJson);
|
|
105
|
+
getDepFromSpecifier(specifier: string): string;
|
|
106
|
+
getDepInfo(name: string): {
|
|
107
|
+
type: 'runtime' | 'dev';
|
|
108
|
+
name: string;
|
|
109
|
+
version: string | null;
|
|
110
|
+
} | undefined;
|
|
111
|
+
getComponentByName(name: string): Component | undefined;
|
|
112
|
+
getSubComponent(file: string): {
|
|
113
|
+
component: Component;
|
|
114
|
+
file: ComponentFile;
|
|
115
|
+
} | undefined;
|
|
115
116
|
}
|
|
116
117
|
type SourceReference = {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
118
|
+
type: 'file';
|
|
119
|
+
/**
|
|
120
|
+
* Absolute path
|
|
121
|
+
*/
|
|
122
|
+
file: string;
|
|
122
123
|
} | {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
type: 'dependency';
|
|
125
|
+
dep: string;
|
|
126
|
+
specifier: string;
|
|
126
127
|
} | {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
128
|
+
type: 'sub-component';
|
|
129
|
+
resolved: {
|
|
130
|
+
type: 'local';
|
|
131
|
+
component: Component;
|
|
132
|
+
file: ComponentFile;
|
|
133
|
+
} | {
|
|
134
|
+
type: 'remote';
|
|
135
|
+
component: Component;
|
|
136
|
+
file: ComponentFile;
|
|
137
|
+
registryName: string;
|
|
138
|
+
};
|
|
139
|
+
} | {
|
|
140
|
+
type: 'unknown-specifier';
|
|
141
|
+
specifier: string;
|
|
138
142
|
};
|
|
139
143
|
type Reference = SourceReference | {
|
|
140
|
-
|
|
141
|
-
|
|
144
|
+
type: 'custom';
|
|
145
|
+
specifier: string;
|
|
142
146
|
};
|
|
143
147
|
declare class ComponentCompiler {
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
private buildFile;
|
|
148
|
+
private readonly compiler;
|
|
149
|
+
private readonly component;
|
|
150
|
+
private readonly processedFiles;
|
|
151
|
+
private readonly registry;
|
|
152
|
+
private readonly subComponents;
|
|
153
|
+
private readonly devDependencies;
|
|
154
|
+
private readonly dependencies;
|
|
155
|
+
constructor(compiler: RegistryCompiler, component: Component);
|
|
156
|
+
private toImportPath;
|
|
157
|
+
build(): Promise<CompiledComponent>;
|
|
158
|
+
private onBuildFile;
|
|
159
|
+
private buildFile;
|
|
157
160
|
}
|
|
158
161
|
declare function resolveFromRemote(r: Registry, component: string, selectFile: (file: ComponentFile) => boolean): Reference | undefined;
|
|
159
|
-
|
|
162
|
+
//#endregion
|
|
163
|
+
//#region src/build/index.d.ts
|
|
160
164
|
interface MonoRegistry extends CompiledRegistry {
|
|
161
|
-
|
|
165
|
+
registries: CompiledRegistry[];
|
|
162
166
|
}
|
|
163
167
|
declare function combineRegistry(root: CompiledRegistry, ...items: CompiledRegistry[]): MonoRegistry;
|
|
164
168
|
declare function writeFumadocsRegistry(out: CompiledRegistry | MonoRegistry, options: {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
169
|
+
dir: string;
|
|
170
|
+
/**
|
|
171
|
+
* Remove previous outputs
|
|
172
|
+
*
|
|
173
|
+
* @defaultValue false
|
|
174
|
+
*/
|
|
175
|
+
cleanDir?: boolean;
|
|
176
|
+
log?: boolean;
|
|
173
177
|
}): Promise<void>;
|
|
174
|
-
|
|
175
|
-
export {
|
|
178
|
+
//#endregion
|
|
179
|
+
export { CompiledRegistry, Component, ComponentCompiler, ComponentFile, MonoRegistry, OnResolve, PackageJson, Reference, Registry, RegistryCompiler, SourceReference, combineRegistry, resolveFromRemote, writeFumadocsRegistry };
|
|
180
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/registry/schema.ts","../../src/build/compiler.ts","../../src/build/index.ts"],"sourcesContent":[],"mappings":";;;;KAEY,aAAA,WAAw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