Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: TypeScript 5.2 #273

Merged
merged 3 commits into from
Aug 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.1.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.1.yml

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

95 changes: 95 additions & 0 deletions .github/workflows/upgrade-maintenance-v5.1.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.

1 change: 1 addition & 0 deletions .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.

11 changes: 10 additions & 1 deletion .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ import { SUPPORT_POLICY, SupportPolicy } from './projenrc/support';
import { UpdateIntegPackage } from './projenrc/update-integ-package';
import { UpgradeDependencies } from './projenrc/upgrade-dependencies';

// See 'projenrc/support.ts' for TypeScript versions we are tracking. To add a new version:
//
// 1. Fork the current `main` to a maintenance branch:
// `git push origin main:maintenance/v5.2`
// 2. Edit `support.ts`, maintenance EOL date for the current version is 6 months from
// today, make the new version current.
// 3. `npx projen`
// 4. Update the version list in the README.

const project = new typescript.TypeScriptProject({
projenrcTs: true,

Expand Down Expand Up @@ -194,7 +203,7 @@ project.addDeps(
'semver-intersect',
'sort-json',
'spdx-license-list',
'typescript',
`typescript@~${SUPPORT_POLICY.current}`,
'yargs',
);

Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,12 @@ The applicable _Maintenance & Support policy_ can be reviewed in [SUPPORT.md](./

The current status of `jsii` compiler releases is:

| Release | Status | Comment |
| ------- | ----------- | ------------------------------------------------------------------------------------ |
| `1.x` | Current | https://github.com/aws/jsii |
| `5.1.x` | Current | ![](https://img.shields.io/npm/v/jsii/v5.1-latest?label=jsii%40v5.1-latest&logo=npm) |
| `5.0.x` | Maintenance | ![](https://img.shields.io/npm/v/jsii/v5.0-latest?label=jsii%40v5.0-latest&logo=npm) |
| Release | Status | Comment |
| ------- | ----------- | --------------------------------------------------------------------------------------- |
| `1.x` | Current | https://github.com/aws/jsii |
| `5.2.x` | Current | ![npm](https://img.shields.io/npm/v/jsii/v5.2-latest?label=jsii%40v5.2-latest&logo=npm) |
| `5.1.x` | Maintenance | ![npm](https://img.shields.io/npm/v/jsii/v5.1-latest?label=jsii%40v5.1-latest&logo=npm) |
| `5.0.x` | Maintenance | ![npm](https://img.shields.io/npm/v/jsii/v5.0-latest?label=jsii%40v5.0-latest&logo=npm) |

## :balance_scale: License

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,9 +2,10 @@ import { JsonFile, Project } from 'projen';
import type { ReleasesDocument } from '../src/support';

export const SUPPORT_POLICY: ReleasesDocument = {
current: '5.1',
current: '5.2',
maintenance: {
'5.0': new Date('2024-01-31'),
'5.1': new Date('2024-02-28'),
},
};

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.

8 changes: 4 additions & 4 deletions yarn.lock

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