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 CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- /*! create-vue v3.3.1 | MIT */
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.0",
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.5.0",
2899
+ eslint: "^8.21.0",
2894
2900
  "eslint-plugin-cypress": "^2.12.1",
2895
- "eslint-plugin-vue": "^9.0.0",
2896
- prettier: "^2.5.1"
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.1",
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.49",
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",
@@ -9,6 +9,6 @@
9
9
  },
10
10
  "devDependencies": {
11
11
  "@vitejs/plugin-vue": "^3.0.1",
12
- "vite": "^3.0.1"
12
+ "vite": "^3.0.4"
13
13
  }
14
14
  }
@@ -4,7 +4,7 @@
4
4
  "test:e2e:ci": "start-server-and-test preview http://localhost:4173/ 'cypress run --e2e'"
5
5
  },
6
6
  "devDependencies": {
7
- "cypress": "^10.3.0",
7
+ "cypress": "^10.4.0",
8
8
  "start-server-and-test": "^1.14.0"
9
9
  }
10
10
  }
@@ -7,6 +7,6 @@
7
7
  "vue": "^3.2.37"
8
8
  },
9
9
  "devDependencies": {
10
- "cypress": "^10.3.0"
10
+ "cypress": "^10.4.0"
11
11
  }
12
12
  }
@@ -4,6 +4,6 @@
4
4
  },
5
5
  "devDependencies": {
6
6
  "@vitejs/plugin-vue-jsx": "^2.0.0",
7
- "vite": "^3.0.1"
7
+ "vite": "^3.0.4"
8
8
  }
9
9
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "pinia": "^2.0.16",
3
+ "pinia": "^2.0.17",
4
4
  "vue": "^3.2.37"
5
5
  }
6
6
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
3
  "vue": "^3.2.37",
4
- "vue-router": "^4.1.2"
4
+ "vue-router": "^4.1.3"
5
5
  }
6
6
  }
@@ -5,9 +5,9 @@
5
5
  "type-check": "vue-tsc --noEmit"
6
6
  },
7
7
  "devDependencies": {
8
- "@types/node": "^16.11.45",
8
+ "@types/node": "^16.11.47",
9
9
  "npm-run-all": "^4.1.5",
10
10
  "typescript": "~4.7.4",
11
- "vue-tsc": "^0.38.8"
11
+ "vue-tsc": "^0.39.5"
12
12
  }
13
13
  }
@@ -8,6 +8,6 @@
8
8
  "devDependencies": {
9
9
  "@vue/test-utils": "^2.0.2",
10
10
  "jsdom": "^20.0.0",
11
- "vitest": "^0.18.1"
11
+ "vitest": "^0.21.0"
12
12
  }
13
13
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@rushstack/eslint-patch": "^1.1.0",
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.5.0",
6
+ "eslint": "^8.21.0",
7
7
  "eslint-plugin-cypress": "^2.12.1",
8
- "eslint-plugin-vue": "^9.0.0",
9
- "prettier": "^2.5.1"
8
+ "eslint-plugin-vue": "^9.3.0",
9
+ "prettier": "^2.7.1"
10
10
  }
11
11
  }
@@ -3,6 +3,6 @@
3
3
  "type-check": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false"
4
4
  },
5
5
  "devDependencies": {
6
- "@types/jsdom": "^16.2.14"
6
+ "@types/jsdom": "^20.0.0"
7
7
  }
8
8
  }