From 6b47b7fc32a2d0349be5194b4882d556c97ece51 Mon Sep 17 00:00:00 2001 From: Douglas DUTEIL Date: Fri, 27 Sep 2024 16:54:44 +0200 Subject: [PATCH] chore(pkg): auto sync tsconfig references --- .github/labeler.yml | 2 +- CHANGELOG.md | 40 +++++--------- bun.lockb | Bin 464890 -> 464890 bytes package.json | 2 + packages/~/app/api/tsconfig.json | 37 +++++++++---- packages/~/app/layout/tsconfig.json | 12 +++-- packages/~/app/middleware/tsconfig.json | 23 ++++++-- packages/~/app/sentry/package.json | 2 +- packages/~/app/sentry/tsconfig.json | 6 ++- packages/~/app/ui/tsconfig.json | 15 ++++-- packages/~/auth/api/tsconfig.json | 12 +++-- packages/~/infra/crisp/lib/tsconfig.json | 7 ++- .../~/infra/crisp/middleware/tsconfig.json | 6 ++- packages/~/infra/crisp/ui/tsconfig.json | 6 ++- .../infra/moncomptepro/database/tsconfig.json | 9 +++- .../~/infra/moncomptepro/lib/tsconfig.json | 7 ++- packages/~/infra/zammad/api/tsconfig.json | 10 +++- packages/~/infra/zammad/lib/tsconfig.json | 7 ++- .../api/src/:id/Member_Invalid.tsx | 4 +- packages/~/moderations/api/tsconfig.json | 51 +++++++++++++----- packages/~/moderations/lib/tsconfig.json | 16 ++++-- .../~/moderations/repository/tsconfig.json | 6 ++- packages/~/organizations/api/tsconfig.json | 26 +++++++-- packages/~/organizations/lib/tsconfig.json | 14 ++++- .../~/organizations/repository/tsconfig.json | 9 +++- packages/~/organizations/ui/tsconfig.json | 12 +++-- packages/~/users/api/tsconfig.json | 28 +++++++--- packages/~/users/repository/tsconfig.json | 6 ++- packages/~/welcome/api/tsconfig.json | 16 ++++-- 29 files changed, 289 insertions(+), 102 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 002604b6..bf6c06c2 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -6,7 +6,7 @@ - any-glob-to-any-file: "packages/~/*/api/**/*" ":lipstick: ui": - changed-files: - - any-glob-to-any-file: + - any-glob-to-any-file: - "packages/~/app/ui**/*" - "packages/~/*/ui/**/*" ":memo: documentation": diff --git a/CHANGELOG.md b/CHANGELOG.md index 7942c321..f0e4c8e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,78 +1,66 @@ - - ## [2024.9.7](https://github.com/numerique-gouv/hyyypertool/compare/2024.9.6...2024.9.7) (2024-09-25) - ### Bug Fixes -* **users:** sort by id for same created at date ([#528](https://github.com/numerique-gouv/hyyypertool/issues/528)) ([4c09935](https://github.com/numerique-gouv/hyyypertool/commit/4c099350d09e5fdd76af92723f10c67ceaa398ad)) - +- **users:** sort by id for same created at date ([#528](https://github.com/numerique-gouv/hyyypertool/issues/528)) ([4c09935](https://github.com/numerique-gouv/hyyypertool/commit/4c099350d09e5fdd76af92723f10c67ceaa398ad)) ### Features -* **organisation:** fold organization members by default ([#539](https://github.com/numerique-gouv/hyyypertool/issues/539)) ([d8418aa](https://github.com/numerique-gouv/hyyypertool/commit/d8418aa1255c40fc9b136c048586b23f29a4e8b6)) -* **organisation:** share organization info from moderation ([#500](https://github.com/numerique-gouv/hyyypertool/issues/500)) ([92037e7](https://github.com/numerique-gouv/hyyypertool/commit/92037e7794c35a6f351baca9cee3f9779255bb8a)), closes [#459](https://github.com/numerique-gouv/hyyypertool/issues/459) +- **organisation:** fold organization members by default ([#539](https://github.com/numerique-gouv/hyyypertool/issues/539)) ([d8418aa](https://github.com/numerique-gouv/hyyypertool/commit/d8418aa1255c40fc9b136c048586b23f29a4e8b6)) +- **organisation:** share organization info from moderation ([#500](https://github.com/numerique-gouv/hyyypertool/issues/500)) ([92037e7](https://github.com/numerique-gouv/hyyypertool/commit/92037e7794c35a6f351baca9cee3f9779255bb8a)), closes [#459](https://github.com/numerique-gouv/hyyypertool/issues/459) ## [2024.9.6](https://github.com/numerique-gouv/hyyypertool/compare/2024.9.5...2024.9.6) (2024-09-17) - ### Bug Fixes -* **icon:** display icons from dsfr 🤓 ([#526](https://github.com/numerique-gouv/hyyypertool/issues/526)) ([77f5c31](https://github.com/numerique-gouv/hyyypertool/commit/77f5c31c9beed94ab410fe6ff389385782850e9f)) +- **icon:** display icons from dsfr 🤓 ([#526](https://github.com/numerique-gouv/hyyypertool/issues/526)) ([77f5c31](https://github.com/numerique-gouv/hyyypertool/commit/77f5c31c9beed94ab410fe6ff389385782850e9f)) ## [2024.9.5](https://github.com/numerique-gouv/hyyypertool/compare/2024.9.4...2024.9.5) (2024-09-17) - ### Features -* **moderation:** auto mark as resolved ([#525](https://github.com/numerique-gouv/hyyypertool/issues/525)) ([1d6301e](https://github.com/numerique-gouv/hyyypertool/commit/1d6301ee5fbebadb575fb8b3fb244c0f8181ff0f)) +- **moderation:** auto mark as resolved ([#525](https://github.com/numerique-gouv/hyyypertool/issues/525)) ([1d6301e](https://github.com/numerique-gouv/hyyypertool/commit/1d6301ee5fbebadb575fb8b3fb244c0f8181ff0f)) ## [2024.9.4](https://github.com/numerique-gouv/hyyypertool/compare/2024.9.3...2024.9.4) (2024-09-12) ## [2024.9.3](https://github.com/numerique-gouv/hyyypertool/compare/2024.9.2...2024.9.3) (2024-09-12) - ### Features -* **email:** add invalid_job template ([93ca782](https://github.com/numerique-gouv/hyyypertool/commit/93ca782093fcdb2f05fa9e22a840a5daeb802806)) +- **email:** add invalid_job template ([93ca782](https://github.com/numerique-gouv/hyyypertool/commit/93ca782093fcdb2f05fa9e22a840a5daeb802806)) ## [2024.9.2](https://github.com/numerique-gouv/hyyypertool/compare/2024.9.1...2024.9.2) (2024-09-10) - ### Bug Fixes -* **organization:** retrict user organization field select query ([#512](https://github.com/numerique-gouv/hyyypertool/issues/512)) ([83ad426](https://github.com/numerique-gouv/hyyypertool/commit/83ad426bc9234d6f16308cb8e674eb4518811169)) +- **organization:** retrict user organization field select query ([#512](https://github.com/numerique-gouv/hyyypertool/issues/512)) ([83ad426](https://github.com/numerique-gouv/hyyypertool/commit/83ad426bc9234d6f16308cb8e674eb4518811169)) ## [2024.9.1](https://github.com/numerique-gouv/hyyypertool/compare/2024.9.0...2024.9.1) (2024-09-09) - ### Bug Fixes -* **organization:** retrict user field select query ([#502](https://github.com/numerique-gouv/hyyypertool/issues/502)) ([4f9d81a](https://github.com/numerique-gouv/hyyypertool/commit/4f9d81a9256e5899b1606df76ca2588bbb89a7bd)) +- **organization:** retrict user field select query ([#502](https://github.com/numerique-gouv/hyyypertool/issues/502)) ([4f9d81a](https://github.com/numerique-gouv/hyyypertool/commit/4f9d81a9256e5899b1606df76ca2588bbb89a7bd)) # [2024.9.0](https://github.com/numerique-gouv/hyyypertool/compare/2024.8.4...2024.9.0) (2024-09-09) - ### Reverts -* Revert "chore(deps): bump @happy-dom/global-registrator from 14.12.3 to 15.7.…" (#496) ([faa1ec6](https://github.com/numerique-gouv/hyyypertool/commit/faa1ec640216e15dbc64e94208b4b716e6f56584)), closes [#496](https://github.com/numerique-gouv/hyyypertool/issues/496) +- Revert "chore(deps): bump @happy-dom/global-registrator from 14.12.3 to 15.7.…" (#496) ([faa1ec6](https://github.com/numerique-gouv/hyyypertool/commit/faa1ec640216e15dbc64e94208b4b716e6f56584)), closes [#496](https://github.com/numerique-gouv/hyyypertool/issues/496) ## [2024.8.4](https://github.com/numerique-gouv/hyyypertool/compare/2024.8.3...2024.8.4) (2024-08-29) - ### Bug Fixes -* **moderation:** add nickname to new conversatino ([a5337f4](https://github.com/numerique-gouv/hyyypertool/commit/a5337f43f786aed9282f7815ff652ff72c4ce794)) +- **moderation:** add nickname to new conversatino ([a5337f4](https://github.com/numerique-gouv/hyyypertool/commit/a5337f43f786aed9282f7815ff652ff72c4ce794)) ## [2024.8.3](https://github.com/numerique-gouv/hyyypertool/compare/2024.8.2...2024.8.3) (2024-08-29) - ### Features -* **domains:** add copy button next the domain name ([#472](https://github.com/numerique-gouv/hyyypertool/issues/472)) ([f9bb9bb](https://github.com/numerique-gouv/hyyypertool/commit/f9bb9bb40cf8d3be2bd1adb08a9b6900cba58473)), closes [#463](https://github.com/numerique-gouv/hyyypertool/issues/463) -* **domains:** exclude unipersonnelle organizations ([#475](https://github.com/numerique-gouv/hyyypertool/issues/475)) ([f50c6f2](https://github.com/numerique-gouv/hyyypertool/commit/f50c6f2eecaba640b121ffbdec19f226eeb72c76)), closes [#457](https://github.com/numerique-gouv/hyyypertool/issues/457) -* **domains:** order by member_count ([#474](https://github.com/numerique-gouv/hyyypertool/issues/474)) ([08d7f8b](https://github.com/numerique-gouv/hyyypertool/commit/08d7f8b905ab225f51fdb1c26a4ef5654ee97946)) -* **moderation:** support crisp tickets ([#485](https://github.com/numerique-gouv/hyyypertool/issues/485)) ([9dfd604](https://github.com/numerique-gouv/hyyypertool/commit/9dfd604a4b6e9a4042316ee10ce5d2fdcedf20fe)) +- **domains:** add copy button next the domain name ([#472](https://github.com/numerique-gouv/hyyypertool/issues/472)) ([f9bb9bb](https://github.com/numerique-gouv/hyyypertool/commit/f9bb9bb40cf8d3be2bd1adb08a9b6900cba58473)), closes [#463](https://github.com/numerique-gouv/hyyypertool/issues/463) +- **domains:** exclude unipersonnelle organizations ([#475](https://github.com/numerique-gouv/hyyypertool/issues/475)) ([f50c6f2](https://github.com/numerique-gouv/hyyypertool/commit/f50c6f2eecaba640b121ffbdec19f226eeb72c76)), closes [#457](https://github.com/numerique-gouv/hyyypertool/issues/457) +- **domains:** order by member_count ([#474](https://github.com/numerique-gouv/hyyypertool/issues/474)) ([08d7f8b](https://github.com/numerique-gouv/hyyypertool/commit/08d7f8b905ab225f51fdb1c26a4ef5654ee97946)) +- **moderation:** support crisp tickets ([#485](https://github.com/numerique-gouv/hyyypertool/issues/485)) ([9dfd604](https://github.com/numerique-gouv/hyyypertool/commit/9dfd604a4b6e9a4042316ee10ce5d2fdcedf20fe)) ## [2024.8.2](https://github.com/numerique-gouv/hyyypertool/compare/2024.8.1...2024.8.2) (2024-08-21) diff --git a/bun.lockb b/bun.lockb index 769d7183310341fbc7522c3f947a46b52d464126..85478d2d517b1f9bb1b6a77a11bbac0406cd9c87 100755 GIT binary patch delta 39 qcmeyhUgp<&nT8g|7N!>FEiBDv*qIo>puOu13lOtz?>fU);0*vM=?*>s delta 39 tcmeyhUgp<&nT8g|7N!>FEiBDv*clD=42|>*+q=%N05R+Kt}|=}-T*w64_*KO diff --git a/package.json b/package.json index 495331cb..6910e7f8 100644 --- a/package.json +++ b/package.json @@ -39,6 +39,8 @@ "format": "bun x prettier --check .", "format:fix": "bun x prettier --write .", "format:pkg": "bun x sort-package-json ./package.json ./packages/~/*/*/package.json ./e2e/package.json", + "format:tsconfig": "bun x @monorepo-utils/workspaces-to-typescript-project-references && bun run format:fix", + "postadd": "bun run format:tsconfig", "renovate": "bun x npm-check-updates --packageManager bun --interactive --upgrade --deep", "start": "tsx bin/src/index.ts", "studio:moncomptepro": "bun run database:moncomptepro:run studio", diff --git a/packages/~/app/api/tsconfig.json b/packages/~/app/api/tsconfig.json index 17dda4bc..fd824122 100644 --- a/packages/~/app/api/tsconfig.json +++ b/packages/~/app/api/tsconfig.json @@ -5,15 +5,32 @@ }, "extends": "@~/config.typescript/base/tsconfig.json", "references": [ - { "path": "../../auth/api/tsconfig.json" }, - { "path": "../../infra/moncomptepro/database/tsconfig.json" }, - { "path": "../../moderations/api/tsconfig.json" }, - { "path": "../../organizations/api/tsconfig.json" }, - { "path": "../../proxy/api/tsconfig.json" }, - { "path": "../../users/api/tsconfig.json" }, - { "path": "../../welcome/api/tsconfig.json" }, - { "path": "../core/tsconfig.json" }, - { "path": "../layout/tsconfig.json" }, - { "path": "../middleware/tsconfig.json" } + { + "path": "../core" + }, + { + "path": "../layout" + }, + { + "path": "../sentry" + }, + { + "path": "../../auth/api" + }, + { + "path": "../../moderations/api" + }, + { + "path": "../../organizations/api" + }, + { + "path": "../../proxy/api" + }, + { + "path": "../../users/api" + }, + { + "path": "../../welcome/api" + } ] } diff --git a/packages/~/app/layout/tsconfig.json b/packages/~/app/layout/tsconfig.json index 330de5f8..62514961 100644 --- a/packages/~/app/layout/tsconfig.json +++ b/packages/~/app/layout/tsconfig.json @@ -7,8 +7,14 @@ }, "extends": "@~/config.typescript/tsx/tsconfig.json", "references": [ - { "path": "../core/tsconfig.json" }, - { "path": "../middleware/tsconfig.json" }, - { "path": "../urls/tsconfig.json" } + { + "path": "../core" + }, + { + "path": "../middleware" + }, + { + "path": "../urls" + } ] } diff --git a/packages/~/app/middleware/tsconfig.json b/packages/~/app/middleware/tsconfig.json index 834e553f..8f409bb2 100644 --- a/packages/~/app/middleware/tsconfig.json +++ b/packages/~/app/middleware/tsconfig.json @@ -5,10 +5,23 @@ }, "extends": "@~/config.typescript/base/tsconfig.json", "references": [ - { "path": "../../infra/moncomptepro/database/tsconfig.json" }, - { "path": "../core/tsconfig.json" }, - { "path": "../sentry/tsconfig.json" }, - { "path": "../ui/tsconfig.json" }, - { "path": "../urls/tsconfig.json" } + { + "path": "../core" + }, + { + "path": "../sentry" + }, + { + "path": "../ui" + }, + { + "path": "../urls" + }, + { + "path": "../../infra/moncomptepro/database" + }, + { + "path": "../../infra/moncomptepro/lib" + } ] } diff --git a/packages/~/app/sentry/package.json b/packages/~/app/sentry/package.json index 27fb2448..71272128 100644 --- a/packages/~/app/sentry/package.json +++ b/packages/~/app/sentry/package.json @@ -14,9 +14,9 @@ "format": "prettier --write src/**/*.ts" }, "dependencies": { - "@~/app.core": "workspace:*", "@sentry/node": "8.31.0", "@sentry/profiling-node": "8.31.0", + "@~/app.core": "workspace:*", "consola": "3.2.3", "hono": "4.6.3" }, diff --git a/packages/~/app/sentry/tsconfig.json b/packages/~/app/sentry/tsconfig.json index 5a5f27e4..4078d37d 100644 --- a/packages/~/app/sentry/tsconfig.json +++ b/packages/~/app/sentry/tsconfig.json @@ -4,5 +4,9 @@ "outDir": "./node_modules/.cache/tsc" }, "extends": "@~/config.typescript/base/tsconfig.json", - "references": [{ "path": "../core/tsconfig.json" }] + "references": [ + { + "path": "../core" + } + ] } diff --git a/packages/~/app/ui/tsconfig.json b/packages/~/app/ui/tsconfig.json index 10f00e5e..ec5bf08d 100644 --- a/packages/~/app/ui/tsconfig.json +++ b/packages/~/app/ui/tsconfig.json @@ -8,8 +8,17 @@ }, "extends": "@~/config.typescript/tsx/tsconfig.json", "references": [ - { "path": "../../config/happydom/tsconfig.json" }, - { "path": "../core/tsconfig.json" }, - { "path": "../urls/tsconfig.json" } + { + "path": "../core" + }, + { + "path": "../urls" + }, + { + "path": "../../../hono-slotify" + }, + { + "path": "../../config/happydom" + } ] } diff --git a/packages/~/auth/api/tsconfig.json b/packages/~/auth/api/tsconfig.json index 1f71569a..76c09d97 100644 --- a/packages/~/auth/api/tsconfig.json +++ b/packages/~/auth/api/tsconfig.json @@ -4,8 +4,14 @@ }, "extends": "@~/config.typescript/api/tsconfig.json", "references": [ - { "path": "../../app/core/tsconfig.json" }, - { "path": "../../app/middleware/tsconfig.json" }, - { "path": "../../app/urls/tsconfig.json" } + { + "path": "../../app/core" + }, + { + "path": "../../app/middleware" + }, + { + "path": "../../app/urls" + } ] } diff --git a/packages/~/infra/crisp/lib/tsconfig.json b/packages/~/infra/crisp/lib/tsconfig.json index b0b93ced..9e2b67c3 100644 --- a/packages/~/infra/crisp/lib/tsconfig.json +++ b/packages/~/infra/crisp/lib/tsconfig.json @@ -2,5 +2,10 @@ "compilerOptions": { "outDir": "./node_modules/.cache/tsc" }, - "extends": "@~/config.typescript/bun/tsconfig.json" + "extends": "@~/config.typescript/bun/tsconfig.json", + "references": [ + { + "path": "../../../app/core" + } + ] } diff --git a/packages/~/infra/crisp/middleware/tsconfig.json b/packages/~/infra/crisp/middleware/tsconfig.json index 41b38d5e..4ad5fba3 100644 --- a/packages/~/infra/crisp/middleware/tsconfig.json +++ b/packages/~/infra/crisp/middleware/tsconfig.json @@ -3,5 +3,9 @@ "outDir": "./node_modules/.cache/tsc" }, "extends": "@~/config.typescript/bun/tsconfig.json", - "references": [{ "path": "../lib/tsconfig.json" }] + "references": [ + { + "path": "../lib" + } + ] } diff --git a/packages/~/infra/crisp/ui/tsconfig.json b/packages/~/infra/crisp/ui/tsconfig.json index ebece7bf..93e05381 100644 --- a/packages/~/infra/crisp/ui/tsconfig.json +++ b/packages/~/infra/crisp/ui/tsconfig.json @@ -5,5 +5,9 @@ "outDir": "./node_modules/.cache/tsc" }, "extends": "@~/config.typescript/tsx/tsconfig.json", - "references": [{ "path": "../lib/tsconfig.json" }] + "references": [ + { + "path": "../lib" + } + ] } diff --git a/packages/~/infra/moncomptepro/database/tsconfig.json b/packages/~/infra/moncomptepro/database/tsconfig.json index 9bd00dc1..985280f9 100644 --- a/packages/~/infra/moncomptepro/database/tsconfig.json +++ b/packages/~/infra/moncomptepro/database/tsconfig.json @@ -4,5 +4,12 @@ "types": ["pg"] }, "extends": "@~/config.typescript/base/tsconfig.json", - "references": [{ "path": "../../../app/core/tsconfig.json" }] + "references": [ + { + "path": "../../../app/core" + }, + { + "path": "../lib" + } + ] } diff --git a/packages/~/infra/moncomptepro/lib/tsconfig.json b/packages/~/infra/moncomptepro/lib/tsconfig.json index b0b93ced..9e2b67c3 100644 --- a/packages/~/infra/moncomptepro/lib/tsconfig.json +++ b/packages/~/infra/moncomptepro/lib/tsconfig.json @@ -2,5 +2,10 @@ "compilerOptions": { "outDir": "./node_modules/.cache/tsc" }, - "extends": "@~/config.typescript/bun/tsconfig.json" + "extends": "@~/config.typescript/bun/tsconfig.json", + "references": [ + { + "path": "../../../app/core" + } + ] } diff --git a/packages/~/infra/zammad/api/tsconfig.json b/packages/~/infra/zammad/api/tsconfig.json index 7e67cd99..7a182c4d 100644 --- a/packages/~/infra/zammad/api/tsconfig.json +++ b/packages/~/infra/zammad/api/tsconfig.json @@ -8,5 +8,13 @@ "noEmit": false, "outDir": "./node_modules/.cache/tsc", "types": ["bun-types"] - } + }, + "references": [ + { + "path": "../../../app/core" + }, + { + "path": "../lib" + } + ] } diff --git a/packages/~/infra/zammad/lib/tsconfig.json b/packages/~/infra/zammad/lib/tsconfig.json index b0b93ced..9e2b67c3 100644 --- a/packages/~/infra/zammad/lib/tsconfig.json +++ b/packages/~/infra/zammad/lib/tsconfig.json @@ -2,5 +2,10 @@ "compilerOptions": { "outDir": "./node_modules/.cache/tsc" }, - "extends": "@~/config.typescript/bun/tsconfig.json" + "extends": "@~/config.typescript/bun/tsconfig.json", + "references": [ + { + "path": "../../../app/core" + } + ] } diff --git a/packages/~/moderations/api/src/:id/Member_Invalid.tsx b/packages/~/moderations/api/src/:id/Member_Invalid.tsx index 6bac4217..ef2ef67b 100644 --- a/packages/~/moderations/api/src/:id/Member_Invalid.tsx +++ b/packages/~/moderations/api/src/:id/Member_Invalid.tsx @@ -14,13 +14,13 @@ import * as already_signed from "./responses/already_signed"; import * as chorus_pro_error from "./responses/chorus_pro_error"; import * as contractors from "./responses/contractors"; import * as first_last_name from "./responses/first_last_name"; +import * as invalid_job from "./responses/invalid_job"; import * as invalid_name_job from "./responses/invalid_name_job"; import * as link_with_eduction_gouv_fr from "./responses/link_with_eduction_gouv_fr"; import * as link_with_organization from "./responses/link_with_organization"; import * as mobilic from "./responses/mobilic"; import * as use_official_email from "./responses/use_official_email"; import * as use_pro_email from "./responses/use_pro_email"; -import * as invalid_job from "./responses/invalid_job"; // @@ -36,7 +36,7 @@ const reponse_templates = [ accountant, invalid_name_job, chorus_pro_error, - invalid_job + invalid_job, ]; // diff --git a/packages/~/moderations/api/tsconfig.json b/packages/~/moderations/api/tsconfig.json index eaf51076..9ed031cd 100644 --- a/packages/~/moderations/api/tsconfig.json +++ b/packages/~/moderations/api/tsconfig.json @@ -6,17 +6,44 @@ "extends": "@~/config.typescript/api/tsconfig.json", "include": ["src"], "references": [ - { "path": "../../app/layout/tsconfig.json" }, - { "path": "../../app/middleware/tsconfig.json" }, - { "path": "../../app/ui/tsconfig.json" }, - { "path": "../../app/urls/tsconfig.json" }, - { "path": "../../infra/crisp/lib/tsconfig.json" }, - { "path": "../../infra/crisp/middleware/tsconfig.json" }, - { "path": "../../infra/crisp/ui/tsconfig.json" }, - { "path": "../../infra/moncomptepro/database/tsconfig.json" }, - { "path": "../../infra/moncomptepro/lib/tsconfig.json" }, - { "path": "../../infra/zammad/lib/tsconfig.json" }, - { "path": "../../organizations/repository/tsconfig.json" }, - { "path": "../../organizations/ui/tsconfig.json" } + { + "path": "../../app/layout" + }, + { + "path": "../../app/middleware" + }, + { + "path": "../../app/ui" + }, + { + "path": "../../app/urls" + }, + { + "path": "../../infra/crisp/lib" + }, + { + "path": "../../infra/crisp/middleware" + }, + { + "path": "../../infra/crisp/ui" + }, + { + "path": "../lib" + }, + { + "path": "../../infra/moncomptepro/database" + }, + { + "path": "../../infra/moncomptepro/lib" + }, + { + "path": "../../organizations/repository" + }, + { + "path": "../../organizations/ui" + }, + { + "path": "../../infra/zammad/lib" + } ] } diff --git a/packages/~/moderations/lib/tsconfig.json b/packages/~/moderations/lib/tsconfig.json index ec495729..d4eef6fe 100644 --- a/packages/~/moderations/lib/tsconfig.json +++ b/packages/~/moderations/lib/tsconfig.json @@ -5,9 +5,17 @@ "extends": "@~/config.typescript/base/tsconfig.json", "include": ["src"], "references": [ - { "path": "../../app/core/tsconfig.json" }, - { "path": "../../infra/crisp/lib/tsconfig.json" }, - { "path": "../../infra/moncomptepro/database/tsconfig.json" }, - { "path": "../repository/tsconfig.json" } + { + "path": "../../app/core" + }, + { + "path": "../../infra/crisp/lib" + }, + { + "path": "../repository" + }, + { + "path": "../../infra/moncomptepro/database" + } ] } diff --git a/packages/~/moderations/repository/tsconfig.json b/packages/~/moderations/repository/tsconfig.json index f59d7240..1c999732 100644 --- a/packages/~/moderations/repository/tsconfig.json +++ b/packages/~/moderations/repository/tsconfig.json @@ -4,5 +4,9 @@ }, "extends": "@~/config.typescript/base/tsconfig.json", "include": ["src"], - "references": [{ "path": "../../infra/moncomptepro/database/tsconfig.json" }] + "references": [ + { + "path": "../../infra/moncomptepro/database" + } + ] } diff --git a/packages/~/organizations/api/tsconfig.json b/packages/~/organizations/api/tsconfig.json index 94322d5c..2687f9c7 100644 --- a/packages/~/organizations/api/tsconfig.json +++ b/packages/~/organizations/api/tsconfig.json @@ -5,10 +5,26 @@ }, "extends": "@~/config.typescript/api/tsconfig.json", "references": [ - { "path": "../../app/layout/tsconfig.json" }, - { "path": "../../app/middleware/tsconfig.json" }, - { "path": "../../app/ui/tsconfig.json" }, - { "path": "../../app/urls/tsconfig.json" }, - { "path": "../../organizations/repository/tsconfig.json" } + { + "path": "../../app/layout" + }, + { + "path": "../../app/middleware" + }, + { + "path": "../../app/ui" + }, + { + "path": "../../app/urls" + }, + { + "path": "../repository" + }, + { + "path": "../ui" + }, + { + "path": "../../users/repository" + } ] } diff --git a/packages/~/organizations/lib/tsconfig.json b/packages/~/organizations/lib/tsconfig.json index 6fc6b115..764e6f65 100644 --- a/packages/~/organizations/lib/tsconfig.json +++ b/packages/~/organizations/lib/tsconfig.json @@ -5,7 +5,17 @@ "extends": "@~/config.typescript/tsx/tsconfig.json", "include": ["src"], "references": [ - { "path": "../../infra/moncomptepro/database/tsconfig.json" }, - { "path": "../repository/tsconfig.json" } + { + "path": "../../infra/moncomptepro/database" + }, + { + "path": "../../infra/moncomptepro/lib" + }, + { + "path": "../repository" + }, + { + "path": "../../users/repository" + } ] } diff --git a/packages/~/organizations/repository/tsconfig.json b/packages/~/organizations/repository/tsconfig.json index 465982a5..546f7b9a 100644 --- a/packages/~/organizations/repository/tsconfig.json +++ b/packages/~/organizations/repository/tsconfig.json @@ -3,5 +3,12 @@ "outDir": "./node_modules/.cache/tsc" }, "extends": "@~/config.typescript/base/tsconfig.json", - "references": [{ "path": "../../infra/moncomptepro/database/tsconfig.json" }] + "references": [ + { + "path": "../../infra/moncomptepro/database" + }, + { + "path": "../../infra/moncomptepro/lib" + } + ] } diff --git a/packages/~/organizations/ui/tsconfig.json b/packages/~/organizations/ui/tsconfig.json index 77bcdfac..888b4ebf 100644 --- a/packages/~/organizations/ui/tsconfig.json +++ b/packages/~/organizations/ui/tsconfig.json @@ -6,8 +6,14 @@ "extends": "@~/config.typescript/api/tsconfig.json", "include": ["src"], "references": [ - { "path": "../../app/ui/tsconfig.json" }, - { "path": "../../app/urls/tsconfig.json" }, - { "path": "../../organizations/lib/tsconfig.json" } + { + "path": "../../app/ui" + }, + { + "path": "../../app/urls" + }, + { + "path": "../lib" + } ] } diff --git a/packages/~/users/api/tsconfig.json b/packages/~/users/api/tsconfig.json index eb18cfe0..ec2eaa2a 100644 --- a/packages/~/users/api/tsconfig.json +++ b/packages/~/users/api/tsconfig.json @@ -5,12 +5,26 @@ }, "extends": "@~/config.typescript/api/tsconfig.json", "references": [ - { "path": "../../app/layout/tsconfig.json" }, - { "path": "../../app/middleware/tsconfig.json" }, - { "path": "../../app/ui/tsconfig.json" }, - { "path": "../../app/urls/tsconfig.json" }, - { "path": "../../moderations/repository/tsconfig.json" }, - { "path": "../../organizations/repository/tsconfig.json" }, - { "path": "../../users/repository/tsconfig.json" } + { + "path": "../../app/layout" + }, + { + "path": "../../app/middleware" + }, + { + "path": "../../app/ui" + }, + { + "path": "../../app/urls" + }, + { + "path": "../../moderations/repository" + }, + { + "path": "../../organizations/repository" + }, + { + "path": "../repository" + } ] } diff --git a/packages/~/users/repository/tsconfig.json b/packages/~/users/repository/tsconfig.json index 465982a5..054ff094 100644 --- a/packages/~/users/repository/tsconfig.json +++ b/packages/~/users/repository/tsconfig.json @@ -3,5 +3,9 @@ "outDir": "./node_modules/.cache/tsc" }, "extends": "@~/config.typescript/base/tsconfig.json", - "references": [{ "path": "../../infra/moncomptepro/database/tsconfig.json" }] + "references": [ + { + "path": "../../infra/moncomptepro/database" + } + ] } diff --git a/packages/~/welcome/api/tsconfig.json b/packages/~/welcome/api/tsconfig.json index a650d6ec..7b8245ca 100644 --- a/packages/~/welcome/api/tsconfig.json +++ b/packages/~/welcome/api/tsconfig.json @@ -8,9 +8,17 @@ }, "extends": "@~/config.typescript/api/tsconfig.json", "references": [ - { "path": "../../app/core/tsconfig.json" }, - { "path": "../../app/middleware/tsconfig.json" }, - { "path": "../../app/layout/tsconfig.json" }, - { "path": "../../app/urls/tsconfig.json" } + { + "path": "../../app/core" + }, + { + "path": "../../app/layout" + }, + { + "path": "../../app/middleware" + }, + { + "path": "../../app/urls" + } ] }