diff --git a/packages/authentication/package.json b/packages/authentication/package.json index aa4a59153975..e6013f026863 100644 --- a/packages/authentication/package.json +++ b/packages/authentication/package.json @@ -23,9 +23,11 @@ "publishConfig": { "access": "public" }, - "dependencies": { + "peerDependencies": { "@loopback/core": "^2.9.5", - "@loopback/rest": "^6.2.0", + "@loopback/rest": "^6.2.0" + }, + "dependencies": { "@loopback/security": "^0.2.18", "@types/express": "^4.17.8", "@types/lodash": "^4.14.161", @@ -34,8 +36,10 @@ }, "devDependencies": { "@loopback/build": "^6.2.2", + "@loopback/core": "^2.9.5", "@loopback/eslint-config": "^9.0.2", "@loopback/openapi-spec-builder": "^2.1.13", + "@loopback/rest": "^6.2.0", "@loopback/testlab": "^3.2.4", "@types/node": "^10.17.29", "jsonwebtoken": "^8.5.1" diff --git a/packages/authorization/package.json b/packages/authorization/package.json index 83d9b01b9ccd..62079cb5ad42 100644 --- a/packages/authorization/package.json +++ b/packages/authorization/package.json @@ -23,14 +23,17 @@ "publishConfig": { "access": "public" }, + "peerDependencies": { + "@loopback/core": "^2.9.5" + }, "dependencies": { - "@loopback/core": "^2.9.5", "@loopback/security": "^0.2.18", "debug": "^4.1.1", "tslib": "^2.0.1" }, "devDependencies": { "@loopback/build": "^6.2.2", + "@loopback/core": "^2.9.5", "@loopback/testlab": "^3.2.4", "@types/debug": "^4.1.5", "@types/node": "10.17.29", diff --git a/packages/boot/package.json b/packages/boot/package.json index 1588be06dcf4..69a5a6b606f0 100644 --- a/packages/boot/package.json +++ b/packages/boot/package.json @@ -23,8 +23,10 @@ "publishConfig": { "access": "public" }, + "peerDependencies": { + "@loopback/core": "^2.9.5" + }, "dependencies": { - "@loopback/core": "^2.9.5", "@loopback/model-api-builder": "^2.1.13", "@loopback/repository": "^2.11.2", "@loopback/service-proxy": "^2.3.8", @@ -36,6 +38,7 @@ }, "devDependencies": { "@loopback/build": "^6.2.2", + "@loopback/core": "^2.9.5", "@loopback/eslint-config": "^9.0.2", "@loopback/rest": "^6.2.0", "@loopback/rest-crud": "^0.8.13", diff --git a/packages/booter-lb3app/package.json b/packages/booter-lb3app/package.json index e563851fd942..66e52dcc4f2f 100644 --- a/packages/booter-lb3app/package.json +++ b/packages/booter-lb3app/package.json @@ -20,6 +20,11 @@ "publishConfig": { "access": "public" }, + "peerDependencies": { + "@loopback/boot": "^2.5.1", + "@loopback/core": "^2.9.5", + "@loopback/rest": "^6.2.0" + }, "dependencies": { "@types/express": "^4.17.8", "debug": "^4.1.1", @@ -28,11 +33,6 @@ "swagger2openapi": "^7.0.0", "tslib": "^2.0.1" }, - "peerDependencies": { - "@loopback/boot": "^2.5.1", - "@loopback/core": "^2.9.5", - "@loopback/rest": "^6.2.0" - }, "devDependencies": { "@loopback/boot": "^2.5.1", "@loopback/build": "^6.2.2", diff --git a/packages/express/package.json b/packages/express/package.json index 319545bab7ae..1d89c0878e3b 100644 --- a/packages/express/package.json +++ b/packages/express/package.json @@ -36,8 +36,10 @@ "src", "!*/__tests__" ], + "peerDependencies": { + "@loopback/core": "^2.9.5" + }, "dependencies": { - "@loopback/core": "^2.9.5", "@loopback/http-server": "^2.2.0", "@types/body-parser": "^1.19.0", "@types/express": "^4.17.8", @@ -53,6 +55,7 @@ }, "devDependencies": { "@loopback/build": "^6.2.2", + "@loopback/core": "^2.9.5", "@loopback/testlab": "^3.2.4", "@types/debug": "^4.1.5", "@types/node": "^10.17.29", diff --git a/packages/model-api-builder/package.json b/packages/model-api-builder/package.json index 0b5837fef534..5d9779f14660 100644 --- a/packages/model-api-builder/package.json +++ b/packages/model-api-builder/package.json @@ -24,6 +24,9 @@ "@loopback/core": "^2.9.5", "@loopback/repository": "^2.11.2" }, + "dependencies": { + "tslib": "^2.0.1" + }, "devDependencies": { "@loopback/build": "^1.7.1", "@loopback/core": "^2.9.5", @@ -40,8 +43,5 @@ "type": "git", "url": "https://github.com/strongloop/loopback-next.git", "directory": "packages/model-api-builder" - }, - "dependencies": { - "tslib": "^2.0.1" } } diff --git a/packages/openapi-v3/package.json b/packages/openapi-v3/package.json index 464f79c9e773..11050d29a358 100644 --- a/packages/openapi-v3/package.json +++ b/packages/openapi-v3/package.json @@ -7,8 +7,10 @@ "engines": { "node": ">=10.16" }, + "peerDependencies": { + "@loopback/core": "^2.9.5" + }, "dependencies": { - "@loopback/core": "^2.9.5", "@loopback/repository-json-schema": "^2.4.10", "debug": "^4.1.1", "http-status": "^1.4.2", @@ -19,6 +21,7 @@ }, "devDependencies": { "@loopback/build": "^6.2.2", + "@loopback/core": "^2.9.5", "@loopback/eslint-config": "^9.0.2", "@loopback/openapi-spec-builder": "^2.1.13", "@loopback/repository": "^2.11.2", diff --git a/packages/repository-json-schema/package.json b/packages/repository-json-schema/package.json index 73fb159364ae..54e1b4860e4b 100644 --- a/packages/repository-json-schema/package.json +++ b/packages/repository-json-schema/package.json @@ -25,16 +25,20 @@ "TypeScript", "JSON Schema" ], - "dependencies": { + "peerDependencies": { "@loopback/core": "^2.9.5", - "@loopback/repository": "^2.11.2", + "@loopback/repository": "^2.11.2" + }, + "dependencies": { "@types/json-schema": "^7.0.6", "debug": "^4.1.1", "tslib": "^2.0.1" }, "devDependencies": { "@loopback/build": "^6.2.2", + "@loopback/core": "^2.9.5", "@loopback/eslint-config": "^9.0.2", + "@loopback/repository": "^2.11.2", "@loopback/testlab": "^3.2.4", "@types/debug": "^4.1.5", "@types/node": "^10.17.29", diff --git a/packages/repository-tests/package.json b/packages/repository-tests/package.json index 48632111e8b0..7bcc835938b9 100644 --- a/packages/repository-tests/package.json +++ b/packages/repository-tests/package.json @@ -20,8 +20,13 @@ "publishConfig": { "access": "public" }, + "peerDependencies": { + "@loopback/core": "^2.9.5", + "@loopback/repository": "^2.11.2" + }, "devDependencies": { "@loopback/build": "^1.7.1", + "@loopback/core": "^2.9.5", "@loopback/repository": "^2.11.2", "@types/debug": "^4.1.5", "@types/lodash": "^4.14.161", @@ -29,15 +34,11 @@ "lodash": "^4.17.20" }, "dependencies": { - "@loopback/core": "^2.9.5", "@loopback/testlab": "^3.2.4", "@types/debug": "^4.1.5", "debug": "^4.1.1", "tslib": "^2.0.1" }, - "peerDependencies": { - "@loopback/repository": "^2.11.2" - }, "files": [ "README.md", "dist", diff --git a/packages/repository/package.json b/packages/repository/package.json index 653e9327622e..fccdcbbfa34f 100644 --- a/packages/repository/package.json +++ b/packages/repository/package.json @@ -21,8 +21,12 @@ "publishConfig": { "access": "public" }, + "peerDependencies": { + "@loopback/core": "^2.9.5" + }, "devDependencies": { "@loopback/build": "^6.2.2", + "@loopback/core": "^2.9.5", "@loopback/eslint-config": "^9.0.2", "@loopback/testlab": "^3.2.4", "@types/bson": "^4.0.2", @@ -32,7 +36,6 @@ "bson": "4.1.0" }, "dependencies": { - "@loopback/core": "^2.9.5", "@loopback/filter": "^1.0.0", "@types/debug": "^4.1.5", "debug": "^4.1.1", diff --git a/packages/rest-crud/package.json b/packages/rest-crud/package.json index 4f5a4d243c53..b4df25016082 100644 --- a/packages/rest-crud/package.json +++ b/packages/rest-crud/package.json @@ -20,6 +20,11 @@ "publishConfig": { "access": "public" }, + "peerDependencies": { + "@loopback/core": "^2.9.5", + "@loopback/repository": "^2.11.2", + "@loopback/rest": "^6.2.0" + }, "dependencies": { "@loopback/model-api-builder": "^2.1.13", "debug": "^4.1.1", @@ -34,11 +39,6 @@ "@types/debug": "^4.1.5", "@types/node": "^10.17.29" }, - "peerDependencies": { - "@loopback/core": "^2.9.5", - "@loopback/repository": "^2.11.2", - "@loopback/rest": "^6.2.0" - }, "files": [ "README.md", "dist", diff --git a/packages/rest-explorer/package.json b/packages/rest-explorer/package.json index 2bd547e05fa3..b4e1109959d3 100644 --- a/packages/rest-explorer/package.json +++ b/packages/rest-explorer/package.json @@ -20,16 +20,20 @@ "publishConfig": { "access": "public" }, - "dependencies": { + "peerDependencies": { "@loopback/core": "^2.9.5", - "@loopback/rest": "^6.2.0", + "@loopback/rest": "^6.2.0" + }, + "dependencies": { "ejs": "^3.1.5", "swagger-ui-dist": "3.32.5", "tslib": "^2.0.1" }, "devDependencies": { "@loopback/build": "^6.2.2", + "@loopback/core": "^2.9.5", "@loopback/eslint-config": "^9.0.2", + "@loopback/rest": "^6.2.0", "@loopback/testlab": "^3.2.4", "@types/ejs": "^3.0.4", "@types/express": "^4.17.8", diff --git a/packages/rest/package.json b/packages/rest/package.json index b83c2fdc9acd..97e805280758 100644 --- a/packages/rest/package.json +++ b/packages/rest/package.json @@ -23,8 +23,10 @@ "publishConfig": { "access": "public" }, + "peerDependencies": { + "@loopback/core": "^2.9.5" + }, "dependencies": { - "@loopback/core": "^2.9.5", "@loopback/express": "^1.4.1", "@loopback/http-server": "^2.2.0", "@loopback/openapi-v3": "^3.4.9", @@ -58,6 +60,7 @@ }, "devDependencies": { "@loopback/build": "^6.2.2", + "@loopback/core": "^2.9.5", "@loopback/eslint-config": "^9.0.2", "@loopback/openapi-spec-builder": "^2.1.13", "@loopback/repository": "^2.11.2", diff --git a/packages/security/package.json b/packages/security/package.json index 8d538c38ff95..2fd424cc4b1f 100644 --- a/packages/security/package.json +++ b/packages/security/package.json @@ -23,13 +23,16 @@ "publishConfig": { "access": "public" }, + "peerDependencies": { + "@loopback/core": "^2.9.5" + }, "dependencies": { - "@loopback/core": "^2.9.5", "debug": "^4.1.1", "tslib": "^2.0.1" }, "devDependencies": { "@loopback/build": "^6.2.2", + "@loopback/core": "^2.9.5", "@loopback/testlab": "^3.2.4", "@types/debug": "^4.1.5", "@types/node": "^10.17.29" diff --git a/packages/service-proxy/package.json b/packages/service-proxy/package.json index ed92fffaf6a1..da392fb6bdc4 100644 --- a/packages/service-proxy/package.json +++ b/packages/service-proxy/package.json @@ -23,14 +23,17 @@ "publishConfig": { "access": "public" }, + "peerDependencies": { + "@loopback/core": "^2.9.5" + }, "devDependencies": { "@loopback/build": "^6.2.2", + "@loopback/core": "^2.9.5", "@loopback/eslint-config": "^9.0.2", "@loopback/testlab": "^3.2.4", "@types/node": "^10.17.29" }, "dependencies": { - "@loopback/core": "^2.9.5", "loopback-datasource-juggler": "^4.24.0", "tslib": "^2.0.1" },