From ebfd5f2b203106135b2474b327727b2fee400380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=91=A8=F0=9F=8F=BB=E2=80=8D=F0=9F=92=BB=20Romain=20M?= =?UTF-8?q?arcadier?= Date: Wed, 29 Sep 2021 14:57:27 +0200 Subject: [PATCH] fix: correct package names in support scripts --- bump.sh | 2 +- scripts/bump-cfnspec.sh | 6 +++--- scripts/bump.js | 2 +- scripts/gen.sh | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bump.sh b/bump.sh index b3c04198b50d3..597cfa8e15489 100755 --- a/bump.sh +++ b/bump.sh @@ -18,6 +18,6 @@ cd ${scriptdir} yarn install --frozen-lockfile if [[ "${LEGACY_BUMP:-}" == "" ]]; then # if we're using 'cdk-release' for the bump, build that package, including all of its dependencies - npx lerna run build --include-dependencies --scope cdk-release + npx lerna run build --include-dependencies --scope @aws-cdk/cdk-release fi ${scriptdir}/scripts/bump.js ${1:-minor} diff --git a/scripts/bump-cfnspec.sh b/scripts/bump-cfnspec.sh index dd9d182ef3ee8..f71f002785ff9 100755 --- a/scripts/bump-cfnspec.sh +++ b/scripts/bump-cfnspec.sh @@ -18,8 +18,8 @@ ${pwd}/install.sh # dependency, not `@aws-cdk/cfnspec` itself). yarn lerna run build --stream \ --scope=@aws-cdk/cfnspec \ - --scope=cfn2ts \ - --scope=ubergen \ + --scope=@aws-cdk/cfn2ts \ + --scope=@aws-cdk/ubergen \ --include-dependencies # Run the cfnspec update @@ -30,4 +30,4 @@ version=$(cat cfn.version) # Come back to root, add all files to git and commit cd ${pwd} git add . -git commit -a -m "feat: cloudformation spec v${version}" || true # don't fail if there are no updates \ No newline at end of file +git commit -a -m "feat: cloudformation spec v${version}" || true # don't fail if there are no updates diff --git a/scripts/bump.js b/scripts/bump.js index 6078e04460a95..7461970c2d3c9 100755 --- a/scripts/bump.js +++ b/scripts/bump.js @@ -74,7 +74,7 @@ async function main() { opts.alphaChangelogFile = ver.alphaChangelogFile; console.error("🎉 Calling our 'cdk-release' package to make the bump"); console.error("ℹī¸ Set the LEGACY_BUMP env variable to use the old 'standard-version' bump instead"); - const cdkRelease = require('cdk-release'); + const cdkRelease = require('@aws-cdk/cdk-release'); cdkRelease(opts); } } diff --git a/scripts/gen.sh b/scripts/gen.sh index d3acf1e403904..486646892d000 100755 --- a/scripts/gen.sh +++ b/scripts/gen.sh @@ -15,8 +15,8 @@ fail() { echo "=============================================================================================" echo "building required build tools..." -time lerna run --stream build --scope cfn2ts --scope ubergen --include-dependencies || fail +time lerna run --stream build --scope @aws-cdk/cfn2ts --scope @aws-cdk/ubergen --include-dependencies || fail echo "=============================================================================================" echo "executing gen..." -time lerna run --stream gen || fail \ No newline at end of file +time lerna run --stream gen || fail