Commit 728d1e6
authored
refactor: Scope the usage of
This pull request updates TypeScript configuration to adjust how project
reference redirects are handled. The main change is moving the
`disableSourceOfProjectReferenceRedirect` option from the root
`tsconfig.node.json` to the more specific
`packages/cli-tools/tsconfig.node.json` configuration.
In essence, we don't want it enabled globally, and since the `cli-tools`
is the only package that uses a private resource from another package
(that it references) we can go with more accurate setup.
### Changes
**TypeScript configuration changes:**
* Removed `disableSourceOfProjectReferenceRedirect` from the root
`tsconfig.node.json` to avoid globally disabling project reference
redirects.
* Added `disableSourceOfProjectReferenceRedirect: true` to
`packages/cli-tools/tsconfig.node.json` so that this setting only
applies to the CLI tools package, providing more granular control.disableSourceOfProjectReferenceRedirect to packages where it's really needed (#3299)1 parent 24ff75c commit 728d1e6
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
0 commit comments