Skip to content

[WIP] JS Scripting Support #23

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use GraalVM instead of rhino
danslapman committed May 27, 2023
commit f47ce0fd0d861e538f02ab6320a4d51dd5045a88
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -131,7 +131,7 @@ jobs:
with:
version: '22.3.1'
java-version: '17'
components: 'native-image'
components: 'native-image,js'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'

1 change: 1 addition & 0 deletions backend/build.sbt
Original file line number Diff line number Diff line change
@@ -77,6 +77,7 @@ val mockingbird = (project in file("mockingbird"))
"com.github.geirolz" %% "advxml-xpath" % "2.5.1",
"io.estatico" %% "newtype" % "0.4.4",
"org.mozilla" % "rhino" % "1.7.14",
"org.graalvm.js" % "js" % "22.3.0",
"org.slf4j" % "slf4j-api" % "1.7.30" % Provided
),
Compile / unmanagedResourceDirectories += file("../frontend/dist")
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Args = -H:+AddAllCharsets \
--no-fallback \
--language:js \
--initialize-at-run-time=io.netty.bootstrap.Bootstrap,\
io.netty.bootstrap.ServerBootstrap,\
io.netty.buffer,\

This file was deleted.

127 changes: 0 additions & 127 deletions backend/mockingbird/src/main/java/org/ringojs/util/DebuggerBase.java

This file was deleted.

Loading