From 06e3fbcbf433969d5ac880d82597f1fb04e4bbf1 Mon Sep 17 00:00:00 2001 From: Nicole Thoen Date: Tue, 14 Nov 2023 13:10:37 -0500 Subject: [PATCH 1/2] fix: add virtualized table to extensions staging (#3819) --- packages/documentation-site/package.json | 1 + .../patternfly-docs/patternfly-docs.source.js | 20 +++++-- yarn.lock | 56 ++++++++++++++++++- 3 files changed, 71 insertions(+), 6 deletions(-) diff --git a/packages/documentation-site/package.json b/packages/documentation-site/package.json index dd657a9a93..56d5e97c3e 100644 --- a/packages/documentation-site/package.json +++ b/packages/documentation-site/package.json @@ -26,6 +26,7 @@ "@patternfly/react-topology": "5.2.0-prerelease.1", "@patternfly/react-user-feedback": "5.0.0", "@patternfly/react-component-groups": "5.0.0-prerelease.5", + "@patternfly/react-virtualized-extension": "5.0.0", "react": "^17.0.0 || ^18.0.0", "react-dom": "^17.0.0 || ^18.0.0", "showdown": "^2.1.0" diff --git a/packages/documentation-site/patternfly-docs/patternfly-docs.source.js b/packages/documentation-site/patternfly-docs/patternfly-docs.source.js index ef5da0a183..0e22b34e2b 100644 --- a/packages/documentation-site/patternfly-docs/patternfly-docs.source.js +++ b/packages/documentation-site/patternfly-docs/patternfly-docs.source.js @@ -8,8 +8,8 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => { const contentBase = path.join(__dirname, '../patternfly-docs/content'); const reactPropsIgnore = ['**/*.test.tsx', '**/examples/*.tsx']; sourceMD(path.join(contentBase, 'extensions/**/*.md'), 'extensions'); - if (!(process.env.EXTENSIONS_ONLY === 'true')) { - + if (!(process.env.EXTENSIONS_ONLY === 'true')) { + sourceMD(path.join(contentBase, 'contribute/**/*.md'), 'pages-contribute'); sourceMD(path.join(contentBase, 'get-started/**/*.md'), 'pages-get-started'); sourceMD(path.join(contentBase, 'developer-resources/**/*.md'), 'developer-resources'); @@ -21,7 +21,6 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => { const galleryBase = path.join(__dirname, '../patternfly-docs/pages'); sourceMD(path.join(galleryBase, 'landing-pages/**/*.md'), 'landing-pages'); - // Theme pages const themePagesPath = require .resolve('@patternfly/documentation-framework/package.json') @@ -84,7 +83,7 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => { // React OUIA MD sourceMD(path.join(reactCorePath, '/**/helpers/OUIA/*.md'), 'react'); - } + } // EXTENSIONS: // Quickstarts extension @@ -112,7 +111,7 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => { sourceProps(path.join(consoleSrcPath, "/**/*.tsx"), reactPropsIgnore); sourceMD(path.join(consoleDocsPath, "/examples/*.md"), 'react'); - + // Log viewer extension const reactLogViewerPath = require .resolve('@patternfly/react-log-viewer/package.json') @@ -151,5 +150,16 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => { sourceMD(path.join(reactComponentGroupsBase, '/**/*.md'), 'react'); sourceMD(path.join(reactComponentGroupsPath, '/**/examples/*.md'), 'react'); sourceMD(path.join(reactComponentGroupsPath, '/**/design-guidelines/*.md'), 'design-guidelines'); + + const reactVirtualizedTablePath = require + .resolve('@patternfly/react-virtualized-extension/package.json') + .replace('package.json', 'src'); + + const reactVirtualizedTableBase = require + .resolve('@patternfly/react-virtualized-extension/package.json') + .replace('package.json', 'patternfly-docs/'); + + sourceProps(path.join(reactVirtualizedTablePath, '/**/*.tsx'), reactPropsIgnore); + sourceMD(path.join(reactVirtualizedTableBase, '/**/*.md'), 'react'); } } diff --git a/yarn.lock b/yarn.lock index 582b924069..0d32851925 100644 --- a/yarn.lock +++ b/yarn.lock @@ -964,6 +964,13 @@ dependencies: regenerator-runtime "^0.14.0" +"@babel/runtime@^7.7.2", "@babel/runtime@^7.8.7": + version "7.23.2" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.2.tgz#062b0ac103261d68a966c4c7baf2ae3e62ec3885" + integrity sha512-mM8eg4yl5D6i3lu2QKPuPH4FArvJ8KhTofbE7jwMUv9KX5mBvwPAqnV3MlyBNqdp9RyRKP6Yck8TrfYrPvX3bg== + dependencies: + regenerator-runtime "^0.14.0" + "@babel/template@^7.10.4", "@babel/template@^7.16.7", "@babel/template@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.18.6.tgz#1283f4993e00b929d6e2d3c72fdc9168a2977a31" @@ -2368,6 +2375,18 @@ "@patternfly/react-core" "^5.0.0" "@patternfly/react-icons" "^5.0.0" +"@patternfly/react-virtualized-extension@5.0.0": + version "5.0.0" + resolved "https://registry.yarnpkg.com/@patternfly/react-virtualized-extension/-/react-virtualized-extension-5.0.0.tgz#4f52e61c974a66d293a66b56f8cdce359c642585" + integrity sha512-1DWr5KbIuQojVKEkyQpYOj310A1zlH82twQoV783vsjaAwfo6GDKd8PBSzthA3z+F8p1Yx2bNjjdun0qABtZTQ== + dependencies: + "@patternfly/react-core" "^5.0.0" + "@patternfly/react-icons" "^5.0.0" + "@patternfly/react-styles" "^5.0.0" + linear-layout-vector "0.0.1" + react-virtualized "^9.22.5" + tslib "^2.5.2" + "@phenomnomnominal/tsquery@4.1.1": version "4.1.1" resolved "https://registry.yarnpkg.com/@phenomnomnominal/tsquery/-/tsquery-4.1.1.tgz#42971b83590e9d853d024ddb04a18085a36518df" @@ -4048,6 +4067,11 @@ clone@^1.0.2: resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= +clsx@^1.0.4: + version "1.2.1" + resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12" + integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg== + clsx@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.0.0.tgz#12658f3fd98fafe62075595a5c30e43d18f3d00b" @@ -5147,6 +5171,14 @@ dom-converter@^0.2.0: dependencies: utila "~0.4" +dom-helpers@^5.1.3: + version "5.2.1" + resolved "https://registry.yarnpkg.com/dom-helpers/-/dom-helpers-5.2.1.tgz#d9400536b2bf8225ad98fe052e029451ac40e902" + integrity sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA== + dependencies: + "@babel/runtime" "^7.8.7" + csstype "^3.0.2" + dom-serializer@^1.0.1: version "1.4.1" resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" @@ -7552,6 +7584,11 @@ libnpmpublish@^6.0.4: semver "^7.3.7" ssri "^9.0.0" +linear-layout-vector@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/linear-layout-vector/-/linear-layout-vector-0.0.1.tgz#398114d7303b6ecc7fd6b273af7b8401d8ba9c70" + integrity sha512-w+nr1ZOVFGyMhwr8JKo0YzqDc8C2Z7pc9UbTuJA4VG/ezlSFEx+7kNrfCYvq7JQ/jHKR+FWy6reNrkVVzm0hSA== + lines-and-columns@^1.1.6: version "1.1.6" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.1.6.tgz#1c00c743b433cd0a4e80758f7b64a57440d9ff00" @@ -9360,7 +9397,7 @@ promzard@^0.3.0: dependencies: read "1" -prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.8.1: +prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.1, prop-types@^15.6.2, prop-types@^15.7.2, prop-types@^15.8.1: version "15.8.1" resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== @@ -9645,6 +9682,18 @@ react-ssr-prepass@1.5.0: resolved "https://registry.yarnpkg.com/react-ssr-prepass/-/react-ssr-prepass-1.5.0.tgz#bc4ca7fcb52365e6aea11cc254a3d1bdcbd030c5" integrity sha512-yFNHrlVEReVYKsLI5lF05tZoHveA5pGzjFbFJY/3pOqqjGOmMmqx83N4hIjN2n6E1AOa+eQEUxs3CgRnPmT0RQ== +react-virtualized@^9.22.5: + version "9.22.5" + resolved "https://registry.yarnpkg.com/react-virtualized/-/react-virtualized-9.22.5.tgz#bfb96fed519de378b50d8c0064b92994b3b91620" + integrity sha512-YqQMRzlVANBv1L/7r63OHa2b0ZsAaDp1UhVNEdUaXI8A5u6hTpA5NYtUueLH2rFuY/27mTGIBl7ZhqFKzw18YQ== + dependencies: + "@babel/runtime" "^7.7.2" + clsx "^1.0.4" + dom-helpers "^5.1.3" + loose-envify "^1.4.0" + prop-types "^15.7.2" + react-lifecycles-compat "^3.0.4" + "react@^17.0.0 || ^18.0.0": version "18.2.0" resolved "https://registry.yarnpkg.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" @@ -11202,6 +11251,11 @@ tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4 resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== +tslib@^2.5.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" From 1b4d3dc3f2dcbb784bfbf0ef22359d396c296d7e Mon Sep 17 00:00:00 2001 From: patternfly-build Date: Tue, 14 Nov 2023 18:19:29 +0000 Subject: [PATCH 2/2] chore(release): releasing packages [ci skip] - @patternfly/ast-helpers@1.3.6 - @patternfly/documentation-framework@5.3.6 --- packages/ast-helpers/CHANGELOG.md | 11 +++++++++++ packages/ast-helpers/package.json | 2 +- packages/documentation-framework/CHANGELOG.md | 11 +++++++++++ packages/documentation-framework/package.json | 4 ++-- 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/packages/ast-helpers/CHANGELOG.md b/packages/ast-helpers/CHANGELOG.md index 4d9381cce1..ef6c7fe4f3 100644 --- a/packages/ast-helpers/CHANGELOG.md +++ b/packages/ast-helpers/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 1.3.6 (2023-11-14) + + +### Bug Fixes + +* add virtualized table to extensions staging ([#3819](https://github.com/patternfly/patternfly-org/issues/3819)) ([06e3fbc](https://github.com/patternfly/patternfly-org/commit/06e3fbcbf433969d5ac880d82597f1fb04e4bbf1)) + + + + + ## 1.3.5 (2023-11-13) diff --git a/packages/ast-helpers/package.json b/packages/ast-helpers/package.json index 085710621b..cf785b7829 100644 --- a/packages/ast-helpers/package.json +++ b/packages/ast-helpers/package.json @@ -1,7 +1,7 @@ { "name": "@patternfly/ast-helpers", "description": "Acorn AST helpers for working with live code", - "version": "1.3.5", + "version": "1.3.6", "author": "Red Hat", "license": "MIT", "publishConfig": { diff --git a/packages/documentation-framework/CHANGELOG.md b/packages/documentation-framework/CHANGELOG.md index 6a10113765..3da5be9718 100644 --- a/packages/documentation-framework/CHANGELOG.md +++ b/packages/documentation-framework/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## 5.3.6 (2023-11-14) + + +### Bug Fixes + +* add virtualized table to extensions staging ([#3819](https://github.com/patternfly/patternfly-org/issues/3819)) ([06e3fbc](https://github.com/patternfly/patternfly-org/commit/06e3fbcbf433969d5ac880d82597f1fb04e4bbf1)) + + + + + ## 5.3.5 (2023-11-13) diff --git a/packages/documentation-framework/package.json b/packages/documentation-framework/package.json index 5ecb5ae036..5505cda4fc 100644 --- a/packages/documentation-framework/package.json +++ b/packages/documentation-framework/package.json @@ -1,7 +1,7 @@ { "name": "@patternfly/documentation-framework", "description": "A framework to build documentation for PatternFly.", - "version": "5.3.5", + "version": "5.3.6", "author": "Red Hat", "license": "MIT", "private": false, @@ -17,7 +17,7 @@ "@babel/plugin-transform-react-jsx": "7.17.12", "@babel/preset-env": "7.18.2", "@mdx-js/util": "1.6.16", - "@patternfly/ast-helpers": "^1.3.5", + "@patternfly/ast-helpers": "^1.3.6", "@reach/router": "npm:@gatsbyjs/reach-router@1.3.9", "autoprefixer": "9.8.6", "babel-loader": "9.1.2",