Skip to content

Commit

Permalink
Upgrade to Rollup 4 (#1999)
Browse files Browse the repository at this point in the history
<!--
  How to write a good PR title:
- Follow [the Conventional Commits
specification](https://www.conventionalcommits.org/en/v1.0.0/).
  - Give as much context as necessary and as little as possible
  - Prefix it with [WIP] while it’s a work in progress
-->

## Self Checklist

- [x] I wrote a PR title in **English** and added an appropriate
**label** to the PR.
- [x] I wrote the commit message in **English** and to follow [**the
Conventional Commits
specification**](https://www.conventionalcommits.org/en/v1.0.0/).
- [x] I [added the
**changeset**](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md)
about the changes that needed to be released. (or didn't have to)
- [x] I wrote or updated **documentation** related to the changes. (or
didn't have to)
- [x] I wrote or updated **tests** related to the changes. (or didn't
have to)
- [x] I tested the changes in various browsers. (or didn't have to)
  - Windows: Chrome, Edge, (Optional) Firefox
  - macOS: Chrome, Edge, Safari, (Optional) Firefox

## Related Issue
<!-- Please link to issue if one exists -->

Fixes #1674 

## Summary
<!-- Please brief explanation of the changes made -->

Rollup 버전을 v3에서 v4로 업데이트합니다.

## Details
<!-- Please elaborate description of the changes -->

현재 동작에 영향을 끼치는 변경사항은 없습니다.

### Breaking change? (Yes/No)
<!-- If Yes, please describe the impact and migration path for users -->

No

## References
<!-- Please list any other resources or points the reviewer should be
aware of -->

- https://rollupjs.org/migration/
- https://github.com/rollup/rollup/blob/master/CHANGELOG.md#400
- https://ko.vitejs.dev/guide/migration.html#rollup-4
  • Loading branch information
sungik-choi authored Feb 28, 2024
1 parent e5f5bfb commit c412093
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/bezier-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@svgr/core": "^8.1.0",
"@svgr/plugin-jsx": "^8.1.0",
"eslint-config-bezier": "workspace:^",
"rollup": "^3.29.4",
"rollup": "^4.11.0",
"rollup-plugin-visualizer": "^5.12.0",
"svgo": "^3.2.0",
"tsconfig": "workspace:^"
Expand Down
2 changes: 1 addition & 1 deletion packages/bezier-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"postcss-preset-env": "^9.4.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup": "^3.29.4",
"rollup": "^4.11.0",
"rollup-plugin-node-externals": "^7.0.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-visualizer": "^5.12.0",
Expand Down
147 changes: 139 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2064,7 +2064,7 @@ __metadata:
"@svgr/core": ^8.1.0
"@svgr/plugin-jsx": ^8.1.0
eslint-config-bezier: "workspace:^"
rollup: ^3.29.4
rollup: ^4.11.0
rollup-plugin-visualizer: ^5.12.0
svgo: ^3.2.0
tsconfig: "workspace:^"
Expand Down Expand Up @@ -2132,7 +2132,7 @@ __metadata:
react: ^18.2.0
react-dom: ^18.2.0
react-textarea-autosize: 8.3.4
rollup: ^3.29.4
rollup: ^4.11.0
rollup-plugin-node-externals: ^7.0.1
rollup-plugin-postcss: ^4.0.2
rollup-plugin-visualizer: ^5.12.0
Expand Down Expand Up @@ -4937,6 +4937,97 @@ __metadata:
languageName: node
linkType: hard

"@rollup/rollup-android-arm-eabi@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-android-arm-eabi@npm:4.11.0"
conditions: os=android & cpu=arm
languageName: node
linkType: hard

"@rollup/rollup-android-arm64@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-android-arm64@npm:4.11.0"
conditions: os=android & cpu=arm64
languageName: node
linkType: hard

"@rollup/rollup-darwin-arm64@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-darwin-arm64@npm:4.11.0"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"@rollup/rollup-darwin-x64@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-darwin-x64@npm:4.11.0"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@rollup/rollup-linux-arm-gnueabihf@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.11.0"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard

"@rollup/rollup-linux-arm64-gnu@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.11.0"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard

"@rollup/rollup-linux-arm64-musl@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.11.0"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard

"@rollup/rollup-linux-riscv64-gnu@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.11.0"
conditions: os=linux & cpu=riscv64 & libc=glibc
languageName: node
linkType: hard

"@rollup/rollup-linux-x64-gnu@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.11.0"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard

"@rollup/rollup-linux-x64-musl@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-linux-x64-musl@npm:4.11.0"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard

"@rollup/rollup-win32-arm64-msvc@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.11.0"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"@rollup/rollup-win32-ia32-msvc@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.11.0"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard

"@rollup/rollup-win32-x64-msvc@npm:4.11.0":
version: 4.11.0
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.11.0"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard

"@sinclair/typebox@npm:^0.27.8":
version: 0.27.8
resolution: "@sinclair/typebox@npm:0.27.8"
Expand Down Expand Up @@ -6632,7 +6723,7 @@ __metadata:
languageName: node
linkType: hard

"@types/estree@npm:*, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.5":
"@types/estree@npm:*, @types/estree@npm:1.0.5, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.5":
version: 1.0.5
resolution: "@types/estree@npm:1.0.5"
checksum: dd8b5bed28e6213b7acd0fb665a84e693554d850b0df423ac8076cc3ad5823a6bc26b0251d080bdc545af83179ede51dd3f6fa78cad2c46ed1f29624ddf3e41a
Expand Down Expand Up @@ -18684,17 +18775,57 @@ __metadata:
languageName: node
linkType: hard

"rollup@npm:^3.29.4":
version: 3.29.4
resolution: "rollup@npm:3.29.4"
dependencies:
"rollup@npm:^4.11.0":
version: 4.11.0
resolution: "rollup@npm:4.11.0"
dependencies:
"@rollup/rollup-android-arm-eabi": 4.11.0
"@rollup/rollup-android-arm64": 4.11.0
"@rollup/rollup-darwin-arm64": 4.11.0
"@rollup/rollup-darwin-x64": 4.11.0
"@rollup/rollup-linux-arm-gnueabihf": 4.11.0
"@rollup/rollup-linux-arm64-gnu": 4.11.0
"@rollup/rollup-linux-arm64-musl": 4.11.0
"@rollup/rollup-linux-riscv64-gnu": 4.11.0
"@rollup/rollup-linux-x64-gnu": 4.11.0
"@rollup/rollup-linux-x64-musl": 4.11.0
"@rollup/rollup-win32-arm64-msvc": 4.11.0
"@rollup/rollup-win32-ia32-msvc": 4.11.0
"@rollup/rollup-win32-x64-msvc": 4.11.0
"@types/estree": 1.0.5
fsevents: ~2.3.2
dependenciesMeta:
"@rollup/rollup-android-arm-eabi":
optional: true
"@rollup/rollup-android-arm64":
optional: true
"@rollup/rollup-darwin-arm64":
optional: true
"@rollup/rollup-darwin-x64":
optional: true
"@rollup/rollup-linux-arm-gnueabihf":
optional: true
"@rollup/rollup-linux-arm64-gnu":
optional: true
"@rollup/rollup-linux-arm64-musl":
optional: true
"@rollup/rollup-linux-riscv64-gnu":
optional: true
"@rollup/rollup-linux-x64-gnu":
optional: true
"@rollup/rollup-linux-x64-musl":
optional: true
"@rollup/rollup-win32-arm64-msvc":
optional: true
"@rollup/rollup-win32-ia32-msvc":
optional: true
"@rollup/rollup-win32-x64-msvc":
optional: true
fsevents:
optional: true
bin:
rollup: dist/bin/rollup
checksum: 8bb20a39c8d91130825159c3823eccf4dc2295c9a0a5c4ed851a5bf2167dbf24d9a29f23461a54c955e5506395e6cc188eafc8ab0e20399d7489fb33793b184e
checksum: 6a51be8e4e432fcc56d816f04ef48677554ebbfd9be6b051c6a2f1aabeeb73cce4518e3c6e7b682e5533e33b8bb0d93d9462052d341e6a4c81bfcdb9e61eb2f8
languageName: node
linkType: hard

Expand Down

0 comments on commit c412093

Please sign in to comment.