From 9571f80da25af21ec1b73e198a7c163e6569476f Mon Sep 17 00:00:00 2001 From: Victor Genaev Date: Thu, 21 Jul 2022 16:20:09 +0200 Subject: [PATCH] fix(PricingTable): remove max-width (#3533) --- scripts/publish.mjs | 22 +++++++++------------- yarn.lock | 2 +- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/scripts/publish.mjs b/scripts/publish.mjs index 3bc5fc9dc0..44fed83455 100644 --- a/scripts/publish.mjs +++ b/scripts/publish.mjs @@ -89,7 +89,12 @@ async function configureGitHubToken() { async function previewChangelog() { const packages = await getPackages(); const streams = packages - .filter(pkg => !/orbit.kiwi|orbit-tracking|babel-plugin-orbit-components/gm.test(pkg.name)) + .filter( + pkg => + !/orbit.kiwi|orbit-tracking|(babel|eslint)-plugin-orbit-components|orbit-design-tokens/gm.test( + pkg.name, + ), + ) .map(pkg => { return conventionalChangelog( { @@ -132,16 +137,7 @@ async function previewChangelog() { (async () => { await configureGitHubToken(); await installDependencies(); - publishPackages().then(() => { - previewChangelog() - .then(changelog => { - postSlackNotification(changelog); - }) - .catch(err => { - console.error(err); - }) - .finally(() => { - process.exit(0); - }); - }); + await publishPackages(); + const changelog = await previewChangelog(); + await postSlackNotification(changelog); })(); diff --git a/yarn.lock b/yarn.lock index 030456c597..fc6c1c9474 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7078,7 +7078,7 @@ dependencies: "@types/react" "*" -"@types/react-dom@>=16.9.0": +"@types/react-dom@>=16.9.0", "@types/react-dom@^17.0.9": version "17.0.17" resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.17.tgz#2e3743277a793a96a99f1bf87614598289da68a1" integrity sha512-VjnqEmqGnasQKV0CWLevqMTXBYG9GbwuE6x3VetERLh0cq2LTptFE73MrQi2S7GkKXCf2GgwItB/melLnxfnsg==