Commit fff2dc7
authored
chore(build): remove redundant build:types step (#1636)
## Summary
`rollup-plugin-typescript2` already emits all `.d.ts` files into
`dist/typings/` as part of the standard Rollup build. The separate
`build:types` step added in #1574 produces identical output, making it
redundant.
Also improves the `verify-types` CI job to use `npm pack --dry-run`
which directly catches the failure mode from #1573 (typings missing from
published package) rather than just checking local file existence.
## Changes
- Remove `build:types` script from `package.json`
- Simplify `prepack` to `npm run build` only
- Delete `tsconfig.types.json` (no longer referenced)
- Update `verify-types` CI job to verify typings are included in the
published package via `npm pack --dry-run`
## Test plan
- [x] `npm run build` generates 44 `.d.ts` files in `dist/typings/`
- [x] `npm pack --dry-run` shows 44 typings files included in package
- [x] All 998 unit tests pass1 parent 1c90d6a commit fff2dc7
3 files changed
Lines changed: 6 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
| 53 | + | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
This file was deleted.
0 commit comments