mythix-cli 1.0.2 → 1.1.0

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/bin/mythix-cli.js CHANGED
@@ -194,6 +194,14 @@ async function initApplication(_, args) {
194
194
  runTemplateEngineOnProject(templateClonePath, createTemplateEngineContext(args.appName));
195
195
 
196
196
  await spawnProcess('npm', [ 'i' ], { env: { PWD: templateClonePath, CWD: templateClonePath }, cwd: templateClonePath });
197
+
198
+ console.log(`Empty mythix project created at ${templateClonePath}`);
199
+ console.log('To finalize setup you need to:');
200
+ console.log(' 1) Select and configure the correct database driver for Sequelize');
201
+ console.log(' 2) Define the models for your application');
202
+ console.log(' 3) Create an initial migration for your models: `npx mythix-cli makemigrations --name initial`');
203
+ console.log(' 4) Run migrations: `npx mythix-cli migrate`');
204
+ console.log(' 5) Finally run your application: `npx mythix-cli serve`');
197
205
  } catch (error) {
198
206
  console.error('ERROR: ', error);
199
207
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "mythix-cli": "./bin/mythix-cli.js"
4
4
  },
5
5
  "name": "mythix-cli",
6
- "version": "1.0.2",
6
+ "version": "1.1.0",
7
7
  "description": "Mythix CLI utility",
8
8
  "main": "src/index.js",
9
9
  "scripts": {
@@ -26,6 +26,9 @@
26
26
  "url": "https://github.com/th317erd/mythix-cli/issues"
27
27
  },
28
28
  "homepage": "https://github.com/th317erd/mythix-cli#readme",
29
+ "peerDependencies": {
30
+ "mythix": "^1.1.0"
31
+ },
29
32
  "dependencies": {
30
33
  "simple-yargs": "^0.1.5",
31
34
  "yargs": "^17.3.1"