@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bardioc/create-bardioc-app",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Scaffold a Bardioc app with framework templates (vite, react, vue, angular, svelte, solid, preact, nextjs)",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -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
- Run `bardioc login` once; `npm run dev` then mints and refreshes the standalone dev session
21
- automatically. See `.env.example` for the required variables.
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
 
@@ -74,10 +74,9 @@ pnpm build # → dist/
74
74
  pnpm bundle # → {{APP_NAME}}.zip
75
75
  ```
76
76
 
77
- `.env` (see `.env.example`): set `VITE_APP_ID` (from the BardiocOS AppStore). For standalone
78
- host-backed dev, set `VITE_ENABLE_DEV_AUTH=true` + `DEV_AUTH_HOST_URL`, run `bardioc login` once,
79
- then `npm run dev` mints/refreshes `DEV_SESSION_KEY` automatically. Without it, `npm run dev` is a
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": "bardioc-dev-session -- vite",
8
- "dev:live": "BARDIOC_TUNNEL=1 bardioc-dev-session -- vite",
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",