From 1dc7f03665f7c27de5e49881bedb585a3e39e04b Mon Sep 17 00:00:00 2001 From: Oleg Pimenov Date: Wed, 15 Apr 2020 13:05:17 +0300 Subject: [PATCH] chore: bump version to 9.0.0-beta.1 w/ changelog --- CHANGELOG.md | 23 ++++++++++++++++++++++ package.json | 6 +++--- scripts/deploy/cleanup-preview.ts | 4 ++-- scripts/deploy/publish-docs-preview.ts | 4 ++-- tools/release/prompt/new-version-prompt.ts | 1 + tools/release/publish-release.ts | 9 +++++---- tools/release/stage-release.ts | 6 +++--- tools/release/tsconfig.json | 1 + 8 files changed, 40 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aaaec42c7..aa7c3325b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,26 @@ +# 9.0.0-beta.1 "Synergy Quarantined" (2020-04-15) + +### Mosaic + + * bug fix **dropdown:** disabled item should prevent click event (#UIM-315) ([#396](https://github.com/positive-js/mosaic/issues/396)) ([#397](https://github.com/positive-js/mosaic/issues/397)) ([2766b80](https://github.com/positive-js/mosaic/commit/2766b804ea3a5d79f82c19214883cab293741130)), closes [#UIM-315](https://github.com/positive-js/mosaic/issues/UIM-315) + * bug fix **navbar:** fixing navbar disabled item opacity (#UIM-396) ([#440](https://github.com/positive-js/mosaic/issues/440)) ([a939bb4](https://github.com/positive-js/mosaic/commit/a939bb425800c7d3d505897aab29d7af519a1cac)), closes [#UIM-396](https://github.com/positive-js/mosaic/issues/UIM-396) + * bug fix **radio:** fixing disabled form icon's and basic border's colors (#UIM-396) ([#446](https://github.com/positive-js/mosaic/issues/446)) ([65bf750](https://github.com/positive-js/mosaic/commit/65bf750d1504d680fdc81cb9e28959f3958fe4f3)), closes [#UIM-396](https://github.com/positive-js/mosaic/issues/UIM-396) + * bug fix **tags:** fixing tag's icons color ([#424](https://github.com/positive-js/mosaic/issues/424)) ([ac3bb32](https://github.com/positive-js/mosaic/commit/ac3bb3202f079c1aeffa28369d52a051b274c1b9)) + * bug fix **tags:** incorrect height (#UIM-365) ([#414](https://github.com/positive-js/mosaic/issues/414)) ([b9d5f55](https://github.com/positive-js/mosaic/commit/b9d5f55255dbb06b299e48ee570cd0551f89b300)), closes [#UIM-365](https://github.com/positive-js/mosaic/issues/UIM-365) + * bug fix **tags:** paste does not work (UIM-403) ([#445](https://github.com/positive-js/mosaic/issues/445)) ([c9d54b9](https://github.com/positive-js/mosaic/commit/c9d54b934e78ad54f0a51224fc5d1b6eb8b6dbc4)) + * bug fix **tree:** unnexpected focus on scroll (#UIM-375) ([#442](https://github.com/positive-js/mosaic/issues/442)) ([f69e972](https://github.com/positive-js/mosaic/commit/f69e97221fdc1a682e28d90a678b149eac2ccf8a)), closes [#UIM-375](https://github.com/positive-js/mosaic/issues/UIM-375) + * feature **build:** migration to Angular 9 and adding angular-cli (#UIM-380) ([#441](https://github.com/positive-js/mosaic/issues/441)) ([19c4bc3](https://github.com/positive-js/mosaic/commit/19c4bc35079c595986e9880808884f3b9b2f8020)), closes [#UIM-380](https://github.com/positive-js/mosaic/issues/UIM-380) + * feature **button:** added white frame for focusing state (#UIM-145) ([#426](https://github.com/positive-js/mosaic/issues/426)) ([98ce670](https://github.com/positive-js/mosaic/commit/98ce670a2fb9430b9d7b38bd9539ba4f0e1a4668)), closes [#UIM-145](https://github.com/positive-js/mosaic/issues/UIM-145) + * feature **chore:** deleted aria-describer and use focus-monitor from angular cdk (#UIM-381) ([#431](https://github.com/positive-js/mosaic/issues/431)) ([cb14d40](https://github.com/positive-js/mosaic/commit/cb14d40b4abdd278210b75955ca0e007a1c90dcc)), closes [#UIM-381](https://github.com/positive-js/mosaic/issues/UIM-381) + * feature **refactor:** unified styles and input parameters (#UIM-384, #UIM-385) ([#451](https://github.com/positive-js/mosaic/issues/451)) ([814516c](https://github.com/positive-js/mosaic/commit/814516c73b8332e2f6394b2203c10a8dffd22128)), closes [#UIM-384](https://github.com/positive-js/mosaic/issues/UIM-384) [#UIM-385](https://github.com/positive-js/mosaic/issues/UIM-385) + * feature **table:** added component table (#UIM-188) ([#444](https://github.com/positive-js/mosaic/issues/444)) ([a1b7831](https://github.com/positive-js/mosaic/commit/a1b7831e2028108eb66dba44f864f9e78b8c98e3)), closes [#UIM-188](https://github.com/positive-js/mosaic/issues/UIM-188) + * feature **visual:** reworked parameters for theming (#UIM-258) ([#387](https://github.com/positive-js/mosaic/issues/387)) ([e305b3c](https://github.com/positive-js/mosaic/commit/e305b3cf3ae0ad7372e8de7605683da35b637f73)), closes [#UIM-258](https://github.com/positive-js/mosaic/issues/UIM-258) [#UIM-315](https://github.com/positive-js/mosaic/issues/UIM-315) + +### Docs + + * bug fix angular version for stackblitz ([edb2e20](https://github.com/positive-js/mosaic/commit/edb2e2027a5a3435924e593958d8f1f859342e7d)) + * feature adding checklist tree example (#UIM-391) ([#429](https://github.com/positive-js/mosaic/issues/429)) ([bd494a7](https://github.com/positive-js/mosaic/commit/bd494a7108d0dabdf5a149adcd6036ad596880a7)), closes [#UIM-391](https://github.com/positive-js/mosaic/issues/UIM-391) + ## 8.4.4 "Walk Up Candlemas" (2020-03-19) ### Mosaic diff --git a/package.json b/package.json index 111c67b28..34d7eef5f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mosaic", - "version": "9.0.0-beta.0", + "version": "9.0.0-beta.1", "description": "Components for Angular", "homepage": "https://github.com/positive-js/mosaic", "bugs": "https://github.com/positive-js/mosaic/issues", @@ -142,8 +142,8 @@ "linter:styles": "gulp stylelint", "linter:styles:json": "gulp stylelint:json", "linter:yaml": "yamllint **/*.yml --ignore=node_modules/**/*.yml", - "release:stage": "ts-node --project tools/release/ tools/release/stage-release.ts", - "release:publish": "ts-node --project tools/release/ tools/release/publish-release.ts", + "release:stage": "ts-node --project tools/release/tsconfig.json tools/release/stage-release.ts", + "release:publish": "ts-node --project tools/release/tsconfig.json tools/release/publish-release.ts", "server-dev:all": "ng serve dev-all", "server-dev:alert": "ng serve dev-alert", "server-dev:autocomplete": "ng serve dev-autocomplete", diff --git a/scripts/deploy/cleanup-preview.ts b/scripts/deploy/cleanup-preview.ts index 741e9c6a1..1dbb28c77 100644 --- a/scripts/deploy/cleanup-preview.ts +++ b/scripts/deploy/cleanup-preview.ts @@ -1,4 +1,4 @@ -import * as OctokitApi from '@octokit/rest'; +import { Octokit } from '@octokit/rest'; import { execSync } from 'child_process'; import { CONFIG } from '../../tools/release/config'; @@ -10,7 +10,7 @@ async function cleanupDocsPreviews() { const repoDir = `./tmp/docs-preview-cleanup`; // @ts-ignore - const octokit = new OctokitApi({ + const octokit = new Octokit({ type: 'token', token: CONFIG.github.token }); diff --git a/scripts/deploy/publish-docs-preview.ts b/scripts/deploy/publish-docs-preview.ts index 55746ac05..79a95fa84 100644 --- a/scripts/deploy/publish-docs-preview.ts +++ b/scripts/deploy/publish-docs-preview.ts @@ -1,5 +1,5 @@ /* tslint:disable:no-console */ -import * as OctokitApi from '@octokit/rest'; +import { Octokit } from '@octokit/rest'; import { execSync } from 'child_process'; import { join } from 'path'; @@ -60,7 +60,7 @@ async function postGithubComment() { const auth = process.env.GITHUB_API_MOSAIC; // @ts-ignore - const githubApi = new OctokitApi({ + const githubApi = new Octokit({ auth }); diff --git a/tools/release/prompt/new-version-prompt.ts b/tools/release/prompt/new-version-prompt.ts index 4c4f50278..de2142e3b 100644 --- a/tools/release/prompt/new-version-prompt.ts +++ b/tools/release/prompt/new-version-prompt.ts @@ -32,6 +32,7 @@ export async function promptForNewVersion(currentVersion: Version): Promise c.value).join(', ')})` }); } diff --git a/tools/release/publish-release.ts b/tools/release/publish-release.ts index b6bd5c18e..f0d601bd8 100644 --- a/tools/release/publish-release.ts +++ b/tools/release/publish-release.ts @@ -170,10 +170,11 @@ class PublishReleaseTask extends BaseReleaseTask { const binDir = join(this.projectDir, 'node_modules/.bin'); const spawnOptions = {cwd: binDir, stdio: 'inherit'}; - execSync('gulp clean', spawnOptions); - execSync('gulp cdk:build-release', spawnOptions); - execSync('gulp mosaic-moment-adapter:build-release', spawnOptions); - execSync('gulp mosaic:build-release', spawnOptions); + execSync('rm -rf dist', spawnOptions); + execSync('yarn run build:cdk', spawnOptions); + execSync('yarn run build:mosaic-moment-adapter', spawnOptions); + execSync('yarn run build:mosaic', spawnOptions); + execSync('yarn run styles:built-all', spawnOptions); } /** Checks the release output by running the release-output validations. */ diff --git a/tools/release/stage-release.ts b/tools/release/stage-release.ts index 94e948c45..f2de302f9 100644 --- a/tools/release/stage-release.ts +++ b/tools/release/stage-release.ts @@ -1,5 +1,5 @@ // tslint:disable:no-console -import * as OctokitApi from '@octokit/rest'; +import { Octokit } from '@octokit/rest'; import chalk from 'chalk'; import { readFileSync, writeFileSync } from 'fs'; import { join } from 'path'; @@ -50,7 +50,7 @@ class StageReleaseTask extends BaseReleaseTask { git: GitClient; /** Octokit API instance that can be used to make Github API calls. */ - githubApi: OctokitApi; + githubApi: Octokit; tabSpaces = 4; @@ -73,7 +73,7 @@ class StageReleaseTask extends BaseReleaseTask { process.exit(1); } - this.githubApi = new OctokitApi({ + this.githubApi = new Octokit({ type: 'token', token: CONFIG.github.token }); diff --git a/tools/release/tsconfig.json b/tools/release/tsconfig.json index 7b49cc548..24078a7d5 100644 --- a/tools/release/tsconfig.json +++ b/tools/release/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "outDir": "../../dist/tools/release", "lib": [ "es2016" ],