Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(bundlemon): replace bundlesize with bundlemon #1865

Merged
merged 4 commits into from
Jun 22, 2022

Conversation

rfprod
Copy link
Contributor

@rfprod rfprod commented Jun 17, 2022

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[x] CI related changes
[ ] Documentation content changes
[x] bundlesize was replaced with bundlemon

What is the current behavior?

Bundlesize is used to check bundle sizes.

Issue Number: #1764

What is the new behavior?

Bundlemon is used to check bundle sizes.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@rfprod rfprod force-pushed the bundlemon branch 2 times, most recently from 997e018 to e643bb6 Compare June 18, 2022 17:00
@arturovt arturovt linked an issue Jun 18, 2022 that may be closed by this pull request
@markwhitfeld
Copy link
Member

I'll set this up and test it tomorrow morning.

- [x] remove bundlesize dependency, config, scripts and github ci jobs;
- [x] add bundlemon dependency, config and github ci jobs;
- [x] regenerate yarn.lock after replacing project dependencies;
@markwhitfeld markwhitfeld marked this pull request as ready for review June 22, 2022 08:11
@bundlemon
Copy link

bundlemon bot commented Jun 22, 2022

BundleMon

Files added (6)
Status Path Size Limits
fesm5/ngxs-store.js
+136.44KB 145KB / +0.5%
fesm2015/ngxs-store.js
+117.47KB 125KB / +0.5%
fesm5/ngxs-store-internals.js
+15.8KB 20KB / +0.5%
fesm2015/ngxs-store-internals.js
+14.84KB 20KB / +0.5%
fesm5/ngxs-store-operators.js
+10.07KB 15KB / +0.5%
fesm2015/ngxs-store-operators.js
+9.94KB 15KB / +0.5%

Total files change +304.56KB 0%

