@silgi/module-builder 0.6.6 → 0.6.8
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/chunks/build.mjs
CHANGED
@@ -15,7 +15,7 @@ import { pkgDir } from 'silgi/runtime/meta';
|
|
15
15
|
import { parse } from 'tsconfck';
|
16
16
|
import { convertCompilerOptionsFromJson } from 'typescript';
|
17
17
|
import { scanExports } from 'unimport';
|
18
|
-
import { v as version, n as name } from '../shared/silgi-module-builder.
|
18
|
+
import { v as version, n as name } from '../shared/silgi-module-builder.DhkaS4ZS.mjs';
|
19
19
|
|
20
20
|
const srcDir = fileURLToPath(new URL("src", import.meta.url));
|
21
21
|
const subpaths = [
|
@@ -286,8 +286,8 @@ async function writeTypes(options, _moduleMeta) {
|
|
286
286
|
if (hasTypeExport("ModuleRuntimeHooks")) {
|
287
287
|
moduleImports.push("ModuleRuntimeHooks");
|
288
288
|
}
|
289
|
-
if (hasTypeExport("
|
290
|
-
moduleImports.push("
|
289
|
+
if (hasTypeExport("SetupModuleOption")) {
|
290
|
+
moduleImports.push("SetupModuleOption");
|
291
291
|
}
|
292
292
|
if (hasTypeExport("ModuleRuntimeMethods")) {
|
293
293
|
moduleImports.push("ModuleRuntimeMethods");
|
@@ -295,6 +295,9 @@ async function writeTypes(options, _moduleMeta) {
|
|
295
295
|
if (hasTypeExport("RouteRules")) {
|
296
296
|
moduleImports.push("RouteRules");
|
297
297
|
}
|
298
|
+
if (hasTypeExport("MetaData")) {
|
299
|
+
moduleImports.push("MetaData");
|
300
|
+
}
|
298
301
|
const dtsContents = `${`
|
299
302
|
${moduleImports.length ? `import type { ${moduleImports.join(", ")} } from './module.mjs'` : ""}
|
300
303
|
|
package/dist/cli.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
import { defineCommand, runMain } from 'citty';
|
3
3
|
import { consola } from 'consola';
|
4
|
-
import { v as version, d as description, n as name } from './shared/silgi-module-builder.
|
4
|
+
import { v as version, d as description, n as name } from './shared/silgi-module-builder.DhkaS4ZS.mjs';
|
5
5
|
|
6
6
|
const _rDefault = (r) => r && typeof r === "object" && "default" in r ? r.default : r;
|
7
7
|
const main = defineCommand({
|
package/dist/index.mjs
CHANGED