Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use forks of eshost in eshost-cli #146

Open
leotm opened this issue Feb 4, 2025 · 0 comments
Open

How to use forks of eshost in eshost-cli #146

leotm opened this issue Feb 4, 2025 · 0 comments

Comments

@leotm
Copy link

leotm commented Feb 4, 2025

test262-fyi/eshost example (shoutout @CanadaHonk)
updated 2 months ago

➜  gh repo clone bterlson/eshost-cli && cd eshost-cli
# use latest commit: github.com/test262-fyi/eshost/commit/0acb6bfc68a10f6310f71890fb9e32a90168bdca
➜  sed -i '' 's/"eshost": "\^9.0.0"/"eshost": "git+https:\/\/github.com\/test262-fyi\/eshost.git#0acb6bfc68a10f6310f71890fb9e32a90168bdca"/' package.json
➜  sed -i '' 's/"version": "9.0.0"/"version": "9.0.0-alpha"/' package.json
➜  npm pack
➜  npm uninstall -g eshost-cli
➜  npm install -g eshost-cli-9.0.0-alpha.tgz
➜  cd .. && rm -rf eshost-cli # good neighbours clean up
➜  npm list -g eshost-cli # [email protected] 🎉

Hermes now works (upstream fix awaiting review/merge)

➜  eshost -e "42"
#### engine262
42

#### hermes
42

#### javascriptcore
42

#### spidermonkey
42

#### v8
42

#### xs
42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant