From c3b4359e8751a9c98a6081659a364fc29e69653d Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 13 Mar 2018 16:36:05 +0100 Subject: small fixes --- packages/dev-utils/src/index.ts | 1 - packages/dev-utils/src/monorepo_scripts/postpublish.ts | 2 +- packages/monorepo-scripts/package.json | 3 ++- packages/monorepo-scripts/tslint.json | 3 --- packages/react-docs-example/ts/globals.d.ts | 6 ++++++ packages/react-shared/tsconfig.json | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 packages/monorepo-scripts/tslint.json create mode 100644 packages/react-docs-example/ts/globals.d.ts (limited to 'packages') diff --git a/packages/dev-utils/src/index.ts b/packages/dev-utils/src/index.ts index cc3e668a1..e899ac206 100644 --- a/packages/dev-utils/src/index.ts +++ b/packages/dev-utils/src/index.ts @@ -2,4 +2,3 @@ export { RPC } from './rpc'; export { BlockchainLifecycle } from './blockchain_lifecycle'; export { web3Factory } from './web3_factory'; export { constants as devConstants } from './constants'; -export { postpublishUtils } from './postpublish_utils'; diff --git a/packages/dev-utils/src/monorepo_scripts/postpublish.ts b/packages/dev-utils/src/monorepo_scripts/postpublish.ts index 6bd94e71d..d5fcff9d0 100644 --- a/packages/dev-utils/src/monorepo_scripts/postpublish.ts +++ b/packages/dev-utils/src/monorepo_scripts/postpublish.ts @@ -1,4 +1,4 @@ -import { postpublishUtils } from '../postpublish_utils'; +import { postpublishUtils } from '@0xproject/monorepo-scripts'; import * as packageJSON from '../package.json'; diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index 09a632c07..42b9d6c55 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -2,6 +2,8 @@ "name": "@0xproject/monorepo-scripts", "version": "0.1.12", "description": "Helper scripts for the monorepo", + "main": "lib/index.js", + "types": "lib/index.d.ts", "scripts": { "build:watch": "tsc -w", "deps_versions": "node ./lib/deps_versions.js", @@ -19,7 +21,6 @@ }, "homepage": "https://github.com/0xProject/0x-monorepo/packages/monorepo-scripts/README.md", "devDependencies": { - "@0xproject/tslint-config": "^0.4.10", "@types/glob": "^5.0.33", "@types/node": "^8.0.53", "shx": "^0.2.2", diff --git a/packages/monorepo-scripts/tslint.json b/packages/monorepo-scripts/tslint.json deleted file mode 100644 index ffaefe83a..000000000 --- a/packages/monorepo-scripts/tslint.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": ["@0xproject/tslint-config"] -} diff --git a/packages/react-docs-example/ts/globals.d.ts b/packages/react-docs-example/ts/globals.d.ts new file mode 100644 index 000000000..94e63a32d --- /dev/null +++ b/packages/react-docs-example/ts/globals.d.ts @@ -0,0 +1,6 @@ +declare module '*.json' { + const json: any; + /* tslint:disable */ + export default json; + /* tslint:enable */ +} diff --git a/packages/react-shared/tsconfig.json b/packages/react-shared/tsconfig.json index de87aa45b..687bd1f4e 100644 --- a/packages/react-shared/tsconfig.json +++ b/packages/react-shared/tsconfig.json @@ -8,5 +8,5 @@ "*": ["node_modules/@types/*", "*"] } }, - "include": ["./src/ts/**/*"] + "include": ["./src/**/*"] } -- cgit