Skip to content

Commit

Permalink
Add prepublishonly to addressestools 2 (#85)
Browse files Browse the repository at this point in the history
* Add prepublishonly to addressestools 2

* update text

* remove exit 1
  • Loading branch information
andresaiello authored Apr 19, 2023
1 parent 73fe6df commit 724cc0a
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
- name: Install Dependencies
run: yarn

# This expect to have a script called g:prepublishOnly on every package
- name: Generate dist
run: yarn g:prepublishOnly

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"scripts": {
"clean": "yarn workspaces foreach -pv run clean",
"compile": "yarn workspaces foreach -pv run compile",
"g:prepublishOnly": "yarn workspaces foreach -pv run prepublishOnly",
"lint:fix": "npx eslint . --ext .js,.ts --fix",
"lint": "npx eslint . --ext .js,.ts",
"slither": "npx ts-node ./scripts/slither.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/addresses-tools/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zetachain/addresses-tools",
"version": "0.0.5",
"version": "0.0.6",
"license": "MIT",
"author": "zetachain",
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions packages/example-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"scripts": {
"clean": "npx hardhat clean",
"compile": "npx hardhat compile",
"prepublishOnly": "echo 'This package has no prepublishOnly tasks.'",
"multi-chain-swap:deploy-local": "ZETA_NETWORK=troy EXECUTE_PROGRAMMATICALLY=true npx hardhat run scripts/multi-chain-swap/deploy.ts --network hardhat",
"multi-chain-swap:deploy": "ZETA_NETWORK=athens EXECUTE_PROGRAMMATICALLY=true npx hardhat run scripts/multi-chain-swap/deploy.ts",
"lint:fix": "npm run lint:js:fix && npm run lint:sol:fix",
Expand Down
1 change: 1 addition & 0 deletions packages/interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"prepublishOnly": "echo 'This package has no prepublishOnly tasks.'",
"tsc:watch": "npx tsc --watch"
}
}
1 change: 1 addition & 0 deletions packages/protocol-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"clean": "npx hardhat clean",
"compile": "npx hardhat compile",
"deploy": "EXECUTE_PROGRAMMATICALLY=true npx hardhat run scripts/deploy.ts",
"prepublishOnly": "echo 'This package has no prepublishOnly tasks.'",
"deploy-local": "ZETA_NETWORK=troy EXECUTE_PROGRAMMATICALLY=true npx hardhat run scripts/deploy.ts --network hardhat",
"lint:fix": "npm run lint:js:fix && npm run lint:sol:fix",
"lint:js:fix": "eslint --ext .js,.ts . --fix",
Expand Down
1 change: 1 addition & 0 deletions packages/zeta-app-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"scripts": {
"clean": "npx hardhat clean",
"compile": "npx hardhat compile",
"prepublishOnly": "echo 'This package has no prepublishOnly tasks.'",
"lint:fix": "npm run lint:js:fix && npm run lint:sol:fix",
"lint:js:fix": "eslint --ext .js,.ts . --fix",
"lint:js": "eslint --ext .js,.ts .",
Expand Down
1 change: 1 addition & 0 deletions packages/zevm-example-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"scripts": {
"clean": "npx hardhat clean",
"compile": "npx hardhat compile",
"prepublishOnly": "echo 'This package has no prepublishOnly tasks.'",
"multi-chain-swap:deploy-local": "ZETA_NETWORK=troy EXECUTE_PROGRAMMATICALLY=true npx hardhat run scripts/multi-chain-swap/deploy.ts --network hardhat",
"multi-chain-swap:deploy": "ZETA_NETWORK=athens EXECUTE_PROGRAMMATICALLY=true npx hardhat run scripts/multi-chain-swap/deploy.ts",
"lint:fix": "npm run lint:js:fix && npm run lint:sol:fix",
Expand Down
1 change: 1 addition & 0 deletions packages/zevm-protocol-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"scripts": {
"clean": "npx hardhat clean",
"compile": "npx hardhat compile",
"prepublishOnly": "echo 'This package has no prepublishOnly tasks.'",
"multi-chain-swap:deploy-local": "ZETA_NETWORK=troy EXECUTE_PROGRAMMATICALLY=true npx hardhat run scripts/multi-chain-swap/deploy.ts --network hardhat",
"multi-chain-swap:deploy": "ZETA_NETWORK=athens EXECUTE_PROGRAMMATICALLY=true npx hardhat run scripts/multi-chain-swap/deploy.ts",
"lint:fix": "npm run lint:js:fix && npm run lint:sol:fix",
Expand Down

0 comments on commit 724cc0a

Please sign in to comment.