Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: macdonst <[email protected]>
  • Loading branch information
macdonst committed May 21, 2024
1 parent aff343d commit 8170943
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 30 deletions.
16 changes: 16 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const arc = require('@architect/eslint-config')

module.exports = [
...arc,
{
ignores: [
'.nyc_output/',
'arc-proxy-*',
'coverage/',
'dist.js',
'scratch/',
'src/http/get-index',
'types/',
],
},
]
27 changes: 5 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,12 @@
},
"dependencies": {
"@colors/colors": "^1.6.0",
"cli-table3": "^0.6.3",
"esbuild": "^0.19.3",
"filesize": "^10.0.12"
"cli-table3": "^0.6.5",
"esbuild": "^0.21.3",
"filesize": "^10.1.2"
},
"devDependencies": {
"@architect/eslint-config": "^2.1.2",
"eslint": "^8.49.0"
},
"eslintConfig": {
"extends": "@architect/eslint-config",
"overrides": [
{
"files": [
"*"
],
"rules": {
"filenames/match-regex": [
"error",
"^[a-z0-9-_.$]+$",
true
]
}
}
]
"@architect/eslint-config": "^3.0.0",
"eslint": "^9.3.0"
}
}
2 changes: 1 addition & 1 deletion src/plugins/lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ function buildRoute (route, base, source) {
}

module.exports = {
buildRoute
buildRoute,
}
2 changes: 1 addition & 1 deletion src/plugins/lib/console.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ function printTable (routes, threshold) {
}

module.exports = {
printTable
printTable,
}
2 changes: 1 addition & 1 deletion src/plugins/lib/filesystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ function getAllFiles (dirPath, arrayOfFiles) {
}

module.exports = {
getAllFiles
getAllFiles,
}
2 changes: 1 addition & 1 deletion src/plugins/lib/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ async function readRoute (route) {
}

module.exports = {
readRoute
readRoute,
}
8 changes: 4 additions & 4 deletions src/plugins/performance-budget.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function calculateJavaScriptPayloadSize (routes, base) {
return {
route,
size,
delta: calculateDelta(route, size)
delta: calculateDelta(route, size),
}
}))
return payload
Expand Down Expand Up @@ -111,9 +111,9 @@ module.exports = {
let payloadRow = budget.find(row => row[0] === 'payload-size')
JS_PAYLOAD_SIZE = payloadRow && payloadRow[1]
return {
JS_PAYLOAD_SIZE
JS_PAYLOAD_SIZE,
}
}
}
}
},
},
}

0 comments on commit 8170943

Please sign in to comment.