-
Notifications
You must be signed in to change notification settings - Fork 54
DEPRECATED: How to maintain versions
Jean-Michel FRANCOIS edited this page Nov 3, 2021
·
1 revision
DEPRECATED CONTENT KEPT FOR HISTORY
Our stack must run on top of a set of dependencies. To ensure every dependencies are at the same version we have created a script called version.js at the root of this package. Feature introduced by https://github.com/Talend/ui/pull/482/ In the futur we may create a CLI with this script.
$ ./version.js --help
Usage: version [options]
Options:
-h, --help output usage information
-V, --version output the version number
-d, --debug display more info
-q, --quiet display nothing
-p, --path [value] path of the package.json to update
-s, --stack [value] stack version used in combination with -p
-u, --update add ^ prefix to use stable semver version
-f, --force
The script contains all the dependencies of the stack. So you just have to edit the script if you want to change a version of a dependency.
Then you can apply the script.
Given you want to update your project following you may checkout the tag (if its post #482) to use the script to update to the new version. Just use the -p option for that.