create-oke 0.1.4 → 0.1.6

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 ADDED
@@ -0,0 +1,39 @@
1
+ # create-oke
2
+
3
+ Scaffold an [okengine](https://www.npmjs.com/package/okengine) app.
4
+
5
+ ```bash
6
+ bunx create-oke@latest my-app
7
+ cd my-app
8
+ oke dev
9
+ ```
10
+
11
+ | Port | What |
12
+ |---|---|
13
+ | `:6530` | your app |
14
+ | `:6533` | Console |
15
+ | `:6535` | MCP |
16
+
17
+ Default template is **Notes** (same tree as [`examples/notes`](https://github.com/omqkhafi/okengine/tree/main/examples/notes)). Pick another with `--template`:
18
+
19
+ ```bash
20
+ bunx create-oke@latest my-links --template linkly
21
+ bunx create-oke@latest my-shop --template provisions
22
+ bunx create-oke@latest my-sky --template skyport
23
+ ```
24
+
25
+ | Template | Adds |
26
+ |---|---|
27
+ | `notes` | `oke` · `flow` · `http` · `store.sql` · typed client |
28
+ | `linkly` | `signal` · `clock` · `gate` |
29
+ | `provisions` | durable flows · `vault` · `channel` · plugins |
30
+ | `skyport` | `ai` · multi-tenancy · distributed topology |
31
+
32
+ ## Registries
33
+
34
+ | Registry | Package |
35
+ |---|---|
36
+ | npm (CLI) | [`create-oke`](https://www.npmjs.com/package/create-oke) — use this with `bunx` |
37
+ | JSR | [`@omqkhafi/create-oke`](https://jsr.io/@omqkhafi/create-oke) — same sources; prefer npm for the binary |
38
+
39
+ Requires **Bun ≥ 1.3**. Framework docs: [okengine README](https://github.com/omqkhafi/okengine#readme) · [unified theory](https://github.com/omqkhafi/okengine/blob/main/docs/spec/unified-theory.md).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-oke",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Scaffold an okengine app — bunx create-oke@latest <name>",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -11,7 +11,7 @@
11
11
  "directory": "packages/create-oke"
12
12
  },
13
13
  "bin": {
14
- "create-oke": "./src/index.ts"
14
+ "create-oke": "src/index.ts"
15
15
  },
16
16
  "exports": {
17
17
  ".": "./src/index.ts"
package/src/index.ts CHANGED
@@ -1,6 +1,13 @@
1
1
  #!/usr/bin/env bun
2
2
  /**
3
- * `create-oke` binary entry.
3
+ * `create-oke` binary entry — scaffold an okengine app.
4
+ *
5
+ * ```bash
6
+ * bunx create-oke@latest my-app
7
+ * bunx create-oke@latest my-app --template linkly
8
+ * ```
9
+ *
10
+ * @module
4
11
  */
5
12
 
6
13
  import { run } from "./cli.ts";
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oke/example-linkly",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oke/example-notes",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oke/example-provisions",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "dependencies": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oke/example-skyport",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "dependencies": {