create-vue 3.3.0 → 3.3.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.
Files changed (33) hide show
  1. package/LICENSE +58 -0
  2. package/README.md +17 -1
  3. package/outfile.cjs +1074 -217
  4. package/package.json +4 -3
  5. package/template/base/node_modules/.bin/vite +2 -2
  6. package/template/base/package.json +3 -3
  7. package/template/code/default/src/components/HelloWorld.vue +2 -2
  8. package/template/code/default/src/components/TheWelcome.vue +23 -21
  9. package/template/code/router/src/components/HelloWorld.vue +2 -2
  10. package/template/code/router/src/components/TheWelcome.vue +23 -21
  11. package/template/code/router/src/views/HomeView.vue +1 -1
  12. package/template/code/typescript-default/src/components/HelloWorld.vue +2 -2
  13. package/template/code/typescript-default/src/components/TheWelcome.vue +23 -21
  14. package/template/code/typescript-router/src/components/HelloWorld.vue +2 -2
  15. package/template/code/typescript-router/src/components/TheWelcome.vue +23 -21
  16. package/template/code/typescript-router/src/views/HomeView.vue +1 -1
  17. package/template/config/cypress/cypress/support/commands.ts +2 -0
  18. package/template/config/cypress/node_modules/.bin/cypress +2 -2
  19. package/template/config/cypress/package.json +1 -1
  20. package/template/config/cypress-ct/node_modules/.bin/cypress +2 -2
  21. package/template/config/cypress-ct/package.json +2 -2
  22. package/template/config/jsx/node_modules/.bin/vite +2 -2
  23. package/template/config/jsx/package.json +5 -3
  24. package/template/config/pinia/package.json +2 -2
  25. package/template/config/pinia/src/stores/counter.js +8 -12
  26. package/template/config/router/package.json +2 -2
  27. package/template/config/typescript/node_modules/.bin/vue-tsc +2 -2
  28. package/template/config/typescript/package.json +2 -2
  29. package/template/config/vitest/node_modules/.bin/vitest +2 -2
  30. package/template/config/vitest/package.json +2 -2
  31. package/template/eslint/package.json +1 -7
  32. package/template/tsconfig/cypress-ct/package.json +5 -0
  33. package/template/tsconfig/vitest/package.json +1 -1
package/LICENSE CHANGED
@@ -31,6 +31,64 @@ MIT
31
31
 
32
32
  ## Bundled dependencies
33
33
 
34
+ ## @vue/create-eslint-config
35
+
36
+ License: MIT
37
+ By: Haoqun Jiang
38
+ Repository: git+https://github.com/vuejs/create-eslint-config.git
39
+
40
+ > MIT License
41
+ >
42
+ > Copyright (c) 2022 vuejs
43
+ >
44
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
45
+ > of this software and associated documentation files (the "Software"), to deal
46
+ > in the Software without restriction, including without limitation the rights
47
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
48
+ > copies of the Software, and to permit persons to whom the Software is
49
+ > furnished to do so, subject to the following conditions:
50
+ >
51
+ > The above copyright notice and this permission notice shall be included in all
52
+ > copies or substantial portions of the Software.
53
+ >
54
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
55
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
56
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
57
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
58
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
59
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
60
+ > SOFTWARE.
61
+ >
62
+
63
+ ## javascript-stringify
64
+
65
+ License: MIT
66
+ By: Blake Embrey
67
+ Repository: git+https://github.com/blakeembrey/javascript-stringify.git
68
+
69
+ > The MIT License (MIT)
70
+ >
71
+ > Copyright (c) 2013 Blake Embrey (hello@blakeembrey.com)
72
+ >
73
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
74
+ > of this software and associated documentation files (the "Software"), to deal
75
+ > in the Software without restriction, including without limitation the rights
76
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
77
+ > copies of the Software, and to permit persons to whom the Software is
78
+ > furnished to do so, subject to the following conditions:
79
+ >
80
+ > The above copyright notice and this permission notice shall be included in
81
+ > all copies or substantial portions of the Software.
82
+ >
83
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
84
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
85
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
86
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
87
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
88
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
89
+ > THE SOFTWARE.
90
+ >
91
+
34
92
  ## kleur
35
93
 
36
94
  License: MIT
package/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # create-vue
2
2
 
3
- An easy way to start a Vue project
3
+ The recommended way to start a Vite-powered Vue project
4
+
5
+ <p align="center">
6
+ <img src="https://github.com/vuejs/create-vue/blob/main/media/screenshot-cli.png?raw=true" width="800">
7
+ </p>
4
8
 
5
9
  ## Usage
6
10
 
@@ -15,3 +19,15 @@ npm init vue@2
15
19
  ```
16
20
 
17
21
  Note that the version number (`@3` or `@2`) MUST NOT be omitted, otherwise `npm` may resolve to a cached and outdated version of the package.
22
+
23
+ ## Difference from Vue CLI
24
+
25
+ - Vue CLI is based on webpack, while `create-vue` is based on [Vite](https://vitejs.dev/). Vite supports most of the configured conventions found in Vue CLI projects out of the box, and provides a significantly better development experience due to its extremely fast startup and hot-module replacement speed. Learn more about why we recommend Vite over webpack [here](https://vitejs.dev/guide/why.html).
26
+
27
+ - Unlike Vue CLI, `create-vue` itself is just a scaffolding tool: it creates a pre-configured project base on the features you choose, and delegates the rest to Vite. Projects scaffolded this way can directly leverage the [Vite plugin ecosystem](https://vitejs.dev/plugins/) which is Rollup-compatible.
28
+
29
+ ## Migrating from Vue CLI
30
+
31
+ - [Vue CLI -> Vite Migration Guide from VueSchool.io](https://vueschool.io/articles/vuejs-tutorials/how-to-migrate-from-vue-cli-to-vite/)
32
+
33
+ - [Tools / Plugins that help with auto migration](https://github.com/vitejs/awesome-vite#vue-cli)