Skip to content

Commit 13362ea

Browse files
Merge branch 'patternfly:main' into main
2 parents 299b94c + a0323db commit 13362ea

File tree

133 files changed

+22942
-15079
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+22942
-15079
lines changed

.github/workflows-src/partials/build.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
- uses: actions/setup-node@v1
1+
- uses: actions/setup-node@v4
22
with:
3-
node-version: "20"
4-
- uses: actions/cache@v2
5-
id: yarn-cache
6-
name: Load npm deps from cache
7-
with:
8-
path: "**/node_modules"
9-
key: ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
10-
- run: yarn install --frozen-lockfile
11-
if: steps.yarn-cache.outputs.cache-hit != 'true'
3+
node-version: 22
4+
- run: corepack enable
5+
- run: yarn install --immutable
126
# v5 build
13-
- uses: actions/cache@v2
7+
- uses: actions/cache@v4
148
id: site-cache
159
name: Load webpack cache
1610
with:

.github/workflows/pr-preview.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,13 @@ jobs:
1616
git fetch origin pull/$GH_PR_NUM/head:tmp
1717
git checkout tmp
1818
# Injected by generate-workflows.js
19-
- uses: actions/setup-node@v1
19+
- uses: actions/setup-node@v4
2020
with:
21-
node-version: "20"
22-
- uses: actions/cache@v2
23-
id: yarn-cache
24-
name: Load npm deps from cache
25-
with:
26-
path: "**/node_modules"
27-
key: ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
28-
- run: yarn install --frozen-lockfile
29-
if: steps.yarn-cache.outputs.cache-hit != 'true'
21+
node-version: 22
22+
- run: corepack enable
23+
- run: yarn install --immutable
3024
# build
31-
- uses: actions/cache@v2
25+
- uses: actions/cache@v4
3226
id: site-cache
3327
name: Load webpack cache
3428
with:

.github/workflows/release.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,13 @@ jobs:
1919
with:
2020
token: ${{ secrets.GH_TOKEN_REDALLEN }} # needs to be an admin token to get around branch protection
2121
# Injected by generate-workflows.js
22-
- uses: actions/setup-node@v1
22+
- uses: actions/setup-node@v4
2323
with:
24-
node-version: "20"
25-
- uses: actions/cache@v2
26-
id: yarn-cache
27-
name: Load npm deps from cache
28-
with:
29-
path: "**/node_modules"
30-
key: ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
31-
- run: yarn install --frozen-lockfile
32-
if: steps.yarn-cache.outputs.cache-hit != 'true'
24+
node-version: 22
25+
- run: corepack enable
26+
- run: yarn install --immutable
3327
# v6 build
34-
- uses: actions/cache@v2
28+
- uses: actions/cache@v4
3529
id: site-cache
3630
name: Load webpack cache
3731
with:

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,13 @@ static
3333

3434
size-plugin.json
3535
**/generated/**/*.js
36+
37+
# Yarn
38+
# See: https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
39+
.pnp.*
40+
.yarn/*
41+
!.yarn/patches
42+
!.yarn/plugins
43+
!.yarn/releases
44+
!.yarn/sdks
45+
!.yarn/versions

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ The PatternFly Org is the source for the official documentation for PatternFly.
44

55
## Development
66

7-
Development setup requires yarn. If you do not already have yarn installed on your system, see https://yarnpkg.com/en/.
7+
Development setup requires yarn. If you do not already have yarn installed on your system, see https://yarnpkg.com/getting-started.
88

9-
A Node version greater than 18.16.0 is also required.
9+
A Node version 22 or greater is also required.
1010

1111
### Live Reload Server
1212

@@ -28,8 +28,6 @@ The site can be built with:
2828

2929
The static assets get copied to build/patternfly-org.
3030

31-
If you see errors, make sure that the version of the `package.json` file in `packages/documentation-framework` matches the version of the `"@patternfly/documentation-framework"` dependency in the `package.json` file in `packages/documentation-site`.
32-
3331
### Deploy
3432

3533
When you submit a PR, previews should be automatically generated for you and uploaded as PR comments. This takes between 5-10 minutes.

package.json

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"version": "0.0.1",
55
"main": "index.js",
66
"license": "MIT",
7+
"packageManager": "[email protected]+sha512.3003a14012e2987072d244c720506549c1aab73ee728208f1b2580a9fd67b92d61ba6b08fe93f6dce68fd771e3af1e59a0afa28dd242dd0940d73b95fedd4e90",
78
"scripts": {
89
"analyze": "yarn workspace patternfly-org analyze",
910
"develop": "yarn workspace patternfly-org develop",
@@ -24,25 +25,22 @@
2425
},
2526
"workspaces": {
2627
"packages": [
27-
"packages/ast-helpers",
28-
"packages/documentation-framework",
29-
"packages/documentation-site"
28+
"packages/*"
3029
]
3130
},
3231
"devDependencies": {
33-
"@patternfly/patternfly": "^6.1.0-prerelease.2",
34-
"@patternfly/react-code-editor": "^6.0.0",
35-
"@patternfly/react-core": "^6.1.0-prerelease.2",
36-
"@patternfly/react-table": "^6.0.0",
3732
"@octokit/rest": "^19.0.7",
33+
"@patternfly/patternfly": "^6.1.0",
34+
"@patternfly/react-code-editor": "^6.1.0",
35+
"@patternfly/react-core": "^6.1.0",
36+
"@patternfly/react-table": "^6.1.0",
3837
"glob": "^8.1.0",
3938
"lerna": "^6.4.1",
40-
"surge": "^0.23.1",
4139
"react": "^18",
42-
"react-dom": "^18"
40+
"react-dom": "^18",
41+
"surge": "^0.23.1"
4342
},
4443
"resolutions": {
4544
"node-sass": ">=6.0.1"
46-
},
47-
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
45+
}
4846
}

0 commit comments

Comments
 (0)