Rename sol-trace-based-tools-common to sol-tracing-utils

This commit is contained in:
Leonid Logvinov 2019-01-10 11:21:05 +01:00
parent 15c9479ebe
commit 7ae9e79235
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4
54 changed files with 27 additions and 27 deletions

View File

@ -118,7 +118,7 @@ jobs:
- run: yarn wsrun test:circleci @0x/order-utils
- run: yarn wsrun test:circleci @0x/order-watcher
- run: yarn wsrun test:circleci @0x/sol-compiler
- run: yarn wsrun test:circleci @0x/sol-trace-based-tools-common
- run: yarn wsrun test:circleci @0x/sol-tracing-utils
- run: yarn wsrun test:circleci @0x/sol-doc
- run: yarn wsrun test:circleci @0x/subproviders
- run: yarn wsrun test:circleci @0x/web3-wrapper
@ -169,9 +169,9 @@ jobs:
paths:
- ~/repo/packages/sol-compiler/coverage/lcov.info
- save_cache:
key: coverage-sol-trace-based-tools-common-{{ .Environment.CIRCLE_SHA1 }}
key: coverage-sol-tracing-utils-{{ .Environment.CIRCLE_SHA1 }}
paths:
- ~/repo/packages/sol-trace-based-tools-common/coverage/lcov.info
- ~/repo/packages/sol-tracing-utils/coverage/lcov.info
- save_cache:
key: coverage-sol-doc-{{ .Environment.CIRCLE_SHA1 }}
paths:
@ -342,7 +342,7 @@ jobs:
- coverage-sol-compiler-{{ .Environment.CIRCLE_SHA1 }}
- restore_cache:
keys:
- coverage-sol-trace-based-tools-common-{{ .Environment.CIRCLE_SHA1 }}
- coverage-sol-tracing-utils-{{ .Environment.CIRCLE_SHA1 }}
- restore_cache:
keys:
- coverage-sol-doc-{{ .Environment.CIRCLE_SHA1 }}

View File

@ -16,7 +16,7 @@ website: ['packages/website']
sol-coverage: ['packages/sol-coverage']
sol-profiler: ['packages/sol-profiler']
sol-trace: ['packages/sol-trace']
sol-trace-based-tools-common: ['packages/sol-trace-based-tools-common']
sol-tracing-utils: ['packages/sol-tracing-utils']
utils: ['packages/utils']
tslint-config: ['packages/tslint-config']
asset-buyer: ['packages/asset-buyer']

2
.gitignore vendored
View File

@ -91,7 +91,7 @@ contracts/interfaces/generated-artifacts/
contracts/tokens/generated-artifacts/
contracts/examples/generated-artifacts/
contracts/extensions/generated-artifacts/
packages/sol-trace-based-tools-common/test/fixtures/artifacts/
packages/sol-tracing-utils/test/fixtures/artifacts/
packages/metacoin/artifacts/
# generated contract wrappers

View File

@ -27,7 +27,7 @@ packages/sol-compiler/ @LogvinovLeon
packages/sol-coverage/ @LogvinovLeon
packages/sol-profiler/ @LogvinovLeon
packages/sol-trace/ @LogvinovLeon
packages/sol-trace-based-tools-common/ @LogvinovLeon
packages/sol-tracing-utils/ @LogvinovLeon
packages/sol-resolver/ @LogvinovLeon
packages/subproviders/ @fabioberger @dekz
packages/verdaccio/ @albrow

View File

@ -4,7 +4,7 @@
"changes": [
{
"note":
"Initial release as a separate package. For historical entries see @0x/sol-trace-based-tools-common",
"Initial release as a separate package. For historical entries see @0x/sol-tracing-utils",
"pr": 1492
}
]

View File

