diff --git a/packages/documentation-framework/package.json b/packages/documentation-framework/package.json index 936a50ea1b..0a80d1707e 100644 --- a/packages/documentation-framework/package.json +++ b/packages/documentation-framework/package.json @@ -43,8 +43,6 @@ "mdast-util-to-hast": "9.1.1", "mdurl": "1.0.1", "mini-css-extract-plugin": "2.7.5", - "monaco-editor": "0.34.1", - "monaco-editor-webpack-plugin": "7.0.1", "null-loader": "4.0.1", "parse-entities": "2.0.0", "path-browserify": "1.0.1", @@ -54,7 +52,6 @@ "puppeteer": "19.11.1", "puppeteer-cluster": "0.23.0", "react-docgen": "5.3.1", - "react-monaco-editor": "^0.51.0", "react-ssr-prepass": "1.5.0", "remark-footnotes": "1.0.0", "remark-frontmatter": "2.0.0", diff --git a/packages/documentation-framework/scripts/webpack/webpack.base.config.js b/packages/documentation-framework/scripts/webpack/webpack.base.config.js index 668c520a84..2b076d12c2 100644 --- a/packages/documentation-framework/scripts/webpack/webpack.base.config.js +++ b/packages/documentation-framework/scripts/webpack/webpack.base.config.js @@ -2,7 +2,6 @@ const path = require('path'); const webpack = require('webpack'); const { CleanWebpackPlugin } = require('clean-webpack-plugin'); const CopyWebpackPlugin = require('copy-webpack-plugin'); -const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin'); module.exports = (_env, argv) => { const { @@ -156,9 +155,6 @@ module.exports = (_env, argv) => { patterns: [ { from: path.join(__dirname, '../../assets'), to: 'assets' } ] - }), - new MonacoWebpackPlugin({ - globalAPI: true, }) ], stats: 'minimal' diff --git a/packages/documentation-site/package.json b/packages/documentation-site/package.json index 6248bcc3b4..1adfef6202 100644 --- a/packages/documentation-site/package.json +++ b/packages/documentation-site/package.json @@ -23,7 +23,7 @@ "@patternfly/react-console": "5.0.0", "@patternfly/react-docs": "7.0.0-alpha.37", "@patternfly/react-log-viewer": "5.1.0-prerelease.1", - "@patternfly/react-topology": "5.2.0-prerelease.3", + "@patternfly/react-topology": "5.2.0-prerelease.4", "@patternfly/react-user-feedback": "5.0.0", "@patternfly/react-component-groups": "5.1.0-prerelease.2", "@patternfly/react-virtualized-extension": "5.0.0", diff --git a/packages/documentation-site/patternfly-docs/patternfly-docs.source.js b/packages/documentation-site/patternfly-docs/patternfly-docs.source.js index 616ef6788d..4f070d76e7 100644 --- a/packages/documentation-site/patternfly-docs/patternfly-docs.source.js +++ b/packages/documentation-site/patternfly-docs/patternfly-docs.source.js @@ -56,6 +56,9 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => { const reactChartsPath = require .resolve('@patternfly/react-charts/package.json') .replace('package.json', 'src'); + const reactDragDropPath = require + .resolve('@patternfly/react-drag-drop/package.json') + .replace('package.json', 'src'); const reactTopologyPath = require .resolve('@patternfly/react-topology/package.json') @@ -65,6 +68,7 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => { sourceProps(path.join(reactTablePath, '/**/*.tsx'), reactPropsIgnore); sourceProps(path.join(reactCodeEditorPath, '/**/*.tsx'),reactPropsIgnore); sourceProps(path.join(reactChartsPath, '/**/*.tsx'),reactPropsIgnore); + sourceProps(path.join(reactDragDropPath, '/**/*.tsx'),reactPropsIgnore); sourceProps(path.join(reactTopologyPath, '/**/*.tsx'), reactPropsIgnore); // React MD @@ -85,6 +89,9 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => { // React-code-editor MD sourceMD(path.join(reactCodeEditorPath, '/**/examples/*.md'), 'react'); + // Drag drop MD + sourceMD(path.join(reactDragDropPath, '/**/examples/*.md'), 'react-next'); + // React-topology MD sourceMD(path.join(reactTopologyPath, '/**/*.md'), 'extensions'); diff --git a/scripts/latest-versions.sh b/scripts/latest-versions.sh index b9a332575a..efdc598433 100755 --- a/scripts/latest-versions.sh +++ b/scripts/latest-versions.sh @@ -7,6 +7,7 @@ packages=( @patternfly/react-component-groups @patternfly/react-console @patternfly/react-core + @patternfly/react-drag-drop @patternfly/react-icons @patternfly/react-log-viewer @patternfly/react-styles