bod-cli 0.8.1 → 0.8.4
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/.github/workflows/publish.yml +0 -3
- package/package.json +2 -5
- package/src/cli.ts +2 -1
- package/dist/cli.js +0 -20605
package/package.json
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bod-cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"bin": {
|
|
6
|
-
"bod": "./
|
|
7
|
-
},
|
|
8
|
-
"scripts": {
|
|
9
|
-
"build": "bun build src/cli.ts --outdir dist --target node --format esm"
|
|
6
|
+
"bod": "./src/cli.ts"
|
|
10
7
|
},
|
|
11
8
|
"dependencies": {
|
|
12
9
|
"@inquirer/prompts": "^7.0.0",
|
package/src/cli.ts
CHANGED
|
@@ -16,6 +16,7 @@ import serveCmd from './commands/serve'
|
|
|
16
16
|
import sshCmd from './commands/ssh'
|
|
17
17
|
import publishCmd from './commands/publish'
|
|
18
18
|
import dbCmd from './commands/db'
|
|
19
|
+
import pkg from '../package.json' with { type: 'json' }
|
|
19
20
|
|
|
20
21
|
// Parse --instance / --local / -l early so it's set before citty dispatches subcommands.
|
|
21
22
|
// Supports both `--instance=NAME` and `--instance NAME` forms.
|
|
@@ -53,7 +54,7 @@ const subCommands = {
|
|
|
53
54
|
const main = defineCommand({
|
|
54
55
|
meta: {
|
|
55
56
|
name: 'bod',
|
|
56
|
-
version:
|
|
57
|
+
version: pkg.version,
|
|
57
58
|
description: 'Unified CLI for the Bod product family',
|
|
58
59
|
},
|
|
59
60
|
args: {
|