Commit f2acaf0
authored
Adjust npm package size budget (#176)
## What changed
- raise the compressed npm package guard from 760,000 to 770,000 bytes
- raise the unpacked guard from 4,000,000 to 4,050,000 bytes
- keep the assertion test synchronized with those bounded limits
## Why
The intentional AWS lifecycle protection implementation in #175 produces
a 764,403-byte archive, 4,403 bytes above the previous compressed guard.
The archive still has 614 entries, remains below the existing entry
limit, has no unexpected paths, and its unpacked size remains below 4
MB. The npm-package job therefore failed at the size assertion after a
successful prepack build.
## Validation
- `npm pack --json` — 764,403 compressed bytes, 3,966,565 unpacked
bytes, 614 entries
- package metadata passes the new 770,000 / 4,050,000 byte bounds
- `npm test -- --run tests/npm-package.test.ts` — 4 passed
- `actionlint .github/workflows/ci.yml
.github/workflows/aws-integration.yml`
- `git diff --check`
## Scope
This PR contains only the package size budget and its assertion. It does
not alter runtime behavior.1 parent 6f657ae commit f2acaf0
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | | - | |
720 | | - | |
| 719 | + | |
| 720 | + | |
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments