Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade Yarn to the latest version #4413

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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/workflows-src/partials/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
with:
node-version: 22
- run: corepack enable
- run: yarn install --frozen-lockfile
- run: yarn install --immutable
# v5 build
- uses: actions/cache@v2
id: site-cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
node-version: 22
- run: corepack enable
- run: yarn install --frozen-lockfile
- run: yarn install --immutable
# build
- uses: actions/cache@v2
id: site-cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
node-version: 22
- run: corepack enable
- run: yarn install --frozen-lockfile
- run: yarn install --immutable
# v6 build
- uses: actions/cache@v2
id: site-cache
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,13 @@ static

size-plugin.json
**/generated/**/*.js

# Yarn
# See: https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The PatternFly Org is the source for the official documentation for PatternFly.

## Development

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

A Node version 22 or greater is also required.

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

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

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`.

### Deploy

When you submit a PR, previews should be automatically generated for you and uploaded as PR comments. This takes between 5-10 minutes.
Expand Down
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"version": "0.0.1",
"main": "index.js",
"license": "MIT",
"packageManager": "[email protected]+sha512.3003a14012e2987072d244c720506549c1aab73ee728208f1b2580a9fd67b92d61ba6b08fe93f6dce68fd771e3af1e59a0afa28dd242dd0940d73b95fedd4e90",
"scripts": {
"analyze": "yarn workspace patternfly-org analyze",
"develop": "yarn workspace patternfly-org develop",
Expand All @@ -24,25 +25,22 @@
},
"workspaces": {
"packages": [
"packages/ast-helpers",
"packages/documentation-framework",
"packages/documentation-site"
"packages/*"
]
},
"devDependencies": {
"@octokit/rest": "^19.0.7",
"@patternfly/patternfly": "^6.1.0",
"@patternfly/react-code-editor": "^6.1.0",
"@patternfly/react-core": "^6.1.0",
"@patternfly/react-table": "^6.1.0",
"@octokit/rest": "^19.0.7",
"glob": "^8.1.0",
"lerna": "^6.4.1",
"surge": "^0.23.1",
"react": "^18",
"react-dom": "^18"
"react-dom": "^18",
"surge": "^0.23.1"
},
"resolutions": {
"node-sass": ">=6.0.1"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
}
1 change: 0 additions & 1 deletion packages/documentation-framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "6.5.0",
"author": "Red Hat",
"license": "MIT",
"private": false,
"bin": {
"pf-docs-framework": "scripts/cli/cli.js"
},
Expand Down
28 changes: 14 additions & 14 deletions packages/documentation-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,41 +17,41 @@
"screenshots": "pf-docs-framework screenshots"
},
"dependencies": {
"@patternfly/documentation-framework": "6.1.3",
"@patternfly/chatbot": "2.1.0",
"@patternfly/design-tokens": "1.13.0",
"@patternfly/documentation-framework": "workspace:*",
"@patternfly/quickstarts": "6.1.0",
"@patternfly/react-catalog-view-extension": "6.0.0",
"@patternfly/react-component-groups": "6.1.0",
"@patternfly/react-console": "6.0.0",
"@patternfly/react-docs": "7.1.0",
"@patternfly/react-log-viewer": "6.1.0",
"@patternfly/react-topology": "6.1.0",
"@patternfly/react-user-feedback": "6.0.0",
"@patternfly/react-component-groups": "6.1.0",
"@patternfly/react-virtualized-extension": "6.0.0",
"@patternfly/quickstarts": "6.1.0",
"@patternfly/chatbot": "2.1.0",
"@patternfly/design-tokens": "1.13.0",
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0",
"showdown": "^2.1.0"
},
"devDependencies": {
"@patternfly/patternfly-a11y": "5.0.0",
"classnames": "^2.2.5",
"fs-extra": "^11.1.0",
"glob": "^8.1.0",
"react-jss": "^10.9.2",
"react-router": "^6.3.0",
"react-router-dom": "^6.3.0",
"classnames": "^2.2.5",
"victory-bar": "^37.1.1",
"victory-core": "^37.1.1",
"victory-scatter": "^37.1.1",
"victory-pie": "^37.1.1",
"victory-stack": "^37.1.1",
"victory-legend": "^37.1.1",
"victory-line": "^37.1.1",
"victory-group": "^37.1.1",
"victory-voronoi-container": "^37.1.1",
"victory-create-container": "^37.1.1",
"victory-cursor-container": "^37.1.1",
"victory-group": "^37.1.1",
"victory-legend": "^37.1.1",
"victory-line": "^37.1.1",
"victory-pie": "^37.1.1",
"victory-scatter": "^37.1.1",
"victory-stack": "^37.1.1",
"victory-tooltip": "^37.1.1",
"victory-bar": "^37.1.1"
"victory-voronoi-container": "^37.1.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In order to develop with PatternFly, you will need to:

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.

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).
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).

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

Expand Down
Loading
Loading