create-omg 0.4.42 → 0.4.43
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/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:
|
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.43",
|
|
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/"
|