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
4 changes: 3 additions & 1 deletion .github/workflows-src/partials/build.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
- uses: actions/setup-node@v1
with:
node-version: "20"
- name: Enable Corepack
run: corepack enable
- uses: actions/cache@v2
id: yarn-cache
name: Load npm deps from cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
- run: yarn install --frozen-lockfile
- run: yarn install --immutable
if: steps.yarn-cache.outputs.cache-hit != 'true'
# v5 build
- uses: actions/cache@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: "20"
- name: Enable Corepack
run: corepack enable
- uses: actions/cache@v2
id: yarn-cache
name: Load npm deps from cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
- run: yarn install --frozen-lockfile
- run: yarn install --immutable
if: steps.yarn-cache.outputs.cache-hit != 'true'
# build
- uses: actions/cache@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: "20"
- name: Enable Corepack
run: corepack enable
- uses: actions/cache@v2
id: yarn-cache
name: Load npm deps from cache
with:
path: "**/node_modules"
key: ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
- run: yarn install --frozen-lockfile
- run: yarn install --immutable
if: steps.yarn-cache.outputs.cache-hit != 'true'
# v6 build
- uses: actions/cache@v2
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
2 changes: 1 addition & 1 deletion 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 greater than 18.16.0 is also required.

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@
]
},
"devDependencies": {
"@octokit/rest": "^19.0.7",
"@patternfly/patternfly": "^6.1.0-prerelease.2",
"@patternfly/react-code-editor": "^6.0.0",
"@patternfly/react-core": "^6.1.0-prerelease.2",
"@patternfly/react-table": "^6.0.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": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
"packageManager": "yarn@4.5.1+sha512.341db9396b6e289fecc30cd7ab3af65060e05ebff4b3b47547b278b9e67b08f485ecd8c79006b405446262142c7a38154445ef7f17c1d5d1de7d90bf9ce7054d"
}
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.0.10",
"author": "Red Hat",
"license": "MIT",
"private": false,
"bin": {
"pf-docs-framework": "scripts/cli/cli.js"
},
Expand Down
24 changes: 12 additions & 12 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/design-tokens": "1.13.0",
"@patternfly/documentation-framework": "6.0.8",
"@patternfly/quickstarts": "6.0.0",
"@patternfly/react-catalog-view-extension": "6.0.0",
"@patternfly/react-component-groups": "6.0.0",
"@patternfly/react-console": "6.0.0",
"@patternfly/react-docs": "7.0.0",
"@patternfly/react-log-viewer": "6.0.0",
"@patternfly/react-topology": "6.0.1",
"@patternfly/react-user-feedback": "6.0.0",
"@patternfly/react-component-groups": "6.0.0",
"@patternfly/react-virtualized-extension": "6.0.0",
"@patternfly/quickstarts": "6.0.0",
"@patternfly/virtual-assistant": "2.0.2",
"@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