Skip to content

Commit

Permalink
chore: upgrade jsii & typescript to v5.5 (#186)
Browse files Browse the repository at this point in the history
This PR increases the version of JSII and TypeScript to `~5.5.0`,
presumably because the previous version is close to EOL or no longer
supported. Support timeline:
https://github.com/aws/jsii-compiler/blob/main/README.md#gear-maintenance--support

Signed-off-by: team-tf-cdk <github-team-tf-cdk@hashicorp.com>
  • Loading branch information
team-tf-cdk authored Jan 8, 2025
1 parent c6acefe commit 4ea42f5
Show file tree
Hide file tree
Showing 15 changed files with 119 additions and 71 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/upgrade-jsii-typescript.yml

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

8 changes: 4 additions & 4 deletions .projen/deps.json

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

2 changes: 1 addition & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { UpgradeProjen } from "./projenrc/upgrade-projen";

const name = "projen-cdktf-hybrid-construct";
/** JSII and TSII should always use the same major/minor version range */
const typescriptVersion = "~5.4.0";
const typescriptVersion = "~5.5.0";
const projenVersion = "0.88.0";

const githubActionPinnedVersions = {
Expand Down
8 changes: 4 additions & 4 deletions examples/hybrid-module/.projen/deps.json

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

8 changes: 4 additions & 4 deletions examples/hybrid-module/package.json

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

40 changes: 32 additions & 8 deletions examples/hybrid-module/yarn.lock

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

8 changes: 4 additions & 4 deletions examples/terraform-module/.projen/deps.json

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

8 changes: 4 additions & 4 deletions examples/terraform-module/package.json

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

40 changes: 32 additions & 8 deletions examples/terraform-module/yarn.lock

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

8 changes: 4 additions & 4 deletions package.json

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

4 changes: 2 additions & 2 deletions src/hybrid-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ export class HybridModule extends JsiiProject {
lintProjenRc: false,
}),
postBuildSteps: [],
jsiiVersion: "~5.4.0",
typescriptVersion: "~5.4.0", // should always be the same major/minor as JSII
jsiiVersion: "~5.5.0",
typescriptVersion: "~5.5.0", // should always be the same major/minor as JSII
});
const constructVersion = options.constructVersion || "10.4.2";
const cdktfVersion = options.cdktfVersion || "0.20.0";
Expand Down
4 changes: 2 additions & 2 deletions src/terraform-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ export class TerraformModule extends ConstructLibrary {
lintProjenRc: false,
}),
postBuildSteps: [],
jsiiVersion: "~5.4.0",
typescriptVersion: "~5.4.0", // should always be the same major/minor as JSII
jsiiVersion: "~5.5.0",
typescriptVersion: "~5.5.0", // should always be the same major/minor as JSII
});
const constructVersion = options.constructVersion || "10.4.2";
const cdktfVersion = options.cdktfVersion || "0.20.0";
Expand Down
Loading

0 comments on commit 4ea42f5

Please sign in to comment.