Skip to content

Comments

chore: migrate from AwsCdkConstructLibrary to CdklabsConstructLibrary#2676

Merged
aemada-aws merged 3 commits intokubectl-v34/mainfrom
migrate-cdklabs-construct-library-v34
Feb 20, 2026
Merged

chore: migrate from AwsCdkConstructLibrary to CdklabsConstructLibrary#2676
aemada-aws merged 3 commits intokubectl-v34/mainfrom
migrate-cdklabs-construct-library-v34

Conversation

@aemada-aws
Copy link
Contributor

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

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
@aemada-aws aemada-aws enabled auto-merge (squash) February 20, 2026 10:30
@aemada-aws aemada-aws merged commit 714a84e into kubectl-v34/main Feb 20, 2026
12 checks passed
@aemada-aws aemada-aws deleted the migrate-cdklabs-construct-library-v34 branch February 20, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants