Skip to content

Commit fee532d

Browse files
authored
fix: prod docs (#7523)
* Update Parcel to v2.13.3 * Move react to peerDependencies to ensure we only get one copy * constraints
1 parent a97b874 commit fee532d

File tree

6 files changed

+502
-494
lines changed

6 files changed

+502
-494
lines changed

packages/dev/codemods/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,12 @@
3232
"chalk": "^4.0.0",
3333
"execa": "^5.1.1",
3434
"jscodeshift": "^0.15.2",
35-
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0",
3635
"recast": "^0.23.9",
3736
"ts-node": "^10.9.2",
3837
"uuid": "^9.0.1"
3938
},
4039
"devDependencies": {
4140
"@types/jscodeshift": "^0.11.11",
42-
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0",
4341
"typescript": "^5.5.0"
4442
},
4543
"rsp": {

packages/dev/docs/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@
3131
"highlight.js": "9.18.1",
3232
"markdown-to-jsx": "^6.11.0",
3333
"quicklink": "^2.3.0",
34-
"react": "^18.2.0",
35-
"react-dom": "^18.2.0",
3634
"react-lowlight": "^2.0.0"
3735
},
36+
"peerDependencies": {
37+
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
38+
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
39+
},
3840
"alias": {
3941
"tailwind-starter": "../../../starters/tailwind/src"
4042
}

packages/dev/parcel-packager-ssg/package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
},
99
"dependencies": {
1010
"@parcel/plugin": "^2.0.0",
11-
"@parcel/utils": "^2.13.0",
12-
"react": "^18.0.0 || ^19.0.0",
13-
"react-dom": "^18.0.0 || ^19.0.0"
11+
"@parcel/utils": "^2.13.0"
12+
},
13+
"peerDependencies": {
14+
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1",
15+
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
1416
}
1517
}

packages/dev/parcel-transformer-mdx-docs/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
1414
"dprint-node": "^1.0.7",
1515
"js-yaml": "^3.13.1",
1616
"mdast-util-toc": "^6.1.0",
17-
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0",
1817
"remark-frontmatter": "^4.0.1",
1918
"remark-slug": "^7.0.1",
2019
"tree-sitter-highlight": "^1.0.1",
2120
"unist-util-flatmap": "^1.0.0",
2221
"unist-util-visit": "^4.0.0"
22+
},
23+
"peerDependencies": {
24+
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
2325
}
2426
}

packages/dev/parcel-transformer-mdx-storybook/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"dependencies": {
1010
"@mdx-js/mdx": "next",
1111
"@mdx-js/react": "next",
12-
"@parcel/plugin": "^2.0.0",
13-
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
12+
"@parcel/plugin": "^2.0.0"
13+
},
14+
"peerDependencies": {
15+
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
1416
}
1517
}

0 commit comments

Comments
 (0)