diff --git a/README.md b/README.md index 47c962e..f9b24a4 100644 --- a/README.md +++ b/README.md @@ -71,9 +71,9 @@ Please install [Deno](https://deno.land/manual@v1.30.3/getting_started/installat ## command ### remote - dry run - - `deno run --allow-env --allow-read --allow-write https://deno.land/x/module_specifier_resolver@v1.0.22/bin.ts -b=./src -c=./tsconfig.json -d` + - `deno run --allow-env --allow-read --allow-write https://deno.land/x/module_specifier_resolver@v1.0.23/bin.ts -b=./src -c=./tsconfig.json -d` - transform - - `deno run --allow-env --allow-read --allow-write https://deno.land/x/module_specifier_resolver@v1.0.22/bin.ts -b=./src -c=./tsconfig.json -r` + - `deno run --allow-env --allow-read --allow-write https://deno.land/x/module_specifier_resolver@v1.0.23/bin.ts -b=./src -c=./tsconfig.json -r` ### local - `deno task run-dry` - `deno task run` diff --git a/bin.ts b/bin.ts index 28dc4ec..49a45cb 100644 --- a/bin.ts +++ b/bin.ts @@ -201,4 +201,6 @@ ${result} if(import.meta.main) { await main(); -} \ No newline at end of file +} + +export { main }; \ No newline at end of file diff --git a/deno.jsonc b/deno.jsonc index 613daf0..07e5950 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -1,6 +1,6 @@ { "name": "@hajime-san/specifier-resolver", - "version": "1.0.22", + "version": "1.0.23", "exports": "./bin.ts", "tasks": { "set-up": "cd examples/repo && npm ci",