create-vue3-enterprise 1.0.26 → 1.0.28

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 +12 -18
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -164,6 +164,18 @@ async function main() {
164
164
  }
165
165
  ]
166
166
  },
167
+ {
168
+ type: (prev) => (prev.template !== "vue3-ts-full" ? "confirm" : null),
169
+ name: "needsRouter",
170
+ message: "添加 Vue Router?",
171
+ initial: true
172
+ },
173
+ {
174
+ type: (prev) => (prev.template === "vue3-ts" ? "confirm" : null),
175
+ name: "needsPinia",
176
+ message: "添加 Pinia (状态管理)?",
177
+ initial: true
178
+ },
167
179
  {
168
180
  type: "multiselect",
169
181
  name: "features",
@@ -181,24 +193,6 @@ async function main() {
181
193
  { title: "性能基准测试", value: "perf", selected: true }
182
194
  ]
183
195
  },
184
- {
185
- type: "confirm",
186
- name: "needsTypeScript",
187
- message: "使用 TypeScript?",
188
- initial: true
189
- },
190
- {
191
- type: "confirm",
192
- name: "needsRouter",
193
- message: "添加 Vue Router?",
194
- initial: true
195
- },
196
- {
197
- type: "confirm",
198
- name: "needsPinia",
199
- message: "添加 Pinia (状态管理)?",
200
- initial: true
201
- },
202
196
  {
203
197
  type: "confirm",
204
198
  name: "overwrite",
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.28",
4
4
  "description": "Vue3 + TypeScript + Vite 企业级项目脚手架",
5
5
  "type": "module",
6
6
  "bin": {