beadscope 0.5.0 → 0.5.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 (70) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/fallback-build-manifest.json +3 -3
  4. package/.next/next-server.js.nft.json +1 -1
  5. package/.next/prerender-manifest.json +3 -3
  6. package/.next/required-server-files.js +8 -8
  7. package/.next/required-server-files.json +8 -8
  8. package/.next/server/app/_global-error.html +1 -1
  9. package/.next/server/app/_global-error.rsc +1 -1
  10. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  11. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  13. package/.next/server/app/_not-found.html +1 -1
  14. package/.next/server/app/_not-found.rsc +1 -1
  15. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  16. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  17. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  18. package/.next/server/app/api/config/route.js.nft.json +1 -1
  19. package/.next/server/app/api/fs/route.js.nft.json +1 -1
  20. package/.next/server/app/api/p/[projectId]/activity/route.js.nft.json +1 -1
  21. package/.next/server/app/api/p/[projectId]/attachments/[...path]/route.js.nft.json +1 -1
  22. package/.next/server/app/api/p/[projectId]/attachments/route.js.nft.json +1 -1
  23. package/.next/server/app/api/p/[projectId]/beads/[id]/archive/route.js.nft.json +1 -1
  24. package/.next/server/app/api/p/[projectId]/beads/[id]/assist/route.js.nft.json +1 -1
  25. package/.next/server/app/api/p/[projectId]/beads/[id]/comments/route.js.nft.json +1 -1
  26. package/.next/server/app/api/p/[projectId]/beads/[id]/deps/route.js.nft.json +1 -1
  27. package/.next/server/app/api/p/[projectId]/beads/[id]/gate/route.js.nft.json +1 -1
  28. package/.next/server/app/api/p/[projectId]/beads/[id]/human/route.js.nft.json +1 -1
  29. package/.next/server/app/api/p/[projectId]/beads/[id]/route.js.nft.json +1 -1
  30. package/.next/server/app/api/p/[projectId]/beads/[id]/status/route.js.nft.json +1 -1
  31. package/.next/server/app/api/p/[projectId]/beads/route.js.nft.json +1 -1
  32. package/.next/server/app/api/p/[projectId]/beads/stream/route.js.nft.json +1 -1
  33. package/.next/server/app/api/p/[projectId]/doctor/route.js.nft.json +1 -1
  34. package/.next/server/app/api/p/[projectId]/gamification/route.js.nft.json +1 -1
  35. package/.next/server/app/api/p/[projectId]/insights/route.js.nft.json +1 -1
  36. package/.next/server/app/api/p/[projectId]/order/route.js.nft.json +1 -1
  37. package/.next/server/app/api/p/[projectId]/publish/route.js.nft.json +1 -1
  38. package/.next/server/app/api/projects/[id]/route.js.nft.json +1 -1
  39. package/.next/server/app/api/projects/route.js.nft.json +1 -1
  40. package/.next/server/app/api/telemetry/route.js.nft.json +1 -1
  41. package/.next/server/app/api/update/check/route.js.nft.json +1 -1
  42. package/.next/server/app/api/update/run/route.js.nft.json +1 -1
  43. package/.next/server/app/api/viewer-mode/route.js.nft.json +1 -1
  44. package/.next/server/app/index.html +1 -1
  45. package/.next/server/app/index.rsc +1 -1
  46. package/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  47. package/.next/server/app/index.segments/_full.segment.rsc +1 -1
  48. package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  49. package/.next/server/app/p/[projectId]/page.js.nft.json +1 -1
  50. package/.next/server/app/p/[projectId]/page_client-reference-manifest.js +1 -1
  51. package/.next/server/chunks/[root-of-the-server]__1-f7qk3-8a266._.js +1 -1
  52. package/.next/server/chunks/[root-of-the-server]__1zrubp2jc8bi0._.js +1 -1
  53. package/.next/server/chunks/_0vx1iev9xu_vx._.js +1 -1
  54. package/.next/server/chunks/_0vx1iev9xu_vx._.js.map +1 -1
  55. package/.next/server/chunks/lib_self-update_ts_1s_0im4leryko._.js +1 -1
  56. package/.next/server/chunks/lib_self-update_ts_1s_0im4leryko._.js.map +1 -1
  57. package/.next/server/chunks/ssr/[root-of-the-server]__1xizcyi5hek65._.js +1 -1
  58. package/.next/server/middleware-build-manifest.js +3 -3
  59. package/.next/server/middleware.js.nft.json +1 -1
  60. package/.next/server/pages/404.html +1 -1
  61. package/.next/server/pages/500.html +1 -1
  62. package/.next/server/preview-props.json +3 -3
  63. package/.next/server/server-reference-manifest.js +1 -1
  64. package/.next/server/server-reference-manifest.json +1 -1
  65. package/.next/static/chunks/{3yk880zca6oid.js → 1j-4i4b4rc0hy.js} +1 -1
  66. package/README.md +44 -24
  67. package/package.json +1 -1
  68. /package/.next/static/{CNwJGIAhEiVMAkf3ebvok → xa_jNrYAvP6guImijiv2P}/_buildManifest.js +0 -0
  69. /package/.next/static/{CNwJGIAhEiVMAkf3ebvok → xa_jNrYAvP6guImijiv2P}/_clientMiddlewareManifest.js +0 -0
  70. /package/.next/static/{CNwJGIAhEiVMAkf3ebvok → xa_jNrYAvP6guImijiv2P}/_ssgManifest.js +0 -0
