Skip to content

Commit

Permalink
chore: add engines field to package.json (#8951)
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Brophy <[email protected]>
  • Loading branch information
MichaelDeBoey and brophdawg11 committed Sep 9, 2022
1 parent 53cd71c commit ab0da65
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 4 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@
"type-fest": "^2.13.0",
"typescript": "^4.7.3"
},
"engines": {
"node": ">=14"
},
"filesize": {
"packages/router/dist/router.js": {
"none": "100 kB"
Expand Down
5 changes: 4 additions & 1 deletion packages/react-router-dom-v5-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@
"CHANGELOG.md",
"LICENSE.md",
"README.md"
]
],
"engines": {
"node": ">=14"
}
}
5 changes: 4 additions & 1 deletion packages/react-router-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@
"server.d.ts",
"server.js",
"server.mjs"
]
],
"engines": {
"node": ">=14"
}
}
5 changes: 4 additions & 1 deletion packages/react-router-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,8 @@
"CHANGELOG.md",
"LICENSE.md",
"README.md"
]
],
"engines": {
"node": ">=14"
}
}
5 changes: 4 additions & 1 deletion packages/react-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@
"CHANGELOG.md",
"LICENSE.md",
"README.md"
]
],
"engines": {
"node": ">=14"
}
}
3 changes: 3 additions & 0 deletions packages/router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"*.ts",
"CHANGELOG.md"
],
"engines": {
"node": ">=14"
},
"publishConfig": {
"access": "public"
}
Expand Down

0 comments on commit ab0da65

Please sign in to comment.