create-vue 3.2.3 → 3.3.0

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.2.3 | MIT */
2
+ /*! create-vue v3.3.0 | MIT */
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vue",
3
- "version": "3.2.3",
3
+ "version": "3.3.0",
4
4
  "description": "An easy way to start a Vue project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -11,7 +11,7 @@
11
11
  "template"
12
12
  ],
13
13
  "engines": {
14
- "node": "^14.16.0 || >=16.0.0"
14
+ "node": "^14.18.0 || >=16.0.0"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",
@@ -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/node_modules/vite/bin/vite.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../node_modules/.pnpm/vite@3.0.1/node_modules/vite/bin/vite.js" "$@"
15
15
  else
16
- exec node "$basedir/../../../../node_modules/.pnpm/vite@2.9.14/node_modules/vite/bin/vite.js" "$@"
16
+ exec node "$basedir/../../../../node_modules/.pnpm/vite@3.0.1/node_modules/vite/bin/vite.js" "$@"
17
17
  fi
@@ -8,7 +8,7 @@
8
8
  "vue": "^3.2.37"
9
9
  },
10
10
  "devDependencies": {
11
- "@vitejs/plugin-vue": "^2.3.3",
12
- "vite": "^2.9.14"
11
+ "@vitejs/plugin-vue": "^3.0.1",
12
+ "vite": "^3.0.1"
13
13
  }
14
14
  }
@@ -1,4 +1,4 @@
1
- import { fileURLToPath, URL } from 'url'
1
+ import { fileURLToPath, URL } from 'node:url'
2
2
 
3
3
  import { defineConfig } from 'vite'
4
4
  import vue from '@vitejs/plugin-vue'
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "scripts": {
3
- "test:e2e": "start-server-and-test preview http://127.0.0.1:4173/ 'cypress open --e2e'",
4
- "test:e2e:ci": "start-server-and-test preview http://127.0.0.1:4173/ 'cypress run --e2e'"
3
+ "test:e2e": "start-server-and-test preview http://localhost:4173/ 'cypress open --e2e'",
4
+ "test:e2e:ci": "start-server-and-test preview http://localhost:4173/ 'cypress run --e2e'"
5
5
  },
6
6
  "devDependencies": {
7
7
  "cypress": "^10.3.0",
@@ -28,6 +28,7 @@ import { mount } from 'cypress/vue'
28
28
  // your custom command.
29
29
  // Alternatively, can be defined in cypress/support/component.d.ts
30
30
  // with a <reference path="./component" /> at the top of your spec.
31
+ /* eslint-disable @typescript-eslint/no-namespace */
31
32
  declare global {
32
33
  namespace Cypress {
33
34
  interface Chainable {
@@ -0,0 +1,17 @@
1
+ #!/bin/sh
2
+ basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
+
4
+ case `uname` in
5
+ *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6
+ esac
7
+
8
+ if [ -z "$NODE_PATH" ]; then
9
+ export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
10
+ else
11
+ export NODE_PATH="$NODE_PATH:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
12
+ fi
13
+ if [ -x "$basedir/node" ]; then
14
+ exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vite@3.0.1/node_modules/vite/bin/vite.js" "$@"
15
+ else
16
+ exec node "$basedir/../../../../../node_modules/.pnpm/vite@3.0.1/node_modules/vite/bin/vite.js" "$@"
17
+ fi
@@ -1,5 +1,7 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@vitejs/plugin-vue-jsx": "^1.3.10"
3
+ "@vitejs/plugin-vue-jsx": "^2.0.0",
4
+ "vite": "^3.0.1",
5
+ "vue": "^3.2.37"
4
6
  }
5
7
  }
@@ -1,4 +1,4 @@
1
- import { fileURLToPath, URL } from 'url'
1
+ import { fileURLToPath, URL } from 'node:url'
2
2
 
3
3
  import { defineConfig } from 'vite'
4
4
  import vue from '@vitejs/plugin-vue'
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "dependencies": {
3
- "pinia": "^2.0.14",
3
+ "pinia": "^2.0.16",
4
4
  "vue": "^3.2.37"
5
5
  }
6
6
  }
@@ -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.38.4_typescript@4.7.4/node_modules/vue-tsc/bin/vue-tsc.js" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.38.8_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.38.4_typescript@4.7.4/node_modules/vue-tsc/bin/vue-tsc.js" "$@"
16
+ exec node "$basedir/../../../../../node_modules/.pnpm/vue-tsc@0.38.8_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.43",
8
+ "@types/node": "^16.11.45",
9
9
  "npm-run-all": "^4.1.5",
10
10
  "typescript": "~4.7.4",
11
- "vue-tsc": "^0.38.4"
11
+ "vue-tsc": "^0.38.8"
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.18.0_jsdom@20.0.0/node_modules/vitest/vitest.mjs" "$@"
14
+ exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vitest@0.18.1_jsdom@20.0.0/node_modules/vitest/vitest.mjs" "$@"
15
15
  else
16
- exec node "$basedir/../../../../../node_modules/.pnpm/vitest@0.18.0_jsdom@20.0.0/node_modules/vitest/vitest.mjs" "$@"
16
+ exec node "$basedir/../../../../../node_modules/.pnpm/vitest@0.18.1_jsdom@20.0.0/node_modules/vitest/vitest.mjs" "$@"
17
17
  fi
@@ -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.0"
11
+ "vitest": "^0.18.1"
12
12
  }
13
13
  }
@@ -1,6 +1,12 @@
1
1
  {
2
2
  "extends": "./tsconfig.app.json",
3
- "include": ["env.d.ts", "src/**/*", "src/**/*.vue", "cypress/support/component.*"],
3
+ "include": [
4
+ "env.d.ts",
5
+ "src/**/*",
6
+ "src/**/*.vue",
7
+ "cypress/support/component.*",
8
+ "cypress/support/commands.ts"
9
+ ],
4
10
  "exclude": [],
5
11
  "compilerOptions": {
6
12
  "composite": true