Skip to content

Commit

Permalink
fix(infra): engines, overrides react/react-dom
Browse files Browse the repository at this point in the history
  • Loading branch information
moki committed Oct 30, 2023
1 parent 500eef9 commit d041e09
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
4 changes: 4 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
"build",
"src/i18n"
],
"engines": {
"node": ">=18",
"npm": ">=9.*"
},
"exports": {
".": {
"import": {
Expand Down Expand Up @@ -116,6 +120,12 @@
"svgo": "2.8.0",
"typescript": "^5.2.2"
},
"overrides": {
"react-sortable-hoc": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"prettier --write",
Expand Down

0 comments on commit d041e09

Please sign in to comment.