Commit 1c9aa46
Consume the config package through workspace dependencies (#471)
* Consume the config package through workspace dependencies
Follow-up to #470, matching nestia-start#635:
- Install @ORGANIZATION/PROJECT-config as workspace:^ in api/backend
and resolve the shared tsconfig by package name
("extends": "@ORGANIZATION/PROJECT-config/tsconfig")
- Replace the api package's self devDependency with @ttsc/paths,
which its tsconfig paths self-mapping actually relies on
- Lint configs keep importing the shared config relatively for now:
ttsx mixes up compiled outputs of same-basename modules when
lint.config.ts files are imported across packages, breaking the
@ttsc/lint config loader on cold caches
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K1Q5EM6GT2Q89UPrNRKX1z
* bump up ttsc with configuration
* update pnpm-lock.yaml
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent d44d4e1 commit 1c9aa46
7 files changed
Lines changed: 57 additions & 78 deletions
File tree
- config
- packages
- api
- backend
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 6 | | |
15 | 7 | | |
16 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | | - | |
| 4 | + | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | 3 | | |
6 | | - | |
| 4 | + | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
| |||
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments