@davideasden/pi-undo 0.2.27 → 0.2.28
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/native/bin/pi-undo-fs-darwin-arm64 +0 -0
- package/native/bin/pi-undo-fs-darwin-x64 +0 -0
- package/native/bin/pi-undo-fs-linux-arm64 +0 -0
- package/native/bin/pi-undo-fs-linux-x64 +0 -0
- package/native/bin/pi-undo-fs-win32-arm64.exe +0 -0
- package/native/bin/pi-undo-fs-win32-x64.exe +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -351,7 +351,7 @@ Install the [Rust toolchain](https://rustup.rs/) before building or updating a n
|
|
|
351
351
|
npm run build:native
|
|
352
352
|
```
|
|
353
353
|
|
|
354
|
-
`npm run build:native`
|
|
354
|
+
`npm run build:native` 会在当前构建平台的 `native/pi-undo-fs/target/release/` 下生成 `pi-undo-fs`。`Native binaries` 工作流会在 macOS、Linux 和 Windows runner 上构建 arm64 与 x64 版本,校验完整的六平台二进制矩阵,打包测试通过的结果,并在推送 `v*` 标签时发布该完全相同的 npm 包。
|
|
355
355
|
|
|
356
356
|
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.
|
|
357
357
|
|
|
@@ -360,7 +360,7 @@ cp native/pi-undo-fs/target/release/pi-undo-fs native/bin/pi-undo-fs-darwin-arm6
|
|
|
360
360
|
chmod +x native/bin/pi-undo-fs-darwin-arm64
|
|
361
361
|
```
|
|
362
362
|
|
|
363
|
-
|
|
363
|
+
Requirements 中列出的每个预编译二进制文件都会从已验证的构建 artifact 下载到发布包中,不再依赖提交到 `native/bin/` 的二进制文件。`Native binaries` 工作流会校验完整的六平台二进制矩阵,运行测试和类型检查,创建 npm 包,并在推送 `v*` 标签时发布该包。发布 job 使用 GitHub Actions Secret `NPM_TOKEN` 认证,并保留 `id-token: write` 以生成 provenance。后续可以迁移到 npm Trusted Publishing(OIDC)以移除长期 token。如果当前平台没有可用的二进制文件,扩展会自动使用 TypeScript fallback。
|
|
364
364
|
|
|
365
365
|
### Project Layout
|
|
366
366
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|