Skip to content

Commit

Permalink
fix: workspace script sharing (#86)
Browse files Browse the repository at this point in the history
fix: workspace script sharing (#86)
  • Loading branch information
TarikGul authored Apr 30, 2021
1 parent da1c2fb commit 207d0bb
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"scripts": {
"deploy": "yarn run build && lerna version --conventional-commits --create-release github && lerna publish from-package",
"build": "lerna run build",
"build:workspace": "cd $INIT_CWD && rimraf lib/ && substrate-exec-tsc -p tsconfig.build.json",
"lint": "substrate-dev-run-lint",
"test": "substrate-exec-jest",
"docs": "typedoc"
Expand Down
2 changes: 1 addition & 1 deletion packages/txwrapper-acala/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"node": ">=14"
},
"scripts": {
"build": "rimraf lib/ && substrate-exec-tsc -p tsconfig.build.json",
"build": "yarn build:workspace",
"test": "jest"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/txwrapper-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"node": ">=14"
},
"scripts": {
"build": "rimraf lib/ && substrate-exec-tsc -p tsconfig.build.json"
"build": "yarn build:workspace"
},
"dependencies": {
"@polkadot/api": "4.7.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/txwrapper-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"node": ">=14"
},
"scripts": {
"build": "substrate-exec-tsc -p tsconfig.build.json",
"build": "yarn build:workspace",
"polkadot": "node lib/polkadot",
"polkadotBatchAll": "node lib/polkadotBatchAll",
"mandala": "node lib/mandala"
Expand Down
2 changes: 1 addition & 1 deletion packages/txwrapper-orml/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"bugs": "https://github.com/paritytech/txwrapper-core/issues",
"homepage": "https://github.com/paritytech/txwrapper-core/tree/master/packages/txwrapper-orml#readme",
"scripts": {
"build": "rimraf lib/ && substrate-exec-tsc -p tsconfig.build.json"
"build": "yarn build:workspace"
},
"dependencies": {
"@substrate/txwrapper-core": "^0.5.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/txwrapper-polkadot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"node": ">=14"
},
"scripts": {
"build": "rimraf lib/ && substrate-exec-tsc -p tsconfig.build.json"
"build": "yarn build:workspace"
},
"dependencies": {
"@substrate/txwrapper-core": "^0.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/txwrapper-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"node": ">=14"
},
"scripts": {
"build": "rimraf lib/ && substrate-exec-tsc -p tsconfig.build.json"
"build": "yarn build:workspace"
},
"dependencies": {
"@polkadot/apps-config": "0.89.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/txwrapper-substrate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"node": ">=14"
},
"scripts": {
"build": "rimraf lib/ && substrate-exec-tsc -p tsconfig.build.json"
"build": "yarn build:workspace"
},
"dependencies": {
"@substrate/txwrapper-core": "^0.5.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/txwrapper-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"node": ">=14"
},
"scripts": {
"build": "substrate-exec-tsc -p tsconfig.json"
"build": "tsc"
},
"dependencies": {
"@substrate/txwrapper-core": "^0.5.1",
Expand Down

0 comments on commit 207d0bb

Please sign in to comment.