silgi 0.8.51 → 0.8.52
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/index.mjs +1 -1
- package/dist/cli/prepare.mjs +7 -2
- package/dist/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
package/dist/cli/prepare.mjs
CHANGED
|
@@ -279,12 +279,17 @@ async function readCoreFile(silgi) {
|
|
|
279
279
|
} else {
|
|
280
280
|
if (error instanceof Error) {
|
|
281
281
|
if (error.message.includes("Cannot find module")) {
|
|
282
|
-
const isInstall = await consola.withTag("silgi").prompt("
|
|
282
|
+
const isInstall = await consola.withTag("silgi").prompt("The necessary files for the modules need to be added. You must allow this.", {
|
|
283
283
|
type: "confirm"
|
|
284
284
|
});
|
|
285
285
|
if (isInstall) {
|
|
286
286
|
execSync('na silgi run --tag="init"', { stdio: "inherit" });
|
|
287
|
-
|
|
287
|
+
const isSetup = await consola.withTag("silgi").prompt("We need the sample data that the modules need. You must allow this.", {
|
|
288
|
+
type: "confirm"
|
|
289
|
+
});
|
|
290
|
+
if (isSetup) {
|
|
291
|
+
execSync('na silgi run --tag="setup"', { stdio: "inherit" });
|
|
292
|
+
}
|
|
288
293
|
}
|
|
289
294
|
}
|
|
290
295
|
consola.withTag("silgi").error(error.message);
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED