@comet/api-generator 9.0.0-beta.3 → 9.0.0-beta.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.
@@ -453,6 +453,7 @@ function generateInputHandling(options, metadata, generatorOptions, targetDirect
453
453
  if (!targetMeta) {
454
454
  throw new Error("targetMeta is not set for relation");
455
455
  }
456
+ imports.push(generateEntityImport(targetMeta, targetDirectory));
456
457
  return {
457
458
  name: prop.name,
458
459
  singularName: (0, pluralize_1.singular)(prop.name),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comet/api-generator",
3
- "version": "9.0.0-beta.3",
3
+ "version": "9.0.0-beta.4",
4
4
  "description": "Comet API Generator CLI tool",
5
5
  "repository": {
6
6
  "directory": "packages/api/api-generator",
@@ -14,6 +14,7 @@
14
14
  "bin": {
15
15
  "comet-api-generator": "bin/api-generator.js"
16
16
  },
17
+ "sideEffects": false,
17
18
  "files": [
18
19
  "bin/**/*.js",
19
20
  "lib/*"
@@ -25,26 +26,26 @@
25
26
  "ts-morph": "^25.0.1",
26
27
  "ts-node": "^10.9.2",
27
28
  "typescript": "^5.9.3",
28
- "@comet/cms-api": "9.0.0-beta.3"
29
+ "@comet/cms-api": "9.0.0-beta.4"
29
30
  },
30
31
  "devDependencies": {
31
- "@mikro-orm/cli": "^6.6.12",
32
- "@mikro-orm/core": "^6.6.12",
33
- "@mikro-orm/postgresql": "^6.6.12",
34
- "@nestjs/graphql": "^13.2.3",
32
+ "@mikro-orm/cli": "^6.6.14",
33
+ "@mikro-orm/core": "^6.6.14",
34
+ "@mikro-orm/postgresql": "^6.6.14",
35
+ "@nestjs/graphql": "^13.4.0",
35
36
  "@types/jest": "^29.5.14",
36
- "@types/node": "^24.12.2",
37
+ "@types/node": "^24.12.4",
37
38
  "@types/pluralize": "^0.0.33",
38
39
  "class-validator": "^0.14.3",
39
- "eslint": "^9.39.2",
40
+ "eslint": "^9.39.4",
40
41
  "jest": "^29.7.0",
41
42
  "npm-run-all2": "^8.0.4",
42
43
  "prettier": "^3.6.2",
43
44
  "reflect-metadata": "^0.2.2",
44
45
  "rimraf": "^6.1.2",
45
46
  "ts-jest": "^29.4.9",
46
- "uuid": "^11.1.0",
47
- "@comet/eslint-config": "9.0.0-beta.3"
47
+ "uuid": "^11.1.1",
48
+ "@comet/eslint-config": "9.0.0-beta.4"
48
49
  },
49
50
  "peerDependencies": {
50
51
  "@mikro-orm/cli": "^6.0.0",