create-lve 0.6.14 → 0.6.15
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/config.js +1 -8
- package/index.js +1 -1
- package/package.json +1 -2
- package/template-vue/pnpm-lock.yaml +0 -1608
package/config.js
CHANGED
|
@@ -96,11 +96,6 @@ const vitePlusDeps = (isUno) => ({
|
|
|
96
96
|
})
|
|
97
97
|
|
|
98
98
|
const FRAMEWORK_CONFIG = {
|
|
99
|
-
next: {
|
|
100
|
-
deps: (isUno) => ({
|
|
101
|
-
devDependencies: isUno ? { unocss: 'latest' } : { tailwindcss: 'latest' },
|
|
102
|
-
}),
|
|
103
|
-
},
|
|
104
99
|
react: { deps: vitePlusDeps },
|
|
105
100
|
vue: { deps: vitePlusDeps },
|
|
106
101
|
}
|
|
@@ -237,7 +232,7 @@ async function runTask(command, args, cwd) {
|
|
|
237
232
|
}
|
|
238
233
|
|
|
239
234
|
async function applyProjectTransform(ctx) {
|
|
240
|
-
const { targetDir, framework, css, isUno
|
|
235
|
+
const { targetDir, framework, css, isUno } = ctx
|
|
241
236
|
|
|
242
237
|
const pkgPath = path.join(targetDir, 'package.json')
|
|
243
238
|
const pkg = await fs.readJson(pkgPath)
|
|
@@ -266,8 +261,6 @@ async function applyProjectTransform(ctx) {
|
|
|
266
261
|
await fs.writeFile(indexPath, indexContent)
|
|
267
262
|
}
|
|
268
263
|
|
|
269
|
-
if (isNext) return
|
|
270
|
-
|
|
271
264
|
const strategy = CSS_STRATEGIES[css]
|
|
272
265
|
const isVue = framework === 'vue'
|
|
273
266
|
const paths = {
|
package/index.js
CHANGED
package/package.json
CHANGED