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 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, isNext } = ctx
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
@@ -23,7 +23,7 @@ function parseArgs() {
23
23
 
24
24
  function randomName() {
25
25
  const hash = Math.random().toString(36).slice(2, 6)
26
- return `vite-app-${hash}`
26
+ return `lve-app-${hash}`
27
27
  }
28
28
 
29
29
  function onCancel() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-lve",
3
- "version": "0.6.14",
3
+ "version": "0.6.15",
4
4
  "bin": {
5
5
  "create-lve": "index.js"
6
6
  },
@@ -8,7 +8,6 @@
8
8
  "index.js",
9
9
  "config.js",
10
10
  "template-react",
11
- "template-next",
12
11
  "template-vue",
13
12
  "!**/node_modules"
14
13
  ],