Skip to content

Commit 7e02782

Browse files
authored
fix(deps): move execa to prod (#283)
1 parent 27807d7 commit 7e02782

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ module.exports = {
1313
'no-await-in-loop': 0,
1414
'node/exports-style': 0,
1515
'node/global-require': 0,
16-
'node/no-unpublished-require': 0,
1716
'node/prefer-global/process': 0,
1817
'no-magic-numbers': 0,
1918
'no-promise-executor-return': 0,

package-lock.json

Lines changed: 2 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"chokidar": "^3.5.1",
6161
"commander": "^7.1.0",
6262
"debounce-fn": "^4.0.0",
63+
"execa": "^5.0.0",
6364
"find-cache-dir": "^3.3.1",
6465
"find-up": "^5.0.0",
6566
"fs-extra": "^9.1.0",
@@ -72,7 +73,6 @@
7273
"@netlify/eslint-config-node": "^2.6.7",
7374
"cpy": "^8.1.1",
7475
"cypress": "^7.0.0",
75-
"execa": "^5.0.0",
7676
"folder-hash": "^4.0.0",
7777
"husky": "^4.3.0",
7878
"jest": "^26.6.1",

src/lib/helpers/getSortedRedirects.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const getSortedRedirects = (redirects) => {
1111
// We cannot load `next` at the top-level because we validate whether the
1212
// site is using `next` inside `onPreBuild`.
1313
// Sort the "naked" routes
14+
// eslint-disable-next-line node/no-unpublished-require
1415
const { getSortedRoutes } = require('next/dist/next-server/lib/router/utils/sorted-routes')
1516
const sortedRoutes = getSortedRoutes(routesWithoutExtensions)
1617

0 commit comments

Comments
 (0)