diff --git a/package.json b/package.json index 2dbf1a85774..9e4b472f057 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/patternfly/patternfly-react.git" }, "engines": { - "node": ">=14.0.0", + "node": ">=18.0.0", "yarn": ">=1.6.0" }, "keywords": [ @@ -90,7 +90,7 @@ "start:cypress": "lerna run cypress:open", "start:demo-app": "lerna run start:demo-app --stream", "start:demo-app:hot": "lerna run start:demo-app:hot --stream", - "test": "TZ=EST jest packages", + "test": "TZ=EST LC_ALL=en_US.UTF8 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", diff --git a/packages/react-core/CONTRIBUTING.md b/packages/react-core/CONTRIBUTING.md index 848b86bcb5d..70270504f64 100644 --- a/packages/react-core/CONTRIBUTING.md +++ b/packages/react-core/CONTRIBUTING.md @@ -62,7 +62,18 @@ $ git checkout -b my-branch -t upstream/main ComponentName.md - Component Docs ``` -4. Develop your component. After development is complete, ensure tests and lint standards pass. +4. Develop your component. + +While developing, you can run the patternfly-react workspace to view the component docs with live examples. + +**Note:** Be sure you are using node version >= 18.0.0 + +```bash +# Start up the workspace locally on port 8002 + yarn install && yarn start +``` + +5. After development is complete, ensure tests and lint standards pass. ```text $ yarn test