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

Upgrade to TS v5 #1285

Merged
merged 2 commits into from
Aug 22, 2024
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
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.MD
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ All of major releases are supported for at least 18 months.

| Release | Status | Active Start | Maintenance Start | End-of-life | Node versions | TS min version |
| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
| 5.x | *Active* | TODO | | | 20, 22 | 4.9 |
| 5.x | *Active* | TODO | | | 20, 22 | 5.5 |
| 4.x | *Maintenance* | 2023-09-06 | TODO | TODO | 18, 20 | 4.9 |
| 3.x | *End-of-Life* | 2022-10-28 | 2023-09-06 | 2024-03-06 | 16, 18 | 4.7 |
| 2.x | *End-of-Life* | 2020-12-03 | 2022-10-28 | 2023-04-30 | 10, 12, 14 | 4.0 |
Expand Down
3 changes: 2 additions & 1 deletion docs/blog/version-5.0-release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ Version 5.0 of [Foal](https://foalts.org/) is out!

<!--truncate-->

## Supported versions of Node
## Supported versions of Node and TypeScript

- Support for Node 18 has been dropped and support for Node 22 has been added.
- The supported version of TypeScript is version 5. Update your `package.json` file accordingly.

## Better typing

Expand Down
49 changes: 25 additions & 24 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"lerna": "~8.1.7",
"mocha": "~10.7.0",
"tslint": "~6.1.3",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/acceptance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
"@types/supertest": "6.0.2",
"mocha": "~10.7.0",
"ts-node": "~10.9.2",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/aws-s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
"mocha": "~10.7.0",
"rimraf": "~5.0.5",
"ts-node": "~10.9.2",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@
"mocha": "~10.7.0",
"rimraf": "~5.0.5",
"ts-node": "~10.9.2",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/cli/src/generate/specs/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"eslint": "~8.48.0",
"@typescript-eslint/eslint-plugin": "~6.5.0",
"@typescript-eslint/parser": "~6.5.0",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/cli/src/generate/specs/app/package.mongodb.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"eslint": "~8.48.0",
"@typescript-eslint/eslint-plugin": "~6.5.0",
"@typescript-eslint/parser": "~6.5.0",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"eslint": "~8.48.0",
"@typescript-eslint/eslint-plugin": "~6.5.0",
"@typescript-eslint/parser": "~6.5.0",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/cli/src/generate/specs/app/package.yaml.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"eslint": "~8.48.0",
"@typescript-eslint/eslint-plugin": "~6.5.0",
"@typescript-eslint/parser": "~6.5.0",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/cli/src/generate/templates/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"eslint": "~8.48.0",
"@typescript-eslint/eslint-plugin": "~6.5.0",
"@typescript-eslint/parser": "~6.5.0",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"eslint": "~8.48.0",
"@typescript-eslint/eslint-plugin": "~6.5.0",
"@typescript-eslint/parser": "~6.5.0",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"supertest": "~7.0.0",
"ts-node": "~10.9.2",
"twig": "~1.17.1",
"typescript": "~4.9.5",
"typescript": "~5.5.4",
"yamljs": "~0.3.0"
}
}
2 changes: 1 addition & 1 deletion packages/examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@
"copy": "~0.3.2",
"mocha": "~10.7.0",
"supervisor": "~0.12.0",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/graphiql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
"react-dom": "~18.2.0",
"rimraf": "~5.0.5",
"ts-node": "~10.9.2",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"rimraf": "~5.0.5",
"ts-node": "~10.9.2",
"type-graphql": "2.0.0-beta.3",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
},
"peerDependencies": {
"graphql": "^16.9.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/internal-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
"devDependencies": {
"rimraf": "~5.0.5",
"ts-node": "~10.9.2",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/jwks-rsa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@
"mocha": "~10.7.0",
"rimraf": "~5.0.5",
"ts-node": "~10.9.2",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@
"mocha": "~10.7.0",
"rimraf": "~5.0.5",
"ts-node": "~10.9.2",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/mongodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
"mocha": "~10.7.0",
"rimraf": "~5.0.5",
"ts-node": "~10.9.2",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/password/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"mocha": "~10.7.0",
"rimraf": "~5.0.5",
"ts-node": "~10.9.2",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
"mocha": "~10.7.0",
"rimraf": "~5.0.5",
"ts-node": "~10.9.2",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
2 changes: 1 addition & 1 deletion packages/social/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@
"mocha": "~10.7.0",
"rimraf": "~5.0.5",
"ts-node": "~10.9.2",
"typescript": "~4.9.5"
"typescript": "~5.5.4"
}
}
Loading
Loading