Commit e5e3f35
committed
Resolves #5716 ([FR-2200](https://lablup.atlassian.net/browse/FR-2200))
## Summary
- Add `tsc` type checking step to the production `build` script, matching `build:d` which already runs `tsc --watch`
- Add `dist/` cleanup alongside `build/web/` at the start of the build
- Fix 3 existing type errors in `src/lib/backend.ai-client-node.ts`:
- TS2345: Add nullish coalescing for `process.env` values in `createFromEnv()`
- TS6133: Remove unused `fields` variable in `User.create()`
- TS7030: Add missing return value in `PipelineJob.login()`
- Add missing `@codemirror/lang-liquid` dependency required by `@codemirror/language-data`
## Test plan
- [ ] Run `pnpm run build` and verify `tsc` executes before workspace builds
- [ ] Introduce a type error and confirm the build fails at the `tsc` step
- [ ] Verify `dist/` directory is cleaned at the start of each build
- [ ] Verify no `Module not found: @codemirror/lang-liquid` error during build
🤖 Generated with [Claude Code](https://claude.com/claude-code)
[FR-2200]: https://lablup.atlassian.net/browse/FR-2200?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent 4949b56 commit e5e3f35
4 files changed
Lines changed: 32734 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments