Skip to content

Commit

Permalink
feat!: use stable synthetics module (#435)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: requires aws-cdk-lib@^2.99.0

The Synthetics module was promoted to stable in https://github.com/aws/aws-cdk/releases/tag/v2.99.0.

---

_By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license_
  • Loading branch information
echeung-amzn authored Sep 28, 2023
1 parent 064d54f commit b04296a
Show file tree
Hide file tree
Showing 22 changed files with 867 additions and 152 deletions.
31 changes: 8 additions & 23 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 14 additions & 16 deletions .projenrc.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { awscdk, javascript, github, DependencyType } from "projen";

const CDK_VERSION = "2.65.0";
const CDK_VERSION = "2.99.0";

const project = new awscdk.AwsCdkConstructLibrary({
name: "cdk-monitoring-constructs",
Expand All @@ -11,7 +11,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
keywords: ["cloudwatch", "monitoring"],

defaultReleaseBranch: "main",
majorVersion: 5,
majorVersion: 6,
stability: "experimental",

cdkVersion: CDK_VERSION,
Expand Down Expand Up @@ -69,20 +69,18 @@ _By submitting this pull request, I confirm that my contribution is made under t
});

// Experimental modules
[
"@aws-cdk/aws-apigatewayv2-alpha",
"@aws-cdk/aws-redshift-alpha",
"@aws-cdk/aws-synthetics-alpha",
].forEach((dep) => {
project.deps.addDependency(
`${dep}@^${CDK_VERSION}-alpha.0`,
DependencyType.PEER
);
project.deps.addDependency(
`${dep}@${CDK_VERSION}-alpha.0`,
DependencyType.DEVENV
);
});
["@aws-cdk/aws-apigatewayv2-alpha", "@aws-cdk/aws-redshift-alpha"].forEach(
(dep) => {
project.deps.addDependency(
`${dep}@^${CDK_VERSION}-alpha.0`,
DependencyType.PEER
);
project.deps.addDependency(
`${dep}@${CDK_VERSION}-alpha.0`,
DependencyType.DEVENV
);
}
);
// https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/60310
project.deps.addDependency("@types/[email protected]", DependencyType.DEVENV);

Expand Down
Loading

0 comments on commit b04296a

Please sign in to comment.