create-bridgething 0.11.0 → 0.12.1

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.
Files changed (37) hide show
  1. package/README.md +16 -12
  2. package/dist/index.mjs +476 -142
  3. package/package.json +20 -5
  4. package/template/_claude/skills/bridgething/SKILL.md +12 -17
  5. package/template/_claude/skills/bridgething/reference/develop.md +86 -66
  6. package/template/_claude/skills/bridgething/reference/extension.md +183 -0
  7. package/template/_claude/skills/bridgething/reference/sdk.md +86 -105
  8. package/template/_claude/skills/bridgething/reference/ship.md +19 -38
  9. package/template/_gitignore +1 -0
  10. package/template/package.json +6 -5
  11. package/template/scripts/bridgething.ts +1086 -0
  12. package/template/scripts/push.ts +212 -193
  13. package/template/settings/main.tsx +14 -13
  14. package/template/src/App.tsx +3 -6
  15. package/template/src/daemon.ts +14 -0
  16. package/template/tsconfig.json +1 -1
  17. package/template/vite.config.ts +5 -3
  18. package/template/vite.settings.config.ts +3 -3
  19. package/template-extension/_claude_append.md +23 -0
  20. package/template-extension/extension/main.ts +20 -0
  21. package/template-launcher/_claude_append.md +14 -30
  22. package/template-launcher/src/App.tsx +2 -5
  23. package/template-overlay/_claude_append.md +31 -45
  24. package/template-overlay/vite.overlay.config.ts +1 -1
  25. package/template-source/CLAUDE.md +104 -0
  26. package/template-source/README.md +57 -0
  27. package/template-source/_bunversion +1 -0
  28. package/template-source/_github/workflows/ci.yml +28 -0
  29. package/template-source/_github/workflows/publish.yml +33 -0
  30. package/template-source/_gitignore +7 -0
  31. package/template-source/_prettierrc.js +10 -0
  32. package/template-source/apps/.gitkeep +0 -0
  33. package/template-source/package.json +27 -0
  34. package/template-source/source.json +8 -0
  35. package/template-versions.json +6 -0
  36. package/template/CLAUDE.md +0 -95
  37. package/template/README.md +0 -70
package/README.md CHANGED
@@ -1,22 +1,26 @@
1
1
  # create-bridgething
2
2
 
3
- Scaffold a new [bridgething](https://github.com/JoeyEamigh/bridgething) webapp, a
4
- single-page app that runs on the kiosk chromium of a Spotify Car Thing and talks
5
- to the on-device daemon. The template ships React + Vite + Tailwind v4 with
6
- [`@bridgething/client`](https://www.npmjs.com/package/@bridgething/client)
7
- preinstalled.
3
+ Scaffold a [bridgething](https://github.com/JoeyEamigh/bridgething) webapp for
4
+ the Spotify Car Thing: React, Vite, Tailwind v4, and
5
+ [`@bridgething/client`](https://www.npmjs.com/package/@bridgething/client).
8
6
 
9
7
  ```sh
10
8
  bun create bridgething my-app
11
9
  ```
12
10
 
13
- ```sh
14
- npm create bridgething@latest my-app
15
- ```
11
+ | flag | what you get |
12
+ | -------------- | --------------------------------------------- |
13
+ | `--launcher` | A replacement home screen |
14
+ | `--overlay` | System UI drawn over every webapp |
15
+ | `--extension` | A desktop-side Deno process beside the webapp |
16
+ | `--no-install` | Skip `bun install` |
17
+ | `--no-git` | Skip `git init` |
18
+
19
+ `--extension` combines with `--launcher`, `--overlay`, or a plain webapp.
16
20
 
17
- The generated project includes `bun run push` to deploy the built webapp to a
18
- connected Car Thing, `bun run share` to share it with the community, and
19
- `bun run update` to bring the connected device to the latest bridgething release.
21
+ The project ships `bun run dev`, `build`, `push` (install on a connected Car
22
+ Thing), `share` (zip for the store), and `update` (bring the device to the
23
+ latest release).
20
24
 
21
- - Full docs: <https://bridgething.com/docs>
25
+ - Docs: <https://bridgething.com/docs>
22
26
  - Source: <https://github.com/JoeyEamigh/bridgething>