diff --git a/.changeset/config.json b/.changeset/config.json index 7069b4cefa..0c6af959e2 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -2,7 +2,9 @@ "$schema": "https://unpkg.com/@changesets/config@1.7.0/schema.json", "changelog": [ "../packages/changelog-github/dist/index.js", - { "repo": "swisspost/design-system" } + { + "repo": "swisspost/design-system" + } ], "commit": false, "fixed": [ @@ -20,7 +22,7 @@ ], "linked": [], "access": "restricted", - "baseBranch": "main", + "baseBranch": "release/v9", "updateInternalDependencies": "patch", "ignore": [] } diff --git a/packages/documentation/netlify.config.json b/packages/documentation/netlify.config.json index 71ef8f54ad..23447f83de 100644 --- a/packages/documentation/netlify.config.json +++ b/packages/documentation/netlify.config.json @@ -1,4 +1,4 @@ { - "siteId": "edc7287b-ec63-423c-84aa-c2a1cffbcf87", - "siteUrl": "swisspost-design-system-next.netlify.app" + "siteId": "06d1b6c6-1802-4ae0-9edb-0abaa4217762", + "siteUrl": "design-system-version-9.netlify.app" } diff --git a/packages/documentation/public/_headers b/packages/documentation/public/_headers deleted file mode 100644 index af4809add8..0000000000 --- a/packages/documentation/public/_headers +++ /dev/null @@ -1,5 +0,0 @@ -# Adds custom headers for specific resources -# This file is used by Netlify to handle headers - -/assets/versions.json - Access-Control-Allow-Origin: * diff --git a/packages/documentation/public/_redirects b/packages/documentation/public/_redirects deleted file mode 100644 index a60e07ff31..0000000000 --- a/packages/documentation/public/_redirects +++ /dev/null @@ -1,7 +0,0 @@ -# Redirects from what the browser requests to what we serve -# This file is used by Netlify to handle redirects - -/v5 https://6401b58ebf0f4e298ee2dbe7--swisspost-web-frontend.netlify.app -/v6 https://design-system-version-6.netlify.app -/v7 https://design-system-version-7.netlify.app -/v8 https://design-system-version-8.netlify.app diff --git a/packages/documentation/public/assets/versions.json b/packages/documentation/public/assets/versions.json deleted file mode 100644 index 25da98d29a..0000000000 --- a/packages/documentation/public/assets/versions.json +++ /dev/null @@ -1,106 +0,0 @@ -[ - { - "title": "Version 9", - "version": "9.0.0-next.0", - "description": "Pattern documentation, code snippets and implementation guidelines for the Design System Styles.", - "url": "https://design-system.post.ch", - "dependencies": { - "@angular/core": "^18.0.0", - "@ng-bootstrap/ng-bootstrap": "^17.0.0", - "bootstrap": "~5.3.0", - "@swisspost/design-system-changelog-github": "1.0.2", - "@swisspost/design-system-components": "9.0.0-next.0", - "@swisspost/design-system-components-angular-workspace": "1.1.10-next.0", - "@swisspost/design-system-components-angular": "9.0.0-next.0", - "@swisspost/design-system-components-react": "9.0.0-next.0", - "@swisspost/design-system-demo": "8.0.3-next.0", - "@swisspost/design-system-documentation": "6.0.0-next.0", - "@swisspost/design-system-icons": "9.0.0-next.0", - "@swisspost/internet-header": "1.14.6-next.0", - "@swisspost/design-system-intranet-header-workspace": "3.0.22-next.0", - "@swisspost/design-system-intranet-header": "9.0.0-next.0", - "@swisspost/design-system-intranet-header-showcase": "1.0.10-next.0", - "@swisspost/design-system-migrations": "9.0.0-next.0", - "@swisspost/design-system-nextjs-integration": "0.1.14-next.0", - "@swisspost/design-system-styles": "9.0.0-next.0", - "@swisspost/design-system-styles-primeng-workspace": "1.0.6-next.0", - "@swisspost/design-system-styles-primeng": "9.0.0-next.0", - "@swisspost/design-system-tokens": "9.0.0-next.0" - } - }, - { - "title": "Version 8", - "version": "8.2.0", - "description": "Pattern documentation, code snippets and implementation guidelines for the Design System Styles.", - "url": "https://design-system-version-8.netlify.app", - "dependencies": { - "@angular/core": "^18.0.0", - "@ng-bootstrap/ng-bootstrap": "^17.0.0", - "bootstrap": "~5.3.0", - "@swisspost/design-system-changelog-github": "1.0.2", - "@swisspost/design-system-components": "8.2.1", - "@swisspost/design-system-components-angular-workspace": "1.1.10", - "@swisspost/design-system-components-angular": "8.2.1", - "@swisspost/design-system-components-react": "8.2.1", - "@swisspost/design-system-demo": "8.0.3", - "@swisspost/design-system-documentation": "5.4.1", - "@swisspost/design-system-icons": "8.2.1", - "@swisspost/internet-header": "1.14.6", - "@swisspost/design-system-intranet-header-workspace": "3.0.22", - "@swisspost/design-system-intranet-header": "8.2.1", - "@swisspost/design-system-intranet-header-showcase": "1.0.10", - "@swisspost/design-system-migrations": "8.2.1", - "@swisspost/design-system-nextjs-integration": "0.1.14", - "@swisspost/design-system-styles": "8.2.1", - "@swisspost/design-system-styles-primeng-workspace": "1.0.6", - "@swisspost/design-system-styles-primeng": "8.2.1", - "@swisspost/design-system-tokens": "8.2.1" - } - }, - { - "title": "Version 7", - "version": "7.4.0", - "description": "Pattern documentation, code snippets and implementation guidelines for the Design System Styles.", - "url": "https://design-system-version-7.netlify.app", - "dependencies": { - "@angular/core": "^18.0.0", - "@ng-bootstrap/ng-bootstrap": "^17.0.0", - "bootstrap": "~5.3.0", - "@swisspost/design-system-changelog-github": "1.0.2", - "@swisspost/design-system-components": "7.4.0", - "@swisspost/design-system-components-angular": "7.4.0", - "@swisspost/design-system-icons": "7.4.0", - "@swisspost/internet-header": "1.14.2", - "@swisspost/design-system-intranet-header": "7.4.0", - "@swisspost/design-system-migrations": "7.4.0", - "@swisspost/design-system-styles": "7.4.0", - "@swisspost/design-system-styles-primeng": "7.4.0" - } - }, - { - "title": "Version 6", - "version": "6.6.1", - "description": "Pattern documentation, code snippets and implementation guidelines for the Design System Styles.", - "url": "https://design-system-version-6.netlify.app", - "dependencies": { - "@angular/core": "16.2.3", - "@ng-bootstrap/ng-bootstrap": "15.1.1", - "@swisspost/design-system-intranet-header": "4.0.10", - "@swisspost/design-system-styles": "6.4.0", - "bootstrap": "5.3.1" - } - }, - { - "title": "Version 5", - "version": "5.4.1", - "description": "Pattern documentation, code snippets and implementation guidelines for the Design System Styles.", - "url": "https://6401b58ebf0f4e298ee2dbe7--swisspost-web-frontend.netlify.app/", - "dependencies": { - "@angular/core": "14.2.12", - "@ng-bootstrap/ng-bootstrap": "12.1.2", - "@swisspost/design-system-intranet-header": "3.1.1", - "@swisspost/design-system-styles": "5.4.1", - "bootstrap": "5.1.3" - } - } -]