create-jnrs-template-vue 1.1.2 → 1.1.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.
|
@@ -5,12 +5,6 @@ import { execSync, spawnSync } from 'child_process'
|
|
|
5
5
|
import minimist from 'minimist'
|
|
6
6
|
import prompts from 'prompts'
|
|
7
7
|
|
|
8
|
-
if (require.main !== module) {
|
|
9
|
-
console.error('❌ 此软件包是一个 CLI 工具,不要将其作为依赖项安装!')
|
|
10
|
-
console.error('✅ 正确用法:pnpm create jnrs-template-vue@latest jnrs-app-vue')
|
|
11
|
-
process.exit(1)
|
|
12
|
-
}
|
|
13
|
-
|
|
14
8
|
const __filename = fileURLToPath(import.meta.url)
|
|
15
9
|
const __dirname = dirname(__filename)
|
|
16
10
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-jnrs-template-vue",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "巨能前端工程化开发,Vue 项目模板脚手架",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vue",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"type": "module",
|
|
19
19
|
"bin": {
|
|
20
|
-
"create-jnrs-template-vue": "./bin/create.
|
|
20
|
+
"create-jnrs-template-vue": "./bin/create.mjs"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"bin",
|