Skip to content

Commit c23ba08

Browse files
committed
fix: aegir types
1 parent 5d36667 commit c23ba08

File tree

3 files changed

+231
-429
lines changed

3 files changed

+231
-429
lines changed

.aegir.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
const path = require('path')
2+
3+
/** @type {import('aegir').Options["build"]["config"]} */
24
const esbuild = {
35
inject: [path.join(__dirname, 'test/fixtures/node-globals.js')]
46
}
5-
module.exports = {
7+
8+
9+
/** @type {import('aegir').PartialOptions} */
10+
const config = {
611
tsRepo: true,
712
docs: {
813
entryPoint: "src/index.ts"
@@ -15,7 +20,9 @@ module.exports = {
1520
}
1621
},
1722
build: {
18-
bundlesizeMax: '228KB',
23+
bundlesizeMax: '214KB',
1924
config: esbuild
2025
}
2126
}
27+
28+
module.exports = config

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
"events": "^3.2.0",
4545
"microtime": "^3.0.0",
4646
"mocha": "^8.2.1",
47-
"sinon": "^9.2.4",
48-
"typescript": "^4.1.4"
47+
"sinon": "^9.2.4"
4948
},
5049
"dependencies": {
5150
"bcrypto": "^5.4.0",
@@ -71,7 +70,8 @@
7170
"@typescript-eslint/strict-boolean-expressions": "off"
7271
},
7372
"ignorePatterns": [
74-
"src/proto/payload.js"
73+
"src/proto/payload.js",
74+
"test/fixtures/node-globals.js"
7575
]
7676
}
7777
}

0 commit comments

Comments
 (0)