@rhythmjs/cli 0.0.21 → 0.0.22

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.
Files changed (1) hide show
  1. package/package.json +11 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhythmjs/cli",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "description": "Command-line routing for Rhythm: RhythmCli commands, argv parsing, prompts and a Bun runner.",
5
5
  "homepage": "https://rhythm.js.org/cli",
6
6
  "license": "ISC",
@@ -40,8 +40,16 @@
40
40
  "publishConfig": {
41
41
  "access": "public"
42
42
  },
43
+ "scripts": {
44
+ "clean": "rm -rf dist",
45
+ "prebuild": "bun run clean",
46
+ "build": "bun build src/rhythm-cli.ts src/argv.ts src/prompt.ts src/context.ts src/run.ts --outdir dist --root src --format esm --target bun --packages external --splitting && tsc -p tsconfig.build.json",
47
+ "prepublishOnly": "bun run typecheck && bun test && bun run build",
48
+ "typecheck": "tsc --noEmit",
49
+ "test": "bun test"
50
+ },
43
51
  "dependencies": {
44
- "@rhythmjs/rhythm": "0.0.21",
52
+ "@rhythmjs/rhythm": "workspace:*",
45
53
  "rou3": "^1.0.0"
46
54
  },
47
55
  "devDependencies": {
@@ -51,10 +59,5 @@
51
59
  },
52
60
  "engines": {
53
61
  "bun": ">=1.2.0"
54
- },
55
- "scripts": {
56
- "build": "rm -rf dist && bun build src/rhythm-cli.ts src/argv.ts src/prompt.ts src/context.ts src/run.ts --outdir dist --root src --format esm --target bun --packages external --splitting && tsc -p tsconfig.build.json",
57
- "typecheck": "tsc --noEmit",
58
- "test": "bun test"
59
62
  }
60
- }
63
+ }