Commit 57ba5a3
committed
ci: inline shared/auth-ui tsconfig so Docker oxc can resolve it
Follow-up to db4ae88. After that commit the Docker Build (console)
and Docker Build (management) jobs in run 27868630084 still failed with
the same '[TSCONFIG_ERROR] Failed to load tsconfig for
../shared/auth-ui/src/{AuthCard,AuthLayout,...}.vue: Tsconfig not
found'. The previous symlink fix put shared/ at /app/shared correctly,
but oxc still could not load the tsconfig:
shared/auth-ui/tsconfig.json -> extends '@vue/tsconfig/tsconfig.dom.json'
The Docker frontend images only run 'pnpm install --dir ./<frontend>',
so shared/auth-ui has no node_modules and @vue/tsconfig is unreachable.
When oxc cannot resolve an 'extends' target it treats the tsconfig as
missing entirely, regardless of whether the file itself exists.
Inline the @vue/tsconfig base + dom options (verbatim copy of
node_modules/@vue/tsconfig/{tsconfig.json,tsconfig.dom.json} as of
0.9.1) into shared/auth-ui/tsconfig.json. Local 'pnpm run type-check'
and 'pnpm run build' still pass for both console and management
(1.43s / 1.45s). When shared/auth-ui later becomes a real workspace
member installed by pnpm, the extends form can be restored.
Refs: #278686300841 parent db4ae88 commit 57ba5a3
1 file changed
Lines changed: 27 additions & 4 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
7 | 27 | | |
| 28 | + | |
8 | 29 | | |
9 | 30 | | |
10 | 31 | | |
11 | 32 | | |
12 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
13 | 36 | | |
0 commit comments