-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
Signed-off-by: github-actions <[email protected]> Co-authored-by: github-actions <[email protected]>
- 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.
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,10 +1,10 @@ | ||
const { awscdk, javascript, DependencyType } = require("projen"); | ||
const { workflows } = require("projen/lib/github"); | ||
import { awscdk, javascript, github, DependencyType } from "projen"; | ||
|
||
const CDK_VERSION = "2.65.0"; | ||
|
||
const project = new awscdk.AwsCdkConstructLibrary({ | ||
name: "cdk-monitoring-constructs", | ||
projenrcTs: true, | ||
repositoryUrl: "https://github.com/cdklabs/cdk-monitoring-constructs", | ||
author: "CDK Monitoring Constructs Team", | ||
authorAddress: "[email protected]", | ||
|
@@ -66,14 +66,6 @@ _By submitting this pull request, I confirm that my contribution is made under t | |
|
||
// Code linting config | ||
prettier: true, | ||
prettierOptions: { | ||
arrowParens: "always", | ||
bracketSpacing: false, | ||
printWidth: 140, | ||
semi: true, | ||
tabWidth: 4, | ||
trailingComma: "all", | ||
}, | ||
}); | ||
|
||
// Experimental modules | ||
|
@@ -95,7 +87,7 @@ _By submitting this pull request, I confirm that my contribution is made under t | |
project.deps.addDependency("@types/[email protected]", DependencyType.DEVENV); | ||
|
||
// Add some other eslint rules followed across this project | ||
project.eslint.addRules({ | ||
project.eslint?.addRules({ | ||
"no-case-declarations": "off", | ||
"no-bitwise": "off", | ||
"no-shadow": "off", | ||
|
@@ -112,12 +104,12 @@ project.eslint.addRules({ | |
project.addPackageIgnore("*.ts"); | ||
project.addPackageIgnore("!*.d.ts"); | ||
|
||
project.release.addJobs({ | ||
project.release?.addJobs({ | ||
notify_slack: { | ||
name: "Send Slack notification", | ||
runsOn: "ubuntu-latest", | ||
runsOn: ["ubuntu-latest"], | ||
permissions: { | ||
actions: workflows.JobPermission.READ, | ||
actions: github.workflows.JobPermission.READ, | ||
}, | ||
needs: [ | ||
"release", | ||
|
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.