@davmash/bygone 0.8.11 → 0.8.12
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 +7 -0
- package/README.md +3 -3
- package/docs/releasing.md +18 -1
- package/media/webview.css +1 -1
- package/media/webview.js +173 -172
- package/out/standalone-main.js +1 -1
- package/package.json +1 -1
- package/web/web-host.js +4 -4
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
|
|
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
|
|
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. 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,13 @@ 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
|
+
|
|
31
38
|
Upload `bygone-<version>.vsix` from the Visual Studio Marketplace publisher
|
|
32
39
|
page. GitHub OIDC support has merged into `vsce`, but Marketplace has not yet
|
|
33
40
|
exposed the trusted-publisher policy needed to authorize a workflow.
|
|
@@ -43,9 +50,14 @@ The main scripts are:
|
|
|
43
50
|
- dry-runs the npm package
|
|
44
51
|
- `npm run release:build`
|
|
45
52
|
- runs the full local artifact build without publishing
|
|
53
|
+
- installs the built CLI, shell completions, VSIX, and current-platform desktop app locally
|
|
54
|
+
- gracefully restarts the macOS desktop app and stops if unsaved work prevents it from quitting
|
|
46
55
|
- `npm run reinstall`
|
|
47
|
-
- reinstalls the existing VSIX and desktop artifacts without rebuilding
|
|
56
|
+
- reinstalls the existing CLI, shell completions, VSIX, and desktop artifacts without rebuilding
|
|
48
57
|
- `npm run release:publish`
|
|
58
|
+
- requires a clean `main` worktree
|
|
59
|
+
- pushes `main` and waits for that commit's GitHub Release Check workflow
|
|
60
|
+
- rebuilds and installs the release locally, including a graceful desktop restart
|
|
49
61
|
- publishes npm
|
|
50
62
|
- creates a GitHub release with desktop artifacts
|
|
51
63
|
- updates and pushes the Homebrew tap
|
|
@@ -256,6 +268,11 @@ This builds:
|
|
|
256
268
|
- Linux AppImage
|
|
257
269
|
- Windows artifacts
|
|
258
270
|
|
|
271
|
+
After building, the script installs the CLI, shell completions, VSIX, and
|
|
272
|
+
current-platform desktop app locally. On macOS it asks a running Bygone app to
|
|
273
|
+
quit normally, stops before replacement if unsaved work keeps the app open,
|
|
274
|
+
and restarts the installed app.
|
|
275
|
+
|
|
259
276
|
If local packaging is partially unavailable, use the lower-level script:
|
|
260
277
|
|
|
261
278
|
```bash
|