@bardioc/create-bardioc-app 0.5.1 → 0.5.2
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/bin/create.mjs
CHANGED
|
@@ -67,10 +67,6 @@ if (!result.success) {
|
|
|
67
67
|
console.log(` Done! Next steps:\n`);
|
|
68
68
|
console.log(` cd ${name}`);
|
|
69
69
|
console.log(` npm install`);
|
|
70
|
-
console.log(` bardioc login`);
|
|
71
70
|
console.log(` npm run dev\n`);
|
|
72
71
|
console.log(` Open http://localhost:${port} to see your app.`);
|
|
73
|
-
console.log(
|
|
74
|
-
` Standalone host-backed auth now refreshes automatically from your CLI login during npm run dev.`
|
|
75
|
-
);
|
|
76
72
|
console.log(` Use "pnpm dev:live" for a public tunnel/live URL.\n`);
|
package/package.json
CHANGED
|
@@ -17,8 +17,8 @@ npm run dev # http://localhost:{{PORT}}
|
|
|
17
17
|
npm run dev:live # public tunnel (BARDIOC_TUNNEL=1)
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
`npm run dev` runs plain Vite as a local preview shell — live SDK data comes only when the app is
|
|
21
|
+
opened inside the host. See `.env.example` for the required variables.
|
|
22
22
|
|
|
23
23
|
## Develop against `@bardioc/*` source (optional)
|
|
24
24
|
|
package/templates/vite/CLAUDE.md
CHANGED
|
@@ -74,10 +74,9 @@ pnpm build # → dist/
|
|
|
74
74
|
pnpm bundle # → {{APP_NAME}}.zip
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
local preview shell (no transport) — the dashboard renders only inside the host or dev session.
|
|
77
|
+
`npm run dev` runs plain Vite — a local preview shell (no transport): the dashboard renders, but
|
|
78
|
+
live SDK data comes only when the app is opened inside the host. `.env` (see `.env.example`): set
|
|
79
|
+
`VITE_APP_ID` (from the BardiocOS AppStore) when you wire the app up to the host.
|
|
81
80
|
|
|
82
81
|
---
|
|
83
82
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"dev": "
|
|
8
|
-
"dev:live": "BARDIOC_TUNNEL=1
|
|
7
|
+
"dev": "vite",
|
|
8
|
+
"dev:live": "BARDIOC_TUNNEL=1 vite",
|
|
9
9
|
"build": "tsc && vite build && node scripts/stamp-manifest.mjs dist",
|
|
10
10
|
"bundle": "tsc && vite build && node scripts/stamp-manifest.mjs dist && cd dist && zip -r ../{{APP_NAME}}.zip .",
|
|
11
11
|
"preview": "vite preview",
|