From 3d9138129ea56df1dac3054e870f14484bab7ad2 Mon Sep 17 00:00:00 2001 From: Austin Sullivan Date: Fri, 23 Jun 2023 15:38:59 -0400 Subject: [PATCH] chore(ci-release): Update release config from alpha to prerelease --- packages/module/package.json | 22 +++++++++++----------- packages/module/release.config.js | 9 +++++++-- 2 files changed, 18 insertions(+), 13 deletions(-) diff --git a/packages/module/package.json b/packages/module/package.json index dc933a0b..fb426831 100644 --- a/packages/module/package.json +++ b/packages/module/package.json @@ -1,6 +1,6 @@ { "name": "@patternfly/react-topology", - "version": "5.0.0-alpha.0", + "version": "5.0.0-prerelease.0", "description": "Provide patternfly components, styles, and utilities for displaying a topology view", "main": "dist/js/index.js", "module": "dist/esm/index.js", @@ -30,12 +30,12 @@ "homepage": "https://github.com/patternfly/react-topology#readme", "publishConfig": { "access": "public", - "tag": "alpha" + "tag": "prerelease" }, "dependencies": { - "@patternfly/react-core": "5.0.0-prerelease.13", - "@patternfly/react-icons": "5.0.0-prerelease.7", - "@patternfly/react-styles": "5.0.0-prerelease.5", + "@patternfly/react-core": "^5.0.0-prerelease.13", + "@patternfly/react-icons": "^5.0.0-prerelease.7", + "@patternfly/react-styles": "^5.0.0-prerelease.5", "@types/d3": "^7.4.0", "@types/d3-force": "^1.2.1", "@types/dagre": "0.7.42", @@ -52,15 +52,15 @@ "webcola": "3.4.0" }, "peerDependencies": { - "react": "^16.8 || ^17 || ^18", - "react-dom": "^16.8 || ^17 || ^18" + "react": "^17 || ^18", + "react-dom": "^17 || ^18" }, "devDependencies": { - "@patternfly/documentation-framework": "2.0.0-alpha.57", - "@patternfly/patternfly": "5.0.0-prerelease.6", + "@patternfly/documentation-framework": "^2.0.0-alpha.73", + "@patternfly/patternfly": "^5.0.0-prerelease.6", "@patternfly/patternfly-a11y": "^4.3.1", - "@patternfly/react-code-editor": "5.0.0-prerelease.7", - "@patternfly/react-table": "5.0.0-prerelease.7", + "@patternfly/react-code-editor": "^5.0.0-prerelease.7", + "@patternfly/react-table": "^5.0.0-prerelease.7", "@types/lodash": "^4.14.191", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", diff --git a/packages/module/release.config.js b/packages/module/release.config.js index 1322305f..aad8b663 100644 --- a/packages/module/release.config.js +++ b/packages/module/release.config.js @@ -1,5 +1,9 @@ module.exports = { - branches: [{ name: 'main', channel: 'prerelease' }, { name: 'v5', channel: 'alpha', prerelease: 'alpha' }], + branches: [ + 'do-not-delete', + { name: 'main', channel: 'prerelease-v4', range: '4.x' }, + { name: 'v5', channel: 'prerelease', prerelease: 'prerelease' } + ], analyzeCommits: { preset: 'angular' }, @@ -9,7 +13,8 @@ module.exports = { { preset: 'angular', releaseRules: [ - { type: 'chore', scope: 'deps', release: 'patch' } + { type: 'chore', scope: 'deps', release: 'patch' }, + { type: 'chore', scope: 'ci-release', release: 'patch' } ], }, ],