Skip to content

Commit

Permalink
Change to .NET package to namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Lesierse committed Mar 4, 2024
1 parent a0e00e6 commit 0cce184
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/aws-cdk-lib/scripts/submodules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ async function ensureSubmodule(submodule: ModuleMapEntry, modulePath: string) {
package: submodule.definition.javaPackage,
},
dotnet: {
package: submodule.definition.dotnetPackage,
namespace: submodule.definition.dotnetNamespace,
},
python: {
module: submodule.definition.pythonModuleName,
Expand Down
6 changes: 3 additions & 3 deletions tools/@aws-cdk/pkglint/lib/library-creation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface ModuleDefinition {
readonly moduleBaseName: string;
readonly packageName: string;

readonly dotnetPackage: string;
readonly dotnetNamespace: string;
readonly javaGroupId: string;
readonly javaPackage: string;
readonly javaArtifactId: string;
Expand All @@ -27,7 +27,7 @@ export function createModuleDefinitionFromCfnNamespace(namespace: string): Modul
const packageName = `aws-cdk-lib/${moduleName}`;

// dotnet names
const dotnetPackage = `Amazon.CDK.${moduleFamily}.${moduleBaseName}`;
const dotnetNamespace = `Amazon.CDK.${moduleFamily}.${moduleBaseName}`;

// java names
const javaGroupId = 'software.amazon.awscdk';
Expand All @@ -49,7 +49,7 @@ export function createModuleDefinitionFromCfnNamespace(namespace: string): Modul
moduleFamily,
moduleBaseName,
packageName,
dotnetPackage,
dotnetNamespace,
javaGroupId,
javaPackage,
javaArtifactId,
Expand Down

0 comments on commit 0cce184

Please sign in to comment.