conjure-js 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "conjure-js",
3
3
  "private": false,
4
- "version": "0.0.6",
4
+ "version": "0.0.8",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
@@ -11,9 +11,10 @@
11
11
  "homepage": "https://github.com/RegiByte/conjure-js",
12
12
  "license": "MIT",
13
13
  "bin": {
14
- "conjure": "./dist/bin/conjure.mjs"
14
+ "conjure-js": "./dist-cli/conjure-js.mjs"
15
15
  },
16
16
  "files": [
17
+ "dist-cli/**/*",
17
18
  "dist/**/*",
18
19
  "src/**/*.ts",
19
20
  "src/**/*.clj",
@@ -38,7 +39,7 @@
38
39
  "repl": "bun run src/bin/cli.ts repl",
39
40
  "run": "bun run src/bin/cli.ts run",
40
41
  "nrepl": "bun run src/bin/cli.ts nrepl-server",
41
- "build-cli": "node scripts/gen-version.mjs && bun build --compile src/bin/cli.ts --outfile conjure",
42
+ "build-cli": "node scripts/gen-version.mjs && bun build --compile src/bin/cli.ts --outfile conjure-js",
42
43
  "build-npm-bin": "node scripts/gen-version.mjs && node scripts/build-npm-bin.mjs",
43
44
  "typecheck": "tsc --noEmit",
44
45
  "preview": "vite preview",
package/src/bin/cli.ts CHANGED
@@ -95,9 +95,9 @@ function getSourceRoots(filePath?: string): string[] {
95
95
 
96
96
  function printUsage(io: CliIo) {
97
97
  io.writeLine('Usage:')
98
- io.writeLine(' conjure repl')
99
- io.writeLine(' conjure run <file.clj>')
100
- io.writeLine(' conjure nrepl-server [--port <number>] [--host <string>]')
98
+ io.writeLine(' conjure-js repl')
99
+ io.writeLine(' conjure-js run <file.clj>')
100
+ io.writeLine(' conjure-js nrepl-server [--port <number>] [--host <string>]')
101
101
  }
102
102
 
103
103
  export function runFile(fileArg: string, io: CliIo = makeCliIo()): number {
@@ -1,4 +1,4 @@
1
1
  // This file is auto-generated by scripts/gen-version.mjs
2
2
  // Do not edit manually - changes will be overwritten
3
3
 
4
- export const VERSION = '0.0.6'
4
+ export const VERSION = '0.0.8'