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

Commit

Permalink
chore: create bundle during prepare step
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
achingbrain committed Mar 10, 2021
1 parent d521a06 commit 611b8a4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions packages/ipfs-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"url": "git+https://github.com/ipfs/js-ipfs.git"
},
"scripts": {
"prepare": "npm run build",
"build": "aegir build",
"test": "aegir test",
"lint": "aegir lint",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"url": "git+https://github.com/ipfs/js-ipfs.git"
},
"scripts": {
"prepare": "aegir build --no-bundle",
"prepare": "npm run build",
"build": "aegir build",
"lint": "aegir lint",
"test": "aegir test",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-grpc-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"url": "git+https://github.com/ipfs/js-ipfs.git"
},
"scripts": {
"prepare": "aegir build --no-bundle",
"prepare": "npm run build",
"build": "aegir build",
"test": "aegir test",
"lint": "aegir lint",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-http-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"url": "git+https://github.com/ipfs/js-ipfs.git"
},
"scripts": {
"prepare": "aegir build --no-bundle",
"prepare": "npm run build",
"build": "aegir build",
"test": "aegir test",
"test:node": "aegir test -t node",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-message-port-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"url": "git+https://github.com/ipfs/js-ipfs.git"
},
"scripts": {
"prepare": "aegir build --no-bundle",
"prepare": "npm run build",
"build": "aegir build",
"test": "echo 'Only interface tests live here'",
"test:interface:message-port-client": "aegir test -t browser --bail -f ./test/interface-message-port-client.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs-message-port-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"url": "git+https://github.com/ipfs/js-ipfs.git"
},
"scripts": {
"prepare": "aegir build --no-bundle",
"prepare": "npm run build",
"build": "aegir build",
"test": "aegir test",
"test:browser": "aegir test -t browser",
Expand Down
2 changes: 1 addition & 1 deletion packages/ipfs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"url": "git+https://github.com/ipfs/js-ipfs.git"
},
"scripts": {
"prepare": "aegir build --no-bundle",
"prepare": "npm run build",
"build": "aegir build",
"lint": "aegir lint",
"test": "echo 'Only interface tests live here'",
Expand Down

0 comments on commit 611b8a4

Please sign in to comment.