Skip to content

Commit

Permalink
Merge pull request #312 from ethereum-ts/kk/add-release-task
Browse files Browse the repository at this point in the history
  • Loading branch information
krzkaczor authored Dec 4, 2020
2 parents 8f77b23 + 9dc40f5 commit da71427
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 14 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ package.json
**/dist/**
**/types/**
**/build/** # truffle artifacts
CHANGELOG.md
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@

- static typing - you will never call not existing method again
- IDE support - works with any IDE supporting Typescript
- extendible - work with many different APIs: `ethers.js v4`, `truffle v4`, `truffle v5`, `Web3.js v1`, `Web3.js v2` or
you can create your own target
- extendible - work with many different APIs: `ethers.js v4`, `truffle v4`, `truffle v5`, `Web3.js v1` or you can create
your own target
- frictionless - works with simple, JSON ABI files as well as with Truffle style ABIs

## Installation
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"test": "yarn compile-contracts && wsrun -mse -c test",
"test:fix": "yarn lint:fix && yarn test && yarn format:fix && yarn typecheck",
"no-git-changes": "./scripts/no-git-changes.sh",
"check-examples": "./scripts/check-examples.sh"
"check-examples": "./scripts/check-examples.sh",
"prerelease": "yarn lint && yarn format && yarn test && yarn typecheck",
"release": "yarn build && yarn changeset publish"
},
"devDependencies": {
"earljs": "^0.1.0",
Expand Down
1 change: 0 additions & 1 deletion packages/target-ethers-v4-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "1.0.0",
"license": "MIT",
"scripts": {
"prepublishOnly": "yarn lint && yarn test && yarn build",
"format": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --check \"./**/*.ts\"",
"format:fix": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --write \"./**/*.ts\"",
"lint": "eslint --ext .ts test",
Expand Down
1 change: 0 additions & 1 deletion packages/target-ethers-v4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"LICENSE"
],
"scripts": {
"prepublishOnly": "yarn lint && yarn format && yarn test && yarn typecheck && (cd ../.. && yarn build)",
"start": "ts-node -T ./src/index.ts",
"format": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --check \"./**/*.ts\"",
"format:fix": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --write \"./**/*.ts\"",
Expand Down
1 change: 0 additions & 1 deletion packages/target-ethers-v5-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "1.0.0",
"license": "MIT",
"scripts": {
"prepublishOnly": "yarn lint && yarn test && yarn build",
"format": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --check \"./**/*.ts\"",
"format:fix": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --write \"./**/*.ts\"",
"lint": "eslint --ext .ts test",
Expand Down
1 change: 0 additions & 1 deletion packages/target-ethers-v5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"LICENSE"
],
"scripts": {
"prepublishOnly": "yarn lint && yarn format && yarn test && yarn typecheck && (cd ../.. && yarn build)",
"start": "ts-node -T ./src/index.ts",
"format": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --check \"./**/*.ts\"",
"format:fix": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --write \"./**/*.ts\"",
Expand Down
1 change: 0 additions & 1 deletion packages/target-truffle-v4-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "1.0.0",
"license": "MIT",
"scripts": {
"prepublishOnly": "yarn lint && yarn test && yarn build",
"format": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --check \"./**/*.ts\"",
"format:fix": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --write \"./**/*.ts\"",
"lint": "eslint --ext .ts test",
Expand Down
1 change: 0 additions & 1 deletion packages/target-truffle-v4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"LICENSE"
],
"scripts": {
"prepublishOnly": "yarn lint && yarn format && yarn test && yarn typecheck && (cd ../.. && yarn build)",
"format": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --check \"./**/*.ts\"",
"format:fix": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --write \"./**/*.ts\"",
"lint": "eslint --ext .ts src",
Expand Down
1 change: 0 additions & 1 deletion packages/target-truffle-v5-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "1.0.0",
"license": "MIT",
"scripts": {
"prepublishOnly": "yarn lint && yarn test && yarn build",
"format": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --check \"./**/*.ts\"",
"format:fix": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --write \"./**/*.ts\"",
"lint": "eslint --ext .ts test",
Expand Down
1 change: 0 additions & 1 deletion packages/target-truffle-v5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"LICENSE"
],
"scripts": {
"prepublishOnly": "yarn lint && yarn format && yarn test && yarn typecheck && (cd ../.. && yarn build)",
"format": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --check \"./**/*.ts\"",
"format:fix": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --write \"./**/*.ts\"",
"lint": "eslint --ext .ts src",
Expand Down
1 change: 0 additions & 1 deletion packages/target-web3-v1-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"version": "1.0.0",
"license": "MIT",
"scripts": {
"prepublishOnly": "yarn lint && yarn test && yarn build",
"format": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --check \"./**/*.ts\"",
"format:fix": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --write \"./**/*.ts\"",
"lint": "eslint --ext .ts test",
Expand Down
1 change: 0 additions & 1 deletion packages/target-web3-v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"LICENSE"
],
"scripts": {
"prepublishOnly": "yarn lint && yarn format && yarn test && yarn typecheck && (cd ../.. && yarn build)",
"start": "ts-node -T ./src/index.ts",
"format": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --check \"./**/*.ts\"",
"format:fix": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --write \"./**/*.ts\"",
Expand Down
1 change: 0 additions & 1 deletion packages/typechain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"dist/**/*"
],
"scripts": {
"prepublishOnly": "yarn lint && yarn format && yarn test && yarn typecheck && (cd ../.. && yarn build)",
"start": "ts-node -T ./src/index.ts",
"format": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --check \"./**/*.ts\"",
"format:fix": "prettier --config ../../.prettierrc --ignore-path ../../.prettierignore --write \"./**/*.ts\"",
Expand Down

0 comments on commit da71427

Please sign in to comment.