@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.
Files changed (2) hide show
  1. package/bin/q.js +3 -3
  2. 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(`${type}-skeleton`, "g"), replaceWith: name },
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(`${type}-skeleton`, "g"), replaceWith: name },
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(`${type}-skeleton`, "g"), replaceWith: name },
92
+ { regex: new RegExp(`custom-code-skeleton`, "g"), replaceWith: name },
93
93
  ];
94
94
 
95
95
  await bootstrap("custom-code", baseDir, textReplacements);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nzz/q-cli",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
4
4
  "description": "Cli tool to setup new Q tools, new Q server implementations and start Q dev server to test developing Q tools",
5
5
  "main": "index.js",
6
6
  "scripts": {