chore(transaction):rename base.ts to transactionBase.ts, and fix build script

staking
neeboo 5 years ago
parent db5ed5ed84
commit 72bbbed9b6
  1. 2
      package.json
  2. 3
      packages/harmony-transaction/src/index.ts
  3. 2
      packages/harmony-transaction/src/transaction.ts
  4. 0
      packages/harmony-transaction/src/transactionBase.ts
  5. 2
      tsconfig.json
  6. 8
      tsconfig.test.json

@ -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",

@ -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';

@ -18,7 +18,7 @@ import {
recoverETH,
} from './utils';
import { TransactionBase } from './base';
import { TransactionBase } from './transactionBase';
class Transaction extends TransactionBase {
private from: string;

@ -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" }

@ -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" }
]
}

Loading…
Cancel
Save