Skip to content

Commit

Permalink
fix: pr review Michael
Browse files Browse the repository at this point in the history
  • Loading branch information
lensbart committed Jun 24, 2022
1 parent d48bcc5 commit d89d17c
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 15 deletions.
4 changes: 1 addition & 3 deletions packages/remix-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
"@cloudflare/workers-types": "^3.4.0"
},
"peerDependencies": {
"@cloudflare/workers-types": "^2.0.0 || ^3.0.0",
"react": ">=16.8",
"react-dom": ">=16.8"
"@cloudflare/workers-types": "^2.0.0 || ^3.0.0"
},
"engines": {
"node": ">=14"
Expand Down
4 changes: 0 additions & 4 deletions packages/remix-deno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
"@remix-run/server-runtime": "1.6.1",
"mime": "^3.0.0"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"engines": {
"node": ">=14"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/remix-dev/cli/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export async function createApp({
npmConfig = execSync(`${packageManager} config get @remix-run:registry`, {
encoding: "utf8",
});
} catch (error: unknown) {
} catch {
// Yarn throws when it can't find a "@remix-run:registry" configuration setting
}
if (npmConfig?.startsWith("https://npm.remix.run")) {
Expand Down
4 changes: 1 addition & 3 deletions packages/remix-dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@
"type-fest": "^2.12.2"
},
"peerDependencies": {
"@remix-run/serve": "1.5.1",
"react": ">=16.8",
"react-dom": ">=16.8"
"@remix-run/serve": "1.5.1"
},
"peerDependenciesMeta": {
"@remix-run/serve": {
Expand Down
4 changes: 0 additions & 4 deletions packages/remix-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@
"@types/cookie-signature": "^1.0.3",
"@types/source-map-support": "^0.5.4"
},
"peerDependencies": {
"react": ">=16.8",
"react-dom": ">=16.8"
},
"engines": {
"node": ">=14"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/remix-server-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@
"react": ">=16.8",
"react-dom": ">=16.8"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"engines": {
"node": ">=14"
},
Expand Down

0 comments on commit d89d17c

Please sign in to comment.