silgi 0.26.4 → 0.26.6
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/cli/index.mjs
CHANGED
package/dist/cli/prepare.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineCommand, runCommand } from 'citty';
|
|
2
2
|
import { join, resolve } from 'pathe';
|
|
3
3
|
import { version } from 'silgi/meta';
|
|
4
|
-
import { d as prepareEnv, c as createSilgiCLI, a as prepare$2, b as writeTypesAndFiles, w as writeCoreFile, p as prepareBuild } from './writeTypesAndFiles.mjs';
|
|
4
|
+
import { d as prepareEnv, c as createSilgiCLI, a as prepare$2, b as writeTypesAndFiles, w as writeCoreFile, p as prepareBuild, g as generateApp } from './writeTypesAndFiles.mjs';
|
|
5
5
|
import { generateDTS } from 'apiful/openapi';
|
|
6
6
|
import { consola } from 'consola';
|
|
7
7
|
import { hasSilgiModule, addTemplate } from 'silgi/kit';
|
|
@@ -267,6 +267,7 @@ const prepare = defineCommand({
|
|
|
267
267
|
await writeTypesAndFiles(silgi);
|
|
268
268
|
await writeCoreFile(silgi);
|
|
269
269
|
await prepareBuild(silgi);
|
|
270
|
+
await generateApp(silgi);
|
|
270
271
|
if (!args.commands) {
|
|
271
272
|
await runCommand(run, {
|
|
272
273
|
rawArgs: ["--tag", "init", "--active", "false"]
|
|
@@ -2372,4 +2372,4 @@ async function writeTypesAndFiles(silgi) {
|
|
|
2372
2372
|
}
|
|
2373
2373
|
}
|
|
2374
2374
|
|
|
2375
|
-
export { prepare as a, writeTypesAndFiles as b, createSilgiCLI as c, prepareEnv as d, prepareBuild as p, writeCoreFile as w };
|
|
2375
|
+
export { prepare as a, writeTypesAndFiles as b, createSilgiCLI as c, prepareEnv as d, generateApp as g, prepareBuild as p, writeCoreFile as w };
|