diff --git a/package.json b/package.json index b2ecb847..2c3ef03b 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,6 @@ "madge": "^7.0.0", "micromatch": "4.0.6", "prettier": "^3.2.5", - "reflect-metadata": "^0.1.13", "rimraf": "^5.0.5", "rxjs": "^7.8.1", "sinon": "^16.1.0", @@ -78,6 +77,9 @@ "ts-node": "^10.9.1", "typescript": "~5.2.2" }, + "peerDependencies": { + "reflect-metadata": "^0.1.13" + }, "engines": { "node": "^16.10.0 || ^18.12.0 || >=20.0.0" } diff --git a/packages/di/inversify/package.json b/packages/di/inversify/package.json index 78fea189..babfdc91 100644 --- a/packages/di/inversify/package.json +++ b/packages/di/inversify/package.json @@ -36,11 +36,11 @@ "dependencies": { "@suites/types.common": "^3.0.0", "@suites/types.di": "^3.0.0", - "lodash.isequal": "^4.5.0", - "reflect-metadata": "^0.1.13" + "lodash.isequal": "^4.5.0" }, "peerDependencies": { - "inversify": ">= 6.0" + "inversify": ">= 6.0", + "reflect-metadata": "<1.0.0" }, "devDependencies": { "@types/lodash.isequal": "^4.5.6", diff --git a/packages/di/nestjs/package.json b/packages/di/nestjs/package.json index 945a844a..6f7d43d8 100644 --- a/packages/di/nestjs/package.json +++ b/packages/di/nestjs/package.json @@ -35,11 +35,11 @@ ], "dependencies": { "@suites/types.common": "^3.0.0", - "@suites/types.di": "^3.0.0", - "reflect-metadata": "^0.1.13" + "@suites/types.di": "^3.0.0" }, "peerDependencies": { - "@nestjs/common": ">= 8.0" + "@nestjs/common": ">= 8.0", + "reflect-metadata": "<1.0.0" }, "devDependencies": { "@nestjs/common": "^10.3.9",