create-nohejs 1.0.2 → 1.0.5
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/lib/index.js +1 -1
- package/lib/template/jsconfig.json +22 -0
- package/lib/template/package.json +13 -13
- package/lib/template/public/favicon.ico +0 -0
- package/lib/template/view/App.vue +3 -0
- package/lib/template/view/assets/nohe.png +0 -0
- package/package.json +28 -28
- /package/lib/template/app/client/{Main.lua → main.lua} +0 -0
- /package/lib/template/app/server/{Main.lua → main.lua} +0 -0
package/lib/index.js
CHANGED
|
@@ -33,7 +33,7 @@ const Init = async () => {
|
|
|
33
33
|
throw err;
|
|
34
34
|
});
|
|
35
35
|
try {
|
|
36
|
-
await execa({ shell: true, stdio: 'inherit' }) `cd ${args[0]} && npm install nohejs nohecli`;
|
|
36
|
+
await execa({ shell: true, stdio: 'inherit' }) `cd ${args[0]} && npm install nohejs nohecli vue`;
|
|
37
37
|
info(`[ {{cyan}}info{{end}} ] Completed Installation`);
|
|
38
38
|
info(`[ {{cyan}}info{{end}} ] cd ${args[0]} and npm run dev`);
|
|
39
39
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "es5",
|
|
4
|
+
"module": "esnext",
|
|
5
|
+
"baseUrl": "./",
|
|
6
|
+
"moduleResolution": "node",
|
|
7
|
+
"paths": {
|
|
8
|
+
"@/*": [
|
|
9
|
+
"view/*"
|
|
10
|
+
],
|
|
11
|
+
"Store/*": [
|
|
12
|
+
"store/*"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"lib": [
|
|
16
|
+
"esnext",
|
|
17
|
+
"dom",
|
|
18
|
+
"dom.iterable",
|
|
19
|
+
"scripthost"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "<%= name %>",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"dev": "nohe start",
|
|
8
|
-
"build": "nohe build",
|
|
9
|
-
"clean": "nohe clean"
|
|
10
|
-
},
|
|
11
|
-
"author": "",
|
|
12
|
-
"license": "ISC"
|
|
13
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "<%= name %>",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "nohe start",
|
|
8
|
+
"build": "nohe build",
|
|
9
|
+
"clean": "nohe clean"
|
|
10
|
+
},
|
|
11
|
+
"author": "",
|
|
12
|
+
"license": "ISC"
|
|
13
|
+
}
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "create-nohejs",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "lib/index.js",
|
|
6
|
-
"bin": {
|
|
7
|
-
"@cq9dev/create-nohe": "lib/index.js"
|
|
8
|
-
},
|
|
9
|
-
"type": "module",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build": "tsc"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [],
|
|
14
|
-
"author": "CQDEV",
|
|
15
|
-
"license": "MIT",
|
|
16
|
-
"devDependencies": {
|
|
17
|
-
"@types/ejs": "^3.1.5",
|
|
18
|
-
"@types/execa": "^2.0.0",
|
|
19
|
-
"ts-node": "^10.9.2",
|
|
20
|
-
"typescript": "^5.4.5"
|
|
21
|
-
},
|
|
22
|
-
"dependencies": {
|
|
23
|
-
"ejs": "^3.1.10",
|
|
24
|
-
"execa": "^9.1.0",
|
|
25
|
-
"fs": "^0.0.1-security",
|
|
26
|
-
"path": "^0.12.7"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "create-nohejs",
|
|
3
|
+
"version": "1.0.5",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"@cq9dev/create-nohe": "lib/index.js"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsc"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [],
|
|
14
|
+
"author": "CQDEV",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@types/ejs": "^3.1.5",
|
|
18
|
+
"@types/execa": "^2.0.0",
|
|
19
|
+
"ts-node": "^10.9.2",
|
|
20
|
+
"typescript": "^5.4.5"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"ejs": "^3.1.10",
|
|
24
|
+
"execa": "^9.1.0",
|
|
25
|
+
"fs": "^0.0.1-security",
|
|
26
|
+
"path": "^0.12.7"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
File without changes
|
|
File without changes
|