create-directus-docker 1.2.0 → 1.2.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/cli.js +12 -12
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-directus-docker",
3
3
  "description": "An installer for Dockerized Directus + MySQL + Adminer + GraphiQL with a helper Node app",
4
- "version": "1.2.0",
4
+ "version": "1.2.2",
5
5
  "type": "module",
6
6
  "author": {
7
7
  "name": "Dave Kobrenski",
package/src/cli.js CHANGED
@@ -4,25 +4,25 @@ import upath from 'upath';
4
4
  import chalk from 'chalk';
5
5
  import path from 'path';
6
6
  import {fileURLToPath} from 'url';
7
- import { resolve } from 'path';
8
7
  import { create } from 'create-create-app';
9
8
 
10
9
  const __filename = fileURLToPath(import.meta.url);
11
10
  const __dirname = path.dirname(__filename);
12
- // let templateRoot = resolve(__dirname, '../templates');
13
- const templateRoot = upath.resolve(__dirname, '../templates')
14
-
15
- console.log(chalk.redBright("DEBUG:"));
16
- console.log(__filename);
17
- console.log(__dirname)
18
- console.log(templateRoot);
19
- console.log(chalk.redBright("END DEBUG"));
20
- //${chalk.yellow("Directus with MySQL, Adminer, and GraphiQL:")}
21
11
 
22
12
  const caveat = `
23
- Installed successfully.
13
+ ${chalk.yellow("Directus with MySQL, Adminer, and GraphiQL:")}
14
+
15
+ To configure and run your Directus services, run:
16
+
17
+ cd ${chalk.bold.green(options.name)} && npm start
18
+
19
+ For more information, see:
20
+ https://github.com/davekobrenski/create-directus-docker
21
+
22
+ Enjoy!
24
23
  `;
25
24
 
26
25
  create('create-directus-docker', {
27
- templateRoot: upath.resolve(__dirname, '../templates')
26
+ templateRoot: upath.resolve(__dirname, '../templates'),
27
+ caveat
28
28
  });