@ooneex/cli 1.38.1 → 1.38.2
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/index.js +5 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -14451,7 +14451,10 @@ class AppInitCommand {
|
|
|
14451
14451
|
await Bun.write(join5(destination, "biome.jsonc"), biome_jsonc_default);
|
|
14452
14452
|
await Bun.write(join5(destination, "bunfig.toml"), bunfig_toml_default);
|
|
14453
14453
|
await Bun.write(join5(destination, "nx.json"), nx_json_default);
|
|
14454
|
-
|
|
14454
|
+
const packageJsonPath = join5(destination, "package.json");
|
|
14455
|
+
if (!await Bun.file(packageJsonPath).exists()) {
|
|
14456
|
+
await Bun.write(packageJsonPath, packageContent);
|
|
14457
|
+
}
|
|
14455
14458
|
await Bun.write(join5(destination, "README.md"), README_md_default.replace(/{{NAME}}/g, kebabName));
|
|
14456
14459
|
await Bun.write(join5(destination, "tsconfig.json"), tsconfig_json_default);
|
|
14457
14460
|
await Bun.write(join5(destination, ".zed", "settings.json"), zed_settings_json_default);
|
|
@@ -100329,4 +100332,4 @@ SeedRunCommand = __legacyDecorateClassTS([
|
|
|
100329
100332
|
// src/index.ts
|
|
100330
100333
|
await run();
|
|
100331
100334
|
|
|
100332
|
-
//# debugId=
|
|
100335
|
+
//# debugId=62106AD907A8879564756E2164756E21
|