-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ubergen: monocdk/aws-cdk-lib include files that are .npmignored in submodules #12292
Labels
aws-cdk-lib
Related to the aws-cdk-lib package
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
monocdk
Related to the monocdk package
p1
Comments
eladb
added
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
labels
Dec 31, 2020
eladb
changed the title
monnocdk: submodule npmignore files are not respected
ubergen: submodule npmignore files are not respected
Dec 31, 2020
eladb
changed the title
ubergen: submodule npmignore files are not respected
ubergen: submodule npmignore files are not respected in the mono package
Dec 31, 2020
eladb
changed the title
ubergen: submodule npmignore files are not respected in the mono package
ubergen: monocdk/aws-cdk-lib include files that are .npmignored in submodules
Dec 31, 2020
nija-at
added
aws-cdk-lib
Related to the aws-cdk-lib package
monocdk
Related to the monocdk package
effort/medium
Medium work item – several days of effort
p1
and removed
needs-triage
This issue or PR still needs to be triaged.
labels
Jan 7, 2021
rix0rrr
added a commit
that referenced
this issue
Mar 17, 2021
`.npmignore` did not use to be copied into the directories of the monopackage, leading to files that *ought* to have been excluded to not be excluded. Remove the file from the list of files that doesn't get copied to fix this. This fix is not along the lines of the method suggested in the linked issue, but it does address the original problem. Fixes #12292.
mergify bot
pushed a commit
that referenced
this issue
Mar 18, 2021
`.npmignore` did not use to be copied into the directories of the monopackage, leading to files that *ought* to have been excluded to not be excluded. Remove the file from the list of files that doesn't get copied to fix this. This fix is not along the lines of the method suggested in the linked issue, but it does address the original problem. Fixes #12292. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
eladb
pushed a commit
that referenced
this issue
Mar 24, 2021
`.npmignore` did not use to be copied into the directories of the monopackage, leading to files that *ought* to have been excluded to not be excluded. Remove the file from the list of files that doesn't get copied to fix this. This fix is not along the lines of the method suggested in the linked issue, but it does address the original problem. Fixes #12292. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
hollanddd
pushed a commit
to hollanddd/aws-cdk
that referenced
this issue
Aug 26, 2021
`.npmignore` did not use to be copied into the directories of the monopackage, leading to files that *ought* to have been excluded to not be excluded. Remove the file from the list of files that doesn't get copied to fix this. This fix is not along the lines of the method suggested in the linked issue, but it does address the original problem. Fixes aws#12292. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
aws-cdk-lib
Related to the aws-cdk-lib package
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
monocdk
Related to the monocdk package
p1
The .npmignore files in monocdk submodules are not respected since there could be only one npmignore in an npm package (the root one). This means that the monocdk module includes files that are not supposed to be there.
Reproduction Steps
For example,
monocdk/lib/lambda-layer-awscli
submodule includes alayer
directory which is .npmignored in the normal module.What did you expect to happen?
ubergen needs to process the .npmignore files in submodules and either exclude those files from the staging of monocdk or "hoist" them into the top-level npmignore files of monocdk (with the proper subdirectory prefix).
What actually happened?
The monocdk library bundles files that are not supposed to be included.
Environment
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: