From 610acc54dc83f1cb6600a7712d277ff68b79bef1 Mon Sep 17 00:00:00 2001 From: Simone Camito Date: Tue, 22 Oct 2024 17:21:15 +0200 Subject: [PATCH 1/4] strict --- tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 9f28fb71a1..912e937095 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,9 +1,11 @@ { "extends": "@tsconfig/node-lts", "compilerOptions": { + "strict": true, "noUnusedLocals": true, "noUnusedParameters": true, "noImplicitReturns": true, - "noFallthroughCasesInSwitch": true + "noFallthroughCasesInSwitch": true, + "exactOptionalPropertyTypes": true, } } From bd3e73a17a5f4a2b4d70108c16ed748ef92c355a Mon Sep 17 00:00:00 2001 From: Simone Camito Date: Wed, 23 Oct 2024 16:03:00 +0200 Subject: [PATCH 2/4] add strict rules --- tsconfig.json | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index 912e937095..133c36df86 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,10 +2,39 @@ "extends": "@tsconfig/node-lts", "compilerOptions": { "strict": true, - "noUnusedLocals": true, - "noUnusedParameters": true, + + "noImplicitAny": true, + "strictNullChecks": true, + "useUnknownInCatchVariables": true, + "strictPropertyInitialization": true, + "strictFunctionTypes": true, + "noImplicitThis": true, + "strictBindCallApply": true, + "noPropertyAccessFromIndexSignature": false, + + // disabled to avoid errors in protobuConverter + // "exactOptionalPropertyTypes": true, + // // Linter Checks "noImplicitReturns": true, + + // this rule broke protobuf-ts + // "noImplicitOverride": true, + "forceConsistentCasingInFileNames": true, + // // https://eslint.org/docs/rules/consistent-return ? "noFallthroughCasesInSwitch": true, - "exactOptionalPropertyTypes": true, + // // https://eslint.org/docs/rules/no-fallthrough + "noUnusedLocals": true, + // // https://eslint.org/docs/rules/no-unused-vars + "noUnusedParameters": true, + // // https://eslint.org/docs/rules/no-unused-vars#args + "allowUnreachableCode": false, + // // https://eslint.org/docs/rules/no-unreachable ? + "allowUnusedLabels": false, + // // https://eslint.org/docs/rules/no-unused-labels + // // Base Strict Checks + "noImplicitUseStrict": false, + "suppressExcessPropertyErrors": false, + "suppressImplicitAnyIndexErrors": false, + "noStrictGenericChecks": false } } From f52c2d386dc39f5d7c2b6bdf179d785ab203f01d Mon Sep 17 00:00:00 2001 From: Simone Camito Date: Thu, 24 Oct 2024 17:51:11 +0200 Subject: [PATCH 3/4] extends from multiple source, move from ts-node to tsx --- package.json | 1 + packages/agreement-email-sender/package.json | 4 +- packages/agreement-lifecycle/package.json | 2 +- .../agreement-outbound-writer/package.json | 4 +- packages/agreement-process/package.json | 4 +- .../agreement-readmodel-writer/package.json | 4 +- .../package.json | 4 +- packages/api-clients/package.json | 6 +- packages/api-gateway/package.json | 4 +- .../attribute-registry-process/package.json | 4 +- .../package.json | 4 +- packages/authorization-process/package.json | 4 +- packages/authorization-updater/package.json | 4 +- packages/backend-for-frontend/package.json | 4 +- packages/catalog-outbound-writer/package.json | 4 +- .../catalog-platformstate-writer/package.json | 5 +- packages/catalog-process/package.json | 4 +- .../catalog-readmodel-writer/package.json | 4 +- packages/client-readmodel-writer/package.json | 4 +- packages/commons/package.json | 2 +- .../compute-agreements-consumer/package.json | 4 +- packages/datalake-data-export/package.json | 4 +- .../package.json | 4 +- packages/event-migration/package.json | 6 +- .../package.json | 4 +- packages/key-readmodel-writer/package.json | 4 +- packages/models/package.json | 2 +- packages/models/src/user/user.ts | 2 +- packages/notifier-seeder/package.json | 4 +- packages/one-trust-notices/package.json | 2 +- packages/pn-consumers/package.json | 4 +- .../producer-key-events-writer/package.json | 4 +- .../package.json | 4 +- .../package.json | 4 +- packages/purpose-outbound-writer/package.json | 4 +- .../purpose-platformstate-writer/package.json | 4 +- packages/purpose-process/package.json | 4 +- .../purpose-readmodel-writer/package.json | 4 +- .../selfcare-onboarding-consumer/package.json | 4 +- packages/tenant-outbound-writer/package.json | 4 +- packages/tenant-process/package.json | 4 +- packages/tenant-readmodel-writer/package.json | 4 +- pnpm-lock.yaml | 532 +++++++++++++----- tsconfig.json | 42 +- 44 files changed, 477 insertions(+), 257 deletions(-) diff --git a/package.json b/package.json index bbc23cfd29..28b56b7155 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "prune-modules": "find . -name 'node_modules' -type d -exec rm -rf {} +" }, "devDependencies": { + "@tsconfig/strictest": "2.0.5", "@tsconfig/node-lts": "20.1.3", "turbo": "2.0.4" }, diff --git a/packages/agreement-email-sender/package.json b/packages/agreement-email-sender/package.json index 7d5ffffa8b..193ee783f2 100644 --- a/packages/agreement-email-sender/package.json +++ b/packages/agreement-email-sender/package.json @@ -15,7 +15,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc && pnpm cpx './src/resources/**/*' './dist/resources'", "check": "tsc --project tsconfig.check.json" }, @@ -31,7 +31,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "uuid": "10.0.0", "vitest": "1.6.0" diff --git a/packages/agreement-lifecycle/package.json b/packages/agreement-lifecycle/package.json index 7cf5fa3890..c359fe25f0 100644 --- a/packages/agreement-lifecycle/package.json +++ b/packages/agreement-lifecycle/package.json @@ -13,7 +13,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm --watch ./src/index.ts", + "start": "tsx --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, diff --git a/packages/agreement-outbound-writer/package.json b/packages/agreement-outbound-writer/package.json index 55023519f9..2a7f611563 100644 --- a/packages/agreement-outbound-writer/package.json +++ b/packages/agreement-outbound-writer/package.json @@ -9,7 +9,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -24,7 +24,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "uuid": "10.0.0", "vitest": "1.6.0" diff --git a/packages/agreement-process/package.json b/packages/agreement-process/package.json index 96db2dc22a..4a2153e341 100644 --- a/packages/agreement-process/package.json +++ b/packages/agreement-process/package.json @@ -11,7 +11,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc && pnpm cpx './src/resources/**/*' './dist/resources'", "check": "tsc --project tsconfig.check.json" }, @@ -31,7 +31,7 @@ "prettier": "2.8.8", "puppeteer": "22.11.2", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/agreement-readmodel-writer/package.json b/packages/agreement-readmodel-writer/package.json index 1f5be6d7ea..6f2bbf6dd3 100644 --- a/packages/agreement-readmodel-writer/package.json +++ b/packages/agreement-readmodel-writer/package.json @@ -12,7 +12,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -26,7 +26,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "uuid": "10.0.0", "vitest": "1.6.0", diff --git a/packages/anac-certified-attributes-importer/package.json b/packages/anac-certified-attributes-importer/package.json index f318036f2e..05fb6e4349 100644 --- a/packages/anac-certified-attributes-importer/package.json +++ b/packages/anac-certified-attributes-importer/package.json @@ -11,7 +11,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -26,7 +26,7 @@ "prettier": "2.8.8", "@types/uuid": "9.0.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/api-clients/package.json b/packages/api-clients/package.json index 20145f6472..71a102498f 100644 --- a/packages/api-clients/package.json +++ b/packages/api-clients/package.json @@ -13,10 +13,10 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json", - "generate-model": "node --loader ts-node/esm ./generate.ts", + "generate-model": "tsx ./generate.ts", "clean-generated": "pnpm exec rm ./src/generated/*.ts" }, "keywords": [], @@ -31,7 +31,7 @@ "openapi-zod-client": "1.18.1", "openapi3-ts": "3.1.0", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5" }, "dependencies": { diff --git a/packages/api-gateway/package.json b/packages/api-gateway/package.json index 5de2d0ef53..4eb73fdf98 100644 --- a/packages/api-gateway/package.json +++ b/packages/api-gateway/package.json @@ -10,7 +10,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -23,7 +23,7 @@ "@types/node": "20.14.6", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/attribute-registry-process/package.json b/packages/attribute-registry-process/package.json index d7387f2bd6..302df3539f 100644 --- a/packages/attribute-registry-process/package.json +++ b/packages/attribute-registry-process/package.json @@ -10,7 +10,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -28,7 +28,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/attribute-registry-readmodel-writer/package.json b/packages/attribute-registry-readmodel-writer/package.json index 319208b94e..fa5ffab59a 100644 --- a/packages/attribute-registry-readmodel-writer/package.json +++ b/packages/attribute-registry-readmodel-writer/package.json @@ -11,7 +11,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -24,7 +24,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/authorization-process/package.json b/packages/authorization-process/package.json index a71f8e48bf..04e8557d0e 100644 --- a/packages/authorization-process/package.json +++ b/packages/authorization-process/package.json @@ -10,7 +10,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -25,7 +25,7 @@ "@types/uuid": "9.0.8", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/authorization-updater/package.json b/packages/authorization-updater/package.json index 2338c136e4..be0366f87a 100644 --- a/packages/authorization-updater/package.json +++ b/packages/authorization-updater/package.json @@ -13,7 +13,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json", "test": "vitest", @@ -29,7 +29,7 @@ "openapi-zod-client": "1.18.1", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/backend-for-frontend/package.json b/packages/backend-for-frontend/package.json index 02f8500104..a1a04dde51 100644 --- a/packages/backend-for-frontend/package.json +++ b/packages/backend-for-frontend/package.json @@ -10,7 +10,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -28,7 +28,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/catalog-outbound-writer/package.json b/packages/catalog-outbound-writer/package.json index a5a8e5cbe6..001abd24f0 100644 --- a/packages/catalog-outbound-writer/package.json +++ b/packages/catalog-outbound-writer/package.json @@ -9,7 +9,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -24,7 +24,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "uuid": "10.0.0", "vitest": "1.6.0" diff --git a/packages/catalog-platformstate-writer/package.json b/packages/catalog-platformstate-writer/package.json index a1f3084e60..21ee2df4df 100644 --- a/packages/catalog-platformstate-writer/package.json +++ b/packages/catalog-platformstate-writer/package.json @@ -12,7 +12,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -26,7 +26,8 @@ "date-fns": "3.6.0", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", - "ts-node": "10.9.2", + "testcontainers": "10.9.0", + "tsx": "4.19.1", "typescript": "5.4.5", "uuid": "10.0.0", "vitest": "1.6.0" diff --git a/packages/catalog-process/package.json b/packages/catalog-process/package.json index 6c28f0d06a..bebae727fe 100644 --- a/packages/catalog-process/package.json +++ b/packages/catalog-process/package.json @@ -11,7 +11,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -31,7 +31,7 @@ "pg-promise": "11.8.0", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/catalog-readmodel-writer/package.json b/packages/catalog-readmodel-writer/package.json index d4fbdc3efc..3d121e1803 100644 --- a/packages/catalog-readmodel-writer/package.json +++ b/packages/catalog-readmodel-writer/package.json @@ -12,7 +12,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -27,7 +27,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "uuid": "10.0.0", "vitest": "1.6.0" diff --git a/packages/client-readmodel-writer/package.json b/packages/client-readmodel-writer/package.json index 2e2aa6b8c8..8b31d59988 100644 --- a/packages/client-readmodel-writer/package.json +++ b/packages/client-readmodel-writer/package.json @@ -12,7 +12,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -26,7 +26,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/commons/package.json b/packages/commons/package.json index 237c7ee534..289a2c1b7e 100644 --- a/packages/commons/package.json +++ b/packages/commons/package.json @@ -13,7 +13,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm --watch ./src/index.ts", + "start": "tsx --watch ./src/index.ts", "build": "tsc && pnpm run copy-sql-files && cpx './src/pdf-generator/paged.polyfill.js' './dist/pdf-generator'", "check": "tsc --project tsconfig.check.json", "copy-sql-files": "cp ./src/repositories/sql/*.sql dist/repositories/sql" diff --git a/packages/compute-agreements-consumer/package.json b/packages/compute-agreements-consumer/package.json index a8c15c79d7..8881576b8d 100644 --- a/packages/compute-agreements-consumer/package.json +++ b/packages/compute-agreements-consumer/package.json @@ -10,7 +10,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -22,7 +22,7 @@ "@types/node": "20.14.6", "@types/uuid": "9.0.8", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5" }, "dependencies": { diff --git a/packages/datalake-data-export/package.json b/packages/datalake-data-export/package.json index 6ecf307f90..0be73630df 100644 --- a/packages/datalake-data-export/package.json +++ b/packages/datalake-data-export/package.json @@ -10,7 +10,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -23,7 +23,7 @@ "@pagopa/eslint-config": "3.0.0", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/eservice-descriptors-archiver/package.json b/packages/eservice-descriptors-archiver/package.json index 94ca71141d..fc1c0298bc 100644 --- a/packages/eservice-descriptors-archiver/package.json +++ b/packages/eservice-descriptors-archiver/package.json @@ -12,7 +12,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -26,7 +26,7 @@ "openapi-zod-client": "1.18.1", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/event-migration/package.json b/packages/event-migration/package.json index 5397a2de49..4fbc6c7904 100644 --- a/packages/event-migration/package.json +++ b/packages/event-migration/package.json @@ -10,8 +10,8 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start:migrate": "node --loader ts-node/esm -r 'dotenv-flow/config' ./src/index.ts", - "start:verify": "node --loader ts-node/esm -r 'dotenv-flow/config' ./src/read-models-migration-check.ts", + "start:migrate": "tsx -r 'dotenv-flow/config' ./src/index.ts", + "start:verify": "tsx -r 'dotenv-flow/config' ./src/read-models-migration-check.ts", "build": "tsc" }, "keywords": [], @@ -36,7 +36,7 @@ "@types/lodash.isequal": "4.5.8", "eslint": "8.57.0", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" } diff --git a/packages/ivass-certified-attributes-importer/package.json b/packages/ivass-certified-attributes-importer/package.json index c60e0205ad..7542050c49 100644 --- a/packages/ivass-certified-attributes-importer/package.json +++ b/packages/ivass-certified-attributes-importer/package.json @@ -11,7 +11,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -28,7 +28,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/key-readmodel-writer/package.json b/packages/key-readmodel-writer/package.json index 761b9c59da..8fb90fc0f3 100644 --- a/packages/key-readmodel-writer/package.json +++ b/packages/key-readmodel-writer/package.json @@ -12,7 +12,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -26,7 +26,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/models/package.json b/packages/models/package.json index d3ce8ffb63..d7029c6899 100644 --- a/packages/models/package.json +++ b/packages/models/package.json @@ -13,7 +13,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm --watch ./src/index.ts", + "start": "tsx --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json", "generate-protobuf": "mkdirp ./src/gen && npx protoc --ts_opt=eslint_disable --ts_out ./src/gen --proto_path ./proto ./proto/**/**/*.proto && tsc-esm-fix --src='src/gen/' --ext='.js'" diff --git a/packages/models/src/user/user.ts b/packages/models/src/user/user.ts index fad7953a86..b36a2449b9 100644 --- a/packages/models/src/user/user.ts +++ b/packages/models/src/user/user.ts @@ -6,7 +6,7 @@ export const certificationType = { } as const; export const CertificationType = z.enum([ - Object.values(certificationType)[0], + Object.values(certificationType, undefined)[0], ...Object.values(certificationType).slice(1), ]); diff --git a/packages/notifier-seeder/package.json b/packages/notifier-seeder/package.json index f06224c2b9..6fb5612974 100644 --- a/packages/notifier-seeder/package.json +++ b/packages/notifier-seeder/package.json @@ -15,7 +15,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -26,7 +26,7 @@ "@pagopa/eslint-config": "3.0.0", "@types/node": "20.14.6", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "kafkajs": "2.2.4", "@types/uuid": "9.0.8", diff --git a/packages/one-trust-notices/package.json b/packages/one-trust-notices/package.json index 3b68f5f4ed..73df7d6445 100644 --- a/packages/one-trust-notices/package.json +++ b/packages/one-trust-notices/package.json @@ -24,7 +24,7 @@ "@types/lodash": "4.14.196", "@types/node": "20.4.9", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5" }, "dependencies": { diff --git a/packages/pn-consumers/package.json b/packages/pn-consumers/package.json index c741dfba1a..2beeea6fba 100644 --- a/packages/pn-consumers/package.json +++ b/packages/pn-consumers/package.json @@ -11,7 +11,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -27,7 +27,7 @@ "uuid": "10.0.0", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/producer-key-events-writer/package.json b/packages/producer-key-events-writer/package.json index 5c9843fb69..36a2b7eb62 100644 --- a/packages/producer-key-events-writer/package.json +++ b/packages/producer-key-events-writer/package.json @@ -12,7 +12,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -25,7 +25,7 @@ "@types/uuid": "9.0.8", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/producer-key-readmodel-writer/package.json b/packages/producer-key-readmodel-writer/package.json index 00e45346b1..e9ad995702 100644 --- a/packages/producer-key-readmodel-writer/package.json +++ b/packages/producer-key-readmodel-writer/package.json @@ -12,7 +12,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -26,7 +26,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/producer-keychain-readmodel-writer/package.json b/packages/producer-keychain-readmodel-writer/package.json index 2e3926b675..770342cf16 100644 --- a/packages/producer-keychain-readmodel-writer/package.json +++ b/packages/producer-keychain-readmodel-writer/package.json @@ -12,7 +12,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -26,7 +26,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/purpose-outbound-writer/package.json b/packages/purpose-outbound-writer/package.json index e34f3f1141..cc5a9d97cb 100644 --- a/packages/purpose-outbound-writer/package.json +++ b/packages/purpose-outbound-writer/package.json @@ -9,7 +9,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -24,7 +24,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "uuid": "10.0.0", "vitest": "1.6.0" diff --git a/packages/purpose-platformstate-writer/package.json b/packages/purpose-platformstate-writer/package.json index ea2a130497..37bac141e7 100644 --- a/packages/purpose-platformstate-writer/package.json +++ b/packages/purpose-platformstate-writer/package.json @@ -12,7 +12,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -26,7 +26,7 @@ "date-fns": "3.6.0", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "uuid": "10.0.0", "vitest": "1.6.0" diff --git a/packages/purpose-process/package.json b/packages/purpose-process/package.json index 9c2eaec3c4..9c6af53d9a 100644 --- a/packages/purpose-process/package.json +++ b/packages/purpose-process/package.json @@ -10,7 +10,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc && pnpm cpx './src/resources/**/*' './dist/resources'", "check": "tsc --project tsconfig.check.json" }, @@ -26,7 +26,7 @@ "prettier": "2.8.8", "puppeteer": "22.11.2", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/purpose-readmodel-writer/package.json b/packages/purpose-readmodel-writer/package.json index 47ec8edf85..de5eac7af2 100644 --- a/packages/purpose-readmodel-writer/package.json +++ b/packages/purpose-readmodel-writer/package.json @@ -12,7 +12,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -26,7 +26,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/selfcare-onboarding-consumer/package.json b/packages/selfcare-onboarding-consumer/package.json index eaf9394332..a0378e7396 100644 --- a/packages/selfcare-onboarding-consumer/package.json +++ b/packages/selfcare-onboarding-consumer/package.json @@ -12,7 +12,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -24,7 +24,7 @@ "@types/node": "20.14.6", "@types/uuid": "9.0.8", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/tenant-outbound-writer/package.json b/packages/tenant-outbound-writer/package.json index 2dacaf93a7..aa4f576555 100644 --- a/packages/tenant-outbound-writer/package.json +++ b/packages/tenant-outbound-writer/package.json @@ -9,7 +9,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -24,7 +24,7 @@ "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "uuid": "10.0.0", "vitest": "1.6.0" diff --git a/packages/tenant-process/package.json b/packages/tenant-process/package.json index afb5e3112c..035c0d2012 100644 --- a/packages/tenant-process/package.json +++ b/packages/tenant-process/package.json @@ -10,7 +10,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -25,7 +25,7 @@ "pg-promise": "11.8.0", "prettier": "2.8.8", "testcontainers": "10.9.0", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/packages/tenant-readmodel-writer/package.json b/packages/tenant-readmodel-writer/package.json index 0764fccd60..ecab1ba030 100644 --- a/packages/tenant-readmodel-writer/package.json +++ b/packages/tenant-readmodel-writer/package.json @@ -11,7 +11,7 @@ "lint:autofix": "eslint . --ext .ts,.tsx --fix", "format:check": "prettier --check src", "format:write": "prettier --write src", - "start": "node --loader ts-node/esm -r 'dotenv-flow/config' --watch ./src/index.ts", + "start": "tsx -r 'dotenv-flow/config' --watch ./src/index.ts", "build": "tsc", "check": "tsc --project tsconfig.check.json" }, @@ -23,7 +23,7 @@ "@types/node": "20.14.6", "pagopa-interop-commons-test": "workspace:*", "prettier": "2.8.8", - "ts-node": "10.9.2", + "tsx": "4.19.1", "typescript": "5.4.5", "vitest": "1.6.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 25acdd6886..7aebb2fb91 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,6 +11,9 @@ importers: '@tsconfig/node-lts': specifier: 20.1.3 version: 20.1.3 + '@tsconfig/strictest': + specifier: 2.0.5 + version: 2.0.5 turbo: specifier: 2.0.4 version: 2.0.4 @@ -66,9 +69,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -152,9 +155,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -310,9 +313,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -371,9 +374,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -432,9 +435,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -493,9 +496,9 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -548,9 +551,9 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -636,9 +639,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -691,9 +694,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -767,9 +770,9 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -837,9 +840,9 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -943,9 +946,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -1007,9 +1010,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -1074,9 +1077,12 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + testcontainers: + specifier: 10.9.0 + version: 10.9.0 + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -1165,9 +1171,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -1226,9 +1232,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -1330,9 +1336,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -1563,9 +1569,9 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -1609,9 +1615,9 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -1673,9 +1679,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -1734,9 +1740,9 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -1804,9 +1810,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -1884,9 +1890,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2000,9 +2006,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2049,9 +2055,9 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.4.9)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2101,9 +2107,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2159,9 +2165,9 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2217,9 +2223,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2275,9 +2281,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2339,9 +2345,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2406,9 +2412,9 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2488,9 +2494,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2546,9 +2552,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2601,9 +2607,9 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2665,9 +2671,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2744,9 +2750,9 @@ importers: testcontainers: specifier: 10.9.0 version: 10.9.0 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -2796,9 +2802,9 @@ importers: prettier: specifier: 2.8.8 version: 2.8.8 - ts-node: - specifier: 10.9.2 - version: 10.9.2(@types/node@20.14.6)(typescript@5.4.5) + tsx: + specifier: 4.19.1 + version: 4.19.1 typescript: specifier: 5.4.5 version: 5.4.5 @@ -6176,6 +6182,15 @@ packages: dev: true optional: true + /@esbuild/aix-ppc64@0.23.1: + resolution: {integrity: sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-arm64@0.21.5: resolution: {integrity: sha512-c0uX9VAUBQ7dTDCjq+wdyGLowMdtR/GoC2U5IYk/7D1H1JYC0qseD7+11iMP2mRLN9RcCMRcjC4YMclCzGwS/A==} engines: {node: '>=12'} @@ -6185,6 +6200,15 @@ packages: dev: true optional: true + /@esbuild/android-arm64@0.23.1: + resolution: {integrity: sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-arm@0.21.5: resolution: {integrity: sha512-vCPvzSjpPHEi1siZdlvAlsPxXl7WbOVUBBAowWug4rJHb68Ox8KualB+1ocNvT5fjv6wpkX6o/iEpbDrf68zcg==} engines: {node: '>=12'} @@ -6194,6 +6218,15 @@ packages: dev: true optional: true + /@esbuild/android-arm@0.23.1: + resolution: {integrity: sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/android-x64@0.21.5: resolution: {integrity: sha512-D7aPRUUNHRBwHxzxRvp856rjUHRFW1SdQATKXH2hqA0kAZb1hKmi02OpYRacl0TxIGz/ZmXWlbZgjwWYaCakTA==} engines: {node: '>=12'} @@ -6203,6 +6236,15 @@ packages: dev: true optional: true + /@esbuild/android-x64@0.23.1: + resolution: {integrity: sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + /@esbuild/darwin-arm64@0.21.5: resolution: {integrity: sha512-DwqXqZyuk5AiWWf3UfLiRDJ5EDd49zg6O9wclZ7kUMv2WRFr4HKjXp/5t8JZ11QbQfUS6/cRCKGwYhtNAY88kQ==} engines: {node: '>=12'} @@ -6212,6 +6254,15 @@ packages: dev: true optional: true + /@esbuild/darwin-arm64@0.23.1: + resolution: {integrity: sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@esbuild/darwin-x64@0.21.5: resolution: {integrity: sha512-se/JjF8NlmKVG4kNIuyWMV/22ZaerB+qaSi5MdrXtd6R08kvs2qCN4C09miupktDitvh8jRFflwGFBQcxZRjbw==} engines: {node: '>=12'} @@ -6221,6 +6272,15 @@ packages: dev: true optional: true + /@esbuild/darwin-x64@0.23.1: + resolution: {integrity: sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + /@esbuild/freebsd-arm64@0.21.5: resolution: {integrity: sha512-5JcRxxRDUJLX8JXp/wcBCy3pENnCgBR9bN6JsY4OmhfUtIHe3ZW0mawA7+RDAcMLrMIZaf03NlQiX9DGyB8h4g==} engines: {node: '>=12'} @@ -6230,6 +6290,15 @@ packages: dev: true optional: true + /@esbuild/freebsd-arm64@0.23.1: + resolution: {integrity: sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/freebsd-x64@0.21.5: resolution: {integrity: sha512-J95kNBj1zkbMXtHVH29bBriQygMXqoVQOQYA+ISs0/2l3T9/kj42ow2mpqerRBxDJnmkUDCaQT/dfNXWX/ZZCQ==} engines: {node: '>=12'} @@ -6239,6 +6308,15 @@ packages: dev: true optional: true + /@esbuild/freebsd-x64@0.23.1: + resolution: {integrity: sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-arm64@0.21.5: resolution: {integrity: sha512-ibKvmyYzKsBeX8d8I7MH/TMfWDXBF3db4qM6sy+7re0YXya+K1cem3on9XgdT2EQGMu4hQyZhan7TeQ8XkGp4Q==} engines: {node: '>=12'} @@ -6248,6 +6326,15 @@ packages: dev: true optional: true + /@esbuild/linux-arm64@0.23.1: + resolution: {integrity: sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-arm@0.21.5: resolution: {integrity: sha512-bPb5AHZtbeNGjCKVZ9UGqGwo8EUu4cLq68E95A53KlxAPRmUyYv2D6F0uUI65XisGOL1hBP5mTronbgo+0bFcA==} engines: {node: '>=12'} @@ -6257,6 +6344,15 @@ packages: dev: true optional: true + /@esbuild/linux-arm@0.23.1: + resolution: {integrity: sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-ia32@0.21.5: resolution: {integrity: sha512-YvjXDqLRqPDl2dvRODYmmhz4rPeVKYvppfGYKSNGdyZkA01046pLWyRKKI3ax8fbJoK5QbxblURkwK/MWY18Tg==} engines: {node: '>=12'} @@ -6266,6 +6362,15 @@ packages: dev: true optional: true + /@esbuild/linux-ia32@0.23.1: + resolution: {integrity: sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-loong64@0.21.5: resolution: {integrity: sha512-uHf1BmMG8qEvzdrzAqg2SIG/02+4/DHB6a9Kbya0XDvwDEKCoC8ZRWI5JJvNdUjtciBGFQ5PuBlpEOXQj+JQSg==} engines: {node: '>=12'} @@ -6275,6 +6380,15 @@ packages: dev: true optional: true + /@esbuild/linux-loong64@0.23.1: + resolution: {integrity: sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-mips64el@0.21.5: resolution: {integrity: sha512-IajOmO+KJK23bj52dFSNCMsz1QP1DqM6cwLUv3W1QwyxkyIWecfafnI555fvSGqEKwjMXVLokcV5ygHW5b3Jbg==} engines: {node: '>=12'} @@ -6284,6 +6398,15 @@ packages: dev: true optional: true + /@esbuild/linux-mips64el@0.23.1: + resolution: {integrity: sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-ppc64@0.21.5: resolution: {integrity: sha512-1hHV/Z4OEfMwpLO8rp7CvlhBDnjsC3CttJXIhBi+5Aj5r+MBvy4egg7wCbe//hSsT+RvDAG7s81tAvpL2XAE4w==} engines: {node: '>=12'} @@ -6293,6 +6416,15 @@ packages: dev: true optional: true + /@esbuild/linux-ppc64@0.23.1: + resolution: {integrity: sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-riscv64@0.21.5: resolution: {integrity: sha512-2HdXDMd9GMgTGrPWnJzP2ALSokE/0O5HhTUvWIbD3YdjME8JwvSCnNGBnTThKGEB91OZhzrJ4qIIxk/SBmyDDA==} engines: {node: '>=12'} @@ -6302,6 +6434,15 @@ packages: dev: true optional: true + /@esbuild/linux-riscv64@0.23.1: + resolution: {integrity: sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-s390x@0.21.5: resolution: {integrity: sha512-zus5sxzqBJD3eXxwvjN1yQkRepANgxE9lgOW2qLnmr8ikMTphkjgXu1HR01K4FJg8h1kEEDAqDcZQtbrRnB41A==} engines: {node: '>=12'} @@ -6311,6 +6452,15 @@ packages: dev: true optional: true + /@esbuild/linux-s390x@0.23.1: + resolution: {integrity: sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/linux-x64@0.21.5: resolution: {integrity: sha512-1rYdTpyv03iycF1+BhzrzQJCdOuAOtaqHTWJZCWvijKD2N5Xu0TtVC8/+1faWqcP9iBCWOmjmhoH94dH82BxPQ==} engines: {node: '>=12'} @@ -6320,6 +6470,15 @@ packages: dev: true optional: true + /@esbuild/linux-x64@0.23.1: + resolution: {integrity: sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + /@esbuild/netbsd-x64@0.21.5: resolution: {integrity: sha512-Woi2MXzXjMULccIwMnLciyZH4nCIMpWQAs049KEeMvOcNADVxo0UBIQPfSmxB3CWKedngg7sWZdLvLczpe0tLg==} engines: {node: '>=12'} @@ -6329,6 +6488,24 @@ packages: dev: true optional: true + /@esbuild/netbsd-x64@0.23.1: + resolution: {integrity: sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/openbsd-arm64@0.23.1: + resolution: {integrity: sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/openbsd-x64@0.21.5: resolution: {integrity: sha512-HLNNw99xsvx12lFBUwoT8EVCsSvRNDVxNpjZ7bPn947b8gJPzeHWyNVhFsaerc0n3TsbOINvRP2byTZ5LKezow==} engines: {node: '>=12'} @@ -6338,6 +6515,15 @@ packages: dev: true optional: true + /@esbuild/openbsd-x64@0.23.1: + resolution: {integrity: sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + /@esbuild/sunos-x64@0.21.5: resolution: {integrity: sha512-6+gjmFpfy0BHU5Tpptkuh8+uw3mnrvgs+dSPQXQOv3ekbordwnzTVEb4qnIvQcYXq6gzkyTnoZ9dZG+D4garKg==} engines: {node: '>=12'} @@ -6347,6 +6533,15 @@ packages: dev: true optional: true + /@esbuild/sunos-x64@0.23.1: + resolution: {integrity: sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-arm64@0.21.5: resolution: {integrity: sha512-Z0gOTd75VvXqyq7nsl93zwahcTROgqvuAcYDUr+vOv8uHhNSKROyU961kgtCD1e95IqPKSQKH7tBTslnS3tA8A==} engines: {node: '>=12'} @@ -6356,6 +6551,15 @@ packages: dev: true optional: true + /@esbuild/win32-arm64@0.23.1: + resolution: {integrity: sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-ia32@0.21.5: resolution: {integrity: sha512-SWXFF1CL2RVNMaVs+BBClwtfZSvDgtL//G/smwAc5oVK/UPu2Gu9tIaRgFmYFFKrmg3SyAjSrElf0TiJ1v8fYA==} engines: {node: '>=12'} @@ -6365,6 +6569,15 @@ packages: dev: true optional: true + /@esbuild/win32-ia32@0.23.1: + resolution: {integrity: sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@esbuild/win32-x64@0.21.5: resolution: {integrity: sha512-tQd/1efJuzPC6rCFwEvLtci/xNFcTZknmXs98FYDfGE4wP9ClFV98nyKrzJKVPMhdDnjzLhdUyMX4PsQAPjwIw==} engines: {node: '>=12'} @@ -6374,6 +6587,15 @@ packages: dev: true optional: true + /@esbuild/win32-x64@0.23.1: + resolution: {integrity: sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + /@eslint-community/eslint-utils@4.4.0(eslint@8.57.0): resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -7892,6 +8114,10 @@ packages: resolution: {integrity: sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==} dev: true + /@tsconfig/strictest@2.0.5: + resolution: {integrity: sha512-ec4tjL2Rr0pkZ5hww65c+EEPYwxOi4Ryv+0MtjeaSQRJyq322Q27eOQiFbuNgw2hpL4hB1/W/HBGk3VKS43osg==} + dev: true + /@types/adm-zip@0.5.5: resolution: {integrity: sha512-YCGstVMjc4LTY5uK9/obvxBya93axZOVOyf2GSUulADzmLhYE45u2nAssCs/fWBs1Ifq5Vat75JTPwd5XZoPJw==} dependencies: @@ -9580,6 +9806,38 @@ packages: '@esbuild/win32-x64': 0.21.5 dev: true + /esbuild@0.23.1: + resolution: {integrity: sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==} + engines: {node: '>=18'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/aix-ppc64': 0.23.1 + '@esbuild/android-arm': 0.23.1 + '@esbuild/android-arm64': 0.23.1 + '@esbuild/android-x64': 0.23.1 + '@esbuild/darwin-arm64': 0.23.1 + '@esbuild/darwin-x64': 0.23.1 + '@esbuild/freebsd-arm64': 0.23.1 + '@esbuild/freebsd-x64': 0.23.1 + '@esbuild/linux-arm': 0.23.1 + '@esbuild/linux-arm64': 0.23.1 + '@esbuild/linux-ia32': 0.23.1 + '@esbuild/linux-loong64': 0.23.1 + '@esbuild/linux-mips64el': 0.23.1 + '@esbuild/linux-ppc64': 0.23.1 + '@esbuild/linux-riscv64': 0.23.1 + '@esbuild/linux-s390x': 0.23.1 + '@esbuild/linux-x64': 0.23.1 + '@esbuild/netbsd-x64': 0.23.1 + '@esbuild/openbsd-arm64': 0.23.1 + '@esbuild/openbsd-x64': 0.23.1 + '@esbuild/sunos-x64': 0.23.1 + '@esbuild/win32-arm64': 0.23.1 + '@esbuild/win32-ia32': 0.23.1 + '@esbuild/win32-x64': 0.23.1 + dev: true + /escalade@3.1.2: resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} engines: {node: '>=6'} @@ -10278,6 +10536,12 @@ packages: get-intrinsic: 1.2.4 dev: true + /get-tsconfig@4.8.1: + resolution: {integrity: sha512-k9PN+cFBmaLWtVz29SkUoqU5O0slLuHJXt/2P+tMVFT+phsSGXGkp9t3rQIqdz0e+06EHNGs3oM6ZX1s2zHxRg==} + dependencies: + resolve-pkg-maps: 1.0.0 + dev: true + /get-uri@6.0.3: resolution: {integrity: sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==} engines: {node: '>= 14'} @@ -12044,6 +12308,10 @@ packages: resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} engines: {node: '>=4'} + /resolve-pkg-maps@1.0.0: + resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==} + dev: true + /resolve@1.22.8: resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} hasBin: true @@ -12745,37 +13013,6 @@ packages: yn: 3.1.1 dev: true - /ts-node@10.9.2(@types/node@20.4.9)(typescript@5.4.5): - resolution: {integrity: sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.11 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.4 - '@types/node': 20.4.9 - acorn: 8.12.1 - acorn-walk: 8.3.3 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 5.4.5 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - dev: true - /ts-pattern@5.2.0: resolution: {integrity: sha512-aGaSpOlDcns7ZoeG/OMftWyQG1KqPVhgplhJxNCvyIXqWrumM5uIoOSarw/hmmi/T1PnuQ/uD8NaFHvLpHicDg==} @@ -12820,6 +13057,17 @@ packages: typescript: 5.4.5 dev: true + /tsx@4.19.1: + resolution: {integrity: sha512-0flMz1lh74BR4wOvBjuh9olbnwqCPc35OOlfyzHba0Dc+QNUeWX/Gq2YTbnwcWPO3BMd8fkzRVrHcsR+a7z7rA==} + engines: {node: '>=18.0.0'} + hasBin: true + dependencies: + esbuild: 0.23.1 + get-tsconfig: 4.8.1 + optionalDependencies: + fsevents: 2.3.3 + dev: true + /turbo-darwin-64@2.0.4: resolution: {integrity: sha512-x9mvmh4wudBstML8Z8IOmokLWglIhSfhQwnh2gBCSqabgVBKYvzl8Y+i+UCNPxheCGTgtsPepTcIaKBIyFIcvw==} cpu: [x64] diff --git a/tsconfig.json b/tsconfig.json index 133c36df86..33fd637fa4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,40 +1,10 @@ { - "extends": "@tsconfig/node-lts", + "extends": [ + "@tsconfig/node-lts/tsconfig.json", + "@tsconfig/strictest/tsconfig.json" + ], "compilerOptions": { - "strict": true, - - "noImplicitAny": true, - "strictNullChecks": true, - "useUnknownInCatchVariables": true, - "strictPropertyInitialization": true, - "strictFunctionTypes": true, - "noImplicitThis": true, - "strictBindCallApply": true, - "noPropertyAccessFromIndexSignature": false, - - // disabled to avoid errors in protobuConverter - // "exactOptionalPropertyTypes": true, - // // Linter Checks - "noImplicitReturns": true, - - // this rule broke protobuf-ts - // "noImplicitOverride": true, - "forceConsistentCasingInFileNames": true, - // // https://eslint.org/docs/rules/consistent-return ? - "noFallthroughCasesInSwitch": true, - // // https://eslint.org/docs/rules/no-fallthrough - "noUnusedLocals": true, - // // https://eslint.org/docs/rules/no-unused-vars - "noUnusedParameters": true, - // // https://eslint.org/docs/rules/no-unused-vars#args - "allowUnreachableCode": false, - // // https://eslint.org/docs/rules/no-unreachable ? - "allowUnusedLabels": false, - // // https://eslint.org/docs/rules/no-unused-labels - // // Base Strict Checks - "noImplicitUseStrict": false, - "suppressExcessPropertyErrors": false, - "suppressImplicitAnyIndexErrors": false, - "noStrictGenericChecks": false + "exactOptionalPropertyTypes": false, + "noImplicitOverride": false } } From 3b4c22b57b5495ab98f562a0046557eca9a04b1e Mon Sep 17 00:00:00 2001 From: Simone Camito Date: Thu, 24 Oct 2024 18:08:24 +0200 Subject: [PATCH 4/4] disable some rules --- packages/models/src/user/user.ts | 2 +- tsconfig.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/models/src/user/user.ts b/packages/models/src/user/user.ts index b36a2449b9..fad7953a86 100644 --- a/packages/models/src/user/user.ts +++ b/packages/models/src/user/user.ts @@ -6,7 +6,7 @@ export const certificationType = { } as const; export const CertificationType = z.enum([ - Object.values(certificationType, undefined)[0], + Object.values(certificationType)[0], ...Object.values(certificationType).slice(1), ]); diff --git a/tsconfig.json b/tsconfig.json index 33fd637fa4..b5d495ded3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,7 +4,10 @@ "@tsconfig/strictest/tsconfig.json" ], "compilerOptions": { + "noUncheckedIndexedAccess": false, "exactOptionalPropertyTypes": false, - "noImplicitOverride": false + "noImplicitOverride": false, + "checkJs": false, + "noPropertyAccessFromIndexSignature": false } }