Skip to content

Commit

Permalink
webapp: Upgrade tsconfig node18 to node22
Browse files Browse the repository at this point in the history
  • Loading branch information
tbnobody committed Sep 16, 2024
1 parent 3e3cf3c commit d3d92e9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"devDependencies": {
"@intlify/unplugin-vue-i18n": "^4.0.0",
"@tsconfig/node18": "^18.2.4",
"@tsconfig/node22": "^22.0.0",
"@types/bootstrap": "^5.2.10",
"@types/node": "^22.5.5",
"@types/pulltorefreshjs": "^0.1.7",
Expand Down
4 changes: 2 additions & 2 deletions webapp/tsconfig.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": [
"@tsconfig/node18/tsconfig.json",
"@tsconfig/node22/tsconfig.json",
"@vue/tsconfig/tsconfig.json"
],
"include": [
Expand All @@ -15,4 +15,4 @@
"node"
]
}
}
}
2 changes: 1 addition & 1 deletion webapp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"paths": {
"@/*": ["./src/*"]
},
"lib": ["ES2022", "DOM"],
"lib": ["ES2023", "DOM"],
"moduleResolution": "Node",

/* Linting */
Expand Down
8 changes: 4 additions & 4 deletions webapp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,10 @@
resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.21.2.tgz#e4291e3c1bc637083f87936c333cdbcad22af63b"
integrity sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==

"@tsconfig/node18@^18.2.4":
version "18.2.4"
resolved "https://registry.yarnpkg.com/@tsconfig/node18/-/node18-18.2.4.tgz#094efbdd70f697d37c09f34067bf41bc4a828ae3"
integrity sha512-5xxU8vVs9/FNcvm3gE07fPbn9tl6tqGGWA9tSlwsUEkBxtRnTsNmwrV8gasZ9F/EobaSv9+nu8AxUKccw77JpQ==
"@tsconfig/node22@^22.0.0":
version "22.0.0"
resolved "https://registry.yarnpkg.com/@tsconfig/node22/-/node22-22.0.0.tgz#0bdaf702f2b7594383d24d7b2b8d557dcfdca1ed"
integrity sha512-twLQ77zevtxobBOD4ToAtVmuYrpeYUh3qh+TEp+08IWhpsrIflVHqQ1F1CiPxQGL7doCdBIOOCF+1Tm833faNg==

"@types/bootstrap@^5.2.10":
version "5.2.10"
Expand Down

2 comments on commit d3d92e9

@tbnobody
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@schlimmchen don't know how to answer to your comment because I don't see any comments here. You are right, that is not consistent... I am working with Node 22 at my local dev environment. Therefor I will update the github actions to use node 22

@schlimmchen
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see it either, it vanished somehow... Alright, let's switch to Node.js 22. In Wikipedia I saw that Node.js 22 is supported even further into the future than v20 😉

Please sign in to comment.