Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename tsc to compile (#3957) #3958

Merged
merged 1 commit into from
Mar 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ Released with 1.0.0-beta.37 code base.
### Changed

- Unified babel compiler for `web3-eth2-core` and `web3-eth2-beaconchain` (#3892)
- Renamed the `tsc` script in all packages to `compile`; updates the corresponding `lerna run` usage in the main `package.json` (#3894)
- moved deprecation warnings to postinstall scripts (#3917)
- Upgrade `@chainsafe/geth-dev-assistant` from `0.1.5` to `0.1.9` (#3950)
- Replaced hardcoded infura link with Github Secret for some tests (#3943)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"scripts": {
"version": "npm run build",
"postinstall": "npm run bootstrap",
"build": "npm run bootstrap && lerna run tsc && webpack && cp -r ./dist ./packages/web3",
"build": "npm run bootstrap && lerna run compile && webpack && cp -r ./dist ./packages/web3",
"publish": "lerna publish",
"bootstrap": "lerna bootstrap --hoist",
"lint": "jshint *.js packages",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-bzz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types",
"postinstall": "echo \"WARNING: the web3-bzz api will be deprecated in the next version\""
},
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core-method/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core-promievent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"main": "lib/index.js",
"scripts": {
"tsc": "tsc -b tsconfig.json"
"compile": "tsc -b tsconfig.json"
},
"dependencies": {
"eventemitter3": "4.0.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core-requestmanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"main": "lib/index.js",
"scripts": {
"tsc": "tsc -b tsconfig.json"
"compile": "tsc -b tsconfig.json"
},
"dependencies": {
"underscore": "1.9.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core-subscriptions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-abi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-ens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-iban/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-personal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth2-beaconchain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"types": "types.ts",
"scripts": {
"test": "jest",
"tsc": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",
"compile": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth2-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"types": "types.ts",
"scripts": {
"test": "jest",
"tsc": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",
"compile": "babel src --out-dir lib --extensions \".ts,.tsx\" --source-maps inline",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-net/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-providers-http/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"node": ">=8.0.0"
},
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-providers-ipc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"node": ">=8.0.0"
},
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-providers-ws/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"node": ">=8.0.0"
},
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-shh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types",
"postinstall": "echo \"WARNING: the web3-shh api will be deprecated in the next version\""
},
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types"
},
"main": "lib/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/web3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"author": "ethereum.org",
"types": "types/index.d.ts",
"scripts": {
"tsc": "tsc -b tsconfig.json",
"compile": "tsc -b tsconfig.json",
"dtslint": "dtslint --localTs ../../node_modules/typescript/lib types",
"postinstall": "echo \"WARNING: the web3-shh and web3-bzz api will be deprecated in the next version\""
},
Expand Down