diff --git a/package.json b/package.json index dbbe46efd33..a09ea2b57f3 100644 --- a/package.json +++ b/package.json @@ -180,6 +180,10 @@ "workspaces": { "packages": [ "packages/*" + ], + "nohoist": [ + "**/gatsby*", + "@patternfly/react-docs/react*" ] }, "lint-staged": { diff --git a/packages/react-docs/.npmignore b/packages/react-docs/.npmignore new file mode 100644 index 00000000000..c1cd12ef3a1 --- /dev/null +++ b/packages/react-docs/.npmignore @@ -0,0 +1,3 @@ +.cache +.babelrc +.eslintrc \ No newline at end of file diff --git a/packages/react-docs/package.json b/packages/react-docs/package.json index 4044135810c..07a31aee102 100644 --- a/packages/react-docs/package.json +++ b/packages/react-docs/package.json @@ -1,8 +1,7 @@ { "name": "@patternfly/react-docs", - "private": true, "description": "Patternfly React Docs", - "version": "6.0.0", + "version": "1.0.0", "author": "Red Hat", "license": "Apache-2.0", "dependencies": { @@ -28,14 +27,6 @@ "build": "gatsby build", "develop": "gatsby develop" }, - "workspaces": { - "nohoist": [ - "@patternfly/patternfly-next", - "gatsby", - "react", - "react-dom" - ] - }, "browserslist": [ "last 2 versions", "not ie <= 11"