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

build: replace deprecated packages #2221

Merged
merged 4 commits into from
Aug 14, 2023
Merged

Conversation

hung-cybo
Copy link
Contributor

@hung-cybo hung-cybo commented Aug 12, 2023

Why

Some packages are deprecated, or the current version is deprecated.

What

  • Replacing the deprecated packages
  • Updating to a new version that is not deprecated

How to test

N/A

Checklist

  • Read CONTRIBUTING.md
  • Updated documentation if it is required.
  • Added tests if it is required.
  • Passed pnpm lint and pnpm test on the root directory.

@hung-cybo hung-cybo requested review from a team and tuanphamcybozu and removed request for a team August 12, 2023 23:46
@github-actions github-actions bot added the pkg: rest-api-client @kintone/rest-api-client label Aug 12, 2023
Copy link
Member

@tasshi-me tasshi-me left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

Comment on lines -67 to +69
"rollup-plugin-node-builtins": "^2.1.2",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-terser": "^7.0.2"
"rollup-plugin-polyfill-node": "^0.12.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE:
Alternative of rollup-plugin-node-builtins
=> rollup-plugin-node-polyfills (calvinmetcalf/rollup-plugin-node-builtins#65)
But it is also unmaintained.

Alternative of rollup-plugin-node-polyfills
=> rollup-plugin-polyfill-node (ionic-team/rollup-plugin-node-polyfills#28 (comment))

The rollup-plugin-polyfill-node is downloaded as same as the rollup-plugin-node-builtins.
https://npmtrends.com/rollup-plugin-node-builtins-vs-rollup-plugin-node-polyfills-vs-rollup-plugin-polyfill-node

rollup recommends using rollup-plugin-polyfill-node.
remorses/esbuild-plugins#18 (comment)

@tasshi-me tasshi-me merged commit 9f41c33 into master Aug 14, 2023
@tasshi-me tasshi-me deleted the build/pnpm-install-warning branch August 14, 2023 04:41
tasshi-me pushed a commit that referenced this pull request Aug 14, 2023
tasshi-me pushed a commit that referenced this pull request Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: rest-api-client @kintone/rest-api-client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants