Skip to content

Commit 11f4ede

Browse files
authoredApr 11, 2023
chore: fix bump running out of memory (aws#24983)
The bump performs a full build of `aws-cdk-lib` right now, but it doesn't need to. * Just run the `on-bump` scripts we need through `ts-node` instead. * Also make `@aws-cdk/cx-api` a copy of `aws-cdk-lib.cx-api`, same as `cloud-assembly-schema`. Move the `on-bump` script from `cx-api` to `aws-cdk-lib`. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 55621ad commit 11f4ede

File tree

97 files changed

+112
-4660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+112
-4660
lines changed
 

‎bump.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ if [[ "${LEGACY_BUMP:-}" == "" ]]; then
2020
# if we're using 'cdk-release' for the bump, build that package, including all of its dependencies
2121
npx lerna run build --include-dependencies --scope @aws-cdk/cdk-release
2222
fi
23-
${scriptdir}/scripts/bump.js ${1:-minor}
23+
VERBOSE=1 exec ${scriptdir}/scripts/bump.js ${1:-minor}

‎packages/@aws-cdk/cloud-assembly-schema/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
"build+test+package": "yarn build+test && yarn package",
4949
"build+test": "yarn build && yarn test",
5050
"compat": "cdk-compat",
51-
"update-schema": "bash scripts/update-schema.sh",
5251
"rosetta:extract": "yarn --silent jsii-rosetta extract",
5352
"build+extract": "yarn build && yarn rosetta:extract",
5453
"build+test+extract": "yarn build+test && yarn rosetta:extract"

0 commit comments

Comments
 (0)
Please sign in to comment.