@kanjijs/platform-hono 0.2.0-beta.8 → 0.2.0-beta.9

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -3290,8 +3290,11 @@ class KanjijsAdapter {
3290
3290
  return [];
3291
3291
  visited.add(moduleClass);
3292
3292
  const meta = MetadataStorage.getModule(moduleClass);
3293
- if (!meta)
3293
+ if (!meta) {
3294
+ console.error(`[Kanjijs] No metadata found for module: ${moduleClass.name}. Did you forget @Module()?`);
3294
3295
  return [];
3296
+ }
3297
+ console.log(`[Kanjijs] Found module metadata for: ${moduleClass.name}. Controllers: ${meta.controllers?.length}`);
3295
3298
  const controllers = [...meta.controllers || []];
3296
3299
  const imports = [...meta.imports || [], ...target.imports || []];
3297
3300
  for (const imp of imports) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanjijs/platform-hono",
3
- "version": "0.2.0-beta.8",
3
+ "version": "0.2.0-beta.9",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -13,12 +13,12 @@
13
13
  "build": "bun build src/index.ts --outdir dist --target bun"
14
14
  },
15
15
  "dependencies": {
16
- "@kanjijs/common": "^0.2.0-beta.8",
17
- "@kanjijs/contracts": "^0.2.0-beta.8",
16
+ "@kanjijs/common": "^0.2.0-beta.9",
17
+ "@kanjijs/contracts": "^0.2.0-beta.9",
18
18
  "hono": "^4.0.0",
19
19
  "reflect-metadata": "^0.2.0"
20
20
  },
21
21
  "peerDependencies": {
22
- "@kanjijs/core": "^0.2.0-beta.8"
22
+ "@kanjijs/core": "^0.2.0-beta.9"
23
23
  }
24
24
  }