Skip to content

Commit

Permalink
fix: eliminate temporary deployment from package
Browse files Browse the repository at this point in the history
Turns out the documentation at https://docs.npmjs.com/cli/v6/using-npm/scripts
is wrong, and `prepublishOnly` is _not_ executed before `prepack`.
  • Loading branch information
danielattilasimon committed Apr 7, 2021
1 parent c760806 commit 382545d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"prepare:docs": "run-s docs",
"rebuild": "run-s prepare build",
"release": "run-s release:*",
"release:delete-dev-deployments": "yarn workspace @liquity/lib-ethers delete-dev-deployments",
"release:lib-base": "yarn workspace @liquity/lib-base semantic-release",
"release:lib-ethers": "yarn workspace @liquity/lib-ethers semantic-release",
"save-live-version": "yarn workspace @liquity/lib-ethers save-live-version",
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"scripts": {
"hardhat": "hardhat",
"check-live-version": "ts-node scripts/check-live-version.ts",
"prepublishOnly": "ts-node scripts/delete-dev-deployments.ts",
"delete-dev-deployments": "ts-node scripts/delete-dev-deployments.ts",
"prepare": "run-s prepare:*",
"prepare:deployments": "ts-node scripts/copy-deployments.ts",
"prepare:types": "ts-node scripts/generate-types.ts",
Expand Down

0 comments on commit 382545d

Please sign in to comment.