Skip to content

Commit 6e41999

Browse files
authored
upgrade to node 20 (#16)
1 parent 616bd39 commit 6e41999

File tree

5 files changed

+10
-9
lines changed

5 files changed

+10
-9
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
deps/build.log
22
Manifest.toml
3+
.DS_Store

Project.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ version = "1.0.2"
88
DefaultApplication = "3f0dd361-4fe0-5fc6-8523-80b14ec94d85"
99
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
1010
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
11-
NodeJS_18_jll = "c1e1d063-8311-5f52-a749-c7b05e91ae37"
11+
NodeJS_20_jll = "c7aee132-11e1-519c-8219-0a43005e73c2"
1212
Pluto = "c3e4b0f8-55cb-11ea-2926-15256bba5781"
1313
RelocatableFolders = "05181044-ff0b-4ac5-8273-598c1e38db00"
1414
Scratch = "6c6a2e73-6563-6170-7368-637461726353"
1515

1616
[compat]
1717
DefaultApplication = "1"
1818
JSON = "0.20, 0.21"
19-
NodeJS_18_jll = "18"
19+
NodeJS_20_jll = "20"
2020
Pluto = "0.16, 0.17, 0.18, 0.19"
2121
RelocatableFolders = "1"
2222
Scratch = "1"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ If you don't have `npm`, then run `julia --project` and then
4141

4242
```julia
4343
import PlutoPDF
44-
PlutoPDF.build_node(pwd())
44+
PlutoPDF.build_node(joinpath(pwd(), "node"))
4545
```

src/PlutoPDF.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module PlutoPDF
22

33
import Pluto
4-
import NodeJS_18_jll: node
4+
import NodeJS_20_jll: node
55
import JSON
66
import DefaultApplication
77

src/setup_build.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import NodeJS_18_jll
1+
import NodeJS_20_jll
22
using Scratch
33
using RelocatableFolders
44

@@ -9,13 +9,13 @@ const node_root_files = (
99
@path(joinpath(dirname(@__DIR__), "node", "package.json")),
1010
)
1111

12-
const npm = !Sys.iswindows() ? NodeJS_18_jll.npm : let
13-
new = "$(NodeJS_18_jll.npm).cmd"
14-
isfile(new) ? new : NodeJS_18_jll.npm
12+
const npm = !Sys.iswindows() ? NodeJS_20_jll.npm : let
13+
new = "$(NodeJS_20_jll.npm).cmd"
14+
isfile(new) ? new : NodeJS_20_jll.npm
1515
end
1616

1717
function get_build_dir()
18-
build_node(@get_scratch!("build_dir2"))
18+
build_node(@get_scratch!("build_dir3"))
1919
end
2020

2121

0 commit comments

Comments
 (0)