Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 611b8a4

Browse files
committed
chore: create bundle during prepare step
aegir release runs build then npm publish. npm publish runs prepare which removes the dist folder and creates type defs. We need typedefs and the bundle so just run the build step. This will make building take a little longer.
1 parent d521a06 commit 611b8a4

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

packages/ipfs-client/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"url": "git+https://github.com/ipfs/js-ipfs.git"
3131
},
3232
"scripts": {
33+
"prepare": "npm run build",
3334
"build": "aegir build",
3435
"test": "aegir test",
3536
"lint": "aegir lint",

packages/ipfs-core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"url": "git+https://github.com/ipfs/js-ipfs.git"
3939
},
4040
"scripts": {
41-
"prepare": "aegir build --no-bundle",
41+
"prepare": "npm run build",
4242
"build": "aegir build",
4343
"lint": "aegir lint",
4444
"test": "aegir test",

packages/ipfs-grpc-client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"url": "git+https://github.com/ipfs/js-ipfs.git"
3131
},
3232
"scripts": {
33-
"prepare": "aegir build --no-bundle",
33+
"prepare": "npm run build",
3434
"build": "aegir build",
3535
"test": "aegir test",
3636
"lint": "aegir lint",

packages/ipfs-http-client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"url": "git+https://github.com/ipfs/js-ipfs.git"
3636
},
3737
"scripts": {
38-
"prepare": "aegir build --no-bundle",
38+
"prepare": "npm run build",
3939
"build": "aegir build",
4040
"test": "aegir test",
4141
"test:node": "aegir test -t node",

packages/ipfs-message-port-client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"url": "git+https://github.com/ipfs/js-ipfs.git"
3131
},
3232
"scripts": {
33-
"prepare": "aegir build --no-bundle",
33+
"prepare": "npm run build",
3434
"build": "aegir build",
3535
"test": "echo 'Only interface tests live here'",
3636
"test:interface:message-port-client": "aegir test -t browser --bail -f ./test/interface-message-port-client.js",

packages/ipfs-message-port-server/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"url": "git+https://github.com/ipfs/js-ipfs.git"
3333
},
3434
"scripts": {
35-
"prepare": "aegir build --no-bundle",
35+
"prepare": "npm run build",
3636
"build": "aegir build",
3737
"test": "aegir test",
3838
"test:browser": "aegir test -t browser",

packages/ipfs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"url": "git+https://github.com/ipfs/js-ipfs.git"
2323
},
2424
"scripts": {
25-
"prepare": "aegir build --no-bundle",
25+
"prepare": "npm run build",
2626
"build": "aegir build",
2727
"lint": "aegir lint",
2828
"test": "echo 'Only interface tests live here'",

0 commit comments

Comments
 (0)