create-keystone-app 10.0.1 → 10.0.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.
|
@@ -23,7 +23,7 @@ var ora__default = /*#__PURE__*/_interopDefault(ora);
|
|
|
23
23
|
|
|
24
24
|
var thisPackage = {
|
|
25
25
|
name: "create-keystone-app",
|
|
26
|
-
version: "10.0.
|
|
26
|
+
version: "10.0.2",
|
|
27
27
|
license: "MIT",
|
|
28
28
|
type: "module",
|
|
29
29
|
main: "dist/create-keystone-app.cjs.js",
|
|
@@ -95,7 +95,7 @@ async function normalizeArgs() {
|
|
|
95
95
|
const normalizedArgs = await normalizeArgs();
|
|
96
96
|
const nextCwd = normalizedArgs.directory;
|
|
97
97
|
await fs__default["default"].mkdir(nextCwd);
|
|
98
|
-
await Promise.all(['_gitignore', 'schema.ts', 'package.json', 'tsconfig.json', '
|
|
98
|
+
await Promise.all(['_gitignore', 'schema.ts', 'package.json', 'tsconfig.json', 'keystone.ts', 'auth.ts', 'README.md'].map(filename => fs__default["default"].copyFile(path__default["default"].join(starterDir, filename), path__default["default"].join(normalizedArgs.directory, filename.replace(/^_/, '.')))));
|
|
99
99
|
const [packageManager] = (_process$env$npm_conf = (_process$env$npm_conf2 = process.env.npm_config_user_agent) === null || _process$env$npm_conf2 === void 0 ? void 0 : _process$env$npm_conf2.split('/', 1)) !== null && _process$env$npm_conf !== void 0 ? _process$env$npm_conf : ['npm'];
|
|
100
100
|
const spinner = ora__default["default"](`Installing dependencies with ${packageManager}. This may take a few minutes.`).start();
|
|
101
101
|
try {
|
|
@@ -23,7 +23,7 @@ var ora__default = /*#__PURE__*/_interopDefault(ora);
|
|
|
23
23
|
|
|
24
24
|
var thisPackage = {
|
|
25
25
|
name: "create-keystone-app",
|
|
26
|
-
version: "10.0.
|
|
26
|
+
version: "10.0.2",
|
|
27
27
|
license: "MIT",
|
|
28
28
|
type: "module",
|
|
29
29
|
main: "dist/create-keystone-app.cjs.js",
|
|
@@ -95,7 +95,7 @@ async function normalizeArgs() {
|
|
|
95
95
|
const normalizedArgs = await normalizeArgs();
|
|
96
96
|
const nextCwd = normalizedArgs.directory;
|
|
97
97
|
await fs__default["default"].mkdir(nextCwd);
|
|
98
|
-
await Promise.all(['_gitignore', 'schema.ts', 'package.json', 'tsconfig.json', '
|
|
98
|
+
await Promise.all(['_gitignore', 'schema.ts', 'package.json', 'tsconfig.json', 'keystone.ts', 'auth.ts', 'README.md'].map(filename => fs__default["default"].copyFile(path__default["default"].join(starterDir, filename), path__default["default"].join(normalizedArgs.directory, filename.replace(/^_/, '.')))));
|
|
99
99
|
const [packageManager] = (_process$env$npm_conf = (_process$env$npm_conf2 = process.env.npm_config_user_agent) === null || _process$env$npm_conf2 === void 0 ? void 0 : _process$env$npm_conf2.split('/', 1)) !== null && _process$env$npm_conf !== void 0 ? _process$env$npm_conf : ['npm'];
|
|
100
100
|
const spinner = ora__default["default"](`Installing dependencies with ${packageManager}. This may take a few minutes.`).start();
|
|
101
101
|
try {
|
|
@@ -10,7 +10,7 @@ import ora from 'ora';
|
|
|
10
10
|
|
|
11
11
|
var thisPackage = {
|
|
12
12
|
name: "create-keystone-app",
|
|
13
|
-
version: "10.0.
|
|
13
|
+
version: "10.0.2",
|
|
14
14
|
license: "MIT",
|
|
15
15
|
type: "module",
|
|
16
16
|
main: "dist/create-keystone-app.cjs.js",
|
|
@@ -82,7 +82,7 @@ async function normalizeArgs() {
|
|
|
82
82
|
const normalizedArgs = await normalizeArgs();
|
|
83
83
|
const nextCwd = normalizedArgs.directory;
|
|
84
84
|
await fs.mkdir(nextCwd);
|
|
85
|
-
await Promise.all(['_gitignore', 'schema.ts', 'package.json', 'tsconfig.json', '
|
|
85
|
+
await Promise.all(['_gitignore', 'schema.ts', 'package.json', 'tsconfig.json', 'keystone.ts', 'auth.ts', 'README.md'].map(filename => fs.copyFile(path.join(starterDir, filename), path.join(normalizedArgs.directory, filename.replace(/^_/, '.')))));
|
|
86
86
|
const [packageManager] = (_process$env$npm_conf = (_process$env$npm_conf2 = process.env.npm_config_user_agent) === null || _process$env$npm_conf2 === void 0 ? void 0 : _process$env$npm_conf2.split('/', 1)) !== null && _process$env$npm_conf !== void 0 ? _process$env$npm_conf : ['npm'];
|
|
87
87
|
const spinner = ora(`Installing dependencies with ${packageManager}. This may take a few minutes.`).start();
|
|
88
88
|
try {
|