Skip to content

Commit 8418343

Browse files
saitcakmakmeta-codesync[bot]
authored andcommitted
Pin Docusaurus packages to ~3.9.0 to avoid webpack incompatibility (meta-pytorch#3268)
Summary: - Changed `^3.9.0` to `~3.9.0` for all four Docusaurus packages (`docusaurus/core`, `docusaurus/preset-classic`, `docusaurus/module-type-aliases`, `docusaurus/types`). - This allows patch updates (3.9.x) but prevents the jump to 3.10.0 where a webpack/webpackbar incompatibility exists. - Docusaurus 3.10 (via webpackbar) passes deprecated options (`name`, `color`, `reporters`, `reporter`) to webpack's `ProgressPlugin`, which webpack 5.99+ rejects. Once Docusaurus fixes this upstream, we can switch back to `^3.10.x` or later. Pull Request resolved: meta-pytorch#3268 Test Plan: - [ ] Verify website builds successfully with `npm run build` in the `website/` directory. Reviewed By: esantorella Differential Revision: D100067455 Pulled By: saitcakmak fbshipit-source-id: 934bc905999e7d80bc61467dd902f5154e382d38
1 parent 1d5fd01 commit 8418343

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

website/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
"write-heading-ids": "docusaurus write-heading-ids"
1212
},
1313
"devDependencies": {
14-
"@docusaurus/module-type-aliases": "^3.9.0",
15-
"@docusaurus/types": "^3.9.0"
14+
"@docusaurus/module-type-aliases": "~3.9.0",
15+
"@docusaurus/types": "~3.9.0"
1616
},
1717
"dependencies": {
18-
"@docusaurus/core": "^3.9.0",
19-
"@docusaurus/preset-classic": "^3.9.0",
18+
"@docusaurus/core": "~3.9.0",
19+
"@docusaurus/preset-classic": "~3.9.0",
2020
"bl": "^6.0.0",
2121
"clsx": "^1.1.1",
2222
"on-headers": "^1.1.0",

0 commit comments

Comments
 (0)