create-vue 3.3.1 → 3.3.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 +15 -6
- package/package.json +2 -2
- package/template/base/package.json +1 -1
- package/template/config/cypress/package.json +1 -1
- package/template/config/cypress-ct/package.json +1 -1
- package/template/config/jsx/package.json +1 -1
- package/template/config/pinia/package.json +1 -1
- package/template/config/router/package.json +1 -1
- package/template/config/typescript/package.json +2 -2
- package/template/config/vitest/package.json +1 -1
- package/template/eslint/package.json +4 -4
- package/template/tsconfig/vitest/package.json +1 -1
package/outfile.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
/*! create-vue v3.3.
|
|
2
|
+
/*! create-vue v3.3.2 | MIT */
|
|
3
3
|
var __create = Object.create;
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -2754,6 +2754,9 @@ var fs2 = __toESM(require("fs"), 1);
|
|
|
2754
2754
|
var path2 = __toESM(require("path"), 1);
|
|
2755
2755
|
function preOrderDirectoryTraverse(dir, dirCallback, fileCallback) {
|
|
2756
2756
|
for (const filename of fs2.readdirSync(dir)) {
|
|
2757
|
+
if (filename === ".git") {
|
|
2758
|
+
continue;
|
|
2759
|
+
}
|
|
2757
2760
|
const fullpath = path2.resolve(dir, filename);
|
|
2758
2761
|
if (fs2.lstatSync(fullpath).isDirectory()) {
|
|
2759
2762
|
dirCallback(fullpath);
|
|
@@ -2767,6 +2770,9 @@ function preOrderDirectoryTraverse(dir, dirCallback, fileCallback) {
|
|
|
2767
2770
|
}
|
|
2768
2771
|
function postOrderDirectoryTraverse(dir, dirCallback, fileCallback) {
|
|
2769
2772
|
for (const filename of fs2.readdirSync(dir)) {
|
|
2773
|
+
if (filename === ".git") {
|
|
2774
|
+
continue;
|
|
2775
|
+
}
|
|
2770
2776
|
const fullpath = path2.resolve(dir, filename);
|
|
2771
2777
|
if (fs2.lstatSync(fullpath).isDirectory()) {
|
|
2772
2778
|
postOrderDirectoryTraverse(fullpath, dirCallback, fileCallback);
|
|
@@ -2887,13 +2893,13 @@ var path3 = __toESM(require("path"), 1);
|
|
|
2887
2893
|
|
|
2888
2894
|
// template/eslint/package.json
|
|
2889
2895
|
var devDependencies = {
|
|
2890
|
-
"@rushstack/eslint-patch": "^1.1.
|
|
2896
|
+
"@rushstack/eslint-patch": "^1.1.4",
|
|
2891
2897
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
2892
2898
|
"@vue/eslint-config-typescript": "^11.0.0",
|
|
2893
|
-
eslint: "^8.
|
|
2899
|
+
eslint: "^8.21.0",
|
|
2894
2900
|
"eslint-plugin-cypress": "^2.12.1",
|
|
2895
|
-
"eslint-plugin-vue": "^9.
|
|
2896
|
-
prettier: "^2.
|
|
2901
|
+
"eslint-plugin-vue": "^9.3.0",
|
|
2902
|
+
prettier: "^2.7.1"
|
|
2897
2903
|
};
|
|
2898
2904
|
|
|
2899
2905
|
// utils/renderEslint.ts
|
|
@@ -2905,7 +2911,10 @@ addEslintDependency("eslint");
|
|
|
2905
2911
|
addEslintDependency("eslint-plugin-vue");
|
|
2906
2912
|
var config = {
|
|
2907
2913
|
root: true,
|
|
2908
|
-
extends: ["plugin:vue/vue3-essential"]
|
|
2914
|
+
extends: ["plugin:vue/vue3-essential"],
|
|
2915
|
+
parserOptions: {
|
|
2916
|
+
ecmaVersion: "latest"
|
|
2917
|
+
}
|
|
2909
2918
|
};
|
|
2910
2919
|
function configureEslint({ language, styleGuide, needsPrettier, needsCypress, needsCypressCT }) {
|
|
2911
2920
|
switch (`${styleGuide}-${language}`) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vue",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.2",
|
|
4
4
|
"description": "An easy way to start a Vue project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@types/eslint": "^8.4.5",
|
|
29
29
|
"@types/prompts": "^2.0.14",
|
|
30
30
|
"@vue/tsconfig": "^0.1.3",
|
|
31
|
-
"esbuild": "^0.14.
|
|
31
|
+
"esbuild": "^0.14.53",
|
|
32
32
|
"esbuild-plugin-license": "^1.2.2",
|
|
33
33
|
"husky": "^8.0.1",
|
|
34
34
|
"kolorist": "^1.5.1",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"devDependencies": {
|
|
3
|
-
"@rushstack/eslint-patch": "^1.1.
|
|
3
|
+
"@rushstack/eslint-patch": "^1.1.4",
|
|
4
4
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
5
5
|
"@vue/eslint-config-typescript": "^11.0.0",
|
|
6
|
-
"eslint": "^8.
|
|
6
|
+
"eslint": "^8.21.0",
|
|
7
7
|
"eslint-plugin-cypress": "^2.12.1",
|
|
8
|
-
"eslint-plugin-vue": "^9.
|
|
9
|
-
"prettier": "^2.
|
|
8
|
+
"eslint-plugin-vue": "^9.3.0",
|
|
9
|
+
"prettier": "^2.7.1"
|
|
10
10
|
}
|
|
11
11
|
}
|