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

Commit

Permalink
fix: build before reinstalling example deps (#3341)
Browse files Browse the repository at this point in the history
During the release, build the minified files and ts defs before installing
example deps, otherwise the symlinking breaks cross-package dependencies.
  • Loading branch information
achingbrain committed Oct 22, 2020
1 parent 66f2081 commit fdc19a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"release:pre:non-dirty-repo": "git diff --quiet",
"release:pre:update-contributors": "aegir release --lint=false --test=false --bump=false --build=false --changelog=false --commit=false --tag=false --push=false --ghrelease=false --docs=false --publish=false",
"release:pre:ignore-changes-to-lerna-config": "git update-index --assume-unchanged ./lerna.json",
"release:pre:build": "NODE_ENV=production npm run build -- --scope={ipfs-core,ipfs,ipfs-http-client,ipfs-message-port-*}",
"release:pre:add-examples": "json -I -f ./lerna.json -e \"this.packages.push('examples/*')\"",
"release:pre:add-hoisted-modules": "json -I -f ./lerna.json -e \"this.command.bootstrap.nohoist = ['ipfs-css', 'tachyons']\"",
"release:pre:reinstall": "npm run reset && npm i && rm -rf package-lock.json **/*/package-lock.json",
"release:pre:build": "NODE_ENV=production npm run build -- --scope={ipfs-core,ipfs,ipfs-http-client,ipfs-message-port-*}",
"release:pre:reinstall": "rm -rf node_modules */*/node_modules package-lock.json */*/package-lock.json && npm i && rm -rf package-lock.json */*/package-lock.json",
"release:publish": "lerna publish",
"docker:release": "run-s docker:release:*",
"docker:release:build": "docker build . --no-cache --tag js-ipfs:latest --file ./Dockerfile.latest",
Expand Down

0 comments on commit fdc19a4

Please sign in to comment.