Skip to content

Commit

Permalink
feat!: specify "engines" in package.json
Browse files Browse the repository at this point in the history
Closes: #961
  • Loading branch information
subzero10 committed Feb 3, 2023
1 parent d656ed5 commit d0eb1a3
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 9 deletions.
3 changes: 3 additions & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=14"
}
}
3 changes: 3 additions & 0 deletions packages/gatsby-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@
"dependencies": {
"@honeybadger-io/js": "^4.9.3",
"@honeybadger-io/webpack": "^4.8.2"
},
"engines": {
"node": ">=14"
}
}
3 changes: 3 additions & 0 deletions packages/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=14"
}
}
3 changes: 3 additions & 0 deletions packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@
"react": "^16.13.1",
"react-native": "^0.63.3",
"typescript": "^4.3.5"
},
"engines": {
"node": ">=14"
}
}
9 changes: 4 additions & 5 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
"module": "dist/honeybadger-react.esm.js",
"unpkg": "dist/honeybadger-react.js",
"jsnext:main": "dist/honeybadger-react.esm.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"scripts": {
"test": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
Expand Down Expand Up @@ -53,5 +49,8 @@
},
"files": [
"dist"
]
],
"engines": {
"node": ">=14"
}
}
7 changes: 3 additions & 4 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@
"@honeybadger-io/js": "3.x || 4.x",
"vue": "2.x || 3.x"
},
"engines": {
"node": ">= 6.0.0",
"npm": ">= 3.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
Expand All @@ -82,5 +78,8 @@
"DOM"
]
}
},
"engines": {
"node": ">=14"
}
}
3 changes: 3 additions & 0 deletions packages/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,8 @@
},
"peerDependencies": {
"webpack": ">= 4.0.0"
},
"engines": {
"node": ">=14"
}
}

0 comments on commit d0eb1a3

Please sign in to comment.