create-vue3-enterprise 1.0.26 → 1.0.27

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 (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -188,16 +188,16 @@ async function main() {
188
188
  initial: true
189
189
  },
190
190
  {
191
- type: "confirm",
191
+ type: (prev) => prev.template !== "vue3-ts-full" ? "confirm" : null,
192
192
  name: "needsRouter",
193
193
  message: "添加 Vue Router?",
194
- initial: true
194
+ initial: true,
195
195
  },
196
196
  {
197
- type: "confirm",
197
+ type: (prev) => prev.template === "vue3-ts" ? "confirm" : null,
198
198
  name: "needsPinia",
199
199
  message: "添加 Pinia (状态管理)?",
200
- initial: true
200
+ initial: true,
201
201
  },
202
202
  {
203
203
  type: "confirm",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vue3-enterprise",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "Vue3 + TypeScript + Vite 企业级项目脚手架",
5
5
  "type": "module",
6
6
  "bin": {