Releases: carlesnunez/check-my-bundlephobia
Releases · carlesnunez/check-my-bundlephobia
Fixed devDependencies bug
v1.8.0 Update to last version
Minor bugs fixed
Merge pull request #12 from BreakingWeb/fix/devDeps Fix devDependenciesList
v1.6.0
size only if package info exist too
check-my-bundlephobia@v1.5.0
Changelog
This new release add the new feature:
- FEATURE - Now the report lets you know the diff on sizes between version changes
- FEATURE - New design on reporting
- BUGFIX - Now check-my-bundlephobia will not report false changes due to changes on package name lines (trailing coma bug)
- BUGFIX - If you change more than one package in same PR check-my-bundlephobia will notice it.
New design example:
😱 Check my bundlephobia - New/Modified package report:
Action settings
Treshold: < 30 bytes
Strict mode: ✅ enabled
name | gzip | size | pass | |
---|---|---|---|---|
🆕 | lazysizes@5.2.2 | 3.4kB | 7.4kB | ❌ |
✚ | rimraf@2.7.1 | 11.2kB | 34.2kB | ❌ |
− | rimraf@3.0.0 | 11.2kB | 34.0kB | ❌ |
+0.2kB |
v1.4.1
Merge branch 'master' of github.com:carlesnunez/check-my-bundlephobia
check-my-bundlephobia@v1.4.0
Changelog
This new release add the new feature:
- FEATURE - Now the report lets you know the diff on sizes between version changes
- FEATURE - New design on reporting
- BUGFIX - Now check-my-bundlephobia will not report false changes due to changes on package name lines (trailing coma bug)
- BUGFIX - If you change more than one package in same PR check-my-bundlephobia will notice it.
New design example:
😱 Check my bundlephobia - New/Modified package report:
Action settings
Treshold: < 30 bytes
Strict mode: ✅ enabled
name | gzip | size | pass | |
---|---|---|---|---|
🆕 | lazysizes@5.2.2 | 3.4kB | 7.4kB | ❌ |
✚ | rimraf@2.7.1 | 11.2kB | 34.2kB | ❌ |
− | rimraf@3.0.0 | 11.2kB | 34.0kB | ❌ |
+0.2kB |
check-my-bundlephobia@v1.3.0
This release includes a new feature that allows you to ignore dev dependencies passing a flag to the config. #10
Change byte value to kB
v1.2.0 Truncate decimals
check-my-bundlephobia@v1.1.0
Fixed a problem of concurrence on request
Check my bundlephobia
[BETA] check-my-bundlephobia 😱
Check my bundlephobia is a github action that will check for your code changes on a PR and will left a comment with the different sizes.
How to use it
name: "check my bundlephobia"
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
bundlecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: carlesnunez/check-my-bundlephobia
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
strict: true
threshold: 500
Options
name | description | required | type | default |
---|---|---|---|---|
repo-token | used by the action in order to perform PR reviews | true | ||
strict | If true will reject the PR if threshold is exceded | false | Boolean | false |
threshold | Max package size in bytes | false | String | 500 |