@nzz/q-cli 1.8.1 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- package/bin/q.js +3 -3
- package/package.json +1 -1
package/bin/q.js
CHANGED
@@ -47,7 +47,7 @@ async function main() {
|
|
47
47
|
}
|
48
48
|
const baseDir = program.dir || name;
|
49
49
|
const textReplacements = [
|
50
|
-
{ regex: new RegExp(
|
50
|
+
{ regex: new RegExp(`server-skeleton`, "g"), replaceWith: name },
|
51
51
|
];
|
52
52
|
|
53
53
|
await bootstrap("server", baseDir, textReplacements);
|
@@ -68,7 +68,7 @@ async function main() {
|
|
68
68
|
}
|
69
69
|
const baseDir = program.dir || name;
|
70
70
|
const textReplacements = [
|
71
|
-
{ regex: new RegExp(
|
71
|
+
{ regex: new RegExp(`tool-skeleton`, "g"), replaceWith: name },
|
72
72
|
];
|
73
73
|
|
74
74
|
await bootstrap("tool", baseDir, textReplacements);
|
@@ -89,7 +89,7 @@ async function main() {
|
|
89
89
|
}
|
90
90
|
const baseDir = program.dir || name;
|
91
91
|
const textReplacements = [
|
92
|
-
{ regex: new RegExp(
|
92
|
+
{ regex: new RegExp(`custom-code-skeleton`, "g"), replaceWith: name },
|
93
93
|
];
|
94
94
|
|
95
95
|
await bootstrap("custom-code", baseDir, textReplacements);
|