file-viewer-copy-assets 2.1.28 → 2.1.29

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.en.md CHANGED
@@ -3,7 +3,7 @@
3
3
  The official Flyfish File Viewer asset-copy CLI. It makes this command a real npm Registry package that `npx` can resolve, install, and execute directly:
4
4
 
5
5
  ```bash
6
- npx --yes file-viewer-copy-assets@2.1.28 ./public/file-viewer
6
+ npx --yes file-viewer-copy-assets@2.1.29 ./public/file-viewer
7
7
  ```
8
8
 
9
9
  The CLI carries a version-matched asset payload, copies Worker, WASM, font, PDF, CAD, Typst, Archive, Draw.io, and Office vendor assets, and writes a `flyfish-viewer-assets.json` integrity manifest. Installing it or running `--version` does not modify the project; only the copy command writes to the selected target. Runtime assets remain self-hosted with no public CDN dependency.
@@ -12,13 +12,13 @@ The CLI carries a version-matched asset payload, copies Worker, WASM, font, PDF,
12
12
 
13
13
  ```bash
14
14
  # Defaults to ./public/file-viewer
15
- npx --yes file-viewer-copy-assets@2.1.28
15
+ npx --yes file-viewer-copy-assets@2.1.29
16
16
 
17
17
  # Keep unrelated existing files in the target directory
18
- npx --yes file-viewer-copy-assets@2.1.28 ./public/file-viewer --no-clean
18
+ npx --yes file-viewer-copy-assets@2.1.29 ./public/file-viewer --no-clean
19
19
 
20
20
  # pnpm equivalent
21
- pnpm dlx file-viewer-copy-assets@2.1.28 ./public/file-viewer
21
+ pnpm dlx file-viewer-copy-assets@2.1.29 ./public/file-viewer
22
22
  ```
23
23
 
24
24
  Set `FILE_VIEWER_PUBLIC_DIR` to override the default output or `FILE_VIEWER_SKIP_ASSET_COPY=1` when a CI step should skip copying. See the [File Viewer deployment guide](https://doc.file-viewer.app/guide/distribution) for full details.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Flyfish File Viewer 官方静态资源复制 CLI。它让下面这条命令成为可直接从 npm Registry 解析、安装和执行的标准 `npx` 入口:
4
4
 
5
5
  ```bash
6
- npx --yes file-viewer-copy-assets@2.1.28 ./public/file-viewer
6
+ npx --yes file-viewer-copy-assets@2.1.29 ./public/file-viewer
7
7
  ```
8
8
 
9
9
  CLI 自带与当前版本严格匹配的资源载荷,会将 Worker、WASM、字体、PDF、CAD、Typst、Archive、Draw.io 和 Office vendor 资源复制到目标目录,并生成 `flyfish-viewer-assets.json` 完整性清单。安装或执行 `--version` 不会修改项目目录;只有执行复制命令时才会写入指定目标。运行时资源全部自托管,不依赖公共 CDN。
@@ -12,13 +12,13 @@ CLI 自带与当前版本严格匹配的资源载荷,会将 Worker、WASM、
12
12
 
13
13
  ```bash
14
14
  # 默认输出到 ./public/file-viewer
15
- npx --yes file-viewer-copy-assets@2.1.28
15
+ npx --yes file-viewer-copy-assets@2.1.29
16
16
 
17
17
  # 保留目标目录中已有的其他文件
18
- npx --yes file-viewer-copy-assets@2.1.28 ./public/file-viewer --no-clean
18
+ npx --yes file-viewer-copy-assets@2.1.29 ./public/file-viewer --no-clean
19
19
 
20
20
  # pnpm 等价命令
21
- pnpm dlx file-viewer-copy-assets@2.1.28 ./public/file-viewer
21
+ pnpm dlx file-viewer-copy-assets@2.1.29 ./public/file-viewer
22
22
  ```
23
23
 
24
24
  可使用 `FILE_VIEWER_PUBLIC_DIR` 设置默认输出目录,或将 `FILE_VIEWER_SKIP_ASSET_COPY=1` 用于需要跳过复制步骤的 CI 场景。完整部署说明见 [File Viewer 文档](https://doc.file-viewer.app/guide/distribution)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "file-viewer-copy-assets",
3
- "version": "2.1.28",
3
+ "version": "2.1.29",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Official npx CLI for copying Flyfish File Viewer Worker, WASM, font, and vendor assets into self-hosted web projects.",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-07-14T02:15:27.519Z",
3
+ "generatedAt": "2026-07-15T07:10:25.045Z",
4
4
  "rendererAssetManifests": [
5
5
  {
6
6
  "rendererId": "drawing",
@@ -252,7 +252,7 @@
252
252
  ],
253
253
  "validation": {
254
254
  "valid": true,
255
- "checkedAt": "2026-07-14T02:15:27.519Z",
255
+ "checkedAt": "2026-07-15T07:10:25.045Z",
256
256
  "assets": [
257
257
  {
258
258
  "id": "drawio-viewer-script",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@file-viewer/web",
3
- "version": "2.1.28",
3
+ "version": "2.1.29",
4
4
  "kind": "viewer-assets",
5
5
  "assets": "flyfish-viewer-assets.json"
6
6
  }