generator-reshow 0.19.3 → 0.19.4

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.
@@ -2243,6 +2243,9 @@ var defaultPackageJSON2 = {
2243
2243
  dependencies: {
2244
2244
  hono: "*"
2245
2245
  },
2246
+ devDependencies: {
2247
+ "modality-bun-kit": "*"
2248
+ },
2246
2249
  scripts: {
2247
2250
  test: "npm run build && bun test",
2248
2251
  build: "bun run src/build.ts",
@@ -2271,6 +2274,7 @@ class hono_default extends YoGenerator_default {
2271
2274
  const { cp, chMainName } = YoHelper_default(this);
2272
2275
  chMainName(this.mainName);
2273
2276
  cp("src/index.ts", null, this.payload);
2277
+ cp("src/cli.ts", null, this.payload);
2274
2278
  }
2275
2279
  conflicts() {
2276
2280
  const { handleKeywords, updateDestJSON } = YoHelper_default(this);
@@ -2280,6 +2284,7 @@ class hono_default extends YoGenerator_default {
2280
2284
  Object.assign(data, defaultPackageJSON2);
2281
2285
  data.repository = repository;
2282
2286
  data.homepage = repositoryHomepage;
2287
+ data.bin = { [this.mainName]: "src/cli.ts" };
2283
2288
  return data;
2284
2289
  });
2285
2290
  }
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env bun
2
+
3
+ console.log("Hello from the CLI!");
@@ -19,9 +19,7 @@
19
19
  "types": "./types/index.d.ts",
20
20
  "main": "./build/cjs/src/index.js",
21
21
  "module": "./build/es/src/index.mjs",
22
- "bin": {
23
- "<%= mainName %>": "./build/cjs/src/index.js"
24
- },
22
+ "bin": {},
25
23
  "scripts": {},
26
24
  "files": {}
27
25
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.19.3",
2
+ "version": "0.19.4",
3
3
  "name": "generator-reshow",
4
4
  "repository": {
5
5
  "type": "git",