chore(cfn-property-mixins): exclude scripts/ from npm package#37227
Conversation
scripts/ from npm package
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
|
@Mergifyio queue |
Merge Queue Status🛑 Queue command has been cancelled |
|
@Mergifyio refresh |
✅ Pull request refreshed |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Merge Queue Status
This pull request spent 54 minutes 40 seconds in the queue, including 43 minutes 45 seconds running CI. Required conditions to merge
|
…pts-from-npm-package
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Comments on closed issues and PRs are hard for our team to see. |
Reason for this change
The
@aws-cdk/cfn-property-mixinspackage was recently graduated to a stable standalone package in #37215. During that work, thescripts/directory — which contains the code generation tooling (gen.ts,config.ts, and their compiled outputs) — was not added to.npmignore. These files are only needed at build time to generate the mixin source code and serve no purpose for consumers of the published package. Including them unnecessarily increases the package size on npm.Description of changes
Adds
scripts/to the.npmignorefile for@aws-cdk/cfn-property-mixins, matching the existing exclusion oftest/. This ensures the code generation scripts are stripped from the published tarball.Describe any new or updated permissions being added
No new permissions.
Description of how you validated changes
The
.npmignorefile already follows the same pattern fortest/. Thescripts/directory only contains build-time codegen files that are not referenced by any runtime code.Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license