From 716043af4be6c9eb4545c277886cd3dc186ce754 Mon Sep 17 00:00:00 2001 From: jhmaster2000 <32803471+jhmaster2000@users.noreply.github.com> Date: Sun, 7 Aug 2022 09:47:24 -0300 Subject: [PATCH] 1.0.1 --- README.md | 11 ++++++++- package.json | 68 ++++++++++++++++++++++++++++------------------------ 2 files changed, 47 insertions(+), 32 deletions(-) diff --git a/README.md b/README.md index a7f93dc..3f3a2d9 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 diff --git a/package.json b/package.json index 1126cc0..a2fbf35 100644 --- a/package.json +++ b/package.json @@ -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" - } -} \ No newline at end of file + "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" + } +}