Skip to content

Commit 0302b1c

Browse files
committedNov 26, 2021
chore: skip building types during prepare
1 parent b5b241f commit 0302b1c

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎.aegir.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
module.exports = {
44
build: {
5-
bundlesizeMax: '121KB'
5+
bundlesizeMax: '121KB',
6+
types: false
67
}
78
}

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"bin": "src/bin.js",
99
"scripts": {
1010
"lint": "aegir lint",
11-
"prepare": "npm run build",
12-
"build": "npm run build:proto && npm run build:proto-types && aegir build --no-types",
11+
"prepare": "npm run build --types false",
12+
"build": "npm run build:proto && npm run build:proto-types && aegir build --types false",
1313
"build:proto": "pbjs -t static-module -w commonjs -r libp2p-peer-id --force-number --no-verify --no-delimited --no-create --no-beautify --no-defaults --lint eslint-disable -o src/proto.js ./src/proto.proto",
1414
"build:proto-types": "pbts -o src/proto.d.ts src/proto.js",
1515
"test": "aegir test",

0 commit comments

Comments
 (0)
Please sign in to comment.