Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ echo "Doing a release..."
LOG=$(git log --format="%s" -1 | grep -Poe "#\d+")
PR_NUM=${LOG:1}

yarn run lerna publish --conventional-commits --create-release=github --no-verify-access --yes 2>&1 | tee lerna-output.txt
yarn run lerna publish --conventional-commits --conventional-prerelease --create-release=github --no-verify-access --no-private --dist-tag=alpha --yes 2>&1 | tee lerna-output.txt

if grep -i "Successfully published" lerna-output.txt; # Leave a Github comment
then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: release
on:
push:
branches:
- main
- v5
jobs:
build:
runs-on: ubuntu-latest
Expand Down
5 changes: 3 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
}
},
"version": "independent",
"useWorkspaces": true
}
"useWorkspaces": true,
"allowBranch": true
}
8 changes: 4 additions & 4 deletions packages/react-charts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@patternfly/react-charts",
"version": "6.94.15",
"version": "7.0.0-alpha.0",
"description": "This library provides a set of React chart components for use with the PatternFly reference implementation.",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
Expand All @@ -12,7 +12,7 @@
],
"publishConfig": {
"access": "public",
"tag": "prerelease"
"tag": "alpha"
},
"repository": {
"type": "git",
Expand All @@ -29,8 +29,8 @@
},
"homepage": "https://github.com/patternfly/patternfly-react#readme",
"dependencies": {
"@patternfly/react-styles": "^4.92.3",
"@patternfly/react-tokens": "^4.94.3",
"@patternfly/react-styles": "^5.0.0-alpha.0",
"@patternfly/react-tokens": "^5.0.0-alpha.0",
"hoist-non-react-statics": "^3.3.0",
"lodash": "^4.17.19",
"tslib": "^2.0.0",
Expand Down
10 changes: 5 additions & 5 deletions packages/react-code-editor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@patternfly/react-code-editor",
"version": "4.82.82",
"version": "5.0.0-alpha.0",
"description": "This package provides a PatternFly wrapper for the Monaco code editor\n",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
Expand All @@ -9,7 +9,7 @@
"sideEffects": false,
"publishConfig": {
"access": "public",
"tag": "prerelease"
"tag": "alpha"
},
"repository": {
"type": "git",
Expand All @@ -30,9 +30,9 @@
"clean": "rimraf dist"
},
"dependencies": {
"@patternfly/react-core": "^4.267.6",
"@patternfly/react-icons": "^4.93.3",
"@patternfly/react-styles": "^4.92.3",
"@patternfly/react-core": "^5.0.0-alpha.0",
"@patternfly/react-icons": "^5.0.0-alpha.0",
"@patternfly/react-styles": "^5.0.0-alpha.0",
"react-dropzone": "14.2.3",
"tslib": "^2.0.0"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/react-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@patternfly/react-core",
"version": "4.267.6",
"version": "5.0.0-alpha.0",
"description": "This library provides a set of common React components for use with the PatternFly reference implementation.",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
Expand All @@ -22,7 +22,7 @@
],
"publishConfig": {
"access": "public",
"tag": "prerelease"
"tag": "alpha"
},
"repository": {
"type": "git",
Expand All @@ -45,9 +45,9 @@
"subpaths": "node scripts/copySubpaths.js"
},
"dependencies": {
"@patternfly/react-icons": "^4.93.3",
"@patternfly/react-styles": "^4.92.3",
"@patternfly/react-tokens": "^4.94.3",
"@patternfly/react-icons": "^5.0.0-alpha.0",
"@patternfly/react-styles": "^5.0.0-alpha.0",
"@patternfly/react-tokens": "^5.0.0-alpha.0",
"focus-trap": "6.9.2",
"react-dropzone": "^14.2.3",
"tippy.js": "5.1.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const ComposableMultipleTypeaheadSelect: React.FunctionComponent = () =>
onClick={toggleMenuOpen}
onChange={onTextInputChange}
onKeyDown={onInputKeyDown}
id="typeahead-select-input"
id="multi-typeahead-select-input"
autoComplete="off"
innerRef={textInputRef}
>
Expand Down
21 changes: 8 additions & 13 deletions packages/react-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@patternfly/react-docs",
"description": "PatternFly React Docs",
"version": "5.103.21",
"version": "6.0.0-alpha.0",
"publishConfig": {
"access": "public",
"tag": "prerelease-v4"
Expand All @@ -23,18 +23,13 @@
},
"dependencies": {
"@patternfly/patternfly": "5.0.0-alpha.3",
"@patternfly/react-catalog-view-extension": "^4.93.15",
"@patternfly/react-charts": "^6.94.15",
"@patternfly/react-code-editor": "^4.82.82",
"@patternfly/react-core": "^4.267.6",
"@patternfly/react-icons": "^4.93.3",
"@patternfly/react-inline-edit-extension": "^4.86.85",
"@patternfly/react-log-viewer": "^4.87.77",
"@patternfly/react-styles": "^4.92.3",
"@patternfly/react-table": "^4.112.6",
"@patternfly/react-tokens": "^4.94.3",
"@patternfly/react-topology": "^4.90.38",
"@patternfly/react-virtualized-extension": "^4.88.82"
"@patternfly/react-charts": "^7.0.0-alpha.0",
"@patternfly/react-code-editor": "^5.0.0-alpha.0",
"@patternfly/react-core": "^5.0.0-alpha.0",
"@patternfly/react-icons": "^5.0.0-alpha.0",
"@patternfly/react-styles": "^5.0.0-alpha.0",
"@patternfly/react-table": "^5.0.0-alpha.0",
"@patternfly/react-tokens": "^5.0.0-alpha.0"
},
"devDependencies": {
"@patternfly/documentation-framework": "1.2.70",
Expand Down
13 changes: 12 additions & 1 deletion packages/react-docs/patternfly-a11y.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,18 @@ async function waitFor(page) {
}

const urls = Object.keys(fullscreenRoutes)
.map(key => (fullscreenRoutes[key].isFullscreenOnly ? key : fullscreenRoutes[key].path.replace(/\/react$/, '')))
.map(key => {
if (fullscreenRoutes[key].isFullscreenOnly) {
return key;
} else {
const path = fullscreenRoutes[key].path;
if (path.match(/\/demos\/.*\/react-demos$/g)) {
return path.replace(/\/react-demos$/, '');
} else {
return path.replace(/\/react$/, '');
}
}
})
.reduce((result, item) => (result.includes(item) ? result : [...result, item]), []);

module.exports = {
Expand Down
4 changes: 2 additions & 2 deletions packages/react-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@patternfly/react-icons",
"version": "4.93.3",
"version": "5.0.0-alpha.0",
"description": "PatternFly 4 Icons as React Components",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"sideEffects": false,
"publishConfig": {
"access": "public",
"tag": "prerelease"
"tag": "alpha"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-integration/demo-app-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"serve:demo-app": "node scripts/serve"
},
"dependencies": {
"@patternfly/react-core": "^4.267.6",
"@patternfly/react-core": "^5.0.0-alpha.0",
"react": "^18",
"react-dom": "^18",
"react-router": "^5.3.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-styles/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@patternfly/react-styles",
"version": "4.92.3",
"version": "5.0.0-alpha.0",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
Expand All @@ -12,7 +12,7 @@
"author": "Red Hat",
"publishConfig": {
"access": "public",
"tag": "prerelease"
"tag": "alpha"
},
"scripts": {
"generate": "rimraf css && node scripts/writeClassMaps.js && node scripts/copyStyles.js",
Expand Down
12 changes: 6 additions & 6 deletions packages/react-table/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@patternfly/react-table",
"version": "4.112.6",
"version": "5.0.0-alpha.0",
"description": "This library provides a set of React table components for use with the PatternFly 4",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
Expand All @@ -16,7 +16,7 @@
"sideEffects": false,
"publishConfig": {
"access": "public",
"tag": "prerelease"
"tag": "alpha"
},
"repository": {
"type": "git",
Expand All @@ -39,10 +39,10 @@
"subpaths": "node scripts/copySubpaths.js"
},
"dependencies": {
"@patternfly/react-core": "^4.267.6",
"@patternfly/react-icons": "^4.93.3",
"@patternfly/react-styles": "^4.92.3",
"@patternfly/react-tokens": "^4.94.3",
"@patternfly/react-core": "^5.0.0-alpha.0",
"@patternfly/react-icons": "^5.0.0-alpha.0",
"@patternfly/react-styles": "^5.0.0-alpha.0",
"@patternfly/react-tokens": "^5.0.0-alpha.0",
"lodash": "^4.17.19",
"tslib": "^2.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/react-tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@patternfly/react-tokens",
"version": "4.94.3",
"version": "5.0.0-alpha.0",
"description": "This library provides access to the design tokens of PatternFly 4 from JavaScript",
"main": "dist/js/index.js",
"module": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"sideEffects": false,
"publishConfig": {
"access": "public",
"tag": "prerelease"
"tag": "alpha"
},
"repository": {
"type": "git",
Expand Down
Loading