Groups added (6)
Status Path Size Limits
@ngxs/store(esm5)[gzip]
./esm5/**/*.js
+187.14KB +1%
@ngxs/store(esm2015)[gzip]
./esm2015/**/*.js
+180.67KB +1%
@ngxs/store(umd)[gzip]
./bundles/*.umd.js
+42.47KB +1%
@ngxs/store(fesm5)[gzip]
./fesm5/*.js
+31.85KB +1%
@ngxs/store(fesm2015)[gzip]
./fesm2015/*.js
+29.45KB +1%
@ngxs/store(umd.min)[gzip]
./bundles/*.umd.min.js
+13.98KB +1%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history

@bundlemon
Copy link

bundlemon bot commented Jun 22, 2022

BundleMon (NGXS Plugins)

Files added (28)
Status Path Size Limits
Plugins(umd)[gzip]
router-plugin/bundles/ngxs-router-plugin.umd.
js
+7.69KB +1%
Plugins(umd)[gzip]
hmr-plugin/bundles/ngxs-hmr-plugin.umd.js
+6.96KB +1%
Plugins(umd)[gzip]
websocket-plugin/bundles/ngxs-websocket-plugi
n.umd.js
+6.87KB +1%
Plugins(umd)[gzip]
storage-plugin/bundles/ngxs-storage-plugin.um
d.js
+6.49KB +1%
Plugins(umd)[gzip]
form-plugin/bundles/ngxs-form-plugin.umd.js
+6.4KB +1%
Plugins(umd)[gzip]
devtools-plugin/bundles/ngxs-devtools-plugin.
umd.js
+5.91KB +1%
Plugins(umd)[gzip]
logger-plugin/bundles/ngxs-logger-plugin.umd.
js
+5.77KB +1%
Plugins(fesm5)[gzip]
router-plugin/fesm5/ngxs-router-plugin.js
+4.29KB +1%
Plugins(fesm2015)[gzip]
router-plugin/fesm2015/ngxs-router-plugin.js
+4.01KB +1%
Plugins(fesm5)[gzip]
hmr-plugin/fesm5/ngxs-hmr-plugin.js
+3.62KB +1%
Plugins(fesm5)[gzip]
websocket-plugin/fesm5/ngxs-websocket-plugin.
js
+3.53KB +1%
Plugins(fesm2015)[gzip]
hmr-plugin/fesm2015/ngxs-hmr-plugin.js
+3.25KB +1%
Plugins(fesm5)[gzip]
storage-plugin/fesm5/ngxs-storage-plugin.js
+3.2KB +1%
Plugins(fesm2015)[gzip]
websocket-plugin/fesm2015/ngxs-websocket-plug
in.js
+3.15KB +1%
Plugins(umd.min)[gzip]
hmr-plugin/bundles/ngxs-hmr-plugin.umd.min.js
+3.1KB +1%
Plugins(fesm5)[gzip]
form-plugin/fesm5/ngxs-form-plugin.js
+3.04KB +1%
Plugins(fesm2015)[gzip]
storage-plugin/fesm2015/ngxs-storage-plugin.j
s
+2.87KB +1%
Plugins(fesm2015)[gzip]
form-plugin/fesm2015/ngxs-form-plugin.js
+2.71KB +1%
Plugins(umd.min)[gzip]
router-plugin/bundles/ngxs-router-plugin.umd.
min.js
+2.7KB +1%
Plugins(fesm5)[gzip]
devtools-plugin/fesm5/ngxs-devtools-plugin.js
+2.58KB +1%
Plugins(fesm5)[gzip]
logger-plugin/fesm5/ngxs-logger-plugin.js
+2.48KB +1%
Plugins(umd.min)[gzip]
form-plugin/bundles/ngxs-form-plugin.umd.min.
js
+2.41KB +1%
Plugins(fesm2015)[gzip]
devtools-plugin/fesm2015/ngxs-devtools-plugin
.js
+2.4KB +1%
Plugins(fesm2015)[gzip]
logger-plugin/fesm2015/ngxs-logger-plugin.js
+2.37KB +1%
Plugins(umd.min)[gzip]
websocket-plugin/bundles/ngxs-websocket-plugi
n.umd.min.js
+2.18KB +1%
Plugins(umd.min)[gzip]
storage-plugin/bundles/ngxs-storage-plugin.um
d.min.js
+2.15KB +1%
Plugins(umd.min)[gzip]
logger-plugin/bundles/ngxs-logger-plugin.umd.
min.js
+1.95KB +1%
Plugins(umd.min)[gzip]
devtools-plugin/bundles/ngxs-devtools-plugin.
umd.min.js
+1.83KB +1%

Total files change +105.92KB 0%

Groups added (6)
Status Path Size Limits
All Plugins(esm5)[gzip]
./-plugin/esm5/**/.js
+117.96KB +1%
All Plugins(esm2015)[gzip]
./-plugin/esm2015/**/.js
+112.65KB +1%
All Plugins(umd)[gzip]
./-plugin/bundles/.umd.js
+46.1KB +1%
All Plugins(fesm5)[gzip]
./-plugin/fesm5/.js
+22.75KB +1%
All Plugins(fesm2015)[gzip]
./-plugin/fesm2015/.js
+20.76KB +1%
All Plugins(umd.min)[gzip]
./-plugin/bundles/.umd.min.js
+16.32KB +1%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history

@bundlemon
Copy link

bundlemon bot commented Jun 22, 2022

BundleMon (Integration Projects)

Files added (4)
Status Path Size Limits
Main bundles(Gzip)
hello-world-ng11-ivy/dist-integration/main.(h
ash).js
+71.05KB +1%
Main bundles(Gzip)
hello-world-ng13-ivy/dist-integration/main.(h
ash).js
+69.76KB +1%
Main bundles(Gzip)
hello-world-ng12-ivy/dist-integration/main.(h
ash).js
+67.72KB +1%
Main bundles(Gzip)
hello-world-ng14-ivy/dist-integration/main.(h
ash).js
+65.53KB +1%

Total files change +274.05KB 0%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history

@markwhitfeld markwhitfeld merged commit 770aa34 into ngxs:master Jun 22, 2022
@rfprod rfprod deleted the bundlemon branch June 22, 2022 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUILD TOOLS]: Replace Bundlesize
2 participants