create-vue 3.0.0-beta.9 → 3.0.3

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/README.md CHANGED
@@ -7,5 +7,11 @@ An easy way to start a Vue project
7
7
  ## Usage
8
8
 
9
9
  ```sh
10
- npm init vue@next
10
+ npm init vue@3
11
+ ```
12
+
13
+ Or, if you need to support IE11, you can create a Vue 2 project with:
14
+
15
+ ```sh
16
+ npm init vue@2
11
17
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vue",
3
- "version": "3.0.0-beta.9",
3
+ "version": "3.0.3",
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.13.1 || >=16.0.0"
15
15
  },
16
- "scripts": {
17
- "prepare": "husky install",
18
- "format": "prettier --write .",
19
- "build": "esbuild --bundle index.js --format=cjs --platform=node --outfile=outfile.cjs",
20
- "snapshot": "node snapshot.js",
21
- "pretest": "run-s build snapshot",
22
- "test": "node test.js",
23
- "prepublishOnly": "run-s build snapshot"
24
- },
25
16
  "repository": {
26
17
  "type": "git",
27
18
  "url": "git+https://github.com/vuejs/create-vue.git"
@@ -40,12 +31,20 @@
40
31
  "lint-staged": "^12.1.2",
41
32
  "minimist": "^1.2.5",
42
33
  "npm-run-all": "^4.1.5",
43
- "prettier": "^2.4.1",
34
+ "prettier": "^2.5.1",
44
35
  "prompts": "^2.4.2"
45
36
  },
46
37
  "lint-staged": {
47
38
  "*.{js,ts,vue,json}": [
48
39
  "prettier --write"
49
40
  ]
50
- }
51
- }
41
+ },
42
+ "scripts": {
43
+ "format": "prettier --write .",
44
+ "build": "esbuild --bundle index.js --format=cjs --platform=node --outfile=outfile.cjs",
45
+ "snapshot": "node snapshot.js",
46
+ "pretest": "run-s build snapshot",
47
+ "test": "node test.js"
48
+ },
49
+ "readme": "# create-vue\n\n[![Open in Visual Studio Code](https://open.vscode.dev/badges/open-in-vscode.svg)](https://open.vscode.dev/vuejs/create-vue)\n\nAn easy way to start a Vue project\n\n## Usage\n\n```sh\nnpm init vue@3\n```\n\nOr, if you need to support IE11, you can create a Vue 2 project with:\n\n```sh\nnpm init vue@2\n```\n"
50
+ }
@@ -17,7 +17,7 @@ dist-ssr
17
17
  /cypress/screenshots/
18
18
 
19
19
  # Editor directories and files
20
- .vscode
20
+ .vscode/*
21
21
  !.vscode/extensions.json
22
22
  .idea
23
23
  *.suo
@@ -5,10 +5,10 @@
5
5
  "preview": "vite preview --port 5050"
6
6
  },
7
7
  "dependencies": {
8
- "vue": "^3.2.22"
8
+ "vue": "^3.2.26"
9
9
  },
10
10
  "devDependencies": {
11
- "@vitejs/plugin-vue": "^1.10.0",
12
- "vite": "^2.6.14"
11
+ "@vitejs/plugin-vue": "^2.0.0",
12
+ "vite": "^2.7.1"
13
13
  }
14
14
  }
@@ -37,7 +37,6 @@ h3 {
37
37
  @media (min-width: 1024px) {
38
38
  .greetings h1,
39
39
  .greetings h3 {
40
- display: block;
41
40
  text-align: left;
42
41
  }
43
42
  }
@@ -47,7 +47,7 @@ import SupportIcon from './icons/IconSupport.vue'
47
47
  <template #heading>Ecosystem</template>
48
48
 
49
49
  Get official tools and libraries for your project:
50
- <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
50
+ <a target="_blank" href="https://pinia.vuejs.org/">Pinia</a>,
51
51
  <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
52
52
  <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
53
53
  <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
@@ -47,7 +47,7 @@ import SupportIcon from './icons/IconSupport.vue'
47
47
  <template #heading>Ecosystem</template>
48
48
 
49
49
  Get official tools and libraries for your project:
50
- <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
50
+ <a target="_blank" href="https://pinia.vuejs.org/">Pinia</a>,
51
51
  <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
52
52
  <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
53
53
  <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
@@ -1,4 +1,4 @@
1
- <script setup lang="ts">
1
+ <script setup>
2
2
  import TheWelcome from '@/components/TheWelcome.vue'
3
3
  </script>
4
4
 
@@ -47,7 +47,7 @@ import SupportIcon from './icons/IconSupport.vue'
47
47
  <template #heading>Ecosystem</template>
48
48
 
49
49
  Get official tools and libraries for your project:
50
- <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
50
+ <a target="_blank" href="https://pinia.vuejs.org/">Pinia</a>,
51
51
  <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
52
52
  <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
53
53
  <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
@@ -47,7 +47,7 @@ import SupportIcon from './icons/IconSupport.vue'
47
47
  <template #heading>Ecosystem</template>
48
48
 
49
49
  Get official tools and libraries for your project:
50
- <a target="_blank" href="https://next.vuex.vuejs.org/">Vuex</a>,
50
+ <a target="_blank" href="https://pinia.vuejs.org/">Pinia</a>,
51
51
  <a target="_blank" href="https://next.router.vuejs.org/">Vue Router</a>,
52
52
  <a target="_blank" href="https://next.vue-test-utils.vuejs.org/">Vue Test Utils</a>, and
53
53
  <a target="_blank" href="https://github.com/vuejs/devtools">Vue Dev Tools</a>. If you need more
@@ -8,7 +8,7 @@
8
8
  "devDependencies": {
9
9
  "@cypress/vite-dev-server": "^2.2.1",
10
10
  "@cypress/vue": "^3.0.5",
11
- "cypress": "^8.7.0",
11
+ "cypress": "^9.1.1",
12
12
  "start-server-and-test": "^1.14.0"
13
13
  }
14
14
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "devDependencies": {
3
- "@vitejs/plugin-vue-jsx": "^1.3.0"
3
+ "@vitejs/plugin-vue-jsx": "^1.3.1"
4
4
  }
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "dependencies": {
3
- "pinia": "^2.0.4"
3
+ "pinia": "^2.0.6"
4
4
  }
5
5
  }
@@ -4,8 +4,8 @@
4
4
  "typecheck": "vue-tsc --noEmit"
5
5
  },
6
6
  "devDependencies": {
7
- "@types/node": "^16.11.10",
8
- "typescript": "~4.4.4",
9
- "vue-tsc": "^0.29.6"
7
+ "@types/node": "^16.11.12",
8
+ "typescript": "~4.5.3",
9
+ "vue-tsc": "^0.29.8"
10
10
  }
11
11
  }
@@ -1,9 +0,0 @@
1
- import { createApp } from 'vue'
2
- import App from './App.vue'
3
- import router from './router'
4
-
5
- const app = createApp(App)
6
-
7
- app.use(router)
8
-
9
- app.mount('#app')