Skip to content

Commit

Permalink
feat: TypeScript 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Nov 11, 2024
1 parent 83357c6 commit 98d4a35
Show file tree
Hide file tree
Showing 18 changed files with 246 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .backportrc.json

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

3 changes: 3 additions & 0 deletions .gitattributes

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

59 changes: 59 additions & 0 deletions .github/workflows/auto-tag-dev-v5.6.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/auto-tag-dev.yml

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

59 changes: 59 additions & 0 deletions .github/workflows/auto-tag-releases-v5.6.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/auto-tag-releases.yml

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

97 changes: 97 additions & 0 deletions .github/workflows/upgrade-maintenance-v5.6.yml

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

3 changes: 3 additions & 0 deletions .gitignore

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

2 changes: 1 addition & 1 deletion .projen/deps.json

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

3 changes: 3 additions & 0 deletions .projen/files.json

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

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ The current status of `jsii` compiler releases is:

| Release | Status | EOS | Comment |
| ------- | ----------- | ---------- | --------------------------------------------------------------------------------------- |
| `5.6.x` | Current | TBD | ![npm](https://img.shields.io/npm/v/jsii/v5.6-latest?label=jsii%40v5.6-latest&logo=npm) |
| `5.6.x` | Current | TBD | ![npm](https://img.shields.io/npm/v/jsii/v5.7-latest?label=jsii%40v5.7-latest&logo=npm) |
| `5.7.x` | Maintenance | 2025-07-01 | ![npm](https://img.shields.io/npm/v/jsii/v5.6-latest?label=jsii%40v5.6-latest&logo=npm) |
| `5.5.x` | Maintenance | 2025-05-15 | ![npm](https://img.shields.io/npm/v/jsii/v5.5-latest?label=jsii%40v5.5-latest&logo=npm) |
| `5.4.x` | Maintenance | 2025-02-28 | ![npm](https://img.shields.io/npm/v/jsii/v5.4-latest?label=jsii%40v5.4-latest&logo=npm) |

Expand Down
2 changes: 1 addition & 1 deletion package.json

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

3 changes: 2 additions & 1 deletion projenrc/support.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { JsonFile, Project } from 'projen';
import type { ReleasesDocument } from '../src/support';

export const SUPPORT_POLICY: ReleasesDocument = {
current: '5.6',
current: '5.7',
maintenance: {
// version: End-of-support date
'5.0': new Date('2024-01-31'),
Expand All @@ -11,6 +11,7 @@ export const SUPPORT_POLICY: ReleasesDocument = {
'5.3': new Date('2024-10-15'),
'5.4': new Date('2025-02-28'),
'5.5': new Date('2025-05-15'),
'5.6': new Date('2025-07-01'),
},
};

Expand Down
5 changes: 3 additions & 2 deletions releases.json

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

4 changes: 2 additions & 2 deletions test/compiler.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ describe(Compiler, () => {
} finally {
rmSync(sourceDir, { force: true, recursive: true });
}
}, 15_000);
}, 25_000);

test('rootDir is added to assembly', () => {
const outDir = 'jsii-outdir';
Expand Down Expand Up @@ -337,7 +337,7 @@ describe(Compiler, () => {
} finally {
rmSync(sourceDir, { force: true, recursive: true });
}
}, 15_000);
}, 25_000);
});

describe('compressed assembly option', () => {
Expand Down
2 changes: 2 additions & 0 deletions test/tsconfig/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ export function fcTsconfig(
isolatedDeclarations: fc.boolean(),
strictBuiltinIteratorReturn: fc.boolean(),
noUncheckedSideEffectImports: fc.boolean(),
noCheck: fc.boolean(),
rewriteRelativeImportExtensions: fc.boolean(),
};

// limit to only allowed keys
Expand Down
1 change: 1 addition & 0 deletions test/tsconfig/validator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ describe('Built-in matchers', () => {
});
},
),
{ seed: 1484060133, path: "26", endOnFailure: true }
);
});
});
Expand Down
Loading

0 comments on commit 98d4a35

Please sign in to comment.