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.
package/generators/hono/index.js
CHANGED
|
@@ -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
|
}
|
package/package.json
CHANGED