Skip to content

Commit

Permalink
rework cli handling (1.3.0 RC)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmaster2000 committed Oct 19, 2022
1 parent c26ff5d commit 0f6c954
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ Experimental unofficial REPL for [Bun](https://github.com/oven-sh/bun)
Powered by Bun itself with the help of `swc` and JSC's `ShadowRealm` API

## Install
```
`bun-repl` is not a local package, it **MUST** be installed globally to function properly!
```sh
bun add -g bun-repl
# alternatively now supports your package manager of choice (although only npm has been tested)
```
> ⚠️ Due to workarounds for Bun-specific issues, installation on other package managers like `npm` or `yarn` will not work.

## Features

Expand Down
2 changes: 0 additions & 2 deletions bun-repl-cli.sh

This file was deleted.

2 changes: 0 additions & 2 deletions bun-repl-cli2.sh

This file was deleted.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"type": "module",
"name": "bun-repl",
"version": "1.2.1",
"version": "1.3.0",
"description": "Experimental unofficial REPL for Bun",
"main": "src/module/repl.ts",
"scripts": {
"start": "bun run src/repl.ts --",
"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",
Expand Down Expand Up @@ -37,7 +37,6 @@
"typescript": "^4.8.4"
},
"bin": {
"repl": "./bun-repl-cli.sh",
"bun-repl": "./bun-repl-cli2.sh"
"bun-repl": "./src/repl.ts"
}
}
}

0 comments on commit 0f6c954

Please sign in to comment.