aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-10-18 21:46:33 +0800
committerGitHub <noreply@github.com>2018-10-18 21:46:33 +0800
commit4b95e3d6848832a06fde54b29d41d99b2a52f6ec (patch)
tree88801e5747f905b31060ebe3af7cc42a11878c34 /packages/migrations
parent9e8bca69a8a1d3570e30a28f150c0bec3848a760 (diff)
parent392d3394438fdadf4e3b4201c493e3a2921d8380 (diff)
downloaddexon-0x-contracts-4b95e3d6848832a06fde54b29d41d99b2a52f6ec.tar.gz
dexon-0x-contracts-4b95e3d6848832a06fde54b29d41d99b2a52f6ec.tar.zst
dexon-0x-contracts-4b95e3d6848832a06fde54b29d41d99b2a52f6ec.zip
Merge pull request #1156 from 0xProject/feature/0x/npm-domain
Move package org from 0xproject to 0x
Diffstat (limited to 'packages/migrations')
-rw-r--r--packages/migrations/README.md4
-rw-r--r--packages/migrations/package.json28
-rw-r--r--packages/migrations/src/migrate.ts4
-rw-r--r--packages/migrations/src/migration.ts12
-rw-r--r--packages/migrations/src/types.ts2
-rw-r--r--packages/migrations/src/utils/constants.ts2
-rw-r--r--packages/migrations/src/utils/provider_factory.ts2
-rw-r--r--packages/migrations/src/utils/token_info.ts2
-rw-r--r--packages/migrations/tslint.json2
9 files changed, 29 insertions, 29 deletions
diff --git a/packages/migrations/README.md b/packages/migrations/README.md
index f4715cfa1..926654cd8 100644
--- a/packages/migrations/README.md
+++ b/packages/migrations/README.md
@@ -27,13 +27,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=@0xproject/migrations yarn build
+PKG=@0x/migrations yarn build
```
Or continuously rebuild on change:
```bash
-PKG=@0xproject/migrations yarn watch
+PKG=@0x/migrations yarn watch
```
### Clean
diff --git a/packages/migrations/package.json b/packages/migrations/package.json
index 44737e227..f3719f910 100644
--- a/packages/migrations/package.json
+++ b/packages/migrations/package.json
@@ -1,5 +1,5 @@
{
- "name": "@0xproject/migrations",
+ "name": "@0x/migrations",
"version": "1.0.14",
"engines": {
"node": ">=6.12"
@@ -17,9 +17,9 @@
},
"license": "Apache-2.0",
"devDependencies": {
- "@0xproject/dev-utils": "^1.0.12",
- "@0xproject/tslint-config": "^1.0.8",
- "@0xproject/types": "^1.1.4",
+ "@0x/dev-utils": "^1.0.12",
+ "@0x/tslint-config": "^1.0.8",
+ "@0x/types": "^1.1.4",
"@types/yargs": "^10.0.0",
"make-promises-safe": "^1.1.0",
"npm-run-all": "^4.1.2",
@@ -29,16 +29,16 @@
"yargs": "^10.0.3"
},
"dependencies": {
- "@0xproject/abi-gen-wrappers": "^1.0.0",
- "@0xproject/base-contract": "^3.0.1",
- "@0xproject/contract-addresses": "^1.0.0",
- "@0xproject/contract-artifacts": "^1.0.0",
- "@0xproject/order-utils": "^1.0.7",
- "@0xproject/sol-compiler": "^1.1.7",
- "@0xproject/subproviders": "^2.0.7",
- "@0xproject/typescript-typings": "^3.0.2",
- "@0xproject/utils": "^2.0.2",
- "@0xproject/web3-wrapper": "^3.0.3",
+ "@0x/abi-gen-wrappers": "^1.0.0",
+ "@0x/base-contract": "^3.0.1",
+ "@0x/contract-addresses": "^1.0.0",
+ "@0x/contract-artifacts": "^1.0.0",
+ "@0x/order-utils": "^1.0.7",
+ "@0x/sol-compiler": "^1.1.7",
+ "@0x/subproviders": "^2.0.7",
+ "@0x/typescript-typings": "^3.0.2",
+ "@0x/utils": "^2.0.2",
+ "@0x/web3-wrapper": "^3.0.3",
"@ledgerhq/hw-app-eth": "^4.3.0",
"ethereum-types": "^1.0.11",
"ethers": "~4.0.4",
diff --git a/packages/migrations/src/migrate.ts b/packages/migrations/src/migrate.ts
index 27f36ba34..d7a76d2f8 100644
--- a/packages/migrations/src/migrate.ts
+++ b/packages/migrations/src/migrate.ts
@@ -1,6 +1,6 @@
#!/usr/bin/env node
-import { devConstants, web3Factory } from '@0xproject/dev-utils';
-import { logUtils } from '@0xproject/utils';
+import { devConstants, web3Factory } from '@0x/dev-utils';
+import { logUtils } from '@0x/utils';
import { Provider } from 'ethereum-types';
import { runMigrationsAsync } from './migration';
diff --git a/packages/migrations/src/migration.ts b/packages/migrations/src/migration.ts
index 0ee5b6975..86c76a54b 100644
--- a/packages/migrations/src/migration.ts
+++ b/packages/migrations/src/migration.ts
@@ -1,9 +1,9 @@
-import * as wrappers from '@0xproject/abi-gen-wrappers';
-import { ContractAddresses } from '@0xproject/contract-addresses';
-import * as artifacts from '@0xproject/contract-artifacts';
-import { assetDataUtils } from '@0xproject/order-utils';
-import { BigNumber } from '@0xproject/utils';
-import { Web3Wrapper } from '@0xproject/web3-wrapper';
+import * as wrappers from '@0x/abi-gen-wrappers';
+import { ContractAddresses } from '@0x/contract-addresses';
+import * as artifacts from '@0x/contract-artifacts';
+import { assetDataUtils } from '@0x/order-utils';
+import { BigNumber } from '@0x/utils';
+import { Web3Wrapper } from '@0x/web3-wrapper';
import { Provider, TxData } from 'ethereum-types';
import * as _ from 'lodash';
diff --git a/packages/migrations/src/types.ts b/packages/migrations/src/types.ts
index 65f685797..87e66f356 100644
--- a/packages/migrations/src/types.ts
+++ b/packages/migrations/src/types.ts
@@ -1,4 +1,4 @@
-import { BigNumber } from '@0xproject/utils';
+import { BigNumber } from '@0x/utils';
export interface ERC20Token {
address?: string;
diff --git a/packages/migrations/src/utils/constants.ts b/packages/migrations/src/utils/constants.ts
index 63898ac02..8b16a0520 100644
--- a/packages/migrations/src/utils/constants.ts
+++ b/packages/migrations/src/utils/constants.ts
@@ -1,4 +1,4 @@
-import { BigNumber } from '@0xproject/utils';
+import { BigNumber } from '@0x/utils';
export const constants = {
ASSET_PROXY_OWNER_OWNERS: [
diff --git a/packages/migrations/src/utils/provider_factory.ts b/packages/migrations/src/utils/provider_factory.ts
index e7e00a039..8017b672a 100644
--- a/packages/migrations/src/utils/provider_factory.ts
+++ b/packages/migrations/src/utils/provider_factory.ts
@@ -1,4 +1,4 @@
-import { LedgerEthereumClient, LedgerSubprovider, RPCSubprovider, Web3ProviderEngine } from '@0xproject/subproviders';
+import { LedgerEthereumClient, LedgerSubprovider, RPCSubprovider, Web3ProviderEngine } from '@0x/subproviders';
import Eth from '@ledgerhq/hw-app-eth';
// tslint:disable:no-implicit-dependencies
import TransportNodeHid from '@ledgerhq/hw-transport-node-hid';
diff --git a/packages/migrations/src/utils/token_info.ts b/packages/migrations/src/utils/token_info.ts
index 200f94896..6e0411f60 100644
--- a/packages/migrations/src/utils/token_info.ts
+++ b/packages/migrations/src/utils/token_info.ts
@@ -1,4 +1,4 @@
-import { BigNumber, NULL_BYTES } from '@0xproject/utils';
+import { BigNumber, NULL_BYTES } from '@0x/utils';
import { ERC20Token, ERC721Token } from '../types';
diff --git a/packages/migrations/tslint.json b/packages/migrations/tslint.json
index ffaefe83a..dd9053357 100644
--- a/packages/migrations/tslint.json
+++ b/packages/migrations/tslint.json
@@ -1,3 +1,3 @@
{
- "extends": ["@0xproject/tslint-config"]
+ "extends": ["@0x/tslint-config"]
}