@ -30,7 +30,7 @@
"homepage": "https://github.com/0xProject/0x-monorepo/packages/sol-coverage/README.md",
"dependencies": {
"@0x/subproviders": "^2.1.8",
"@0x/sol-trace-based-tools-common": "^2.1.16",
"@0x/sol-tracing-utils": "^2.1.16",
"@0x/typescript-typings": "^3.0.6",
"ethereum-types": "^1.1.4",
"lodash": "^4.17.5"

View File

@ -15,7 +15,7 @@ import {
TraceInfo,
TraceInfoSubprovider,
utils,
} from '@0x/sol-trace-based-tools-common';
} from '@0x/sol-tracing-utils';
import * as _ from 'lodash';
/**

View File

@ -4,7 +4,7 @@ export {
TruffleArtifactAdapter,
AbstractArtifactAdapter,
ContractData,
} from '@0x/sol-trace-based-tools-common';
} from '@0x/sol-tracing-utils';
export {
JSONRPCRequestPayload,

View File

@ -4,7 +4,7 @@
"changes": [
{
"note":
"Initial release as a separate package. For historical entries see @0x/sol-trace-based-tools-common",
"Initial release as a separate package. For historical entries see @0x/sol-tracing-utils",
"pr": 1492
}
]

View File

@ -31,7 +31,7 @@
"dependencies": {
"@0x/subproviders": "^2.1.8",
"@0x/typescript-typings": "^3.0.6",
"@0x/sol-trace-based-tools-common": "^2.1.16",
"@0x/sol-tracing-utils": "^2.1.16",
"ethereum-types": "^1.1.4",
"lodash": "^4.17.5"
},

View File

@ -3,7 +3,7 @@ export {
SolCompilerArtifactAdapter,
TruffleArtifactAdapter,
ContractData,
} from '@0x/sol-trace-based-tools-common';
} from '@0x/sol-tracing-utils';
// HACK: ProfilerSubprovider is a hacky way to do profiling using coverage tools. Not production ready
export { ProfilerSubprovider } from './profiler_subprovider';

View File

@ -12,7 +12,7 @@ import {
TraceInfo,
TraceInfoSubprovider,
utils,
} from '@0x/sol-trace-based-tools-common';
} from '@0x/sol-tracing-utils';
/**
* This class implements the [web3-provider-engine](https://github.com/MetaMask/provider-engine) subprovider interface.

View File

@ -4,7 +4,7 @@
"changes": [
{
"note":
"Initial release as a separate package. For historical entries see @0x/sol-trace-based-tools-common",
"Initial release as a separate package. For historical entries see @0x/sol-tracing-utils",
"pr": 1492
}
]

View File

@ -31,7 +31,7 @@
"dependencies": {
"@0x/subproviders": "^2.1.8",
"@0x/typescript-typings": "^3.0.6",
"@0x/sol-trace-based-tools-common": "^2.1.16",
"@0x/sol-tracing-utils": "^2.1.16",
"ethereum-types": "^1.1.4",
"ethereumjs-util": "^5.1.1",
"lodash": "^4.17.5",

View File

@ -3,7 +3,7 @@ export {
TruffleArtifactAdapter,
SolCompilerArtifactAdapter,
ContractData,
} from '@0x/sol-trace-based-tools-common';
} from '@0x/sol-tracing-utils';
export { RevertTraceSubprovider } from './revert_trace_subprovider';

View File

@ -10,7 +10,7 @@ import {
SourceSnippet,
TraceCollectionSubprovider,
utils,
} from '@0x/sol-trace-based-tools-common';
} from '@0x/sol-tracing-utils';
import { stripHexPrefix } from 'ethereumjs-util';
import * as _ from 'lodash';
import { getLogger, levels, Logger } from 'loglevel';

View File

@ -1,11 +1,11 @@
## @0x/sol-trace-based-tools-common
## @0x/sol-tracing-utils
Common code for all solidity trace-based tools (sol-coverage, sol-profiler, sol-trace).
## Installation
```bash
yarn add @0x/sol-sol-trace-based-tools-common
yarn add @0x/sol-sol-tracing-utils
```
## Contributing
@ -33,13 +33,13 @@ yarn install
To build this package and all other monorepo packages that it depends on, run the following from the monorepo root directory:
```bash
PKG=@0x/sol-trace-based-tools-common yarn build
PKG=@0x/sol-tracing-utils yarn build
```
Or continuously rebuild on change:
```bash
PKG=@0x/sol-trace-based-tools-common yarn watch
PKG=@0x/sol-tracing-utils yarn watch
```
### Clean

View File

@ -1,5 +1,5 @@
{
"name": "@0x/sol-trace-based-tools-common",
"name": "@0x/sol-tracing-utils",
"version": "2.1.16",
"engines": {
"node": ">=6.12"
@ -40,7 +40,7 @@
"bugs": {
"url": "https://github.com/0xProject/0x-monorepo/issues"
},
"homepage": "https://github.com/0xProject/0x-monorepo/packages/sol-trace-based-tools-common/README.md",
"homepage": "https://github.com/0xProject/0x-monorepo/packages/sol-tracing-utils/README.md",
"dependencies": {
"@0x/dev-utils": "^1.0.21",
"@0x/sol-compiler": "^1.1.16",

View File

@ -51,7 +51,7 @@ export class TraceCollector {
singleFileSubtraceHandler: SingleFileSubtraceHandler,
) {
this._artifactAdapter = artifactAdapter;
this._logger = getLogger('sol-trace-based-tools-common');
this._logger = getLogger('sol-tracing-utils');
this._logger.setLevel(isVerbose ? levels.TRACE : levels.ERROR);
this._singleFileSubtraceHandler = singleFileSubtraceHandler;
}

View File

@ -55,7 +55,7 @@
{ "path": "./packages/sol-coverage" },
{ "path": "./packages/sol-profiler" },
{ "path": "./packages/sol-trace" },
{ "path": "./packages/sol-trace-based-tools-common" },
{ "path": "./packages/sol-tracing-utils" },
{ "path": "./packages/sol-resolver" },
{ "path": "./packages/sra-spec" },
{ "path": "./packages/subproviders" },