Skip to content

chore(cfn-property-mixins): exclude scripts/ from npm package#37227

Merged
mergify[bot] merged 2 commits into
mainfrom
mrgrain/fix/cfn-property-mixins/exclude-scripts-from-npm-package
Mar 12, 2026
Merged

chore(cfn-property-mixins): exclude scripts/ from npm package#37227
mergify[bot] merged 2 commits into
mainfrom
mrgrain/fix/cfn-property-mixins/exclude-scripts-from-npm-package

Conversation

@mrgrain
Copy link
Copy Markdown
Contributor

@mrgrain mrgrain commented Mar 11, 2026

Reason for this change

The @aws-cdk/cfn-property-mixins package was recently graduated to a stable standalone package in #37215. During that work, the scripts/ 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 .npmignore file for @aws-cdk/cfn-property-mixins, matching the existing exclusion of test/. 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 .npmignore file already follows the same pattern for test/. The scripts/ 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

@github-actions github-actions Bot added the p2 label Mar 11, 2026
@aws-cdk-automation aws-cdk-automation requested a review from a team March 11, 2026 16:27
@mergify mergify Bot added the contribution/core This is a PR that came from AWS. label Mar 11, 2026
Copy link
Copy Markdown
Collaborator

@aws-cdk-automation aws-cdk-automation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This review is outdated)

@mrgrain mrgrain changed the title fix(cfn-property-mixins): exclude scripts/ from npm package chore(cfn-property-mixins): exclude scripts/ from npm package Mar 11, 2026
@aws-cdk-automation aws-cdk-automation dismissed stale reviews from themself March 11, 2026 16:30

✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.

@aws-cdk-automation aws-cdk-automation added the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Mar 11, 2026
@aws-cdk-automation aws-cdk-automation removed the pr/needs-maintainer-review This PR needs a review from a Core Team Member label Mar 12, 2026
@mrgrain
Copy link
Copy Markdown
Contributor Author

mrgrain commented Mar 12, 2026

@Mergifyio queue

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Mar 12, 2026

Merge Queue Status

🛑 Queue command has been cancelled

@mrgrain
Copy link
Copy Markdown
Contributor Author

mrgrain commented Mar 12, 2026

@Mergifyio refresh

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Mar 12, 2026

refresh

✅ Pull request refreshed

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Mar 12, 2026

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).

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Mar 12, 2026

Merge Queue Status

  • Entered queue2026-03-12 11:56 UTC · Rule: default-squash
  • Checks passed · in-place
  • Merged2026-03-12 12:50 UTC · at b0e08684dccffb7209bac8cc82d6258bea557bed

This pull request spent 54 minutes 40 seconds in the queue, including 43 minutes 45 seconds running CI.

Required conditions to merge

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Mar 12, 2026

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).

@mergify mergify Bot merged commit a9d24be into main Mar 12, 2026
22 checks passed
@mergify mergify Bot deleted the mrgrain/fix/cfn-property-mixins/exclude-scripts-from-npm-package branch March 12, 2026 12:50
@github-actions
Copy link
Copy Markdown
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Mar 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

contribution/core This is a PR that came from AWS. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants