From a6f97181310c9acba176b2a28ffba1ca7d53727d Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Fri, 8 Dec 2017 13:17:03 -0800 Subject: Publish - 0x.js@0.27.2 - abi-gen-templates@0.0.2 - @0xproject/abi-gen@0.0.2 - @0xproject/assert@0.0.7 - @0xproject/connect@0.3.0 - contracts@2.0.0 - @0xproject/json-schemas@0.6.10 - @0xproject/monorepo-scripts@0.1.0 - @0xproject/subproviders@0.1.0 - @0xproject/tslint-config@0.2.1 - @0xproject/types@0.1.0 - @0xproject/utils@0.1.0 - @0xproject/web3-wrapper@0.1.0 - website@0.0.2 --- packages/monorepo-scripts/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index ebd3c60ea..d69607109 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/monorepo-scripts", - "version": "0.0.1", + "version": "0.1.0", "private": true, "description": "Helper scripts for the monorepo", "scripts": { @@ -19,7 +19,7 @@ }, "homepage": "https://github.com/0xProject/0x.js/packages/monorepo-scripts/README.md", "devDependencies": { - "@0xproject/tslint-config": "^0.2.0", + "@0xproject/tslint-config": "^0.2.1", "@types/glob": "^5.0.33", "@types/node": "^8.0.53", "shx": "^0.2.2", -- cgit v1.2.3 From 5d240222093dafd9c9d2db24e66668b4214c1b8e Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 20 Dec 2017 02:37:14 +0100 Subject: Add mono repo scripts README --- packages/monorepo-scripts/README.md | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 packages/monorepo-scripts/README.md (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/README.md b/packages/monorepo-scripts/README.md new file mode 100644 index 000000000..d2299b70d --- /dev/null +++ b/packages/monorepo-scripts/README.md @@ -0,0 +1,51 @@ +Mono repo scripts +------ + +This repository contains a few helpful scripts for working with this mono repo. + +## Usage + +#### Dependency versions +In order to reduce the size of this repo, we try and use the same versions of dependencies between packages. To make it easier to discover version discrepancies between packages, you can run: + +```bash +yarn deps_versions +``` + +This will list out any dependencies that differ in versions between packages. + +## Contributing + +We strongly recommend the community to help us make improvements and to determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository. + +Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting started. + +### Install Dependencies + +If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them: +```bash +yarn config set workspaces-experimental true +``` + +Then install dependencies +```bash +yarn install +``` + +### Build + +```bash +yarn build +``` + +### Clean + +```bash +yarn clean +``` + +### Lint + +```bash +yarn lint +``` -- cgit v1.2.3 From 1d430cf62fa6e957c15fbdf77524c6527d8df319 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 20 Dec 2017 14:53:50 +0100 Subject: Standardize on improved contributing section --- packages/monorepo-scripts/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/README.md b/packages/monorepo-scripts/README.md index d2299b70d..452e0f94c 100644 --- a/packages/monorepo-scripts/README.md +++ b/packages/monorepo-scripts/README.md @@ -16,7 +16,7 @@ This will list out any dependencies that differ in versions between packages. ## Contributing -We strongly recommend the community to help us make improvements and to determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository. +We strongly recommend that the community help us make improvements and determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository. Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting started. -- cgit v1.2.3 From a2bf19efc1d1aef67ac6da321fe36c53135c6555 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 20 Dec 2017 17:10:12 +0100 Subject: Publish - 0x.js@0.28.0 - @0xproject/abi-gen@0.0.3 - @0xproject/assert@0.0.8 - @0xproject/connect@0.3.1 - contracts@2.1.0 - @0xproject/dev-utils@0.0.2 - @0xproject/json-schemas@0.7.0 - @0xproject/kovan_faucets@1.0.1 - @0xproject/monorepo-scripts@0.1.1 - @0xproject/subproviders@0.1.1 - @0xproject/tslint-config@0.3.0 - @0xproject/types@0.1.1 - @0xproject/utils@0.1.1 - @0xproject/web3-wrapper@0.1.1 - @0xproject/website@0.0.3 --- packages/monorepo-scripts/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index d69607109..d461b8246 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/monorepo-scripts", - "version": "0.1.0", + "version": "0.1.1", "private": true, "description": "Helper scripts for the monorepo", "scripts": { @@ -19,7 +19,7 @@ }, "homepage": "https://github.com/0xProject/0x.js/packages/monorepo-scripts/README.md", "devDependencies": { - "@0xproject/tslint-config": "^0.2.1", + "@0xproject/tslint-config": "^0.3.0", "@types/glob": "^5.0.33", "@types/node": "^8.0.53", "shx": "^0.2.2", -- cgit v1.2.3 From f684cc371104b594358fb8cd274e453c81f48881 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Thu, 28 Dec 2017 10:57:04 +0100 Subject: Publish - 0x.js@0.29.0 - @0xproject/abi-gen@0.0.4 - @0xproject/assert@0.0.9 - @0xproject/connect@0.3.2 - contracts@2.1.1 - @0xproject/dev-utils@0.0.3 - @0xproject/json-schemas@0.7.1 - @0xproject/kovan_faucets@1.0.2 - @0xproject/monorepo-scripts@0.1.2 - @0xproject/subproviders@0.2.0 - @0xproject/tslint-config@0.4.0 - @0xproject/types@0.1.2 - @0xproject/utils@0.1.2 - @0xproject/web3-wrapper@0.1.2 - @0xproject/website@0.0.4 --- packages/monorepo-scripts/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index d461b8246..65248323e 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/monorepo-scripts", - "version": "0.1.1", + "version": "0.1.2", "private": true, "description": "Helper scripts for the monorepo", "scripts": { @@ -19,7 +19,7 @@ }, "homepage": "https://github.com/0xProject/0x.js/packages/monorepo-scripts/README.md", "devDependencies": { - "@0xproject/tslint-config": "^0.3.0", + "@0xproject/tslint-config": "^0.4.0", "@types/glob": "^5.0.33", "@types/node": "^8.0.53", "shx": "^0.2.2", -- cgit v1.2.3 From e744e4cd989bd3ae1070c59f7baa8097f18b8b06 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 22 Dec 2017 15:05:32 +0100 Subject: Apply prettier config --- packages/monorepo-scripts/src/deps_versions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/src/deps_versions.ts b/packages/monorepo-scripts/src/deps_versions.ts index 84b024427..5c9a2d6ff 100644 --- a/packages/monorepo-scripts/src/deps_versions.ts +++ b/packages/monorepo-scripts/src/deps_versions.ts @@ -2,7 +2,7 @@ import chalk from 'chalk'; import * as fs from 'fs'; -import {sync as globSync} from 'glob'; +import { sync as globSync } from 'glob'; import * as _ from 'lodash'; interface Dependencies { -- cgit v1.2.3 From c700046b7673a0f470c8d8abeec3cf873049a78a Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 4 Jan 2018 12:54:16 +0100 Subject: Apply prettify on json and md files --- packages/monorepo-scripts/README.md | 6 ++-- packages/monorepo-scripts/package.json | 64 ++++++++++++++++----------------- packages/monorepo-scripts/tsconfig.json | 20 +++++------ packages/monorepo-scripts/tslint.json | 4 +-- 4 files changed, 46 insertions(+), 48 deletions(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/README.md b/packages/monorepo-scripts/README.md index 452e0f94c..bed9bd6a6 100644 --- a/packages/monorepo-scripts/README.md +++ b/packages/monorepo-scripts/README.md @@ -1,11 +1,11 @@ -Mono repo scripts ------- +## Mono repo scripts This repository contains a few helpful scripts for working with this mono repo. ## Usage #### Dependency versions + In order to reduce the size of this repo, we try and use the same versions of dependencies between packages. To make it easier to discover version discrepancies between packages, you can run: ```bash @@ -23,11 +23,13 @@ Please read our [contribution guidelines](../../CONTRIBUTING.md) before getting ### Install Dependencies If you don't have yarn workspaces enabled (Yarn < v1.0) - enable them: + ```bash yarn config set workspaces-experimental true ``` Then install dependencies + ```bash yarn install ``` diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index 65248323e..06444e738 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -1,34 +1,34 @@ { - "name": "@0xproject/monorepo-scripts", - "version": "0.1.2", - "private": true, - "description": "Helper scripts for the monorepo", - "scripts": { - "deps_versions": "node ./lib/deps_versions.js", - "lint": "tslint --project . 'src/**/*.ts'", - "clean": "shx rm -rf lib", - "build": "tsc" - }, - "repository": { - "type": "git", - "url": "https://github.com/0xProject/0x.js.git" - }, - "license": "Apache-2.0", - "bugs": { - "url": "https://github.com/0xProject/0x.js/issues" - }, - "homepage": "https://github.com/0xProject/0x.js/packages/monorepo-scripts/README.md", - "devDependencies": { - "@0xproject/tslint-config": "^0.4.0", - "@types/glob": "^5.0.33", - "@types/node": "^8.0.53", - "shx": "^0.2.2", - "tslint": "5.8.0", - "typescript": "~2.6.1" - }, - "dependencies": { - "chalk": "^2.3.0", - "glob": "^7.1.2", - "lodash": "^4.17.4" - } + "name": "@0xproject/monorepo-scripts", + "version": "0.1.2", + "private": true, + "description": "Helper scripts for the monorepo", + "scripts": { + "deps_versions": "node ./lib/deps_versions.js", + "lint": "tslint --project . 'src/**/*.ts'", + "clean": "shx rm -rf lib", + "build": "tsc" + }, + "repository": { + "type": "git", + "url": "https://github.com/0xProject/0x.js.git" + }, + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/0xProject/0x.js/issues" + }, + "homepage": "https://github.com/0xProject/0x.js/packages/monorepo-scripts/README.md", + "devDependencies": { + "@0xproject/tslint-config": "^0.4.0", + "@types/glob": "^5.0.33", + "@types/node": "^8.0.53", + "shx": "^0.2.2", + "tslint": "5.8.0", + "typescript": "~2.6.1" + }, + "dependencies": { + "chalk": "^2.3.0", + "glob": "^7.1.2", + "lodash": "^4.17.4" + } } diff --git a/packages/monorepo-scripts/tsconfig.json b/packages/monorepo-scripts/tsconfig.json index a2d90e5dc..b915df2a8 100644 --- a/packages/monorepo-scripts/tsconfig.json +++ b/packages/monorepo-scripts/tsconfig.json @@ -1,13 +1,11 @@ { - "compilerOptions": { - "module": "commonjs", - "target": "es5", - "lib": ["es2015", "dom"], - "outDir": "lib", - "noImplicitAny": true, - "strictNullChecks": true - }, - "include": [ - "./src/**/*" - ] + "compilerOptions": { + "module": "commonjs", + "target": "es5", + "lib": ["es2015", "dom"], + "outDir": "lib", + "noImplicitAny": true, + "strictNullChecks": true + }, + "include": ["./src/**/*"] } diff --git a/packages/monorepo-scripts/tslint.json b/packages/monorepo-scripts/tslint.json index a07795151..ffaefe83a 100644 --- a/packages/monorepo-scripts/tslint.json +++ b/packages/monorepo-scripts/tslint.json @@ -1,5 +1,3 @@ { - "extends": [ - "@0xproject/tslint-config" - ] + "extends": ["@0xproject/tslint-config"] } -- cgit v1.2.3 From 27d9fba785a5a53550be53b12baf9069bda8d160 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 4 Jan 2018 18:56:30 +0100 Subject: Include web3 types via typeRoots and factor out common parts of tsconfig.json --- packages/monorepo-scripts/tsconfig.json | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/tsconfig.json b/packages/monorepo-scripts/tsconfig.json index b915df2a8..c56d255d5 100644 --- a/packages/monorepo-scripts/tsconfig.json +++ b/packages/monorepo-scripts/tsconfig.json @@ -1,11 +1,7 @@ { + "extends": "../../tsconfig", "compilerOptions": { - "module": "commonjs", - "target": "es5", - "lib": ["es2015", "dom"], - "outDir": "lib", - "noImplicitAny": true, - "strictNullChecks": true + "outDir": "lib" }, "include": ["./src/**/*"] } -- cgit v1.2.3 From 31b3ac4b98dc9fc5f2588a2dc4664de1dea5f49c Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 11 Jan 2018 13:05:49 +0100 Subject: Publish - 0x.js@0.29.1 - @0xproject/abi-gen@0.1.0 - @0xproject/assert@0.0.10 - @0xproject/connect@0.4.0 - contracts@2.1.2 - @0xproject/dev-utils@0.0.4 - @0xproject/json-schemas@0.7.2 - @0xproject/kovan_faucets@1.0.3 - @0xproject/monorepo-scripts@0.1.3 - @0xproject/subproviders@0.3.0 - @0xproject/tslint-config@0.4.1 - @0xproject/types@0.1.3 - @0xproject/utils@0.1.3 - web3-typescript-typings@0.9.1 - @0xproject/web3-wrapper@0.1.3 - @0xproject/website@0.0.5 --- packages/monorepo-scripts/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index 06444e738..77a3ad3ce 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/monorepo-scripts", - "version": "0.1.2", + "version": "0.1.3", "private": true, "description": "Helper scripts for the monorepo", "scripts": { @@ -19,7 +19,7 @@ }, "homepage": "https://github.com/0xProject/0x.js/packages/monorepo-scripts/README.md", "devDependencies": { - "@0xproject/tslint-config": "^0.4.0", + "@0xproject/tslint-config": "^0.4.1", "@types/glob": "^5.0.33", "@types/node": "^8.0.53", "shx": "^0.2.2", -- cgit v1.2.3 From feace988b4f6f361adb45ed17f16c3d7f5d9a514 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 12 Jan 2018 21:53:11 +0100 Subject: Add postpublish scripts --- packages/monorepo-scripts/scripts/postpublish.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 packages/monorepo-scripts/scripts/postpublish.js (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/scripts/postpublish.js b/packages/monorepo-scripts/scripts/postpublish.js new file mode 100644 index 000000000..16d67e03f --- /dev/null +++ b/packages/monorepo-scripts/scripts/postpublish.js @@ -0,0 +1,15 @@ +const postpublish_utils = require('../../../scripts/postpublish_utils'); +const packageJSON = require('../package.json'); + +const subPackageName = packageJSON.name; + +postpublish_utils + .getLatestTagAndVersionAsync(subPackageName) + .then(function(result) { + const releaseName = postpublish_utils.getReleaseName(subPackageName, result.version); + const assets = []; + return postpublish_utils.publishReleaseNotes(result.tag, releaseName, assets); + }) + .catch(function(err) { + throw err; + }); -- cgit v1.2.3 From d58bfb46cf50131d361ad0cbd08ef44454f8930e Mon Sep 17 00:00:00 2001 From: Brandon Millman Date: Wed, 17 Jan 2018 22:45:09 -0800 Subject: Publish - 0x.js@0.30.0 - @0xproject/abi-gen@0.1.2 - @0xproject/assert@0.0.11 - chai-as-promised-typescript-typings@0.0.4 - chai-typescript-typings@0.0.2 - @0xproject/connect@0.5.0 - contracts@2.1.4 - @0xproject/dev-utils@0.0.5 - @0xproject/json-schemas@0.7.3 - @0xproject/kovan_faucets@1.0.5 - @0xproject/monorepo-scripts@0.1.4 - @0xproject/subproviders@0.3.1 - @0xproject/tslint-config@0.4.2 - @0xproject/types@0.1.4 - @0xproject/utils@0.2.0 - web3-typescript-typings@0.9.4 - @0xproject/web3-wrapper@0.1.5 - @0xproject/website@0.0.7 --- packages/monorepo-scripts/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index 77a3ad3ce..6a62e22dd 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/monorepo-scripts", - "version": "0.1.3", + "version": "0.1.4", "private": true, "description": "Helper scripts for the monorepo", "scripts": { @@ -19,7 +19,7 @@ }, "homepage": "https://github.com/0xProject/0x.js/packages/monorepo-scripts/README.md", "devDependencies": { - "@0xproject/tslint-config": "^0.4.1", + "@0xproject/tslint-config": "^0.4.2", "@types/glob": "^5.0.33", "@types/node": "^8.0.53", "shx": "^0.2.2", -- cgit v1.2.3 From f58f0ddb67555c3f0c7252ea3e003824984c48ad Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Wed, 24 Jan 2018 17:02:13 +0100 Subject: Publish - 0x.js@0.30.1 - @0xproject/abi-gen@0.1.3 - @0xproject/assert@0.0.12 - chai-as-promised-typescript-typings@0.0.5 - @0xproject/connect@0.5.1 - contracts@2.1.5 - @0xproject/deployer@0.0.2 - @0xproject/dev-utils@0.0.6 - @0xproject/json-schemas@0.7.4 - @0xproject/kovan_faucets@1.0.6 - @0xproject/monorepo-scripts@0.1.5 - @0xproject/subproviders@0.3.2 - @0xproject/tslint-config@0.4.3 - @0xproject/types@0.1.5 - @0xproject/utils@0.2.1 - web3-typescript-typings@0.9.5 - @0xproject/web3-wrapper@0.1.6 - @0xproject/website@0.0.8 --- packages/monorepo-scripts/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/package.json b/packages/monorepo-scripts/package.json index 6a62e22dd..57d0d6f5f 100644 --- a/packages/monorepo-scripts/package.json +++ b/packages/monorepo-scripts/package.json @@ -1,6 +1,6 @@ { "name": "@0xproject/monorepo-scripts", - "version": "0.1.4", + "version": "0.1.5", "private": true, "description": "Helper scripts for the monorepo", "scripts": { @@ -19,7 +19,7 @@ }, "homepage": "https://github.com/0xProject/0x.js/packages/monorepo-scripts/README.md", "devDependencies": { - "@0xproject/tslint-config": "^0.4.2", + "@0xproject/tslint-config": "^0.4.3", "@types/glob": "^5.0.33", "@types/node": "^8.0.53", "shx": "^0.2.2", -- cgit v1.2.3