@getstrata/cli 0.2.0 → 1.0.0

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 (2) hide show
  1. package/README.md +5 -3
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -22,10 +22,12 @@ From the current working directory, `strata` loads `strata.config.ts` if present
22
22
  | `migrate` | `src/db/migrate.ts` |
23
23
  | `fresh` | `src/db/fresh.ts` |
24
24
 
25
- `src/cli/register.ts` can export `commands` or `registerCommands()` to add app-specific commands such as WorkHub's `make:*`, `queue:work`, and `openapi:*`.
25
+ `src/cli/register.ts` can export `commands` or `registerCommands()` to add app-specific commands such as `make:*`, `queue:work`, and `openapi:*`.
26
26
 
27
27
  `strata run <file>` executes a file with the app preload. It is not an alias for `bun run <package.json script>`.
28
28
 
29
- ## WorkHub
29
+ `strata new my-app --yes` scaffolds a new directory (same generator as `bunx create-strata`). `strata new --frontend=hybrid` (no project name) copies the HTML overlay and the SPA overlay into the current directory. Hybrid keeps HTML at `/` and serves the SPA under `/app/*`.
30
30
 
31
- In this monorepo, `bun run cli <command>` is an alias for `strata <command>`.
31
+ ## This monorepo
32
+
33
+ `bun run cli <command>` is an alias for `strata <command>`. `bun run dev` starts HiroApp.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@getstrata/cli",
3
- "version": "0.2.0",
4
- "description": "Strata CLI framework commands for Bun apps (dev, start, migrate, run)",
3
+ "version": "1.0.0",
4
+ "description": "Strata CLI: framework commands for Bun apps (dev, start, migrate, run)",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -31,6 +31,6 @@
31
31
  "access": "public"
32
32
  },
33
33
  "engines": {
34
- "bun": ">=1.1.0"
34
+ "bun": ">=1.4.0"
35
35
  }
36
36
  }