create-vue 3.2.1 → 3.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.
- package/outfile.cjs +7 -18
- package/package.json +14 -16
- package/template/base/node_modules/.bin/vite +2 -2
- package/template/base/package.json +2 -2
- package/template/config/cypress/node_modules/.bin/cypress +2 -2
- package/template/config/cypress/node_modules/.bin/server-test +0 -0
- package/template/config/cypress/node_modules/.bin/start-server-and-test +0 -0
- package/template/config/cypress/node_modules/.bin/start-test +0 -0
- package/template/config/cypress/package.json +1 -1
- package/template/config/cypress-ct/node_modules/.bin/cypress +2 -2
- package/template/config/cypress-ct/package.json +2 -2
- package/template/config/pinia/package.json +1 -1
- package/template/config/router/package.json +2 -2
- package/template/config/typescript/node_modules/.bin/npm-run-all +0 -0
- package/template/config/typescript/node_modules/.bin/run-p +0 -0
- package/template/config/typescript/node_modules/.bin/run-s +0 -0
- package/template/config/typescript/node_modules/.bin/tsc +2 -2
- package/template/config/typescript/node_modules/.bin/tsserver +2 -2
- package/template/config/typescript/node_modules/.bin/vue-tsc +2 -2
- package/template/config/typescript/package.json +3 -3
- package/template/config/vitest/node_modules/.bin/vitest +2 -2
- package/template/config/vitest/package.json +3 -3
- package/template/config/vuex/package.json +1 -1
package/outfile.cjs
CHANGED
|
@@ -1,25 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/*! create-vue v3.2.
|
|
2
|
+
/*! create-vue v3.2.2 | MIT */
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
7
|
var __getProtoOf = Object.getPrototypeOf;
|
|
9
8
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
11
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
-
var __spreadValues = (a, b) => {
|
|
13
|
-
for (var prop in b || (b = {}))
|
|
14
|
-
if (__hasOwnProp.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
if (__getOwnPropSymbols)
|
|
17
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
18
|
-
if (__propIsEnum.call(b, prop))
|
|
19
|
-
__defNormalProp(a, prop, b[prop]);
|
|
20
|
-
}
|
|
21
|
-
return a;
|
|
22
|
-
};
|
|
23
9
|
var __commonJS = (cb, mod) => function __require() {
|
|
24
10
|
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
25
11
|
};
|
|
@@ -5196,7 +5182,7 @@ var require_lib = __commonJS({
|
|
|
5196
5182
|
for (question of questions) {
|
|
5197
5183
|
({ name, type } = question);
|
|
5198
5184
|
if (typeof type === "function") {
|
|
5199
|
-
type = await type(answer,
|
|
5185
|
+
type = await type(answer, { ...answers }, question);
|
|
5200
5186
|
question["type"] = type;
|
|
5201
5187
|
}
|
|
5202
5188
|
if (!type)
|
|
@@ -5205,7 +5191,7 @@ var require_lib = __commonJS({
|
|
|
5205
5191
|
if (passOn.includes(key))
|
|
5206
5192
|
continue;
|
|
5207
5193
|
let value = question[key];
|
|
5208
|
-
question[key] = typeof value === "function" ? await value(answer,
|
|
5194
|
+
question[key] = typeof value === "function" ? await value(answer, { ...answers }, lastPrompt) : value;
|
|
5209
5195
|
}
|
|
5210
5196
|
lastPrompt = question;
|
|
5211
5197
|
if (typeof question.message !== "string") {
|
|
@@ -5392,7 +5378,10 @@ function sortDependencies(packageJson) {
|
|
|
5392
5378
|
});
|
|
5393
5379
|
}
|
|
5394
5380
|
}
|
|
5395
|
-
return
|
|
5381
|
+
return {
|
|
5382
|
+
...packageJson,
|
|
5383
|
+
...sorted
|
|
5384
|
+
};
|
|
5396
5385
|
}
|
|
5397
5386
|
|
|
5398
5387
|
// utils/renderTemplate.ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vue",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "An easy way to start a Vue project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -13,15 +13,6 @@
|
|
|
13
13
|
"engines": {
|
|
14
14
|
"node": "^14.16.0 || >=16.0.0"
|
|
15
15
|
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"prepare": "husky install",
|
|
18
|
-
"format": "prettier --write .",
|
|
19
|
-
"build": "zx ./scripts/build.mjs",
|
|
20
|
-
"snapshot": "zx ./scripts/snapshot.mjs",
|
|
21
|
-
"pretest": "run-s build snapshot",
|
|
22
|
-
"test": "zx ./scripts/test.mjs",
|
|
23
|
-
"prepublishOnly": "zx ./scripts/prepublish.mjs"
|
|
24
|
-
},
|
|
25
16
|
"repository": {
|
|
26
17
|
"type": "git",
|
|
27
18
|
"url": "git+https://github.com/vuejs/create-vue.git"
|
|
@@ -34,23 +25,30 @@
|
|
|
34
25
|
},
|
|
35
26
|
"homepage": "https://github.com/vuejs/create-vue#readme",
|
|
36
27
|
"devDependencies": {
|
|
37
|
-
"@types/eslint": "^8.4.
|
|
28
|
+
"@types/eslint": "^8.4.3",
|
|
38
29
|
"@types/prompts": "^2.0.14",
|
|
39
30
|
"@vue/tsconfig": "^0.1.3",
|
|
40
|
-
"esbuild": "^0.14.
|
|
31
|
+
"esbuild": "^0.14.47",
|
|
41
32
|
"esbuild-plugin-license": "^1.2.2",
|
|
42
33
|
"husky": "^8.0.1",
|
|
43
34
|
"kolorist": "^1.5.1",
|
|
44
|
-
"lint-staged": "^
|
|
35
|
+
"lint-staged": "^13.0.2",
|
|
45
36
|
"minimist": "^1.2.6",
|
|
46
37
|
"npm-run-all": "^4.1.5",
|
|
47
|
-
"prettier": "^2.
|
|
38
|
+
"prettier": "^2.7.1",
|
|
48
39
|
"prompts": "^2.4.2",
|
|
49
|
-
"zx": "^
|
|
40
|
+
"zx": "^4.3.0"
|
|
50
41
|
},
|
|
51
42
|
"lint-staged": {
|
|
52
43
|
"*.{js,ts,vue,json}": [
|
|
53
44
|
"prettier --write"
|
|
54
45
|
]
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"format": "prettier --write .",
|
|
49
|
+
"build": "zx ./scripts/build.mjs",
|
|
50
|
+
"snapshot": "zx ./scripts/snapshot.mjs",
|
|
51
|
+
"pretest": "run-s build snapshot",
|
|
52
|
+
"test": "zx ./scripts/test.mjs"
|
|
55
53
|
}
|
|
56
|
-
}
|
|
54
|
+
}
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@2.9.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@2.9.12/node_modules/vite/bin/vite.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../node_modules/.pnpm/vite@2.9.
|
|
16
|
+
exec node "$basedir/../../../../node_modules/.pnpm/vite@2.9.12/node_modules/vite/bin/vite.js" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/cypress@10.0
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/cypress@10.1.0/node_modules/cypress/bin/cypress" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/cypress@10.0
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/cypress@10.1.0/node_modules/cypress/bin/cypress" "$@"
|
|
17
17
|
fi
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/cypress@10.0
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/cypress@10.1.0/node_modules/cypress/bin/cypress" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/cypress@10.0
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/cypress@10.1.0/node_modules/cypress/bin/cypress" "$@"
|
|
17
17
|
fi
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/bin/tsc" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/bin/tsc" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/bin/tsserver" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@4.7.4/node_modules/typescript/bin/tsserver" "$@"
|
|
17
17
|
fi
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.38.1_typescript@4.7.4/node_modules/vue-tsc/bin/vue-tsc.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.38.1_typescript@4.7.4/node_modules/vue-tsc/bin/vue-tsc.js" "$@"
|
|
17
17
|
fi
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"type-check": "vue-tsc --noEmit"
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@types/node": "^16.11.
|
|
8
|
+
"@types/node": "^16.11.41",
|
|
9
9
|
"npm-run-all": "^4.1.5",
|
|
10
|
-
"typescript": "~4.7.
|
|
11
|
-
"vue-tsc": "^0.
|
|
10
|
+
"typescript": "~4.7.4",
|
|
11
|
+
"vue-tsc": "^0.38.1"
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -11,7 +11,7 @@ else
|
|
|
11
11
|
export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitest@0.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitest@0.15.1_jsdom@20.0.0/node_modules/vitest/vitest.mjs" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/vitest@0.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/vitest@0.15.1_jsdom@20.0.0/node_modules/vitest/vitest.mjs" "$@"
|
|
17
17
|
fi
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
"test:unit": "vitest --environment jsdom"
|
|
4
4
|
},
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"vue": "^3.2.
|
|
6
|
+
"vue": "^3.2.37"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@vue/test-utils": "^2.0.0",
|
|
10
|
-
"jsdom": "^
|
|
11
|
-
"vitest": "^0.
|
|
10
|
+
"jsdom": "^20.0.0",
|
|
11
|
+
"vitest": "^0.15.1"
|
|
12
12
|
}
|
|
13
13
|
}
|