Skip to content

Commit 1100254

Browse files
committed
fix(react-templates): add react-templates
1 parent 65ebcf7 commit 1100254

File tree

4 files changed

+13
-16
lines changed

4 files changed

+13
-16
lines changed

packages/documentation-framework/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@
7474
},
7575
"peerDependencies": {
7676
"@patternfly/patternfly": "6.0.0-alpha.117",
77-
"@patternfly/react-code-editor": "6.0.0-alpha.50",
78-
"@patternfly/react-core": "6.0.0-alpha.50",
79-
"@patternfly/react-table": "6.0.0-alpha.50",
77+
"@patternfly/react-code-editor": "6.0.0-alpha.51",
78+
"@patternfly/react-core": "6.0.0-alpha.51",
79+
"@patternfly/react-table": "6.0.0-alpha.51",
8080
"react": "^17.0.0 || ^18.0.0",
8181
"react-dom": "^17.0.0 || ^18.0.0"
8282
}

packages/documentation-framework/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@patternfly/react-topology": "5.1.0",
2020
"@patternfly/quickstarts": "5.1.0",
2121
"@patternfly/react-virtualized-extension": "5.1.0",
22-
"@patternfly/react-templates": "^1.0.0-alpha.0"
22+
"@patternfly/react-templates": "^1.0.0-alpha.1"
2323
}
2424
},{
2525
"name": "5.2.2",

packages/documentation-site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"screenshots": "pf-docs-framework screenshots"
1818
},
1919
"dependencies": {
20-
"@patternfly/documentation-framework": "6.0.0-alpha.20",
20+
"@patternfly/documentation-framework": "6.0.0-alpha.21",
2121
"@patternfly/quickstarts": "^5.1.0",
2222
"@patternfly/react-catalog-view-extension": "5.0.0",
2323
"@patternfly/react-console": "5.0.0",

packages/documentation-site/patternfly-docs/patternfly-docs.source.js

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,9 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
7979
const reactDragDropPath = require
8080
.resolve("@patternfly/react-drag-drop/package.json")
8181
.replace("package.json", "src");
82-
// TODO: add back once PF react rebase is done
83-
// const reactTemplatesPath = require
84-
// .resolve("@patternfly/react-templates/package.json")
85-
// .replace("package.json", "src");
82+
const reactTemplatesPath = require
83+
.resolve("@patternfly/react-templates/package.json")
84+
.replace("package.json", "src");
8685

8786
const reactTopologyPath = require
8887
.resolve("@patternfly/react-topology/package.json")
@@ -94,8 +93,7 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
9493
sourceProps(path.join(reactChartsPath, "/**/*.tsx"), reactPropsIgnore);
9594
sourceProps(path.join(reactDragDropPath, "/**/*.tsx"), reactPropsIgnore);
9695
sourceProps(path.join(reactTopologyPath, "/**/*.tsx"), reactPropsIgnore);
97-
// TODO: add back once PF react rebase is done
98-
// sourceProps(path.join(reactTemplatesPath, "/**/*.tsx"), reactPropsIgnore);
96+
sourceProps(path.join(reactTemplatesPath, "/**/*.tsx"), reactPropsIgnore);
9997

10098
// React MD
10199
sourceMD(path.join(reactCorePath, "/components/**/examples/*.md"), "react");
@@ -131,11 +129,10 @@ module.exports = (sourceMD, sourceProps, sourceFunctionDocs) => {
131129
sourceMD(path.join(reactDragDropPath, "/**/examples/*.md"), "react-next");
132130

133131
// Templates MD
134-
// TODO: add back once PF react rebase is done
135-
// sourceMD(
136-
// path.join(reactTemplatesPath, "/**/examples/*.md"),
137-
// "react-templates"
138-
// );
132+
sourceMD(
133+
path.join(reactTemplatesPath, "/**/examples/*.md"),
134+
"react-templates"
135+
);
139136

140137
// React-topology MD
141138
sourceMD(path.join(reactTopologyPath, "/**/*.md"), "extensions");

0 commit comments

Comments
 (0)