Skip to content

Commit 78b265c

Browse files
authored
chore(aws-cdk-lib): change namespaces/package names in line with RFC 6 (#13494)
Changes: * .NET: Namespace changed from `Amazon.CDK.Lib` -> `Amazon.CDK` (so `Stack` has the same FQN, same namespace as in Monocdk) * Java: Package name changed from `software.amazon.awscdk.lib` -> `software.amazon.awscdk.core` (so `Stack` has the same FQN, same namespace as in Monocdk) * Java: Changed artifact ID to match what's written in [RFC 6] * Python: Changed dist name to match what's written in [RFC 6] * Python: Change namespace to `aws_cdk` instead of `aws_cdk_lib` for minimal interference. Still need to test whether it's okay to change this to `aws_cdk.core` (like for Java) so `Stack` will keep the same FQN. Monocdk does something different for Python. [RFC 6]: https://github.com/aws/aws-cdk-rfcs/blob/master/text/0006-monolothic-packaging.md ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 8d592ea commit 78b265c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/aws-cdk-lib/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -50,22 +50,22 @@
5050
"outdir": "dist",
5151
"targets": {
5252
"dotnet": {
53-
"namespace": "Amazon.CDK.Lib",
53+
"namespace": "Amazon.CDK",
5454
"packageId": "Amazon.CDK.Lib",
5555
"iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
5656
"versionSuffix": "-devpreview"
5757
},
5858
"java": {
59-
"package": "software.amazon.awscdk.lib",
59+
"package": "software.amazon.awscdk.core",
6060
"maven": {
6161
"groupId": "software.amazon.awscdk",
62-
"artifactId": "lib",
62+
"artifactId": "aws-cdk-lib",
6363
"versionSuffix": ".DEVPREVIEW"
6464
}
6565
},
6666
"python": {
67-
"distName": "aws-cdk.lib",
68-
"module": "aws_cdk.lib"
67+
"distName": "aws-cdk-lib",
68+
"module": "aws_cdk"
6969
}
7070
},
7171
"projectReferences": false

0 commit comments

Comments
 (0)