Skip to content

Commit

Permalink
node20
Browse files Browse the repository at this point in the history
  • Loading branch information
tsawada committed Oct 31, 2024
1 parent 770a453 commit 1451f92
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 25 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ bazel_dep(name = "aspect_rules_js", version = "2.1.0")
bazel_dep(name = "rules_nodejs", version = "6.3.0")

node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
node.toolchain(node_version = "20.18.0")
node.toolchain(node_version = "20.17.0")

npm = use_extension("@aspect_rules_js//npm:extensions.bzl", "npm", dev_dependency = True)
npm.npm_translate_lock(
Expand Down
10 changes: 5 additions & 5 deletions dist/main.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
"author": "Takeo Sawada",
"license": "MIT",
"devDependencies": {
"@tsconfig/node16": "^1.0.3",
"@types/node": "^18.6.2",
"@types/node": "^20.17.0",
"typescript": "5.4.5"
},
"dependencies": {
Expand Down
21 changes: 10 additions & 11 deletions pnpm-lock.yaml

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

10 changes: 4 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Node 16",

"compilerOptions": {
"lib": ["es2021"],
"module": "commonjs",
"target": "es2021",
"lib": ["es2023"],
"module": "node16",
"target": "es2022",

"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "node"
"moduleResolution": "node16"
}
}

0 comments on commit 1451f92

Please sign in to comment.