Update dependencies and migrate to @rollup/plugin-terser#51
Open
Armruo wants to merge 2 commits intoBonfida:masterfrom
Open
Update dependencies and migrate to @rollup/plugin-terser#51Armruo wants to merge 2 commits intoBonfida:masterfrom
Armruo wants to merge 2 commits intoBonfida:masterfrom
Conversation
Author
|
Oh, the README.md was modified&committed carelessly, sorry for that. |
|
Very useful pull request, thank you. Why not update @solana/spl-token to the actual version? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi, thanks for providing this excellent token vesting tool, it has been incredibly helpful for me.
I'd like to contribute by updating some dependencies to their latest stable versions.
Description
This PR updates several dependencies to their latest stable versions and replaces the deprecated
rollup-plugin-terserwith the officially recommended@rollup/plugin-terser.Why migrate to @rollup/plugin-terser
According to the official Rollup documentation and repositories:
rollup-plugin-terseris now archived and no longer maintained (see: https://github.com/TrySound/rollup-plugin-terser)@rollup/plugin-terseris the official replacement (see: https://github.com/rollup/plugins/tree/master/packages/terser)Dependency Updates in package.json
devDependencies
@bonfida/utils: ^0.0.4 -> ^0.0.7@rollup/plugin-commonjs: ^24.0.1 -> ^28.0.1@rollup/plugin-typescript: ^11.0.0 -> ^12.1.1@solana/spl-token: 0.3.7 (unchanged)@solana/web3.js: ^1.73.2 -> ^1.95.0@tsconfig/recommended: ^1.0.1 -> ^1.0.7@types/node: ^14.14.20 -> ^20.3.1babel-eslint: ^10.1.0 (unchanged)eslint: ^7.17.0 -> ^8.42.0eslint-plugin-import: ^2.22.1 -> ^2.29.1nodemon: ^2.0.7 -> ^3.1.7prettier: ^2.2.1 -> ^3.3.3rollup: ^2.36.1 -> ^3.14.0rollup-plugin-terser: ^7.0.2@rollup/plugin-terser: ^0.4.4ts-node: ^9.1.1 -> ^10.9.2tslib: ^2.1.0 -> ^2.8.0typescript: ^4.1.3 -> ^5.1.3peerDependencies
@solana/spl-token: 0.3.7 (unchanged)@solana/web3.js: ^1.73.2 -> ^1.95.0dependencies
bip32: ^2.0.6 -> ^5.0.0-rc.0bn.js: ^5.1.3 -> ^5.2.1bs58: ^4.0.1 -> ^6.0.0buffer-layout: ^1.2.2 (unchanged)tweetnacl: ^1.0.3 (unchanged)Technical Changes
Modified
rollup.config.mjs:Changed from
import { terser } from 'rollup-plugin-terser';to
import terser from '@rollup/plugin-terser';Benefits
Testing
Breaking Changes
None. This is a maintenance update that should be transparent to end users.
Notes
@rollup/plugin-terseris part of following Rollup's official recommendationsI've thoroughly tested these changes and everything works as expected. Please let me know if you would like me to make any adjustments or if you need any additional information. Thank you for considering this contribution!
Best regards