create-omg 0.4.42 → 0.4.44
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 +16 -6
- package/dist/index.mjs +11 -3
- package/dist/templates/react-ts/bun.lock +19 -21
- package/dist/templates/react-ts/package.json +9 -9
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,14 +1,24 @@
|
|
|
1
1
|
# create-omg
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copy an official React starter. This is **not** the current product.
|
|
4
|
+
|
|
5
|
+
The current product is the local agent control plane:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
curl -fsSL https://raw.githubusercontent.com/BennyKok/omg.dev/main/scripts/setup.sh | bash
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Then open **http://localhost:8766**. You bring your own agent accounts.
|
|
12
|
+
`lfg` is a compatibility alias.
|
|
13
|
+
|
|
14
|
+
`create-omg` only copies starter files. It does not install the control
|
|
15
|
+
plane and it does not deploy to `*.omgs.app`.
|
|
4
16
|
|
|
5
17
|
```sh
|
|
6
|
-
|
|
18
|
+
npx create-omg my-app
|
|
7
19
|
cd my-app
|
|
8
20
|
bun run dev
|
|
9
21
|
```
|
|
10
22
|
|
|
11
|
-
|
|
12
|
-
`omg create
|
|
13
|
-
|
|
14
|
-
Use `--no-install` to create the project without installing dependencies.
|
|
23
|
+
`omg create` from `@omg-dev/cli` 0.4.x is retired. The same generator is
|
|
24
|
+
available as `omg-apps create` from `@omg-dev/apps`.
|
package/dist/index.mjs
CHANGED
|
@@ -60,7 +60,10 @@ async function createApp(options) {
|
|
|
60
60
|
if (options.install === false)
|
|
61
61
|
output(" bun install");
|
|
62
62
|
output(" bun run dev");
|
|
63
|
-
output("
|
|
63
|
+
output("");
|
|
64
|
+
output("This starter is not the current product.");
|
|
65
|
+
output("Current product: curl -fsSL https://raw.githubusercontent.com/BennyKok/omg.dev/main/scripts/setup.sh | bash");
|
|
66
|
+
output("Then open http://localhost:8766");
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
// src/index.ts
|
|
@@ -69,9 +72,14 @@ var TEMPLATES = {
|
|
|
69
72
|
"react-ts-start": "React + TanStack Start (SSR) \u2014 experimental"
|
|
70
73
|
};
|
|
71
74
|
var DEFAULT_TEMPLATE = "react-ts";
|
|
72
|
-
var HELP = `
|
|
75
|
+
var HELP = `create-omg \u2014 copy an omg React starter
|
|
76
|
+
|
|
77
|
+
This is not the current product. The current product is the local
|
|
78
|
+
agent control plane:
|
|
79
|
+
|
|
80
|
+
curl -fsSL https://raw.githubusercontent.com/BennyKok/omg.dev/main/scripts/setup.sh | bash
|
|
81
|
+
open http://localhost:8766
|
|
73
82
|
|
|
74
|
-
bun create omg <name>
|
|
75
83
|
npx create-omg <name>
|
|
76
84
|
|
|
77
85
|
Options:
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@base-ui/react": "^1.6.0",
|
|
9
9
|
"@fontsource-variable/geist": "^5.3.0",
|
|
10
|
-
"@omg-dev/ai": "^0.4.
|
|
11
|
-
"@omg-dev/auth": "^0.4.
|
|
12
|
-
"@omg-dev/db-collection": "^0.4.
|
|
13
|
-
"@omg-dev/media": "^0.4.
|
|
14
|
-
"@omg-dev/pwa": "^0.4.
|
|
15
|
-
"@omg-dev/schema": "^0.4.
|
|
16
|
-
"@omg-dev/sdk": "^0.4.
|
|
17
|
-
"@omg-dev/server": "^0.4.
|
|
10
|
+
"@omg-dev/ai": "^0.4.43",
|
|
11
|
+
"@omg-dev/auth": "^0.4.43",
|
|
12
|
+
"@omg-dev/db-collection": "^0.4.43",
|
|
13
|
+
"@omg-dev/media": "^0.4.43",
|
|
14
|
+
"@omg-dev/pwa": "^0.4.43",
|
|
15
|
+
"@omg-dev/schema": "^0.4.43",
|
|
16
|
+
"@omg-dev/sdk": "^0.4.43",
|
|
17
|
+
"@omg-dev/server": "^0.4.43",
|
|
18
18
|
"@tanstack/react-router": "^1.170.25",
|
|
19
19
|
"better-drizzle": "^0.1.1",
|
|
20
20
|
"class-variance-authority": "^0.7.1",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@eslint/js": "^9.39.4",
|
|
32
|
-
"@omg-dev/vite-plugin": "^0.4.
|
|
32
|
+
"@omg-dev/vite-plugin": "^0.4.43",
|
|
33
33
|
"@tailwindcss/vite": "^4.1.0",
|
|
34
34
|
"@tanstack/router-plugin": "^1.168.29",
|
|
35
35
|
"@types/node": "^24.12.2",
|
|
@@ -227,25 +227,25 @@
|
|
|
227
227
|
|
|
228
228
|
"@nodelib/fs.walk": ["@nodelib/fs.walk@1.2.8", "", { "dependencies": { "@nodelib/fs.scandir": "2.1.5", "fastq": "^1.6.0" } }, "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg=="],
|
|
229
229
|
|
|
230
|
-
"@omg-dev/ai": ["@omg-dev/ai@0.4.
|
|
230
|
+
"@omg-dev/ai": ["@omg-dev/ai@0.4.43", "", { "dependencies": { "@ai-sdk/anthropic": "^3.0.0", "@ai-sdk/openai": "^2.0.0", "@ai-sdk/react": "^3.0.0", "ai": "^6.0.0" }, "peerDependencies": { "react": "^18 || ^19" }, "optionalPeers": ["react"] }, "sha512-b/bK9qf+HISg4P4Uq22hqAkOm9TG/H4oDtIskmvs9tf/90TiT+/+Zx3atCNVoAs6tV7XXrQ71gUEJiLC6jKaWQ=="],
|
|
231
231
|
|
|
232
|
-
"@omg-dev/auth": ["@omg-dev/auth@0.4.
|
|
232
|
+
"@omg-dev/auth": ["@omg-dev/auth@0.4.43", "", { "dependencies": { "jose": "^5.0.0" } }, "sha512-wYncH/aMyVE08sa1by1hEOraTlbMnzTV5AwAqB3sDpvaRWbhw7J+HvxkhYskvjQ6lgZQPW9Iy+tMdZ1wCjgyIQ=="],
|
|
233
233
|
|
|
234
|
-
"@omg-dev/db-collection": ["@omg-dev/db-collection@0.4.
|
|
234
|
+
"@omg-dev/db-collection": ["@omg-dev/db-collection@0.4.43", "", {}, "sha512-KGLaYfEKhcM6ldZn8YajT9A3OxktAd0r5F74KqhGElguPMY0Ogomp9dm47nUTj2jfz49bJhtwLKhiuHwax1ztA=="],
|
|
235
235
|
|
|
236
|
-
"@omg-dev/media": ["@omg-dev/media@0.4.
|
|
236
|
+
"@omg-dev/media": ["@omg-dev/media@0.4.43", "", { "peerDependencies": { "react": "^18 || ^19" }, "optionalPeers": ["react"] }, "sha512-3SlHGxYalsxLccbiDdIbp5Ys5lWdtZa6BItAJhS63M4rIg/GkCFqVQQQxDMatbesj2zwhgBcs3GQ7FG9c104kA=="],
|
|
237
237
|
|
|
238
|
-
"@omg-dev/pwa": ["@omg-dev/pwa@0.4.
|
|
238
|
+
"@omg-dev/pwa": ["@omg-dev/pwa@0.4.43", "", { "peerDependencies": { "react": ">=18", "react-dom": ">=18" } }, "sha512-eq+LVeQZBmnlY5SaMWDs39/ViOqU0PYBP/w8Ph8dVuVx46785+I3lSVTvq+nvn0JZgRhYsJNEp/K58SOwG1UKA=="],
|
|
239
239
|
|
|
240
|
-
"@omg-dev/schema": ["@omg-dev/schema@0.4.
|
|
240
|
+
"@omg-dev/schema": ["@omg-dev/schema@0.4.43", "", {}, "sha512-TUGHiT4IO0lCPaDjGQLzdDIslPlxDmm6+2C13Pqe/zptWG6b56+iUEbC+Y6km91sEGkbLwWOekL1F7PI6/JhHg=="],
|
|
241
241
|
|
|
242
|
-
"@omg-dev/sdk": ["@omg-dev/sdk@0.4.
|
|
242
|
+
"@omg-dev/sdk": ["@omg-dev/sdk@0.4.43", "", { "dependencies": { "@better-auth/passkey": "^1.2.0", "@microsoft/fetch-event-source": "^2.0.1", "better-auth": "^1.2.0" }, "peerDependencies": { "react": ">=18", "react-dom": ">=18" } }, "sha512-MrUIdL0AJsgHvipnyJ1XL8h4wgXG7bjGata/fp2MG+YNCAiH9Y7zbFPWS/NqHJ8dXWVpXUS+h7rclldn5dGi4w=="],
|
|
243
243
|
|
|
244
|
-
"@omg-dev/server": ["@omg-dev/server@0.4.
|
|
244
|
+
"@omg-dev/server": ["@omg-dev/server@0.4.43", "", { "dependencies": { "@omg-dev/auth": "0.4.43", "@omg-dev/schema": "0.4.43", "@omg-dev/stream": "0.4.43", "@restatedev/restate-sdk": "1.14.5", "web-push": "^3.6.7" } }, "sha512-K0loeG6QpA//kY2Dcfja+W0YFeCv3Z4Ge3y4qTEsj6emhqgvJHOVsSysV+ZOp7ugZQ/c257EuJqojcQZkCGgZA=="],
|
|
245
245
|
|
|
246
|
-
"@omg-dev/stream": ["@omg-dev/stream@0.4.
|
|
246
|
+
"@omg-dev/stream": ["@omg-dev/stream@0.4.43", "", { "dependencies": { "@microsoft/fetch-event-source": "^2.0.1" }, "peerDependencies": { "react": ">=18" }, "optionalPeers": ["react"] }, "sha512-X/MPocM1EYYZKvw7UL9BHVcDh2m8iCqm75pyDr+7Z9c0Dmm4yXkHZunSuvbVYWY4BzCyF/VbX/IH7Zx9lbvbkw=="],
|
|
247
247
|
|
|
248
|
-
"@omg-dev/vite-plugin": ["@omg-dev/vite-plugin@0.4.
|
|
248
|
+
"@omg-dev/vite-plugin": ["@omg-dev/vite-plugin@0.4.43", "", { "dependencies": { "@omg-dev/schema": "0.4.43", "@omg-dev/server": "0.4.43", "ws": "^8.18.0" }, "peerDependencies": { "vite": "*" }, "bin": { "vibes-build": "src/build.ts" } }, "sha512-Q+oT83F+upkbKXicFFQufmUPNh+opQvzX01KTAvocbbFIVgqfJm07pceSme/AZ6XRx9gmC14ZyERfElLO8Eydw=="],
|
|
249
249
|
|
|
250
250
|
"@opentelemetry/api": ["@opentelemetry/api@1.9.1", "", {}, "sha512-gLyJlPHPZYdAk1JENA9LeHejZe1Ti77/pTeFm/nMXmQH/HFZlcS/O2XJB+L8fkbrNSqhdtlvjBVjxwUYanNH5Q=="],
|
|
251
251
|
|
|
@@ -1019,8 +1019,6 @@
|
|
|
1019
1019
|
|
|
1020
1020
|
"minimist": ["minimist@1.2.8", "", {}, "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="],
|
|
1021
1021
|
|
|
1022
|
-
"modern-screenshot": ["modern-screenshot@4.7.0", "", {}, "sha512-9YxN+ddPSMMlhylOv25VHzXrl9u67QRxoh7+SEewGtgUw7t6hHTrjptSDJUSne9oG4Xk/h2cwG15nIt4Hc9ujg=="],
|
|
1023
|
-
|
|
1024
1022
|
"mrmime": ["mrmime@2.0.1", "", {}, "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ=="],
|
|
1025
1023
|
|
|
1026
1024
|
"ms": ["ms@2.1.3", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@base-ui/react": "^1.6.0",
|
|
14
14
|
"@fontsource-variable/geist": "^5.3.0",
|
|
15
|
-
"@omg-dev/ai": "^0.4.
|
|
16
|
-
"@omg-dev/auth": "^0.4.
|
|
17
|
-
"@omg-dev/db-collection": "^0.4.
|
|
18
|
-
"@omg-dev/media": "^0.4.
|
|
19
|
-
"@omg-dev/pwa": "^0.4.
|
|
20
|
-
"@omg-dev/schema": "^0.4.
|
|
21
|
-
"@omg-dev/sdk": "^0.4.
|
|
22
|
-
"@omg-dev/server": "^0.4.
|
|
15
|
+
"@omg-dev/ai": "^0.4.43",
|
|
16
|
+
"@omg-dev/auth": "^0.4.43",
|
|
17
|
+
"@omg-dev/db-collection": "^0.4.43",
|
|
18
|
+
"@omg-dev/media": "^0.4.43",
|
|
19
|
+
"@omg-dev/pwa": "^0.4.43",
|
|
20
|
+
"@omg-dev/schema": "^0.4.43",
|
|
21
|
+
"@omg-dev/sdk": "^0.4.43",
|
|
22
|
+
"@omg-dev/server": "^0.4.43",
|
|
23
23
|
"@tanstack/react-router": "^1.170.25",
|
|
24
24
|
"better-drizzle": "^0.1.1",
|
|
25
25
|
"class-variance-authority": "^0.7.1",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@types/react": "^19.2.14",
|
|
40
40
|
"@types/react-dom": "^19.2.3",
|
|
41
41
|
"@typescript/native": "npm:typescript@~7.0.2",
|
|
42
|
-
"@omg-dev/vite-plugin": "^0.4.
|
|
42
|
+
"@omg-dev/vite-plugin": "^0.4.43",
|
|
43
43
|
"@tanstack/router-plugin": "^1.168.29",
|
|
44
44
|
"@vitejs/plugin-react": "^6.0.1",
|
|
45
45
|
"eslint": "^9.39.4",
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-omg",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.4.44",
|
|
4
|
+
"description": "Copy an omg React starter. This is not the current product. The current product is the local control plane in BennyKok/omg.dev.",
|
|
5
|
+
"homepage": "https://github.com/BennyKok/omg.dev",
|
|
5
6
|
"type": "module",
|
|
6
7
|
"bin": {
|
|
7
8
|
"create-omg": "./dist/index.mjs"
|
|
@@ -26,7 +27,6 @@
|
|
|
26
27
|
"type": "git",
|
|
27
28
|
"url": "git+https://github.com/BennyKok/vibes.git"
|
|
28
29
|
},
|
|
29
|
-
"homepage": "https://docs.omg.dev",
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public",
|
|
32
32
|
"registry": "https://registry.npmjs.org/"
|