Skip to content

Commit

Permalink
chore(transaction):rename base.ts to transactionBase.ts, and fix buil…
Browse files Browse the repository at this point in the history
…d script
  • Loading branch information
neeboo committed Oct 25, 2019
1 parent db5ed5e commit 72bbbed
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"bootstrap": "lerna bootstrap && yarn build",
"watch": "yarn build:ts -w",
"build": "yarn packages:clean && yarn build:ts",
"build": "yarn packages:clean && lerna clean -y && yarn build:ts",
"build:ts": "tsc -b tsconfig.json",
"build:test": "tsc -b tsconfig.test.json",
"build:e2e": "tsc -b tsconfig.e2e.json",
Expand Down
3 changes: 2 additions & 1 deletion packages/harmony-transaction/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from './transaction';
export * from './shardingTransaction';
export * from './types';
export * from './utils';
export * from './base';
export * from './transactionBase';
export * from './abstractTransaction';
2 changes: 1 addition & 1 deletion packages/harmony-transaction/src/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
recoverETH,
} from './utils';

import { TransactionBase } from './base';
import { TransactionBase } from './transactionBase';

class Transaction extends TransactionBase {
private from: string;
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
{ "path": "packages/harmony-utils" },
{ "path": "packages/harmony-crypto" },
{ "path": "packages/harmony-network" },
{ "path": "packages/harmony-staking" },
{ "path": "packages/harmony-transaction" },
{ "path": "packages/harmony-staking" },
{ "path": "packages/harmony-account" },
{ "path": "packages/harmony-contract" },
{ "path": "packages/harmony-core" }
Expand Down
8 changes: 4 additions & 4 deletions tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"files": [],
"include": ["./typings/**/*.d.ts"],
"references": [
{ "path": "packages/harmony-core" },
{ "path": "packages/harmony-account" },
{ "path": "packages/harmony-crypto" },
{ "path": "packages/harmony-utils" },
{ "path": "packages/harmony-crypto" },
{ "path": "packages/harmony-network" },
{ "path": "packages/harmony-transaction" },
{ "path": "packages/harmony-staking" },
{ "path": "packages/harmony-contract" }
{ "path": "packages/harmony-account" },
{ "path": "packages/harmony-contract" },
{ "path": "packages/harmony-core" }
]
}

0 comments on commit 72bbbed

Please sign in to comment.