@davmash/bygone 0.8.11 → 0.8.13

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/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.8.12
6
+
7
+ - Fixed stacked-tour comparison switching so Monaco panes redraw immediately without requiring a window resize
8
+ - Added right-click file-path copying across pane titles, comparison summaries, tour and navigation sidebars, directory rows, and search results
9
+ - Showed the complete value on hover whenever non-editor text is visually truncated
10
+ - Made release publishing require a clean `main`, push and wait for CI on the exact commit, rebuild and install all local artifacts, gracefully restart the desktop app, and then publish npm, GitHub, and Homebrew
11
+
5
12
  ## 0.8.11
6
13
 
7
14
  - Fixed stacked-tour slide navigation so each step focuses the authored change when adjacent commit pairs contribute changes to the same panel
package/README.md CHANGED
@@ -202,7 +202,7 @@ Build the full local release artifact matrix:
202
202
  npm run release:build
203
203
  ```
204
204
 
205
- That runs tests, rebuilds the VSIX, stages and dry-run checks the npm package, builds desktop artifacts, and styles the Homebrew templates. If the local macOS DMG or Windows cross-build toolchain is unavailable, use `node ./scripts/release.mjs --skip-dmg` or `node ./scripts/release.mjs --skip-windows` while validating the rest of the matrix.
205
+ That runs tests, rebuilds the VSIX, stages and dry-run checks the npm package, builds desktop artifacts, and installs the resulting CLI, shell completions, VSIX, and current-platform desktop app locally. A running macOS desktop app is asked to quit normally; installation stops if unsaved work prevents it from exiting, and the installed app is then restarted. If the local macOS DMG or Windows cross-build toolchain is unavailable, use `node ./scripts/release.mjs --skip-dmg` or `node ./scripts/release.mjs --skip-windows` while validating the rest of the matrix.
206
206
 
207
207
  Publishing is intentionally explicit:
208
208
 
@@ -210,7 +210,7 @@ Publishing is intentionally explicit:
210
210
  npm run release:publish
211
211
  ```
212
212
 
213
- `release:publish` publishes the npm package, creates a GitHub release for desktop artifacts, and updates a Homebrew tap. Set `BYGONE_HOMEBREW_TAP` to a local tap checkout before publishing Homebrew formulas. Until Marketplace trusted-publisher policies are publicly configurable, upload the packaged VSIX from the Visual Studio Marketplace publisher page.
213
+ Run `release:publish` after committing the version and release changes. It aborts unless the worktree is clean and the current branch is `main`, pushes `main`, waits for that exact commit's GitHub Release Check workflow, rebuilds and installs all local artifacts, publishes the npm package, creates a GitHub release for desktop artifacts, and updates the Homebrew tap. It launches npm browser login when needed and pauses immediately before an unpublished version's time-limited passkey challenge. The tap checkout defaults to the sibling `homebrew-bygone` directory; set `BYGONE_HOMEBREW_TAP` to override it. Until Marketplace trusted-publisher policies are publicly configurable, upload the packaged VSIX from the Visual Studio Marketplace publisher page.
214
214
 
215
215
  Reinstall the current built artifacts without rebuilding:
216
216
 
@@ -218,7 +218,7 @@ Reinstall the current built artifacts without rebuilding:
218
218
  npm run reinstall
219
219
  ```
220
220
 
221
- This refreshes the global CLI, shell completions, VSIX, and desktop app from the existing artifacts.
221
+ This refreshes the global CLI, shell completions, VSIX, and desktop app from the existing artifacts. On macOS it performs the same graceful quit and restart, blocking installation when unsaved work keeps the app open.
222
222
 
223
223
  Run the release checks:
224
224
 
package/docs/releasing.md CHANGED
@@ -28,6 +28,17 @@ gh auth status
28
28
  npm run release:publish
29
29
  ```
30
30
 
31
+ Run this only after committing the version and release changes. The command
32
+ aborts unless the worktree is clean and the current branch is `main`, pushes
33
+ `main`, waits for that commit's GitHub Release Check workflow, rebuilds and
34
+ installs the artifacts locally, then publishes npm, GitHub, and Homebrew.
35
+ The Homebrew tap defaults to the sibling `homebrew-bygone` checkout; set
36
+ `BYGONE_HOMEBREW_TAP` only when the tap is elsewhere.
37
+ If npm authentication is missing, the command launches browser login. For an
38
+ unpublished version, it checks authentication again and pauses immediately
39
+ before `npm publish`; press Enter only when ready to complete npm's time-limited
40
+ passkey prompt.
41
+
31
42
  Upload `bygone-<version>.vsix` from the Visual Studio Marketplace publisher
32
43
  page. GitHub OIDC support has merged into `vsce`, but Marketplace has not yet
33
44
  exposed the trusted-publisher policy needed to authorize a workflow.
@@ -43,9 +54,15 @@ The main scripts are:
43
54
  - dry-runs the npm package
44
55
  - `npm run release:build`
45
56
  - runs the full local artifact build without publishing
57
+ - installs the built CLI, shell completions, VSIX, and current-platform desktop app locally
58
+ - gracefully restarts the macOS desktop app and stops if unsaved work prevents it from quitting
46
59
  - `npm run reinstall`
47
- - reinstalls the existing VSIX and desktop artifacts without rebuilding
60
+ - reinstalls the existing CLI, shell completions, VSIX, and desktop artifacts without rebuilding
48
61
  - `npm run release:publish`
62
+ - requires a clean `main` worktree
63
+ - pushes `main` and waits for that commit's GitHub Release Check workflow
64
+ - rebuilds and installs the release locally, including a graceful desktop restart
65
+ - logs into npm when needed and pauses immediately before the interactive npm publish challenge
49
66
  - publishes npm
50
67
  - creates a GitHub release with desktop artifacts
51
68
  - updates and pushes the Homebrew tap
@@ -256,6 +273,11 @@ This builds:
256
273
  - Linux AppImage
257
274
  - Windows artifacts
258
275
 
276
+ After building, the script installs the CLI, shell completions, VSIX, and
277
+ current-platform desktop app locally. On macOS it asks a running Bygone app to
278
+ quit normally, stops before replacement if unsaved work keeps the app open,
279
+ and restarts the installed app.
280
+
259
281
  If local packaging is partially unavailable, use the lower-level script:
260
282
 
261
283
  ```bash