Skip to content

Commit 541b768

Browse files
committed
chore: upgrade Yarn to the latest version
Signed-off-by: Jon Koops <[email protected]>
1 parent 3d437f9 commit 541b768

File tree

11 files changed

+19474
-14525
lines changed

11 files changed

+19474
-14525
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
- uses: actions/setup-node@v1
22
with:
33
node-version: "20"
4+
- name: Enable Corepack
5+
run: corepack enable
46
- uses: actions/cache@v2
57
id: yarn-cache
68
name: Load npm deps from cache
79
with:
810
path: "**/node_modules"
911
key: ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
10-
- run: yarn install --frozen-lockfile
12+
- run: yarn install --immutable
1113
if: steps.yarn-cache.outputs.cache-hit != 'true'
1214
# v5 build
1315
- uses: actions/cache@v2

.github/workflows/pr-preview.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ jobs:
1919
- uses: actions/setup-node@v1
2020
with:
2121
node-version: "20"
22+
- name: Enable Corepack
23+
run: corepack enable
2224
- uses: actions/cache@v2
2325
id: yarn-cache
2426
name: Load npm deps from cache
2527
with:
2628
path: "**/node_modules"
2729
key: ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
28-
- run: yarn install --frozen-lockfile
30+
- run: yarn install --immutable
2931
if: steps.yarn-cache.outputs.cache-hit != 'true'
3032
# build
3133
- uses: actions/cache@v2

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ jobs:
2222
- uses: actions/setup-node@v1
2323
with:
2424
node-version: "20"
25+
- name: Enable Corepack
26+
run: corepack enable
2527
- uses: actions/cache@v2
2628
id: yarn-cache
2729
name: Load npm deps from cache
2830
with:
2931
path: "**/node_modules"
3032
key: ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
31-
- run: yarn install --frozen-lockfile
33+
- run: yarn install --immutable
3234
if: steps.yarn-cache.outputs.cache-hit != 'true'
3335
# v6 build
3436
- uses: actions/cache@v2

.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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ 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

99
A Node version greater than 18.16.0 is also required.
1010

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@
3030
]
3131
},
3232
"devDependencies": {
33+
"@octokit/rest": "^19.0.7",
3334
"@patternfly/patternfly": "^6.1.0-prerelease.2",
3435
"@patternfly/react-code-editor": "^6.0.0",
3536
"@patternfly/react-core": "^6.1.0-prerelease.2",
3637
"@patternfly/react-table": "^6.0.0",
37-
"@octokit/rest": "^19.0.7",
3838
"glob": "^8.1.0",
3939
"lerna": "^6.4.1",
40-
"surge": "^0.23.1",
4140
"react": "^18",
42-
"react-dom": "^18"
41+
"react-dom": "^18",
42+
"surge": "^0.23.1"
4343
},
4444
"resolutions": {
4545
"node-sass": ">=6.0.1"
4646
},
47-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
47+
"packageManager": "yarn@4.5.1+sha512.341db9396b6e289fecc30cd7ab3af65060e05ebff4b3b47547b278b9e67b08f485ecd8c79006b405446262142c7a38154445ef7f17c1d5d1de7d90bf9ce7054d"
4848
}

packages/documentation-framework/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"version": "6.0.10",
55
"author": "Red Hat",
66
"license": "MIT",
7-
"private": false,
87
"bin": {
98
"pf-docs-framework": "scripts/cli/cli.js"
109
},

packages/documentation-site/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,41 +17,41 @@
1717
"screenshots": "pf-docs-framework screenshots"
1818
},
1919
"dependencies": {
20+
"@patternfly/design-tokens": "1.13.0",
2021
"@patternfly/documentation-framework": "6.0.8",
22+
"@patternfly/quickstarts": "6.0.0",
2123
"@patternfly/react-catalog-view-extension": "6.0.0",
24+
"@patternfly/react-component-groups": "6.0.0",
2225
"@patternfly/react-console": "6.0.0",
2326
"@patternfly/react-docs": "7.0.0",
2427
"@patternfly/react-log-viewer": "6.0.0",
2528
"@patternfly/react-topology": "6.0.1",
2629
"@patternfly/react-user-feedback": "6.0.0",
27-
"@patternfly/react-component-groups": "6.0.0",
2830
"@patternfly/react-virtualized-extension": "6.0.0",
29-
"@patternfly/quickstarts": "6.0.0",
3031
"@patternfly/virtual-assistant": "2.0.2",
31-
"@patternfly/design-tokens": "1.13.0",
3232
"react": "^17.0.0 || ^18.0.0",
3333
"react-dom": "^17.0.0 || ^18.0.0",
3434
"showdown": "^2.1.0"
3535
},
3636
"devDependencies": {
3737
"@patternfly/patternfly-a11y": "5.0.0",
38+
"classnames": "^2.2.5",
3839
"fs-extra": "^11.1.0",
3940
"glob": "^8.1.0",
4041
"react-jss": "^10.9.2",
4142
"react-router": "^6.3.0",
4243
"react-router-dom": "^6.3.0",
43-
"classnames": "^2.2.5",
44+
"victory-bar": "^37.1.1",
4445
"victory-core": "^37.1.1",
45-
"victory-scatter": "^37.1.1",
46-
"victory-pie": "^37.1.1",
47-
"victory-stack": "^37.1.1",
48-
"victory-legend": "^37.1.1",
49-
"victory-line": "^37.1.1",
50-
"victory-group": "^37.1.1",
51-
"victory-voronoi-container": "^37.1.1",
5246
"victory-create-container": "^37.1.1",
5347
"victory-cursor-container": "^37.1.1",
48+
"victory-group": "^37.1.1",
49+
"victory-legend": "^37.1.1",
50+
"victory-line": "^37.1.1",
51+
"victory-pie": "^37.1.1",
52+
"victory-scatter": "^37.1.1",
53+
"victory-stack": "^37.1.1",
5454
"victory-tooltip": "^37.1.1",
55-
"victory-bar": "^37.1.1"
55+
"victory-voronoi-container": "^37.1.1"
5656
}
5757
}

packages/documentation-site/patternfly-docs/content/get-started/develop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ In order to develop with PatternFly, you will need to:
1313

1414
1. [Learn about our design token system](/tokens/about-tokens), which enables you to build interfaces with consistent PatternFly styling, including colors, shadows, spacing, and more.
1515

16-
1. Install a package manager to help you install, update, and configure all necessary PatternFly packages. We recommend [npm](https://nodejs.org/en/download) or [Yarn](https://yarnpkg.com/en/docs/getting-started).
16+
1. Install a package manager to help you install, update, and configure all necessary PatternFly packages. We recommend [npm](https://nodejs.org/en/download) or [Yarn](https://yarnpkg.com/getting-started).
1717

1818
1. Configure your environment to get started with our [React](#develop-with-react) and/or [HTML/CSS](#develop-with-htmlcss) libraries.
1919

0 commit comments

Comments
 (0)