create-vag 0.1.4 → 0.1.7
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/dist/create-vag-cli.js
CHANGED
|
@@ -7,12 +7,12 @@ import chalk from "chalk";
|
|
|
7
7
|
// package.json
|
|
8
8
|
var package_default = {
|
|
9
9
|
name: "create-vag",
|
|
10
|
-
version: "0.1.
|
|
10
|
+
version: "0.1.7",
|
|
11
11
|
description: "The npm-initializer for creating a new vag repo",
|
|
12
12
|
private: false,
|
|
13
13
|
repository: {
|
|
14
14
|
type: "git",
|
|
15
|
-
url: "git+https://github.com/charlyoleg2/
|
|
15
|
+
url: "git+https://github.com/charlyoleg2/vag.git"
|
|
16
16
|
},
|
|
17
17
|
homepage: "https://www.npmjs.com/package/create-vag",
|
|
18
18
|
author: "charlyoleg",
|
|
@@ -78,7 +78,7 @@ var package_default = {
|
|
|
78
78
|
"run:check": "run-s run:ref run:diff",
|
|
79
79
|
cycle: "run-s clean ci run",
|
|
80
80
|
"clean:template": "shx rm -fr dist/template",
|
|
81
|
-
"clean:build": "shx rm -fr dist",
|
|
81
|
+
"clean:build": "shx rm -fr dist node_modules",
|
|
82
82
|
"clean:output": "shx rm -fr tmp tmp2",
|
|
83
83
|
clean: "run-s clean:build clean:output"
|
|
84
84
|
},
|
|
@@ -90,15 +90,15 @@ var package_default = {
|
|
|
90
90
|
devDependencies: {
|
|
91
91
|
"@eslint/js": "^9.10.0",
|
|
92
92
|
"@types/eslint__js": "^8.42.3",
|
|
93
|
-
"@types/node": "^22.
|
|
94
|
-
eslint: "^9.
|
|
93
|
+
"@types/node": "^22.7.4",
|
|
94
|
+
eslint: "^9.11.1",
|
|
95
95
|
"eslint-config-prettier": "^9.1.0",
|
|
96
96
|
"npm-run-all": "^4.1.5",
|
|
97
97
|
prettier: "^3.3.3",
|
|
98
98
|
shx: "^0.3.4",
|
|
99
99
|
tsup: "^8.3.0",
|
|
100
100
|
typescript: "^5.6.2",
|
|
101
|
-
"typescript-eslint": "^8.
|
|
101
|
+
"typescript-eslint": "^8.7.0",
|
|
102
102
|
vitest: "^2.1.1"
|
|
103
103
|
}
|
|
104
104
|
};
|
|
@@ -161,7 +161,10 @@ function isFileBinary(fpath) {
|
|
|
161
161
|
}
|
|
162
162
|
async function oneFile(onePath, cfg2, preDir2) {
|
|
163
163
|
try {
|
|
164
|
-
const onePathIn = Handlebars.compile(onePath)({
|
|
164
|
+
const onePathIn = Handlebars.compile(onePath)({
|
|
165
|
+
projName: "projAbc",
|
|
166
|
+
repoName: "projAbc_vag"
|
|
167
|
+
});
|
|
165
168
|
const onePathOut = Handlebars.compile(onePath)(cfg2);
|
|
166
169
|
const fileIn1 = new URL(`./template/${onePathIn}.handlebars`, import.meta.url);
|
|
167
170
|
const fileIn2 = new URL(`./template/${onePathIn}`, import.meta.url);
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-vag",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "The npm-initializer for creating a new vag repo",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/charlyoleg2/
|
|
8
|
+
"url": "git+https://github.com/charlyoleg2/vag.git"
|
|
9
9
|
},
|
|
10
10
|
"homepage": "https://www.npmjs.com/package/create-vag",
|
|
11
11
|
"author": "charlyoleg",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"run:check": "run-s run:ref run:diff",
|
|
72
72
|
"cycle": "run-s clean ci run",
|
|
73
73
|
"clean:template": "shx rm -fr dist/template",
|
|
74
|
-
"clean:build": "shx rm -fr dist",
|
|
74
|
+
"clean:build": "shx rm -fr dist node_modules",
|
|
75
75
|
"clean:output": "shx rm -fr tmp tmp2",
|
|
76
76
|
"clean": "run-s clean:build clean:output"
|
|
77
77
|
},
|
|
@@ -83,15 +83,15 @@
|
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@eslint/js": "^9.10.0",
|
|
85
85
|
"@types/eslint__js": "^8.42.3",
|
|
86
|
-
"@types/node": "^22.
|
|
87
|
-
"eslint": "^9.
|
|
86
|
+
"@types/node": "^22.7.4",
|
|
87
|
+
"eslint": "^9.11.1",
|
|
88
88
|
"eslint-config-prettier": "^9.1.0",
|
|
89
89
|
"npm-run-all": "^4.1.5",
|
|
90
90
|
"prettier": "^3.3.3",
|
|
91
91
|
"shx": "^0.3.4",
|
|
92
92
|
"tsup": "^8.3.0",
|
|
93
93
|
"typescript": "^5.6.2",
|
|
94
|
-
"typescript-eslint": "^8.
|
|
94
|
+
"typescript-eslint": "^8.7.0",
|
|
95
95
|
"vitest": "^2.1.1"
|
|
96
96
|
}
|
|
97
97
|
}
|