From b8429aa5fed83bce770b978a8187adef2d0ed028 Mon Sep 17 00:00:00 2001 From: Philipp Gfeller Date: Wed, 27 Mar 2024 11:56:20 +0100 Subject: [PATCH 1/6] chore(versioning): fix versions of main packages This will start to align the version of the fixed packages together. Fixed packages will be published under a new version, even if they did not have any changes. There are several packages, that are not included in the list because they should still be versioned individually. The reason for this is, that they are not main deliverables of the Design System - styles and components. For example the documnetation, which can only be released with a version bump. If it would be fixed with the other packages, a correction of a typo would cause a version bump for all the deliverables, even if nothing changed for end users. --- .changeset/config.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.changeset/config.json b/.changeset/config.json index 6d30005329..c900aae3a0 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -5,7 +5,12 @@ { "repo": "swisspost/design-system" } ], "commit": false, - "fixed": [], + "fixed": [ + "@swisspost/design-system-styles", + "@swisspost/design-system-components", + "@swisspost/design-system-components-angular", + "@swisspost/design-system-components-react" + ], "linked": [], "access": "restricted", "baseBranch": "main", From d43ca6fc8508e5d64878beeb3d75c90a7459f16a Mon Sep 17 00:00:00 2001 From: Philipp Gfeller Date: Wed, 27 Mar 2024 11:58:16 +0100 Subject: [PATCH 2/6] fix: use nested arrays --- .changeset/config.json | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.changeset/config.json b/.changeset/config.json index c900aae3a0..a30e82ee0c 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -6,10 +6,12 @@ ], "commit": false, "fixed": [ - "@swisspost/design-system-styles", - "@swisspost/design-system-components", - "@swisspost/design-system-components-angular", - "@swisspost/design-system-components-react" + [ + "@swisspost/design-system-styles", + "@swisspost/design-system-components", + "@swisspost/design-system-components-angular", + "@swisspost/design-system-components-react" + ] ], "linked": [], "access": "restricted", From e7fced725f1921c05888a563bb18ad86444aa9b7 Mon Sep 17 00:00:00 2001 From: Philipp Gfeller Date: Thu, 28 Mar 2024 07:58:12 +0100 Subject: [PATCH 3/6] chore: added a changeset --- .changeset/fifty-rabbits-flow.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .changeset/fifty-rabbits-flow.md diff --git a/.changeset/fifty-rabbits-flow.md b/.changeset/fifty-rabbits-flow.md new file mode 100644 index 0000000000..933cc95af9 --- /dev/null +++ b/.changeset/fifty-rabbits-flow.md @@ -0,0 +1,15 @@ +--- +'@swisspost/design-system-components': major +'@swisspost/design-system-components-angular': major +'@swisspost/design-system-components-react': major +'@swisspost/design-system-styles': major +--- + +Syncing versions of the following packages: + +- @swisspost/design-system-styles +- @swisspost/design-system-components +- @swisspost/design-system-components-react +- @swisspost/design-system-components-angular + +This will help understanding the dependencies between these packages at a glance but also means that for the individual pacakges, semver is no longer being used. This enables us also to talk about and document Design System versions as a whole instead of documenting the fragmented versions in a complex lookup table. From ace16b4569368bdfed1771726955016b4960cdd2 Mon Sep 17 00:00:00 2001 From: Philipp Gfeller Date: Thu, 28 Mar 2024 14:09:37 +0100 Subject: [PATCH 4/6] feat(migrations)!: add migration to fixed versions --- .changeset/config.json | 3 ++- .changeset/fifty-rabbits-flow.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.changeset/config.json b/.changeset/config.json index a30e82ee0c..0fa9467770 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -10,7 +10,8 @@ "@swisspost/design-system-styles", "@swisspost/design-system-components", "@swisspost/design-system-components-angular", - "@swisspost/design-system-components-react" + "@swisspost/design-system-components-react", + "@swisspost/design-system-migrations" ] ], "linked": [], diff --git a/.changeset/fifty-rabbits-flow.md b/.changeset/fifty-rabbits-flow.md index 933cc95af9..92e3e8eac5 100644 --- a/.changeset/fifty-rabbits-flow.md +++ b/.changeset/fifty-rabbits-flow.md @@ -3,6 +3,7 @@ '@swisspost/design-system-components-angular': major '@swisspost/design-system-components-react': major '@swisspost/design-system-styles': major +'@swisspost/design-system-migrations': major --- Syncing versions of the following packages: @@ -11,5 +12,6 @@ Syncing versions of the following packages: - @swisspost/design-system-components - @swisspost/design-system-components-react - @swisspost/design-system-components-angular +- @swisspost/design-system-migrations This will help understanding the dependencies between these packages at a glance but also means that for the individual pacakges, semver is no longer being used. This enables us also to talk about and document Design System versions as a whole instead of documenting the fragmented versions in a complex lookup table. From 93d4ac5f76572829572c1f08381ce14f75ba6eca Mon Sep 17 00:00:00 2001 From: Philipp Gfeller Date: Wed, 3 Apr 2024 23:12:38 +0200 Subject: [PATCH 5/6] chore: add icons and intranet header to synced packages --- .changeset/config.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.changeset/config.json b/.changeset/config.json index 0fa9467770..3ae96efbd6 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -11,6 +11,8 @@ "@swisspost/design-system-components", "@swisspost/design-system-components-angular", "@swisspost/design-system-components-react", + "@swisspost/design-system-intranet-header", + "@swisspost/design-system-icons", "@swisspost/design-system-migrations" ] ], From 61f9b58f00a0947819699e2836d22368dd82cf97 Mon Sep 17 00:00:00 2001 From: Philipp Gfeller Date: Thu, 4 Apr 2024 11:19:28 +0200 Subject: [PATCH 6/6] chore: update changeset with synced packages --- .changeset/fifty-rabbits-flow.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.changeset/fifty-rabbits-flow.md b/.changeset/fifty-rabbits-flow.md index 92e3e8eac5..25edb6d9c1 100644 --- a/.changeset/fifty-rabbits-flow.md +++ b/.changeset/fifty-rabbits-flow.md @@ -4,6 +4,8 @@ '@swisspost/design-system-components-react': major '@swisspost/design-system-styles': major '@swisspost/design-system-migrations': major +'@swisspost/design-system-icons': major +'@swisspost/design-system-intranet-header': major --- Syncing versions of the following packages: @@ -13,5 +15,7 @@ Syncing versions of the following packages: - @swisspost/design-system-components-react - @swisspost/design-system-components-angular - @swisspost/design-system-migrations +- @swisspost/design-system-icons +- @swisspost/design-system-intranet-header This will help understanding the dependencies between these packages at a glance but also means that for the individual pacakges, semver is no longer being used. This enables us also to talk about and document Design System versions as a whole instead of documenting the fragmented versions in a complex lookup table.