From b7d001da88ab604762ddf9df8abcf956d4c2de7f Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Sat, 3 Mar 2018 19:58:30 +0100 Subject: Setup initial react-shared sub-package --- packages/react-shared/package.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 packages/react-shared/package.json (limited to 'packages/react-shared/package.json') diff --git a/packages/react-shared/package.json b/packages/react-shared/package.json new file mode 100644 index 000000000..69d298559 --- /dev/null +++ b/packages/react-shared/package.json @@ -0,0 +1,32 @@ +{ + "name": "@0xproject/react-shared", + "version": "0.0.1", + "description": "0x shared react components", + "main": "lib/index.js", + "scripts": { + "lint": "tslint --project . 'src/ts/**/*.ts' 'src/ts/**/*.tsx'", + "build": "tsc" + }, + "author": "Fabio Berger", + "license": "MIT", + "devDependencies": { + "@0xproject/tslint-config": "^0.4.9", + "@types/lodash": "^4.14.86", + "@types/node": "^8.0.53", + "@types/material-ui": "0.18.0", + "@types/react": "^15.0.15", + "@types/react-dom": "^0.14.23", + "shx": "^0.2.2", + "tslint": "^5.9.1", + "typescript": "2.7.1" + }, + "dependencies": { + "basscss": "^8.0.3", + "material-ui": "^0.17.1", + "react": "15.6.1", + "react-dom": "15.6.1", + "lodash": "^4.17.4", + "react-scroll": "^1.5.2", + "react-tap-event-plugin": "^2.0.1" + } +} -- cgit From e11e26a35274a96fd2d4b7f37e60b89220115994 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Sat, 3 Mar 2018 20:29:24 +0100 Subject: Add clean command --- packages/react-shared/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/react-shared/package.json') diff --git a/packages/react-shared/package.json b/packages/react-shared/package.json index 69d298559..835915842 100644 --- a/packages/react-shared/package.json +++ b/packages/react-shared/package.json @@ -5,7 +5,8 @@ "main": "lib/index.js", "scripts": { "lint": "tslint --project . 'src/ts/**/*.ts' 'src/ts/**/*.tsx'", - "build": "tsc" + "build": "tsc", + "clean": "shx rm -rf lib" }, "author": "Fabio Berger", "license": "MIT", -- cgit From 874e6678491d25aa7db300d68bdcb73863685c62 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Mon, 5 Mar 2018 07:10:55 +0100 Subject: Bug fixes --- packages/react-shared/package.json | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/react-shared/package.json') diff --git a/packages/react-shared/package.json b/packages/react-shared/package.json index 835915842..e1cc2ad8b 100644 --- a/packages/react-shared/package.json +++ b/packages/react-shared/package.json @@ -3,6 +3,7 @@ "version": "0.0.1", "description": "0x shared react components", "main": "lib/index.js", + "types": "lib/index.d.ts", "scripts": { "lint": "tslint --project . 'src/ts/**/*.ts' 'src/ts/**/*.tsx'", "build": "tsc", -- cgit From 5a90fece8020f9be5c0f52f6ccf65dacb824b1cd Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Mon, 5 Mar 2018 13:53:13 +0100 Subject: Moved over all pages/shared components and dependencies to react-shared --- packages/react-shared/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/react-shared/package.json') diff --git a/packages/react-shared/package.json b/packages/react-shared/package.json index e1cc2ad8b..e96659e47 100644 --- a/packages/react-shared/package.json +++ b/packages/react-shared/package.json @@ -7,6 +7,7 @@ "scripts": { "lint": "tslint --project . 'src/ts/**/*.ts' 'src/ts/**/*.tsx'", "build": "tsc", + "build:watch": "tsc -w", "clean": "shx rm -rf lib" }, "author": "Fabio Berger", @@ -29,6 +30,7 @@ "react-dom": "15.6.1", "lodash": "^4.17.4", "react-scroll": "^1.5.2", - "react-tap-event-plugin": "^2.0.1" + "react-tap-event-plugin": "^2.0.1", + "react-highlight": "0xproject/react-highlight" } } -- cgit From 0b1ba9f9971bea9003dfb30fca535c17ce62ad08 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 6 Mar 2018 16:31:55 +0100 Subject: Move Documentation to the `@0xproject/react-docs` package --- packages/react-shared/package.json | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/react-shared/package.json') diff --git a/packages/react-shared/package.json b/packages/react-shared/package.json index e96659e47..4b9055e60 100644 --- a/packages/react-shared/package.json +++ b/packages/react-shared/package.json @@ -25,6 +25,7 @@ }, "dependencies": { "basscss": "^8.0.3", + "is-mobile": "^0.2.2", "material-ui": "^0.17.1", "react": "15.6.1", "react-dom": "15.6.1", -- cgit From 01e505a5f4b514d285eedc6456d819d0649032d4 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 6 Mar 2018 20:14:55 +0100 Subject: Add publishConfig to package.json so that packages are published as public under the @0xproject namespace --- packages/react-shared/package.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/react-shared/package.json') diff --git a/packages/react-shared/package.json b/packages/react-shared/package.json index 4b9055e60..46dad47aa 100644 --- a/packages/react-shared/package.json +++ b/packages/react-shared/package.json @@ -33,5 +33,8 @@ "react-scroll": "^1.5.2", "react-tap-event-plugin": "^2.0.1", "react-highlight": "0xproject/react-highlight" + }, + "publishConfig": { + "access": "public" } } -- cgit From a0030c7bdb8384962160db44030c2904f5e0bb98 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Thu, 8 Mar 2018 15:56:56 +0100 Subject: update license --- packages/react-shared/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/react-shared/package.json') diff --git a/packages/react-shared/package.json b/packages/react-shared/package.json index 46dad47aa..acef63fc6 100644 --- a/packages/react-shared/package.json +++ b/packages/react-shared/package.json @@ -11,7 +11,7 @@ "clean": "shx rm -rf lib" }, "author": "Fabio Berger", - "license": "MIT", + "license": "Apache-2.0", "devDependencies": { "@0xproject/tslint-config": "^0.4.9", "@types/lodash": "^4.14.86", -- cgit From f9ec8a0828b7f75276491e496a4ae62e5301a6f3 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Thu, 8 Mar 2018 16:00:15 +0100 Subject: remove ability to have implicit dependencies and add missing deps --- packages/react-shared/package.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/react-shared/package.json') diff --git a/packages/react-shared/package.json b/packages/react-shared/package.json index acef63fc6..b5f15bad3 100644 --- a/packages/react-shared/package.json +++ b/packages/react-shared/package.json @@ -19,6 +19,7 @@ "@types/material-ui": "0.18.0", "@types/react": "^15.0.15", "@types/react-dom": "^0.14.23", + "@types/react-scroll": "0.0.31", "shx": "^0.2.2", "tslint": "^5.9.1", "typescript": "2.7.1" @@ -30,6 +31,7 @@ "react": "15.6.1", "react-dom": "15.6.1", "lodash": "^4.17.4", + "react-markdown": "^3.2.2", "react-scroll": "^1.5.2", "react-tap-event-plugin": "^2.0.1", "react-highlight": "0xproject/react-highlight" -- cgit