@jarkkojs/readseek 0.9.8 → 0.9.10

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 (2) hide show
  1. package/README.md +38 -8
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -168,21 +168,51 @@ Commands discover that directory by walking up from the target; use
168
168
 
169
169
  ## Development
170
170
 
171
+ ### Check
172
+
173
+ ```sh
174
+ make ci
175
+ CI_MSRV=1 make ci # optional MSRV check
176
+ ```
177
+
178
+ ### Package
179
+
180
+ Packages the **highest semver tag reachable from HEAD** on the current branch
181
+ (not necessarily the tip). Source is built from a detached worktree at that
182
+ tag; this packaging script stays on tip so tooling fixes apply without a new
183
+ tag. Artifacts land in `npm/*/bin` and `artifacts/` on the caller tree.
184
+
185
+ Linux x64/arm64 and Windows x64 use [`cross`](https://github.com/cross-rs/cross)
186
+ and Docker. On Apple Silicon with Dory, x86_64 images run under FEX; packaging
187
+ reaps the container if FEX leaves it stuck after cargo finishes.
188
+ Cross builds default to `CARGO_BUILD_JOBS=1` on Darwin to avoid FEX/virtiofs
189
+ rlib corruption (override with `CARGO_BUILD_JOBS`).
190
+
191
+ `darwin-arm64` builds with host `cargo` when packaging on darwin-arm64. From
192
+ Linux, the same platform uses the local osxcross image
193
+ `ghcr.io/cross-rs/aarch64-apple-darwin-cross:local` (Apple SDK; not redistributed).
194
+
171
195
  ```sh
172
- cargo test
173
- cargo clippy --all-targets
174
- cargo fmt --check
196
+ make package
197
+ make package PLATFORMS='linux-x64 win32-x64'
198
+ PACKAGE_STRICT=1 make package
175
199
  ```
176
200
 
177
- Integration-specific checks:
201
+ ### Release
202
+
203
+ After `scripts/release.sh <version>` and pushing the tag:
178
204
 
179
205
  ```sh
180
- (cd packages/pi-readseek && npm run typecheck && npm test)
181
- (cd packages/opencode-readseek && bun run typecheck && bun test)
182
- (cd packages/claude-readseek && npm run typecheck && npm test)
183
- vim -Nu NONE -n -i NONE -es -S test/readseek.vim
206
+ make ci
207
+ PACKAGE_STRICT=1 make package
208
+ make publish
184
209
  ```
185
210
 
211
+ `make publish` uses the highest semver tag reachable from HEAD (tip may be
212
+ ahead). It publishes crates.io from that tagged tree, npm from local
213
+ `npm/*/bin` artifacts, then uploads GitLab release tarballs when `glab` is
214
+ available.
215
+
186
216
  ## Reference
187
217
 
188
218
  Run `readseek --help` or `readseek <command> --help`. To read the complete local
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@jarkkojs/readseek",
3
- "version": "0.9.8",
3
+ "version": "0.9.10",
4
4
  "description": "Structural digest for source files, images, and documents",
5
5
  "license": "Apache-2.0 AND LGPL-2.1-or-later",
6
- "homepage": "https://github.com/jarkkojs/readseek#readme",
6
+ "homepage": "https://gitlab.com/jarkkojs/readseek#readme",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/jarkkojs/readseek.git"
9
+ "url": "git+https://gitlab.com/jarkkojs/readseek.git"
10
10
  },
11
11
  "bugs": {
12
- "url": "https://github.com/jarkkojs/readseek/issues"
12
+ "url": "https://gitlab.com/jarkkojs/readseek/-/issues"
13
13
  },
14
14
  "bin": {
15
15
  "readseek": "bin/readseek.js"
@@ -21,10 +21,10 @@
21
21
  "LICENSE-LGPL-2.1"
22
22
  ],
23
23
  "optionalDependencies": {
24
- "@jarkkojs/readseek-darwin-arm64": "0.9.8",
25
- "@jarkkojs/readseek-linux-arm64": "0.9.8",
26
- "@jarkkojs/readseek-linux-x64": "0.9.8",
27
- "@jarkkojs/readseek-win32-x64": "0.9.8"
24
+ "@jarkkojs/readseek-darwin-arm64": "0.9.10",
25
+ "@jarkkojs/readseek-linux-arm64": "0.9.10",
26
+ "@jarkkojs/readseek-linux-x64": "0.9.10",
27
+ "@jarkkojs/readseek-win32-x64": "0.9.10"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"