Closed sneridagh closed 1 month ago
Name | Link |
---|---|
Latest commit | fb5115a475c5aa0f311c32a5ea53dee31d7a9023 |
Latest deploy log | https://app.netlify.com/sites/volto/deploys/65f6d7b3d1a9c20008b84d98 |
Name | Link |
---|---|
Latest commit | fb5115a475c5aa0f311c32a5ea53dee31d7a9023 |
Latest deploy log | https://app.netlify.com/sites/plone-components/deploys/65f6d7b3d0631f00087bd6d5 |
@sneridagh will it be possible to synchronize versions, even after the app has already been created?
@wesleybl that's the idea, did you notice the bin for the dep_sync.js script?
Muahahaha next will be green :)
@sneridagh this is awesome, my only nitpick is regarding the actual command name depssync. I would rather have it depsSync, taking the queues from the package.json dependencies devDependencies. It makes it easier to read to have that camelCase naming since it's two words in one
@sneridagh taking a better look at my node_modules/.bin folder I see that all of the commands are split by a dash only as such we should do the same deps-sync just like we have "dry-release".
@sneridagh @ichim-david the bin folder is a flat namespace. I would name it something that makes it clearer the command comes from volto, like volto-update-deps
(Really I'd rather have one volto-dev
command with multiple subcommands, but that is a project for another day.)
@davisagli @ichim-david doh, it seems I didn't commited the key file :)
Now you can run it directly from the core repo:
Once released, if you have installed `@plone/scripts:
or
It will sync the
dependencies
anddevDependencies
with the ones in Volto. It never removes dependencies (for obvious reasons).It eases the upgrades by not having to modify manually versions over and over. This will allow to move to
pnpm
everywhere :)The setup is already being tested with the current setup.