Skip to content

Commit 064b9ba

Browse files
feat(API): update patternfly-doc-core to 1.15.4 (#4891)
* feat(API): update patternfly-doc-core to 1.15.4 * update to doc core 1.15.5 to resolve bugs found in 1.15.4
1 parent e26f52f commit 064b9ba

File tree

5 files changed

+516
-88
lines changed

5 files changed

+516
-88
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"build": "yarn workspace patternfly-org build && yarn copy",
1515
"build:extensions": "EXTENSIONS_ONLY=true PRERELEASE=true yarn build",
1616
"build:doc-core": "yarn workspace site build",
17+
"preview:doc-core": "yarn workspace site wrangler:preview",
1718
"build:ts": "yarn workspace patternfly-org build:ts",
1819
"build:ts:watch": "yarn build:ts --watch",
1920
"copy": "rm -rf build/patternfly-org/site && mkdir -p build/patternfly-org && cp -r packages/documentation-site/public build/patternfly-org/site",

packages/site/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# generated files
2+
.astro
3+
src/content.ts

packages/site/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@
1010
"build": "patternfly-doc-core build --props",
1111
"serve": "patternfly-doc-core serve",
1212
"sync": "patternfly-doc-core sync",
13-
"init:docs": "patternfly-doc-core init"
13+
"init:docs": "patternfly-doc-core init",
14+
"wrangler:preview": "wrangler pages dev"
1415
},
1516
"dependencies": {
16-
"@patternfly/patternfly-doc-core": "^1.15.3",
17+
"@patternfly/patternfly-doc-core": "^1.15.5",
1718
"astro": "^5.15.9"
1819
},
1920
"devDependencies": {
20-
"tsx": "^4.19.0"
21+
"tsx": "^4.19.0",
22+
"wrangler": "^4.20.0"
2123
}
2224
}

packages/site/wrangler.jsonc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"$schema": "node_modules/wrangler/config-schema.json",
33
"name": "patternfly-org",
4-
"main": "./dist/_worker.js/index.js",
54
"compatibility_date": "2025-06-17",
65
"compatibility_flags": ["nodejs_compat"],
76
"assets": {
8-
"binding": "ASSETS",
97
"directory": "./dist"
108
},
119
"observability": {
1210
"enabled": true
13-
}
11+
},
12+
"pages_build_output_dir": "./dist/docs"
1413
}

0 commit comments

Comments
 (0)