Skip to content

Commit 714a84e

Browse files
authored
chore: migrate from AwsCdkConstructLibrary to CdklabsConstructLibrary (#2676)
Migrate to `CdklabsConstructLibrary` from `cdklabs-projen-project-types` for cdklabs defaults and trusted publishing. ## Changes - Switch to `CdklabsConstructLibrary` for cdklabs defaults - Enables trusted publishing for npm, PyPI, and NuGet by default (removes NPM_TOKEN, TWINE_USERNAME/TWINE_PASSWORD, NUGET_API_KEY) ## Additional options to preserve original behavior - `private: false` - CdklabsConstructLibrary defaults to private: true, but this is a public package - `setNodeEngineVersion: false` - Prevent adding engines.node to package.json - `npmAccess: javascript.NpmAccess.PUBLIC` - Prevent adding publishConfig to package.json - `trustedPublishing: false` for NuGet - Keep using NUGET_API_KEY Similar to #2671 Fixes https://github.com/cdklabs/awscdk-asset-kubectl/actions/runs/22073584993
1 parent 766402b commit 714a84e

26 files changed

+1011
-41
lines changed

.gitattributes

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/auto-approve.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/release-kubectl-v34.yml

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/retry-automerge.yml

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/upgrade-cdklabs-projen-project-types-kubectl-v20-main.yml

Lines changed: 90 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/upgrade-cdklabs-projen-project-types-kubectl-v32-main.yml

Lines changed: 90 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)