Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: patternfly/patternfly-react
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b44f6c31e0ab822af9626fd16912d4eb6ba01f3e
Choose a base ref
...
head repository: patternfly/patternfly-react
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f5feb0bf7c7dd131054c652328fbcf49a633873b
Choose a head ref
Loading
Showing 990 changed files with 23,371 additions and 79,356 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
node_modules
dist
__tests__
thirdparty
tsc_out
.out
.changelog
2 changes: 1 addition & 1 deletion .github/release.sh
Original file line number Diff line number Diff line change
@@ -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 --create-release=github --dist-tag=prerelease-v4 --no-verify-access --yes 2>&1 | tee lerna-output.txt

if grep -i "Successfully published" lerna-output.txt; # Leave a Github comment
then
5 changes: 5 additions & 0 deletions .github/workflows-src/partials/dist.yml
Original file line number Diff line number Diff line change
@@ -4,7 +4,12 @@
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
2 changes: 1 addition & 1 deletion .github/workflows/add-new-issues-to-project.yml
Original file line number Diff line number Diff line change
@@ -13,4 +13,4 @@ jobs:
- uses: actions/add-to-project@v0.3.0
with:
project-url: https://github.com/orgs/patternfly/projects/7
github-token: ${{ secrets.PF_ISSUES_PROJECT_SECRET }}
github-token: ${{ secrets.GH_PROJECTS }}
17 changes: 17 additions & 0 deletions .github/workflows/extensions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Add relevant issues to extensions project board

on:
issues:
types:
- labeled

jobs:
add-to-extensions:
if: github.event.label.name == 'extension'
name: Add issue to extensions board
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.3.0
with:
project-url: https://github.com/orgs/patternfly/projects/12
github-token: ${{ secrets.GH_PROJECTS }}
25 changes: 25 additions & 0 deletions .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
@@ -35,7 +35,12 @@ jobs:
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
@@ -114,7 +119,12 @@ jobs:
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
@@ -158,7 +168,12 @@ jobs:
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
@@ -213,7 +228,12 @@ jobs:
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
@@ -264,7 +284,12 @@ jobs:
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
32 changes: 31 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ name: release
on:
push:
branches:
- main
- v4
jobs:
build:
runs-on: ubuntu-latest
@@ -38,7 +38,12 @@ jobs:
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
@@ -117,7 +122,12 @@ jobs:
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
@@ -161,7 +171,12 @@ jobs:
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
@@ -216,7 +231,12 @@ jobs:
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
@@ -267,7 +287,12 @@ jobs:
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
@@ -316,7 +341,12 @@ jobs:
with:
path: |
packages/*/dist
packages/*/next
packages/*/deprecated
packages/*/components
packages/react-styles/css
packages/react-core/layouts
packages/react-core/helpers
key: ${{ runner.os }}-dist-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('yarn.lock', 'package.json', 'packages/*/*', '!packages/*/dist', '!packages/*/node_modules') }}
- name: Build dist
run: yarn build && yarn build:umd
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -27,15 +27,13 @@ Using PatternFly 3? Take a look at the [PatternFly 3 React component informatio
|   [@patternfly/react-styles](./packages/react-styles/README.md) | PatternFly CSS styles |
|   [@patternfly/react-tokens](./packages/react-tokens/README.md) | PatternFly CSS variable tokens |
| **:yellow_heart: Extension packages** *UXD supported* |
|   [@patternfly/react-log-viewer](./packages/react-log-viewer/README.md) | Virtualized log viewer component |
|   [@patternfly/react-log-viewer](https://github.com/patternfly/react-log-viewer/README.md) | Virtualized log viewer component |
| **:open_file_folder: Supporting packages** |
|   [@patternfly/react-docs](./packages/react-docs/README.md) | Gatsby documentation site for components |
|   [@patternfly/react-integration](./packages/react-integration/README.md) | Cypress integration tests |
| **:family: Extension packages** *community supported* |
|   [@patternfly/react-catalog-view-extension](./packages/react-catalog-view-extension/README.md) | Catalog view extension |
|   [@patternfly/react-virtualized-extension](./packages/react-virtualized-extension/README.md) | Table and list row virtualization extension |
|   [@patternfly/react-topology](./packages/react-topology/README.md) | Topology components |
|   [@patternfly/react-console](./packages/react-console/README.md) | Console components |
| **:x: Deprecated packages** |
|   [@patternfly/react-inline-edit-extension](./packages/react-inline-edit-extension/README.md) | Table inline edit extension |

8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -64,15 +64,16 @@
"react-dom": "^18",
"surge": "^0.23.1",
"ts-patch": "^1.4.2",
"typescript": "^4.0.0"
"typescript": "^4.7.4"
},
"scripts": {
"build": "yarn build:generate && yarn build:esm && yarn build:cjs",
"build": "yarn build:generate && yarn build:esm && yarn build:subpaths && yarn build:cjs",
"build:cjs": "tsc --build --verbose packages/tsconfig.cjs.json",
"build:esm": "tsc --build --verbose packages/tsconfig.json",
"build:integration": "lerna run build:demo-app --stream",
"build:docs": "yarn workspace @patternfly/react-docs build:docs",
"build:generate": "lerna run generate --parallel --stream",
"build:subpaths": "lerna run subpaths --parallel --stream",
"build:umd": "lerna run build:umd --parallel --stream",
"clean": "yarn clean:build && lerna run clean --parallel",
"clean:build": "rimraf .cache .eslintcache coverage",
@@ -88,7 +89,8 @@
"start": "yarn build && concurrently --kill-others \"yarn watch\" \"yarn workspace @patternfly/react-docs develop\"",
"start:cypress": "lerna run cypress:open",
"start:demo-app": "lerna run start:demo-app --stream",
"test": "jest packages",
"start:demo-app:hot": "lerna run start:demo-app:hot --stream",
"test": "TZ=EST jest packages",
"test:a11y": "lerna run test:a11y --stream",
"test:integration": "yarn workspace @patternfly/react-integration test:integration",
"uninstall": "find . -name node_modules -type d | xargs rm -rf",
2 changes: 0 additions & 2 deletions packages/react-catalog-view-extension/.npmignore

This file was deleted.

Loading