diff --git a/eslint.config.js b/eslint.config.js index 409510b..ede8238 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -53,7 +53,6 @@ module.exports = [ files: ['**/*.ts', '**/*.tsx'], rules: { ...config.rules, - '@typescript-eslint/no-extra-semi': 'error', 'no-extra-semi': 'off', }, })), @@ -62,7 +61,6 @@ module.exports = [ files: ['**/*.js', '**/*.jsx'], rules: { ...config.rules, - '@typescript-eslint/no-extra-semi': 'error', 'no-extra-semi': 'off', }, })), diff --git a/package-lock.json b/package-lock.json index ba1cfc0..13e3518 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,9 +8,6 @@ "name": "nestjs-ory-integration", "version": "0.2.0", "license": "MIT", - "workspaces": [ - "packages/*" - ], "dependencies": { "@nestjs/axios": "^3.0.3", "@nestjs/common": "^10.4.4", @@ -2351,34 +2348,6 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, - "node_modules/@getlarge/base-client-wrapper": { - "resolved": "packages/base-client-wrapper", - "link": true - }, - "node_modules/@getlarge/hydra-client-wrapper": { - "resolved": "packages/hydra-client-wrapper", - "link": true - }, - "node_modules/@getlarge/keto-cli": { - "resolved": "packages/keto-cli", - "link": true - }, - "node_modules/@getlarge/keto-client-wrapper": { - "resolved": "packages/keto-client-wrapper", - "link": true - }, - "node_modules/@getlarge/keto-relations-parser": { - "resolved": "packages/keto-relations-parser", - "link": true - }, - "node_modules/@getlarge/kratos-cli": { - "resolved": "packages/kratos-cli", - "link": true - }, - "node_modules/@getlarge/kratos-client-wrapper": { - "resolved": "packages/kratos-client-wrapper", - "link": true - }, "node_modules/@golevelup/nestjs-discovery": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@golevelup/nestjs-discovery/-/nestjs-discovery-4.0.1.tgz", @@ -13356,6 +13325,7 @@ "packages/base-client-wrapper": { "name": "@getlarge/base-client-wrapper", "version": "0.1.6", + "extraneous": true, "license": "MIT", "dependencies": { "@nestjs/axios": "^3.0.1", @@ -13364,43 +13334,23 @@ "tslib": "^2.3.0" } }, - "packages/base-client-wrapper/node_modules/axios": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", - "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.15.4", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, "packages/hydra-client-wrapper": { "name": "@getlarge/hydra-client-wrapper", "version": "0.3.0", + "extraneous": true, "license": "MIT", "dependencies": { - "@nestjs/axios": "^3.0.1", - "@nestjs/common": "^10.0.2", - "@ory/client": "^1.4.9", - "axios": "1.6.5", - "tslib": "^2.3.0" - } - }, - "packages/hydra-client-wrapper/node_modules/axios": { - "version": "1.6.5", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", - "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", - "license": "MIT", - "dependencies": { - "follow-redirects": "^1.15.4", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" + "@nestjs/axios": "^3.0.3", + "@nestjs/common": "^10.4.4", + "@ory/client": "^1.15.5", + "axios": "1.7.7", + "tslib": "^2.7.0" } }, "packages/keto-cli": { "name": "@getlarge/keto-cli", "version": "0.2.3", + "extraneous": true, "license": "MIT", "dependencies": { "@getlarge/keto-client-wrapper": "0.3.0", @@ -13420,24 +13370,26 @@ "packages/keto-client-wrapper": { "name": "@getlarge/keto-client-wrapper", "version": "0.3.0", + "extraneous": true, "license": "MIT", "dependencies": { "@getlarge/keto-relations-parser": "0.0.9", "defekt": "^9.3.1", "rxjs": "^7.8.0", - "tslib": "^2.3.0" + "tslib": "^2.7.0" }, "peerDependencies": { - "@nestjs/axios": "^3.0.1", - "@nestjs/common": "^10.0.2", - "@nestjs/core": "^10.0.2", - "@ory/client": "^1.4.9", - "axios": "1.6.5" + "@nestjs/axios": "^3.0.3", + "@nestjs/common": "^10.4.4", + "@nestjs/core": "^10.4.4", + "@ory/client": "^1.15.5", + "axios": "1.7.7" } }, "packages/keto-relations-parser": { "name": "@getlarge/keto-relations-parser", "version": "0.0.9", + "extraneous": true, "license": "MIT", "dependencies": { "defekt": "^9.3.1", @@ -13447,6 +13399,7 @@ "packages/kratos-cli": { "name": "@getlarge/kratos-cli", "version": "0.3.0", + "extraneous": true, "license": "MIT", "dependencies": { "@getlarge/kratos-client-wrapper": "0.2.0", @@ -13465,6 +13418,7 @@ "packages/kratos-client-wrapper": { "name": "@getlarge/kratos-client-wrapper", "version": "0.2.0", + "extraneous": true, "license": "MIT", "dependencies": { "tslib": "^2.3.0" diff --git a/package.json b/package.json index d569aa4..afb70e6 100644 --- a/package.json +++ b/package.json @@ -54,9 +54,6 @@ "typescript-eslint": "^8.0.0", "verdaccio": "^5.0.4" }, - "workspaces": [ - "packages/*" - ], "nx": { "includedScripts": [] } diff --git a/packages/base-client-wrapper/package.json b/packages/base-client-wrapper/package.json index 0b29595..a13c7ca 100644 --- a/packages/base-client-wrapper/package.json +++ b/packages/base-client-wrapper/package.json @@ -4,10 +4,10 @@ "version": "0.1.6", "license": "MIT", "dependencies": { - "@nestjs/axios": "^3.0.1", - "@nestjs/common": "^10.0.2", - "axios": "1.6.5", - "tslib": "^2.3.0" + "@nestjs/axios": "^3.0.3", + "@nestjs/common": "^10.4.4", + "tslib": "^2.7.0", + "axios": "1.7.7" }, "type": "commonjs", "main": "./src/index.js", diff --git a/packages/base-client-wrapper/src/lib/ory-base.module.ts b/packages/base-client-wrapper/src/lib/ory-base.module.ts index e8ee872..7fe6736 100644 --- a/packages/base-client-wrapper/src/lib/ory-base.module.ts +++ b/packages/base-client-wrapper/src/lib/ory-base.module.ts @@ -17,7 +17,7 @@ import { import { OryBaseService } from './ory-base.service'; declare module 'axios' { - // eslint-disable-next-line @typescript-eslint/no-empty-interface + // eslint-disable-next-line @typescript-eslint/no-empty-interface, @typescript-eslint/no-empty-object-type interface AxiosRequestConfig extends AxiosExtraRequestConfig {} } diff --git a/packages/hydra-client-wrapper/package.json b/packages/hydra-client-wrapper/package.json index 24282b5..00fc36c 100644 --- a/packages/hydra-client-wrapper/package.json +++ b/packages/hydra-client-wrapper/package.json @@ -9,11 +9,13 @@ "access": "public" }, "dependencies": { - "tslib": "^2.3.0", - "@nestjs/common": "^10.0.2", - "@ory/client": "^1.4.9", - "axios": "1.6.5", - "@nestjs/axios": "^3.0.1" + "tslib": "^2.7.0" + }, + "peerDependencies": { + "axios": "1.7.7", + "@nestjs/axios": "^3.0.3", + "@nestjs/common": "^10.4.4", + "@ory/client": "^1.15.5" }, "type": "commonjs", "main": "./src/index.js", diff --git a/packages/keto-cli/package.json b/packages/keto-cli/package.json index 64a3bd0..d2952c0 100644 --- a/packages/keto-cli/package.json +++ b/packages/keto-cli/package.json @@ -9,12 +9,12 @@ "access": "public" }, "dependencies": { - "tslib": "^2.3.0", + "tslib": "^2.7.0", "@getlarge/keto-client-wrapper": "0.3.0", - "@nestjs/common": "^10.0.2", - "@nestjs/config": "^3.1.1", + "@nestjs/common": "^10.4.4", + "@nestjs/config": "^3.2.3", "@getlarge/keto-relations-parser": "0.0.9", - "@ory/client": "^1.4.9", + "@ory/client": "^1.15.5", "nest-commander": "^3.12.5", "class-transformer": "^0.5.1", "class-validator": "^0.14.1" diff --git a/packages/keto-client-wrapper/package.json b/packages/keto-client-wrapper/package.json index d352a27..16dd98e 100644 --- a/packages/keto-client-wrapper/package.json +++ b/packages/keto-client-wrapper/package.json @@ -10,16 +10,16 @@ }, "dependencies": { "@getlarge/keto-relations-parser": "0.0.9", - "tslib": "^2.3.0", + "tslib": "^2.7.0", "defekt": "^9.3.1", "rxjs": "^7.8.0" }, "peerDependencies": { - "axios": "1.6.5", - "@nestjs/axios": "^3.0.1", - "@nestjs/common": "^10.0.2", - "@nestjs/core": "^10.0.2", - "@ory/client": "^1.4.9" + "axios": "1.7.7", + "@nestjs/axios": "^3.0.3", + "@nestjs/common": "^10.4.4", + "@nestjs/core": "^10.4.4", + "@ory/client": "^1.15.5" }, "type": "commonjs", "main": "./src/index.js", diff --git a/packages/keto-client-wrapper/project.json b/packages/keto-client-wrapper/project.json index 4639b46..9f9b1e8 100644 --- a/packages/keto-client-wrapper/project.json +++ b/packages/keto-client-wrapper/project.json @@ -32,7 +32,11 @@ }, "lint": { "executor": "@nx/eslint:lint", - "outputs": ["{options.outputFile}"] + "outputs": ["{options.outputFile}"], + "lintFilePatterns": [ + "packages/keto-client-wrapper/**/*.{ts,tsx,js,jsx}", + "packages/keto-client-wrapper/package.json" + ] }, "test": { "executor": "@nx/jest:jest", diff --git a/packages/keto-relations-parser/package.json b/packages/keto-relations-parser/package.json index 5d31924..a2becf2 100644 --- a/packages/keto-relations-parser/package.json +++ b/packages/keto-relations-parser/package.json @@ -10,6 +10,6 @@ }, "dependencies": { "defekt": "^9.3.1", - "tslib": "^2.3.0" + "tslib": "^2.7.0" } } diff --git a/packages/kratos-cli/package.json b/packages/kratos-cli/package.json index 36faab2..96d735a 100644 --- a/packages/kratos-cli/package.json +++ b/packages/kratos-cli/package.json @@ -9,14 +9,14 @@ "access": "public" }, "dependencies": { - "tslib": "^2.3.0", - "@nestjs/common": "^10.0.2", + "tslib": "^2.7.0", + "@nestjs/common": "^10.4.4", "@getlarge/kratos-client-wrapper": "0.2.0", - "@nestjs/config": "^3.1.1", - "nest-commander": "^3.12.5", + "@nestjs/config": "^3.2.3", + "nest-commander": "^3.15.0", "class-transformer": "^0.5.1", "class-validator": "^0.14.1", - "@ory/client": "^1.4.9" + "@ory/client": "^1.15.5" }, "type": "commonjs", "bin": { diff --git a/packages/kratos-client-wrapper/package.json b/packages/kratos-client-wrapper/package.json index 379f80a..51866cd 100644 --- a/packages/kratos-client-wrapper/package.json +++ b/packages/kratos-client-wrapper/package.json @@ -12,10 +12,10 @@ "tslib": "^2.3.0" }, "peerDependencies": { - "axios": "1.6.5", - "@nestjs/axios": "^3.0.1", - "@nestjs/common": "^10.0.2", - "@ory/client": "^1.4.9" + "axios": "1.7.7", + "@nestjs/axios": "^3.0.3", + "@nestjs/common": "^10.4.4", + "@ory/client": "^1.15.5" }, "type": "commonjs", "main": "./src/index.js",