-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Remove all preserve plugins from truffle bundle #5135
Conversation
d952e60
to
ddb7afb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good except for the one version decrease
any way to get the @truffle/error thing sorted out first? seems like it's just a dependency missing in one or all of the preserve packages |
So, uh, this is a breaking change to Truffle, right...? |
the assumption is that no one is using this feature, and so we can make the pragmatic decision to avoid the rigamarole of a Truffle major release, and just compensate with apologies and good instructions |
|
- remove preserve-to-* plugins - remove preserve-fs plugin - truffle: remove unused deps
- `help preserve` no longer asserts for defaultPlugins.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Es gefällt mir.
This PR removes the preserve plugins from the truffle bundle, which will 1) improve installation time [#5116] and 2) silence a bunch of noisy dependencies during installation. Unfortunately, the
preserve-to-*
integration tests are no more; however, there is now an issue on the preserves monorepo for followup work.Users who currently use the preserve feature, will have to
@truffle/error
@truffle/preserve-fs
@truffle/preserve-to-ipfs
@truffle/preserve-to-filecoin
"@truffle/preserve-fs"
to theplugins
array intruffle-config.js
When this is released, the accompanying
preserve-example-box PR
can be merged.Testing install time
cd packages/truffle; yarn pack
npm -g uninstall truffle
time npm -g install truffle-v5.5.16.tgz