diff --git a/src/index.ts b/src/index.ts index 6123b951..87211801 100644 --- a/src/index.ts +++ b/src/index.ts @@ -65,7 +65,6 @@ export interface CdktfProviderProjectOptions extends cdk.JsiiProjectOptions { readonly deprecationDate?: string; } -const authorAddress = "https://hashicorp.com"; const getMavenName = (providerName: string): string => { return ["null", "random"].includes(providerName) ? `${providerName}_provider` @@ -105,6 +104,7 @@ export class CdktfProviderProject extends cdk.JsiiProject { isDeprecated, deprecationDate, authorName = "HashiCorp", + authorAddress = "https://hashicorp.com", namespace = "cdktf", githubNamespace = "cdktf", mavenEndpoint = "https://hashicorp.oss.sonatype.org", diff --git a/test/__snapshots__/index.test.ts.snap b/test/__snapshots__/index.test.ts.snap index 4264d788..861cbd25 100644 --- a/test/__snapshots__/index.test.ts.snap +++ b/test/__snapshots__/index.test.ts.snap @@ -1889,7 +1889,7 @@ You can also visit a hosted version of the documentation on [constructs.dev](htt }, "author": { "name": "HashiCorp", - "url": "https://hashicorp.com", + "url": "https://github.com/cdktf", "organization": true }, "devDependencies": { @@ -4353,7 +4353,7 @@ The repository is managed by [CDKTF Repository Manager](https://github.com/cdktf }, "author": { "name": "HashiCorp", - "url": "https://hashicorp.com", + "url": "https://github.com/cdktf", "organization": true }, "devDependencies": { @@ -7099,7 +7099,7 @@ The repository is managed by [CDKTF Repository Manager](https://github.com/cdktf }, "author": { "name": "HashiCorp", - "url": "https://hashicorp.com", + "url": "https://github.com/cdktf", "organization": true }, "devDependencies": { @@ -9794,7 +9794,7 @@ The repository is managed by [CDKTF Repository Manager](https://github.com/cdktf }, "author": { "name": "HashiCorp", - "url": "https://hashicorp.com", + "url": "https://github.com/cdktf", "organization": true }, "devDependencies": { diff --git a/test/index.test.ts b/test/index.test.ts index 7ab68226..5c5e6ac8 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -13,7 +13,7 @@ const getProject = ( name: "test", terraformProvider: "random@~>2.0", author: "cdktf-team", - authorAddress: "cdktf-team address", + authorAddress: "https://github.com/cdktf", cdktfVersion: "0.10.3", constructsVersion: "10.0.0", defaultReleaseBranch: "main",