business-stack 0.1.12 → 0.1.13
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/README.md +13 -1
- package/bin/business-stack.cjs +1 -1
- package/frontend/cli/dist/cli.cjs +10000 -0
- package/frontend/cli/package.json +12 -0
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -68,6 +68,18 @@ Optional flags for `start`: `--skip-install`, `--skip-build`, `--skip-migrate`.
|
|
|
68
68
|
|
|
69
69
|
**`dev`** (hot reload) is **not** available from the npm package (no app source). Clone the monorepo to develop the stack.
|
|
70
70
|
|
|
71
|
+
### Terminal API client (`bs`)
|
|
72
|
+
|
|
73
|
+
The same install also provides **`bs`** — a **Node** terminal client for auth, chat, ingest, pipeline, etc. (talks to your Next origin, same as the browser). With the stack running:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
bs --help
|
|
77
|
+
bs auth session
|
|
78
|
+
bs backend hello
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
Configure the web URL with **`BUSINESS_STACK_WEB_URL`** (or **`NEXT_PUBLIC_AUTH_BASE_URL`** / **`NEXT_PUBLIC_APP_URL`**), default `http://localhost:3000`.
|
|
82
|
+
|
|
71
83
|
### 4. Optional: npm scripts in your `package.json`
|
|
72
84
|
|
|
73
85
|
```json
|
|
@@ -81,7 +93,7 @@ Optional flags for `start`: `--skip-install`, `--skip-build`, `--skip-migrate`.
|
|
|
81
93
|
}
|
|
82
94
|
```
|
|
83
95
|
|
|
84
|
-
After a local install, npm adds `node_modules/.bin/business-stack
|
|
96
|
+
After a local install, npm adds `node_modules/.bin/business-stack` and `node_modules/.bin/bs`.
|
|
85
97
|
|
|
86
98
|
## Global install (optional)
|
|
87
99
|
|
package/bin/business-stack.cjs
CHANGED