@davideasden/pi-undo 0.2.22 → 0.2.24
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/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -314,7 +314,7 @@ Install the [Rust toolchain](https://rustup.rs/) before building or updating a n
|
|
|
314
314
|
npm run build:native
|
|
315
315
|
```
|
|
316
316
|
|
|
317
|
-
`npm run build:native` creates `pi-undo-fs` for the current build platform under `native/pi-undo-fs/target/release/`. The
|
|
317
|
+
`npm run build:native` creates `pi-undo-fs` for the current build platform under `native/pi-undo-fs/target/release/`. The `Native binaries` workflow builds arm64 and x64 versions on macOS, Linux, and Windows runners, verifies the full six-binary matrix, and uploads them as workflow artifacts. The `Publish to npm` workflow publishes the package when a `v*` tag is pushed, using the binaries committed under `native/bin/`.
|
|
318
318
|
|
|
319
319
|
For local development on the current platform, copy the generated file into `native/bin/` and rename it for the platform. For example, a Windows build must use the corresponding `.exe` filename.
|
|
320
320
|
|
|
@@ -323,7 +323,7 @@ cp native/pi-undo-fs/target/release/pi-undo-fs native/bin/pi-undo-fs-darwin-arm6
|
|
|
323
323
|
chmod +x native/bin/pi-undo-fs-darwin-arm64
|
|
324
324
|
```
|
|
325
325
|
|
|
326
|
-
|
|
326
|
+
Every precompiled binary listed under Requirements must be committed under `native/bin/` to be part of a release. The `Native binaries` workflow verifies the complete six-binary matrix before uploading artifacts, and the `Publish to npm` workflow publishes the package on a `v*` tag push. The npm package must configure Trusted Publishing (OIDC) for the `Publish to npm` workflow. If no binary is available for the current platform, the extension automatically uses the TypeScript fallback.
|
|
327
327
|
|
|
328
328
|
### Project Layout
|
|
329
329
|
|