generated from JoshuaKGoldberg/create-typescript-app
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: bump minimum Node version to 18.12 and TypeScript to 4.8.4 (#531)
## PR Checklist - [x] Addresses an existing open issue: fixes #530; fixes #532; closes #580 - [x] That issue was marked as [`status: accepting prs`](https://github.com/JoshuaKGoldberg/ts-api-utils/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [x] Steps in [CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/ts-api-utils/blob/main/.github/CONTRIBUTING.md) were taken ## Overview Removes the following methods that rely on deprecated parts of TypeScript: * `isInputFiles` (`ts.SyntaxKind.InputFiles`) * `isUnparsedPrologue` (`ts.SyntaxKind.UnparsedPrologue`) * `isUnparsedSourceText` (`ts.isUnparsedPrepend`, `ts.isUnparsedTextLike`) * `isUnparsedSyntheticReference` (`ts.SyntaxKind. UnparsedSyntheticReference`) Also bumps all devDependencies to latest (`ncu -u`) to work on the latest Node 22 and 23 in CI. 💖 --------- Co-authored-by: Rebecca Stevens <[email protected]>
- Loading branch information
1 parent
e209eab
commit 7935007
Showing
48 changed files
with
6,579 additions
and
6,016 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,8 @@ runs: | |
uses: actions/[email protected] | ||
with: | ||
github-token: ${{ inputs.ACCESS_TOKEN }} | ||
# Note: keep this inline script in sync with script/setup.js! | ||
# Todo: it would be nice to not have two sources of truth... | ||
# https://github.com/JoshuaKGoldberg/template-typescript-node-package/issues/145 | ||
# https://github.com/JoshuaKGoldberg/create-typescript-app/issues/145 | ||
script: | | ||
github.request( | ||
`PUT /repos/JoshuaKGoldberg/ts-api-utils/branches/main/protection`, | ||
|
@@ -32,8 +31,9 @@ runs: | |
required_pull_request_reviews: null, | ||
required_status_checks: { | ||
checks: [ | ||
{ context: "build (16.14.0)" }, | ||
{ context: "build (18.x)" }, | ||
{ context: "build (22.x)" }, | ||
{ context: "build (latest)" }, | ||
{ context: "compliance" }, | ||
{ context: "lint_docs" }, | ||
{ context: "lint_knip_production" }, | ||
|
@@ -43,14 +43,12 @@ runs: | |
{ context: "lint_spelling" }, | ||
{ context: "lint" }, | ||
{ context: "prettier" }, | ||
{ context: "test (16.14.0, 4.3.5)" }, | ||
{ context: "test (16.14.0, 4.6.4)" }, | ||
{ context: "test (16.14.0, 4.9.5)" }, | ||
{ context: "test (16.14.0, latest)" }, | ||
{ context: "test (18.x, 4.3.5)" }, | ||
{ context: "test (18.x, 4.6.4)" }, | ||
{ context: "test (18.x, 4.9.5)" }, | ||
{ context: "test (18.x, 4.8.4)" }, | ||
{ context: "test (18.x, latest)" }, | ||
{ context: "test (22.x, 4.8.4)" }, | ||
{ context: "test (22.x, latest)" }, | ||
{ context: "test (latest, 4.8.4)" }, | ||
{ context: "test (latest, latest)" }, | ||
{ context: "type_check" }, | ||
], | ||
strict: false, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,9 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"automerge": true, | ||
"extends": ["helpers:disableTypesNodeMajor"], | ||
"internalChecksFilter": "strict", | ||
"labels": ["dependencies"], | ||
"minimumReleaseAge": "3 days", | ||
"packageRules": [ | ||
{ | ||
"allowedVersions": "<0.25", | ||
"matchPackageNames": ["typedoc"] | ||
}, | ||
{ | ||
"allowedVersions": "<5.5", | ||
"matchPackageNames": ["typescript"] | ||
} | ||
], | ||
"postUpdateOptions": ["pnpmDedupe"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,8 +13,9 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
node_version: | ||
- 16.14.0 | ||
- 18.x | ||
- 22.x | ||
- latest | ||
name: Build | ||
|
||
on: | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.