FEC-294: update NPM package publishing setup#3198
Conversation
🦋 Changeset detectedLatest commit: dd8116a The changes in this PR will be included in the next version bump. This PR includes changesets to release 101 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| - name: Checking bundle size of visual testing app | ||
| run: yarn bundlesize | ||
| # env: | ||
| # NOTE: it seems that currently bundlesize server is having problems | ||
| # resulting in status code 500. Because of that, the bundlesize script |
There was a problem hiding this comment.
The issue is that iltorb@2.4.5 (a dependency of brotli-size@0.1.0, which is used by bundlesize) doesn't support Node.js 24 because it uses deprecated V8 APIs.
I'm trying to find a alternate solution to resolve this
There was a problem hiding this comment.
Unfortunately this new github action also seems to use same iltorb. will keep digging
There was a problem hiding this comment.
bundlewatch package works with node 24 and it expects a token if we want it to update the status of PR. Let me know if you think we can go with bundlewatch or not. Currently it generates same output as the previous bundlesize package.
https://bundlewatch.io/guide/using-bundlewatch
There was a problem hiding this comment.
Yes. I think we can swap.
|
I need to update all 42 packages on NPM manually. This can't be real :D |
| - name: Checking bundle size of visual testing app | ||
| run: yarn bundlesize | ||
| # env: | ||
| # NOTE: it seems that currently bundlesize server is having problems | ||
| # resulting in status code 500. Because of that, the bundlesize script |
There was a problem hiding this comment.
Yes. I think we can swap.
|
Is the ui-kit also using Vercel deploys commercetools/merchant-center-application-kit#3881? 🤔 |
Summary
After bumping npmrc version, the
bundlesizewas causing an issue since it is not compatible with latest node (refer below comment). I replaced it withbundlewatch.