diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-11-26 21:00:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-26 21:00:25 +0800 |
commit | 387d7199d16287444b2ff0b13d4dd9664119150f (patch) | |
tree | 464feb32f720724a749fda42ba51e6d334bca7ac | |
parent | dc965da64eb8549a34bd1d67a5559c848083373d (diff) | |
parent | 0c0a1db114b4cb9332523783c773c27ec43245b6 (diff) | |
download | dexon-0x-contracts-387d7199d16287444b2ff0b13d4dd9664119150f.tar.gz dexon-0x-contracts-387d7199d16287444b2ff0b13d4dd9664119150f.tar.zst dexon-0x-contracts-387d7199d16287444b2ff0b13d4dd9664119150f.zip |
Merge pull request #1312 from 0xProject/feature/build-fix-instant
[@0x/instant] Fix CI build broken by instant installation tests
-rw-r--r-- | packages/instant/package.json | 2 | ||||
-rw-r--r-- | packages/monorepo-scripts/CHANGELOG.json | 9 | ||||
-rw-r--r-- | packages/monorepo-scripts/src/publish.ts | 2 |
3 files changed, 11 insertions, 2 deletions
diff --git a/packages/instant/package.json b/packages/instant/package.json index d3a85a646..9616af54f 100644 --- a/packages/instant/package.json +++ b/packages/instant/package.json @@ -11,7 +11,7 @@ "build": "yarn build:all", "build:all": "run-p build:umd:prod build:commonjs", "build:umd:prod": "webpack --mode production", - "build:commonjs": "tsc -b", + "build:commonjs": "tsc -b && shx cp -r src/assets lib", "build:ci": "yarn build", "watch_without_deps": "tsc -w", "dev": "webpack-dev-server --mode development", diff --git a/packages/monorepo-scripts/CHANGELOG.json b/packages/monorepo-scripts/CHANGELOG.json index 170a97a33..4aa6be382 100644 --- a/packages/monorepo-scripts/CHANGELOG.json +++ b/packages/monorepo-scripts/CHANGELOG.json @@ -1,5 +1,14 @@ [ { + "version": "1.0.7", + "changes": [ + { + "note": "Fix the lerna parameter name from cdVersions to cd-versions", + "pr": 1312 + } + ] + }, + { "version": "1.0.6", "changes": [ { diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts index 854a72b86..19947d78f 100644 --- a/packages/monorepo-scripts/src/publish.ts +++ b/packages/monorepo-scripts/src/publish.ts @@ -208,7 +208,7 @@ async function lernaPublishAsync(packageToNextVersion: { [name: string]: string const packageVersionString = _.map(packageToNextVersion, (nextVersion: string, packageName: string) => { return `${packageName}@${nextVersion}`; }).join(','); - let lernaPublishCmd = `node ${constants.lernaExecutable} publish --cdVersions=${packageVersionString} --registry=${ + let lernaPublishCmd = `node ${constants.lernaExecutable} publish --cd-versions=${packageVersionString} --registry=${ configs.NPM_REGISTRY_URL } --yes`; if (configs.IS_LOCAL_PUBLISH) { |