package/README.md CHANGED
@@ -55,24 +55,35 @@ by Brendan; see [Credits](#credits).
55
55
 
56
56
  ## Quick install
57
57
 
58
- Requires **Node 20+**, npm and git. For live data you also need the
58
+ Requires **Node 20+**. For live data you also need the
59
59
  [`bd`](https://github.com/gastownhall/beads) binary on your `PATH`; without it,
60
60
  Beadscope runs in demo mode.
61
61
 
62
+ **npm** (any platform):
63
+
62
64
  ```bash
63
- git clone https://github.com/sai-manoj-kumar/beadscope.git
64
- cd beadscope
65
- npm install
66
- npm run build
67
- npm link
65
+ npm install -g beadscope
68
66
  beadscope start # runs in the background; `beadscope stop` stops it
69
67
  ```
70
68
 
69
+ **Homebrew** (macOS; also installs Node and `bd`):
70
+
71
+ ```bash
72
+ brew install sai-manoj-kumar/beadscope/beadscope
73
+ beadscope start
74
+ ```
75
+
76
+ If Homebrew 7 stops with "untrusted tap", run `brew trust sai-manoj-kumar/beadscope`
77
+ and install again.
78
+
71
79
  Run `beadscope start` from a folder that has a `.beads` repo to open straight to
72
- that project, or from anywhere to get the project picker. The global command is a
73
- symlink to your clone, so keep the folder and re-run `npm run build` after pulling
74
- changes. More options (a standalone global copy, running from source, Docker) are
75
- below; see [Install globally](#install-globally).
80
+ that project, or from anywhere to get the project picker.
81
+
82
+ **Update:** `npm install -g beadscope` or `brew upgrade beadscope`, then
83
+ `beadscope stop` and `beadscope start`.
84
+
85
+ Other ways to run it: [from a clone](#install-from-source) (to hack on it) and
86
+ [Docker](#docker).
76
87
 
77
88
  ## Features
78
89
 
@@ -141,10 +152,9 @@ detail links, and read-only protections also work in the grouped layout.
141
152
  ## Releases and updates
142
153
 
143
154
  Releases are published on this repository's
144
- [GitHub Releases](https://github.com/sai-manoj-kumar/beadscope/releases) page; none
145
- have been published yet, so until one exists the stable channel reports no update
146
- and the **Development (main)** channel is the way to follow changes. The sidebar
147
- displays the running app version.
155
+ [GitHub Releases](https://github.com/sai-manoj-kumar/beadscope/releases) page. Pushing
156
+ a version tag also publishes that version to npm and updates the Homebrew tap. The
157
+ sidebar displays the running app version.
148
158
 
149
159
  In **Settings → Software updates**, choose **Stable releases** (the default) or
150
160
  **Development (main)**. Stable checks published GitHub releases for all installation
@@ -157,8 +167,9 @@ A clean main/detached Git checkout can install the exact advertised target with
157
167
  **Update now**. Dependencies are restored with `npm ci` and the app is rebuilt.
158
168
  The supervised `npm run serve` launcher restarts automatically; other launchers
159
169
  need a manual restart. Local changes or diverged history must be resolved first.
160
- Global copies, source downloads, and Docker installations receive the notice with
161
- manual update instructions. No update is installed automatically.
170
+ npm, Homebrew, source-download and Docker installations receive the notice with
171
+ manual update instructions (`npm install -g beadscope` or `brew upgrade beadscope`,
172
+ then restart). No update is installed automatically.
162
173
 
163
174
  Release notes and the versioning policy are in [`docs/releases/`](docs/releases/).
164
175
 
@@ -244,7 +255,12 @@ cross-site check looks at.
244
255
 
245
256
  ### Docker
246
257
 
258
+ There is no published image: build it from a clone. CI builds and smoke-tests the
259
+ Dockerfile on every pull request that touches it.
260
+
247
261
  ```bash
262
+ git clone https://github.com/sai-manoj-kumar/beadscope.git
263
+ cd beadscope
248
264
  docker build -t beadscope .
249
265
  docker run -p 3000:3000 beadscope # → http://localhost:3000
250
266
  ```
@@ -260,7 +276,7 @@ mount your project directory and point `BEADS_REPO` at it:
260
276
  ```bash
261
277
  BEADS_REPO=/path/to/project
262
278
  docker run -d -p 3000:3000 \
263
- --name beads_ui \
279
+ --name beadscope \
264
280
  -v $BEADS_REPO:/data \
265
281
  -e BEADS_REPO=/data \
266
282
  beadscope
@@ -291,13 +307,13 @@ Container limitations:
291
307
  a hostname, pass `-e BEADSCOPE_ALLOWED_HOSTS=<name>` (see
292
308
  [Opening Beadscope by a hostname](#opening-beadscope-by-a-hostname)).
293
309
 
294
- ## Install globally
310
+ ## The `beadscope` command
295
311
 
296
- Install once from a clone, then run `beadscope start`
297
- from **any** directory. It starts the production server in the background on a free
298
- port (default 3000) and opens your browser. Run it from a folder that has a `.beads`
299
- repo to jump straight to that project; otherwise you get the project picker.
300
- Requires Node 20+.
312
+ After an [npm or Homebrew install](#quick-install) (or [from source](#install-from-source)),
313
+ run `beadscope start` from **any** directory. It starts the production server in the
314
+ background on a free port (default 3000) and opens your browser. Run it from a folder
315
+ that has a `.beads` repo to jump straight to that project; otherwise you get the
316
+ project picker. Requires Node 20+.
301
317
 
302
318
  | Command | What it does |
303
319
  | --- | --- |
@@ -318,7 +334,11 @@ The log is reset on every `start`.
318
334
  > `beadscope run` (foreground). Environment variables are read when the server
319
335
  > starts, so run `beadscope stop` then `beadscope start` to apply a change.
320
336
 
321
- **Recommended — `npm link` (keep the clone):**
337
+ ### Install from source
338
+
339
+ For trying unreleased changes or hacking on Beadscope. Needs git and npm as well.
340
+
341
+ **`npm link` (keep the clone):**
322
342
 
323
343
  ```bash
324
344
  git clone https://github.com/sai-manoj-kumar/beadscope.git beadscope
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beadscope",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "A local web UI for the beads (bd) issue tracker",
5
5
  "keywords": [
6
6
  "beads",