Skip to content

Commit

Permalink
fix: engines, react/react-dom overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
moki committed Oct 30, 2023
1 parent 2c30f36 commit d4b61a4
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 @@ -4,6 +4,10 @@
"description": "OpenAPI extension for Diplodoc transformer and builder",
"main": "plugin/cjs/index.min.js",
"types": "plugin/index.d.ts",
"engines": {
"node": ">=18",
"npm": ">=9.*"
},
"exports": {
".": {
"require": "./plugin/cjs/index.min.js",
Expand Down Expand Up @@ -92,6 +96,12 @@
"json-stringify-safe": "^5.0.1",
"slugify": "^1.6.6"
},
"overrides": {
"react-sortable-hoc": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
},
"keywords": [
"diplodoc",
"diplodoc-extension",
Expand Down

0 comments on commit d4b61a4

Please sign in to comment.