From 8d136c39c6db86752ab8d9b8456f439117a9a92a Mon Sep 17 00:00:00 2001 From: Niklas DAHLQUIST Date: Wed, 16 Dec 2020 13:46:09 +0100 Subject: [PATCH] Always set exact version when publishing Theia is using "^1.x.y" in all modules, this causes two problems 1) Since romantic versioning is used within Theia repo, API breakage might be introduced between any version 2) It's harder to build applications using old versions of Theia extensions since if not every needed Theia extension is explicitly stated in dependencies you will likely end up with pulling several parallel versions of @theia/core for example. Due to dependency injection we can not have multiple parallel versions of the same Theia extension module Fixes issue #8879 when publishing next version Contributed by STMicroelectronics Signed-off-by: Niklas DAHLQUIST Signed-off-by: Samuel HULTGREN --- CHANGELOG.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba10616e1aadf..85f158150bee8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log + ## v1.10.0 + +[Breaking Changes:](#breaking_changes_1.10.0) + +- [dependencies] updated to use fixed versions when publishing, `"x.y.z"` instead of `"^x.y.z"` in dependencies [#8880](https://github.com/ + ## v1.9.0 - 16/12/2020 - [cli] updated error reporting for the `download-plugins` script [#8798](https://github.com/eclipse-theia/theia/pull/8798) diff --git a/package.json b/package.json index 92cb0b0ea6c26..b9e54b21a3fcc 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,7 @@ "rebuild:electron": "theia rebuild:electron", "rebuild:electron:debug": "DEBUG=electron-rebuild && yarn rebuild:electron", "publish": "yarn && yarn test && yarn publish:latest", - "publish:latest": "lerna publish && yarn publish:check", + "publish:latest": "lerna publish --exact && yarn publish:check", "publish:next": "yarn next:publish && yarn next:publish --skip-npm && yarn publish:check", "next:publish": "lerna publish --exact --canary=next --npm-tag=next --yes", "publish:check": "node scripts/check-publish.js",