-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,59 @@ | ||
const { awscdk } = require('projen'); | ||
const { Stability } = require('projen/lib/cdk/jsii-project'); | ||
const { awscdk } = require("projen"); | ||
const { Stability } = require("projen/lib/cdk/jsii-project"); | ||
const project = new awscdk.AwsCdkConstructLibrary({ | ||
author: 'Florian Fuß', | ||
author: "Florian Fuß", | ||
stability: Stability.EXPERIMENTAL, | ||
cdkVersion: '2.46.0', | ||
defaultReleaseBranch: 'main', | ||
name: 'cdk-internal-gateway', | ||
repositoryUrl: 'https://github.com/pharindoko/cdk-internal-gateway.git', | ||
license: 'Apache-2.0', | ||
description: 'CDK construct to create to create internal serverless applications.', | ||
cdkVersion: "2.46.0", | ||
defaultReleaseBranch: "main", | ||
name: "cdk-internal-gateway", | ||
repositoryUrl: "https://github.com/pharindoko/cdk-internal-gateway.git", | ||
license: "Apache-2.0", | ||
description: | ||
"CDK construct to create to create internal serverless applications.", | ||
sampleCode: false, | ||
keywords: ['cdk', 'apigateway', 'internal', 'private', 'gateway', 'vpc', 'network', 'api', 'website', 'application', 'company', 'enterprise'], | ||
gitignore: [ | ||
'cdk.out', | ||
'cdk.context.json', | ||
'/.idea', | ||
'status.json', | ||
keywords: [ | ||
"cdk", | ||
"apigateway", | ||
"internal", | ||
"private", | ||
"gateway", | ||
"vpc", | ||
"network", | ||
"api", | ||
"website", | ||
"application", | ||
"company", | ||
"enterprise", | ||
], | ||
gitignore: ["cdk.out", "cdk.context.json", "/.idea", "status.json"], | ||
releaseToNpm: true, | ||
publishToPypi: { | ||
distName: 'pharindoko.cdk-internal-gateway', | ||
module: 'pharindoko.cdk_internal_gateway', | ||
distName: "pharindoko.cdk-internal-gateway", | ||
module: "pharindoko.cdk_internal_gateway", | ||
}, | ||
sampleCode: false, | ||
compat: true, | ||
depsUpgradeOptions: { | ||
workflowOptions: { | ||
labels: ['auto-approve'], | ||
labels: ["auto-approve"], | ||
schedule: { | ||
cron: ['0 0 * * 1'], | ||
cron: ["0 0 * * 1"], | ||
}, | ||
}, | ||
}, | ||
githubOptions: { | ||
pullRequestLintOptions: { | ||
semanticTitleOptions: { | ||
types: [ | ||
'feat', | ||
'fix', | ||
'chore', | ||
'docs', | ||
], | ||
types: ["feat", "fix", "chore", "docs"], | ||
}, | ||
}, | ||
}, | ||
pullRequestTemplate: false, | ||
prettier: true | ||
prettier: true, | ||
}); | ||
|
||
|
||
// disable automatic releases, but keep workflow that can be triggered manually | ||
const releaseWorkflow = project.github.tryFindWorkflow('release'); | ||
releaseWorkflow.file.addDeletionOverride('on.push'); | ||
const releaseWorkflow = project.github.tryFindWorkflow("release"); | ||
releaseWorkflow.file.addDeletionOverride("on.push"); | ||
|
||
project.synth(); | ||
project.synth(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from './internal-apigateway'; | ||
export * from './internal-service'; | ||
export * from "./internal-apigateway"; | ||
export * from "./internal-service"; |