Skip to content

Commit

Permalink
Update TypeScript and @types/node
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbranch committed Aug 26, 2024
1 parent 4c35b4c commit 970b141
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 67 deletions.
5 changes: 5 additions & 0 deletions .changeset/dry-crews-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@arethetypeswrong/core": patch
---

Update TypeScript and @types/node
7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,10 @@
"devDependencies": {
"@changesets/cli": "^2.27.1",
"prettier": "^3.0.3",
"typescript": "5.3.3"
"typescript": "5.6.1-rc"
},
"engines": {
"node": ">=18",
"pnpm": ">=8"
},
"pnpm": {
"overrides": {
"ts-expose-internals-conditionally": "$typescript"
}
}
}
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"devDependencies": {
"@types/marked": "^5.0.0",
"@types/marked-terminal": "^3.1.3",
"@types/node": "^20.2.5",
"@types/node": "^22.5.0",
"@types/semver": "^7.5.3",
"ts-expose-internals-conditionally": "1.0.0-empty.0",
"ts-expose-internals": "5.6.1-rc",
"typescript": "5.3.3"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"module": "nodenext",
"rootDir": "src",
"types": ["ts-expose-internals-conditionally", "node"],
"types": ["node", "ts-expose-internals"],
"outDir": "./dist",
"sourceMap": true
},
Expand Down
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@
"@andrewbranch/untar.js": "^1.0.3",
"fflate": "^0.8.2",
"semver": "^7.5.4",
"ts-expose-internals-conditionally": "1.0.0-empty.0",
"typescript": "5.3.3",
"typescript": "5.6.1-rc",
"validate-npm-package-name": "^5.0.0"
},
"devDependencies": {
"@types/node": "^20.8.6",
"@types/node": "^22.5.0",
"@types/semver": "^7.5.0",
"@types/validate-npm-package-name": "^4.0.0"
"@types/validate-npm-package-name": "^4.0.0",
"ts-expose-internals": "5.6.1-rc"
},
"engines": {
"node": ">=18"
Expand Down
3 changes: 1 addition & 2 deletions packages/core/test/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
"lib": ["es2019"],
"module": "nodenext",
"outDir": "dist",
"types": ["node", "ts-expose-internals-conditionally"],
"customConditions": ["ts-expose-internals"]
"types": ["node", "ts-expose-internals"],
},
"references": [
{
Expand Down
3 changes: 1 addition & 2 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
"module": "nodenext",
"outDir": "dist",
"rootDir": "src",
"types": ["ts-expose-internals-conditionally"],
"customConditions": ["ts-expose-internals"]
"types": ["ts-expose-internals"],
},
"include": ["src"]
}
4 changes: 2 additions & 2 deletions packages/history/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
"@arethetypeswrong/core": "file:../core",
"@azure/storage-blob": "^12.14.0",
"@types/cli-progress": "^3.11.0",
"@types/node": "^20.8.6",
"@types/node": "^22.5.0",
"@types/pacote": "^11.1.5",
"@types/semver": "^7.5.0",
"cli-progress": "^3.12.0",
"dotenv": "^16.3.1",
"npm-high-impact": "^1.3.0",
"pacote": "^15.2.0",
"semver": "^7.5.3",
"ts-expose-internals": "5.3.3",
"ts-expose-internals": "5.6.1-rc",
"tsx": "^3.12.7",
"types-registry": "latest",
"typescript": "5.3.3"
Expand Down
Loading

0 comments on commit 970b141

Please sign in to comment.