Skip to content

Commit bc8f8d3

Browse files
committed
Update TypeScript in .github/scripts to v6
TypeScript 6 deprecates the node10 module resolution that the CommonJS module setting implies. nodenext emits the same CommonJS for this package. Amp-Thread-ID: https://ampcode.com/threads/T-01a176c6-528a-7430-b296-e66930d153b4
1 parent 30e6428 commit bc8f8d3

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

‎.github/scripts/package-lock.json‎

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎.github/scripts/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
},
1616
"devDependencies": {
1717
"@types/node": "^24.0.0",
18-
"typescript": "^5.8.3"
18+
"typescript": "^6.0.0"
1919
}
2020
}

‎.github/scripts/tsconfig.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "ES2020",
4-
"module": "CommonJS",
5-
"moduleResolution": "Node",
4+
"module": "nodenext",
65
"esModuleInterop": true,
76
"strict": true,
87
"forceConsistentCasingInFileNames": true,

0 commit comments

Comments
 (0)