-
Notifications
You must be signed in to change notification settings - Fork 4.4k
chore: un-jsii and bundle @aws-cdk/yaml-cfn
#13699
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
Conversation
The `yaml-cfn` library is used as an implementation detail of `cloudformation-include`, `aws-cdk`, `decdk`, and the monopackages. Un-jsii it and bundle it into the framework packages that need it. Does not need to be accessed over jsii and does not need to be exposed in the monopackages.
| "java": { | ||
| "package": "software.amazon.awscdk.yaml.cfn", | ||
| "maven": { | ||
| "groupId": "software.amazon.awscdk", | ||
| "artifactId": "cdk-yaml-cfn" | ||
| } | ||
| }, | ||
| "dotnet": { | ||
| "namespace": "Amazon.CDK.Yaml.Cfn", | ||
| "packageId": "Amazon.CDK.Yaml.Cfn", | ||
| "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png" | ||
| }, | ||
| "python": { | ||
| "distName": "aws-cdk.yaml-cfn", | ||
| "module": "aws_cdk.yaml_cfn", | ||
| "classifiers": [ | ||
| "Framework :: AWS CDK", | ||
| "Framework :: AWS CDK :: 1" | ||
| ] | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to manually deprecate this pkg in all non-npm package managers?
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
The `yaml-cfn` library is used as an implementation detail of `cloudformation-include`, `aws-cdk`, `decdk`, and the monopackages. Un-jsii it and bundle it into the framework packages that need it. Does not need to be accessed over jsii and does not need to be exposed in the monopackages. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The `yaml-cfn` library is used as an implementation detail of `cloudformation-include`, `aws-cdk`, `decdk`, and the monopackages. Un-jsii it and bundle it into the framework packages that need it. Does not need to be accessed over jsii and does not need to be exposed in the monopackages. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The `yaml-cfn` library is used as an implementation detail of `cloudformation-include`, `aws-cdk`, `decdk`, and the monopackages. Un-jsii it and bundle it into the framework packages that need it. Does not need to be accessed over jsii and does not need to be exposed in the monopackages. ---- The previous version of this PR (#13699) had to be reverted (b1ffd33), because of a bug in NPM that causes `.npmignore` files in symlinked, bundled dependencies to be ignored. This in turn caused undesired `.ts` files to be bundled, which caused `ts-node` to exit with an error. Introduce a new `cdk-postpack` tool which will strip files that NPM *should* have ignored from the generated tarball, and add some verification to the `pack.sh` script to make sure we don't accidentally bundle `.ts` files. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The `yaml-cfn` library is used as an implementation detail of `cloudformation-include`, `aws-cdk`, `decdk`, and the monopackages. Un-jsii it and bundle it into the framework packages that need it. Does not need to be accessed over jsii and does not need to be exposed in the monopackages. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The `yaml-cfn` library is used as an implementation detail of `cloudformation-include`, `aws-cdk`, `decdk`, and the monopackages. Un-jsii it and bundle it into the framework packages that need it. Does not need to be accessed over jsii and does not need to be exposed in the monopackages. ---- The previous version of this PR (aws#13699) had to be reverted (aws@b1ffd33), because of a bug in NPM that causes `.npmignore` files in symlinked, bundled dependencies to be ignored. This in turn caused undesired `.ts` files to be bundled, which caused `ts-node` to exit with an error. Introduce a new `cdk-postpack` tool which will strip files that NPM *should* have ignored from the generated tarball, and add some verification to the `pack.sh` script to make sure we don't accidentally bundle `.ts` files. ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
The
yaml-cfnlibrary is used as an implementation detail ofcloudformation-include,aws-cdk,decdk, and the monopackages.Un-jsii it and bundle it into the framework packages that need it.
Does not need to be accessed over jsii and does not need to be exposed
in the monopackages.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license