@kanjijs/cli 0.2.0-beta.32 → 0.2.0-beta.34

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 CHANGED
@@ -20109,7 +20109,14 @@ ${exportStatement}`);
20109
20109
  } else {
20110
20110
  console.log(import_picocolors2.default.yellow(`Installing missing dependencies for Repository pattern: ${missing.join(", ")}...`));
20111
20111
  try {
20112
- execSync(`bun add ${missing.join(" ")}`, { stdio: "inherit" });
20112
+ const coreDep = missing.find((d) => d.includes("@kanjijs/core"));
20113
+ if (coreDep) {
20114
+ execSync(`bun add ${coreDep}`, { stdio: "inherit" });
20115
+ }
20116
+ const remaining = missing.filter((d) => !d.includes("@kanjijs/core"));
20117
+ if (remaining.length > 0) {
20118
+ execSync(`bun add ${remaining.join(" ")}`, { stdio: "inherit" });
20119
+ }
20113
20120
  } catch (_e) {
20114
20121
  console.error(import_picocolors2.default.red("Failed to install dependencies. Please install them manually."));
20115
20122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanjijs/cli",
3
- "version": "0.2.0-beta.32",
3
+ "version": "0.2.0-beta.34",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "kanji": "./dist/index.js"
@@ -21,7 +21,7 @@
21
21
  "fs-extra": "^11.3.3",
22
22
  "picocolors": "^1.1.1",
23
23
  "openapi-typescript-codegen": "^0.25.0",
24
- "@kanjijs/openapi": "^0.2.0-beta.32"
24
+ "@kanjijs/openapi": "^0.2.0-beta.34"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/fs-extra": "^11.0.4"
@@ -7,12 +7,12 @@
7
7
  "start": "bun run src/main.ts"
8
8
  },
9
9
  "dependencies": {
10
- "@kanjijs/core": "^0.2.0-beta.32",
11
- "@kanjijs/platform-bun": "^0.2.0-beta.32",
12
- "@kanjijs/platform-hono": "^0.2.0-beta.32",
13
- "@kanjijs/auth": "^0.2.0-beta.32",
14
- "@kanjijs/logger": "^0.2.0-beta.32",
15
- "@kanjijs/throttler": "^0.2.0-beta.32",
10
+ "@kanjijs/core": "^0.2.0-beta.34",
11
+ "@kanjijs/platform-bun": "^0.2.0-beta.34",
12
+ "@kanjijs/platform-hono": "^0.2.0-beta.34",
13
+ "@kanjijs/auth": "^0.2.0-beta.34",
14
+ "@kanjijs/logger": "^0.2.0-beta.34",
15
+ "@kanjijs/throttler": "^0.2.0-beta.34",
16
16
  "hono": "^4.0.0",
17
17
  "reflect-metadata": "^0.2.0",
18
18
  "zod": "^3.0.0"