create-directus-docker 1.2.2 → 1.2.3
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/package.json +1 -1
- package/src/cli.js +9 -9
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -7,22 +7,22 @@ import {fileURLToPath} from 'url';
|
|
|
7
7
|
import { create } from 'create-create-app';
|
|
8
8
|
|
|
9
9
|
const __filename = fileURLToPath(import.meta.url);
|
|
10
|
-
const __dirname = path.dirname(__filename);
|
|
10
|
+
const __dirname = path.dirname(__filename);)
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
create('create-directus-docker', {
|
|
13
|
+
templateRoot: upath.resolve(__dirname, '../templates'),
|
|
14
|
+
caveat: ({ answers }) => {
|
|
15
|
+
return `
|
|
16
|
+
{chalk.yellow("Directus with MySQL, Adminer, and GraphiQL:")}
|
|
14
17
|
|
|
15
18
|
To configure and run your Directus services, run:
|
|
16
19
|
|
|
17
|
-
cd ${chalk.bold.green(
|
|
20
|
+
cd ${chalk.bold.green(answers.name)} && npm start
|
|
18
21
|
|
|
19
22
|
For more information, see:
|
|
20
23
|
https://github.com/davekobrenski/create-directus-docker
|
|
21
24
|
|
|
22
25
|
Enjoy!
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
create('create-directus-docker', {
|
|
26
|
-
templateRoot: upath.resolve(__dirname, '../templates'),
|
|
27
|
-
caveat
|
|
26
|
+
`
|
|
27
|
+
}
|
|
28
28
|
});
|