Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmaster2000 committed Aug 7, 2022
1 parent 285699f commit 716043a
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 32 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# bun-repl
# bun-repl [![GitHub version][github-image]][github-url] [![GitHub code size in bytes][size-image]][github-url] [![license][license-image]][license-url]



Experimental unofficial REPL for Bun

Powered by Bun itself with the help of `swc` and JSC's `ShadowRealm` API
Expand Down Expand Up @@ -35,3 +38,9 @@ Please keep in mind this is unofficial and experimental software built on top of
* Reason: Usage of `eval()` which has its own lexical scope.
* Some modules fail to resolve their imports within the REPL, such as `fs/promises`.
* Reason: Unknown...

[github-url]:https://github.com/jhmaster2000/bun-repl
[github-image]:https://img.shields.io/github/package-json/v/jhmaster2000/bun-repl.svg?color=gray
[license-url]:https://github.com/jhmaster2000/bun-repl/blob/master/LICENSE.md
[license-image]:https://img.shields.io/npm/l/bun-repl.svg
[size-image]:https://img.shields.io/github/languages/code-size/jhmaster2000/bun-repl.svg
68 changes: 37 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
{
"type": "module",
"name": "bun-repl",
"version": "1.0.0-fix.3",
"description": "Experimental unofficial REPL for Bun",
"main": "src/repl.ts",
"scripts": {
"start": "bun run src/repl.ts --",
"test": "bun run --silent check && bun run --silent start",
"deeptest": "bun run --silent lint && bun run --silent test",
"check": "bun tsc",
"lint": "bun eslint src/**/*.ts",
"lint-fix": "bun run --silent lint -- --fix"
},
"author": "jhmaster",
"license": "MIT",
"dependencies": {
"@swc/core": "^1.2.224",
"pretty-ms": "^8.0.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"bun-types": "^0.1.5",
"eslint": "^8.21.0",
"eslint-plugin-unicorn": "^43.0.2",
"typescript": "^4.7.4"
},
"bin": {
"repl": "./bun-repl-cli.sh"
}
}
"type": "module",
"name": "bun-repl",
"version": "1.0.1",
"description": "Experimental unofficial REPL for Bun",
"main": "src/repl.ts",
"scripts": {
"start": "bun run src/repl.ts --",
"test": "bun run --silent check && bun run --silent start",
"deeptest": "bun run --silent lint && bun run --silent test",
"check": "bun tsc",
"lint": "bun eslint src/**/*.ts",
"lint-fix": "bun run --silent lint -- --fix"
},
"author": "jhmaster",
"license": "MIT",
"homepage": "https://www.npmjs.com/package/bun-repl",
"repository": {
"type": "git",
"url": "https://github.com/jhmaster2000/bun-repl.git"
},
"keywords": ["bun", "repl", "cli", "ts", "js"],
"dependencies": {
"@swc/core": "^1.2.224",
"pretty-ms": "^8.0.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"bun-types": "^0.1.5",
"eslint": "^8.21.0",
"eslint-plugin-unicorn": "^43.0.2",
"typescript": "^4.7.4"
},
"bin": {
"repl": "./bun-repl-cli.sh"
}
}

0 comments on commit 716043a

Please sign in to comment.