create-manifest 1.2.0 → 1.2.1
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/commands/index.js +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/dist/commands/index.js
CHANGED
|
@@ -282,7 +282,7 @@ export default class CreateManifest extends Command {
|
|
|
282
282
|
let serveTask = null;
|
|
283
283
|
try {
|
|
284
284
|
// We run the manifest script to build the database.
|
|
285
|
-
serveTask = exec(`cd ${projectName} && npm run
|
|
285
|
+
serveTask = exec(`cd ${projectName} && npm run start`);
|
|
286
286
|
await this.waitForServerToBeReady();
|
|
287
287
|
spinner.succeed();
|
|
288
288
|
}
|
|
@@ -291,7 +291,7 @@ export default class CreateManifest extends Command {
|
|
|
291
291
|
}
|
|
292
292
|
spinner.start('Seeding initial data...');
|
|
293
293
|
try {
|
|
294
|
-
await exec(`cd ${projectName} && npm run
|
|
294
|
+
await exec(`cd ${projectName} && npm run seed`);
|
|
295
295
|
}
|
|
296
296
|
catch (error) {
|
|
297
297
|
spinner.fail(`Execution error: ${error}`);
|
|
@@ -303,7 +303,7 @@ export default class CreateManifest extends Command {
|
|
|
303
303
|
console.log('To start the server:');
|
|
304
304
|
console.log();
|
|
305
305
|
console.log(chalk.bold(` cd ${projectName}`));
|
|
306
|
-
console.log(chalk.bold(' npm run
|
|
306
|
+
console.log(chalk.bold(' npm run start'));
|
|
307
307
|
console.log();
|
|
308
308
|
await this.silentKill(serveTask?.child?.pid || 0);
|
|
309
309
|
process.exit();
|
package/oclif.manifest.json
CHANGED