aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-03-15 05:36:04 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-03-15 05:36:04 +0800
commit380e51ca505a880e1ac24f46b3ba7e1a736f693e (patch)
tree95e0311485834d8181171da821f258dd46a2d258 /packages/react-docs
parent6a8c2cb7172be9b0aadb34904d1d9b3348bed0cc (diff)
parentaea7207b9f9865a279243889a5f9ca1638ddc739 (diff)
downloaddexon-sol-tools-380e51ca505a880e1ac24f46b3ba7e1a736f693e.tar.gz
dexon-sol-tools-380e51ca505a880e1ac24f46b3ba7e1a736f693e.tar.zst
dexon-sol-tools-380e51ca505a880e1ac24f46b3ba7e1a736f693e.zip
Merge branch 'development' into feature/utils/console-log
* development: (25 commits) Enable coverage for all other packages with tests Fix parallel coverage results reporting Fix linter issuesx Remove outdated comment Add script copying to build command Add postpublish script to sol-cov Move configuration into package.json configs section Transform input data before encoding for callAsync and getABIEncodedTransactionData Consolidate docs generation and uploading logic Use async/await instead of promise syntax Move changelog entry remove unneeded include remove unused dep Fix lint issues Re-add linter to monorepo-scripts but with tslint-config dep at earlier version to avoid cyclical dependency small fixes move scripts to monorepro-scripts Fix gitignore Move abi-gen scripts to src Add missing dep ...
Diffstat (limited to 'packages/react-docs')
-rw-r--r--packages/react-docs/package.json105
-rw-r--r--packages/react-docs/scripts/postpublish.js5
-rw-r--r--packages/react-docs/src/components/badge.tsx (renamed from packages/react-docs/src/ts/components/badge.tsx)0
-rw-r--r--packages/react-docs/src/components/comment.tsx (renamed from packages/react-docs/src/ts/components/comment.tsx)0
-rw-r--r--packages/react-docs/src/components/custom_enum.tsx (renamed from packages/react-docs/src/ts/components/custom_enum.tsx)0
-rw-r--r--packages/react-docs/src/components/documentation.tsx (renamed from packages/react-docs/src/ts/components/documentation.tsx)0
-rw-r--r--packages/react-docs/src/components/enum.tsx (renamed from packages/react-docs/src/ts/components/enum.tsx)0
-rw-r--r--packages/react-docs/src/components/event_definition.tsx (renamed from packages/react-docs/src/ts/components/event_definition.tsx)0
-rw-r--r--packages/react-docs/src/components/interface.tsx (renamed from packages/react-docs/src/ts/components/interface.tsx)0
-rw-r--r--packages/react-docs/src/components/method_block.tsx (renamed from packages/react-docs/src/ts/components/method_block.tsx)0
-rw-r--r--packages/react-docs/src/components/method_signature.tsx (renamed from packages/react-docs/src/ts/components/method_signature.tsx)0
-rw-r--r--packages/react-docs/src/components/source_link.tsx (renamed from packages/react-docs/src/ts/components/source_link.tsx)0
-rw-r--r--packages/react-docs/src/components/type.tsx (renamed from packages/react-docs/src/ts/components/type.tsx)0
-rw-r--r--packages/react-docs/src/components/type_definition.tsx (renamed from packages/react-docs/src/ts/components/type_definition.tsx)0
-rw-r--r--packages/react-docs/src/docs_info.ts (renamed from packages/react-docs/src/ts/docs_info.ts)0
-rw-r--r--packages/react-docs/src/globals.d.ts (renamed from packages/react-docs/src/ts/globals.d.ts)0
-rw-r--r--packages/react-docs/src/index.ts (renamed from packages/react-docs/src/ts/index.ts)0
-rw-r--r--packages/react-docs/src/monorepo_scripts/postpublish.ts8
-rw-r--r--packages/react-docs/src/types.ts (renamed from packages/react-docs/src/ts/types.ts)0
-rw-r--r--packages/react-docs/src/utils/constants.ts (renamed from packages/react-docs/src/ts/utils/constants.ts)0
-rw-r--r--packages/react-docs/src/utils/doxity_utils.ts (renamed from packages/react-docs/src/ts/utils/doxity_utils.ts)0
-rw-r--r--packages/react-docs/src/utils/typedoc_utils.ts (renamed from packages/react-docs/src/ts/utils/typedoc_utils.ts)0
-rw-r--r--packages/react-docs/src/utils/utils.ts (renamed from packages/react-docs/src/ts/utils/utils.ts)0
-rw-r--r--packages/react-docs/tsconfig.json2
24 files changed, 63 insertions, 57 deletions
diff --git a/packages/react-docs/package.json b/packages/react-docs/package.json
index 5690366d9..991af9a37 100644
--- a/packages/react-docs/package.json
+++ b/packages/react-docs/package.json
@@ -1,53 +1,56 @@
{
- "name": "@0xproject/react-docs",
- "version": "0.0.1",
- "description": "React documentation component for rendering TypeDoc & Doxity generated JSON",
- "main": "lib/index.js",
- "types": "lib/index.d.ts",
- "scripts": {
- "lint": "tslint --project . 'src/ts/**/*.ts' 'src/ts/**/*.tsx'",
- "build": "tsc",
- "build:watch": "tsc -w",
- "clean": "shx rm -rf lib"
- },
- "author": "Fabio Berger",
- "license": "Apache-2.0",
- "bugs": {
- "url": "https://github.com/0xProject/0x-monorepo/issues"
- },
- "homepage": "https://github.com/0xProject/0x-monorepo/packages/react-docs/README.md",
- "repository": {
- "type": "git",
- "url": "https://github.com/0xProject/0x-monorepo.git"
- },
- "devDependencies": {
- "@0xproject/tslint-config": "^0.4.9",
- "@types/lodash": "^4.14.86",
- "@types/material-ui": "0.18.0",
- "@types/node": "^8.0.53",
- "@types/react": "^15.0.15",
- "@types/react-dom": "^0.14.23",
- "@types/react-scroll": "0.0.31",
- "@types/react-tap-event-plugin": "0.0.30",
- "shx": "^0.2.2",
- "tslint": "^5.9.1",
- "typescript": "2.7.1"
- },
- "dependencies": {
- "@0xproject/react-shared": "^0.0.1",
- "@0xproject/utils": "^0.4.1",
- "basscss": "^8.0.3",
- "compare-versions": "^3.0.1",
- "lodash": "^4.17.4",
- "material-ui": "^0.17.1",
- "react": "15.6.1",
- "react-dom": "15.6.1",
- "react-markdown": "^3.2.2",
- "react-scroll": "^1.5.2",
- "react-tap-event-plugin": "^2.0.1",
- "react-tooltip": "^3.2.7"
- },
- "publishConfig": {
- "access": "public"
- }
+ "name": "@0xproject/react-docs",
+ "version": "0.0.1",
+ "description": "React documentation component for rendering TypeDoc & Doxity generated JSON",
+ "main": "lib/index.js",
+ "types": "lib/index.d.ts",
+ "scripts": {
+ "lint": "tslint --project . 'src/**/*.ts' 'src/**/*.tsx'",
+ "build": "tsc && copyfiles -u 2 './lib/monorepo_scripts/**/*' ./scripts",
+ "build:watch": "tsc -w",
+ "clean": "shx rm -rf lib scripts"
+ },
+ "author": "Fabio Berger",
+ "license": "Apache-2.0",
+ "bugs": {
+ "url": "https://github.com/0xProject/0x-monorepo/issues"
+ },
+ "homepage": "https://github.com/0xProject/0x-monorepo/packages/react-docs/README.md",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/0xProject/0x-monorepo.git"
+ },
+ "devDependencies": {
+ "@0xproject/dev-utils": "^0.2.1",
+ "@0xproject/monorepo-scripts": "^0.1.12",
+ "@0xproject/tslint-config": "^0.4.9",
+ "@types/lodash": "^4.14.86",
+ "@types/material-ui": "0.18.0",
+ "@types/node": "^8.0.53",
+ "@types/react": "^15.0.15",
+ "@types/react-dom": "^0.14.23",
+ "@types/react-scroll": "0.0.31",
+ "@types/react-tap-event-plugin": "0.0.30",
+ "copyfiles": "^1.2.0",
+ "shx": "^0.2.2",
+ "tslint": "^5.9.1",
+ "typescript": "2.7.1"
+ },
+ "dependencies": {
+ "@0xproject/react-shared": "^0.0.1",
+ "@0xproject/utils": "^0.4.1",
+ "basscss": "^8.0.3",
+ "compare-versions": "^3.0.1",
+ "lodash": "^4.17.4",
+ "material-ui": "^0.17.1",
+ "react": "15.6.1",
+ "react-dom": "15.6.1",
+ "react-markdown": "^3.2.2",
+ "react-scroll": "^1.5.2",
+ "react-tap-event-plugin": "^2.0.1",
+ "react-tooltip": "^3.2.7"
+ },
+ "publishConfig": {
+ "access": "public"
+ }
}
diff --git a/packages/react-docs/scripts/postpublish.js b/packages/react-docs/scripts/postpublish.js
deleted file mode 100644
index 639656c7e..000000000
--- a/packages/react-docs/scripts/postpublish.js
+++ /dev/null
@@ -1,5 +0,0 @@
-const postpublish_utils = require('../../../scripts/postpublish_utils');
-const packageJSON = require('../package.json');
-
-const subPackageName = packageJSON.name;
-postpublish_utils.standardPostPublishAsync(subPackageName);
diff --git a/packages/react-docs/src/ts/components/badge.tsx b/packages/react-docs/src/components/badge.tsx
index b342f2dca..b342f2dca 100644
--- a/packages/react-docs/src/ts/components/badge.tsx
+++ b/packages/react-docs/src/components/badge.tsx
diff --git a/packages/react-docs/src/ts/components/comment.tsx b/packages/react-docs/src/components/comment.tsx
index 0d63d4d31..0d63d4d31 100644
--- a/packages/react-docs/src/ts/components/comment.tsx
+++ b/packages/react-docs/src/components/comment.tsx
diff --git a/packages/react-docs/src/ts/components/custom_enum.tsx b/packages/react-docs/src/components/custom_enum.tsx
index 1fe55eedc..1fe55eedc 100644
--- a/packages/react-docs/src/ts/components/custom_enum.tsx
+++ b/packages/react-docs/src/components/custom_enum.tsx
diff --git a/packages/react-docs/src/ts/components/documentation.tsx b/packages/react-docs/src/components/documentation.tsx
index b46358159..b46358159 100644
--- a/packages/react-docs/src/ts/components/documentation.tsx
+++ b/packages/react-docs/src/components/documentation.tsx
diff --git a/packages/react-docs/src/ts/components/enum.tsx b/packages/react-docs/src/components/enum.tsx
index 37f82f26e..37f82f26e 100644
--- a/packages/react-docs/src/ts/components/enum.tsx
+++ b/packages/react-docs/src/components/enum.tsx
diff --git a/packages/react-docs/src/ts/components/event_definition.tsx b/packages/react-docs/src/components/event_definition.tsx
index 67729ac87..67729ac87 100644
--- a/packages/react-docs/src/ts/components/event_definition.tsx
+++ b/packages/react-docs/src/components/event_definition.tsx
diff --git a/packages/react-docs/src/ts/components/interface.tsx b/packages/react-docs/src/components/interface.tsx
index 01f4942ef..01f4942ef 100644
--- a/packages/react-docs/src/ts/components/interface.tsx
+++ b/packages/react-docs/src/components/interface.tsx
diff --git a/packages/react-docs/src/ts/components/method_block.tsx b/packages/react-docs/src/components/method_block.tsx
index 44a1db8af..44a1db8af 100644
--- a/packages/react-docs/src/ts/components/method_block.tsx
+++ b/packages/react-docs/src/components/method_block.tsx
diff --git a/packages/react-docs/src/ts/components/method_signature.tsx b/packages/react-docs/src/components/method_signature.tsx
index 1400182ea..1400182ea 100644
--- a/packages/react-docs/src/ts/components/method_signature.tsx
+++ b/packages/react-docs/src/components/method_signature.tsx
diff --git a/packages/react-docs/src/ts/components/source_link.tsx b/packages/react-docs/src/components/source_link.tsx
index 89956a507..89956a507 100644
--- a/packages/react-docs/src/ts/components/source_link.tsx
+++ b/packages/react-docs/src/components/source_link.tsx
diff --git a/packages/react-docs/src/ts/components/type.tsx b/packages/react-docs/src/components/type.tsx
index 56425a5df..56425a5df 100644
--- a/packages/react-docs/src/ts/components/type.tsx
+++ b/packages/react-docs/src/components/type.tsx
diff --git a/packages/react-docs/src/ts/components/type_definition.tsx b/packages/react-docs/src/components/type_definition.tsx
index 68ef4c465..68ef4c465 100644
--- a/packages/react-docs/src/ts/components/type_definition.tsx
+++ b/packages/react-docs/src/components/type_definition.tsx
diff --git a/packages/react-docs/src/ts/docs_info.ts b/packages/react-docs/src/docs_info.ts
index 68bddef06..68bddef06 100644
--- a/packages/react-docs/src/ts/docs_info.ts
+++ b/packages/react-docs/src/docs_info.ts
diff --git a/packages/react-docs/src/ts/globals.d.ts b/packages/react-docs/src/globals.d.ts
index c7cd53854..c7cd53854 100644
--- a/packages/react-docs/src/ts/globals.d.ts
+++ b/packages/react-docs/src/globals.d.ts
diff --git a/packages/react-docs/src/ts/index.ts b/packages/react-docs/src/index.ts
index a62c91376..a62c91376 100644
--- a/packages/react-docs/src/ts/index.ts
+++ b/packages/react-docs/src/index.ts
diff --git a/packages/react-docs/src/monorepo_scripts/postpublish.ts b/packages/react-docs/src/monorepo_scripts/postpublish.ts
new file mode 100644
index 000000000..dcb99d0f7
--- /dev/null
+++ b/packages/react-docs/src/monorepo_scripts/postpublish.ts
@@ -0,0 +1,8 @@
+import { postpublishUtils } from '@0xproject/monorepo-scripts';
+
+import * as packageJSON from '../package.json';
+import * as tsConfigJSON from '../tsconfig.json';
+
+const cwd = `${__dirname}/..`;
+// tslint:disable-next-line:no-floating-promises
+postpublishUtils.runAsync(packageJSON, tsConfigJSON, cwd);
diff --git a/packages/react-docs/src/ts/types.ts b/packages/react-docs/src/types.ts
index d192af313..d192af313 100644
--- a/packages/react-docs/src/ts/types.ts
+++ b/packages/react-docs/src/types.ts
diff --git a/packages/react-docs/src/ts/utils/constants.ts b/packages/react-docs/src/utils/constants.ts
index c3c74fd11..c3c74fd11 100644
--- a/packages/react-docs/src/ts/utils/constants.ts
+++ b/packages/react-docs/src/utils/constants.ts
diff --git a/packages/react-docs/src/ts/utils/doxity_utils.ts b/packages/react-docs/src/utils/doxity_utils.ts
index 26dea6966..26dea6966 100644
--- a/packages/react-docs/src/ts/utils/doxity_utils.ts
+++ b/packages/react-docs/src/utils/doxity_utils.ts
diff --git a/packages/react-docs/src/ts/utils/typedoc_utils.ts b/packages/react-docs/src/utils/typedoc_utils.ts
index e4cea1e40..e4cea1e40 100644
--- a/packages/react-docs/src/ts/utils/typedoc_utils.ts
+++ b/packages/react-docs/src/utils/typedoc_utils.ts
diff --git a/packages/react-docs/src/ts/utils/utils.ts b/packages/react-docs/src/utils/utils.ts
index f8c1fefff..f8c1fefff 100644
--- a/packages/react-docs/src/ts/utils/utils.ts
+++ b/packages/react-docs/src/utils/utils.ts
diff --git a/packages/react-docs/tsconfig.json b/packages/react-docs/tsconfig.json
index ee715a452..9af6638a2 100644
--- a/packages/react-docs/tsconfig.json
+++ b/packages/react-docs/tsconfig.json
@@ -9,5 +9,5 @@
"*": ["node_modules/@types/*", "*"]
}
},
- "include": ["./src/ts/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
+ "include": ["./src/**/*", "../../node_modules/web3-typescript-typings/index.d.ts"]
}