@file-viewer/cli 3.2.1 → 3.2.2

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
@@ -1,7 +1,113 @@
1
1
  # @file-viewer/cli
2
2
 
3
- Runtime package version 3.2.1.
3
+ Create projects, integrate existing applications, select exact capabilities, and prepare offline File Viewer delivery. The CLI carries only a frozen capability catalog; it does not duplicate renderers, Workers, WASM, fonts, or static assets.
4
4
 
5
- Usage and API documentation: https://file-viewer.app/en/cli/
5
+ - [CLI home](https://file-viewer.app/en/cli/)
6
+ - [Complete guide](https://doc.file-viewer.app/guide/cli)
7
+ - [简体中文](./README.md)
6
8
 
7
- The package's own license is Apache-2.0. Included third-party notices apply to their respective components.
9
+ ## Quick start
10
+
11
+ Create a runnable project:
12
+
13
+ ```bash
14
+ npm create file-viewer@latest my-viewer
15
+ ```
16
+
17
+ Integrate the project containing the current `package.json`:
18
+
19
+ ```bash
20
+ npx file-viewer-cli@latest add .
21
+ ```
22
+
23
+ `file-viewer-cli` is the single-bin `npx` carrier and pins this scoped package at the same version. If `@file-viewer/cli` is already installed locally, run `file-viewer add .` instead.
24
+
25
+ The wizard selects a framework and validated version, File Viewer release, profile, formats, package manager, and asset directory. Interactive runs present checkbox-style renderer/format-family rows, preselect and retain everything supplied by the chosen profile, and let users toggle optional capabilities by number or range instead of typing extensions. It supports Vanilla/Web Component, Vue 3, Vue 2.7, Vue 2.6, React, React Legacy, Svelte, and jQuery.
26
+
27
+ New projects use Vite 8. The generated `package.json` declares Node `^20.19.0 || >=22.12.0`, and `dev`/`build` run a version preflight. Unsupported runtimes therefore fail with an actionable upgrade-and-reinstall message instead of an indirect `CustomEvent` exception.
28
+
29
+ ```bash
30
+ npx file-viewer-cli create my-viewer \
31
+ --framework vue3 \
32
+ --profile standard \
33
+ --formats pdf,docx,xlsx,pptx \
34
+ --package-manager pnpm \
35
+ --non-interactive \
36
+ --yes
37
+ ```
38
+
39
+ `add` detects the `packageManager` field, lockfiles, framework and version, installed preset/Full packages, Vite, Vue CLI, Webpack, Next.js, Nuxt 2/3, statically provable public directories, and application entries. Multiple candidates or an unsafe static-directory inference produce `manualSteps` and fail closed before installation or file writes; pass a contained `--asset-target` after confirming the real build target.
40
+
41
+ ## Standard and Full
42
+
43
+ `standard` is the recommended common-format baseline for new projects. The eight existing `@file-viewer/*-full` packages keep their published `preset-all`, API, asset, and format behavior; they are not silently changed to `standard`.
44
+
45
+ Installing a Full package directly does not automatically add future specialist capabilities. Explicit CLI `--profile full` keeps the matching Full package and adds the later opt-ins marked as Full defaults in the catalog. The current default additions are DICOM and digital-signature/evidence containers, so the CLI shows their weight and licenses before confirmation. The Adobe design renderer remains explicit: add `--formats pat`, `--formats psd`, or `--capabilities design` to install `@file-viewer/renderer-design` and its independent asset pack without changing the frozen 221-extension, 32-pipeline `preset-all` baseline. DICOM covers one local DICOM Part 10 file, including multi-frame navigation. It does not provide series assembly, PACS/DICOMweb, MPR, segmentation, diagnosis, or an embedded OHIF application. The signature renderer reports bounded container inspection and cryptographic verification separately from certificate trust, policy, and legal-validity decisions.
46
+
47
+ DICOM selections, including `--profile full`, also require the application-owned overrides and Node.js requirements in the [DICOM installation policy](https://github.com/flyfish-dev/file-viewer/blob/main/packages/renderers/dicom/README.en.md#application-installation-policy). The CLI does not configure those overrides; verify the resolved application graph and browser behavior before deployment.
48
+
49
+ ## Configuration, assets, and legacy compatibility
50
+
51
+ ```bash
52
+ npx file-viewer-cli list
53
+ npx file-viewer-cli config add dicom --write
54
+ npx file-viewer-cli config add p7m --write
55
+ npx file-viewer-cli plan --framework vue3 --profile full
56
+ npx file-viewer-cli install --yes
57
+ npx file-viewer-cli assets --write
58
+ npx file-viewer-cli doctor --json
59
+ npx file-viewer-cli verify --json
60
+ ```
61
+
62
+ The original package and command remain available:
63
+
64
+ ```bash
65
+ npx --no-install file-viewer-copy-assets ./public/file-viewer \
66
+ --renderers pdf,office-word-openxml
67
+
68
+ # Unified entry to the same compatibility implementation
69
+ npx file-viewer-cli copy-assets ./public/file-viewer \
70
+ --renderers pdf,office-word-openxml
71
+ ```
72
+
73
+ Without a project config, `file-viewer assets` preserves the arguments, environment variables, merge default, receipts, and safety checks of `file-viewer-copy-assets`. Merge mode preserves unrelated files by default; cleanup replaces only a dedicated, boundary-checked `file-viewer` target and requires both `--clean --confirm`. A complete deployment of `@file-viewer/web-full/dist/` needs no separate copy step.
74
+
75
+ ## Private registries and offline tgz files
76
+
77
+ ```bash
78
+ npx file-viewer-cli prepare \
79
+ --framework vue3 \
80
+ --profile standard \
81
+ --registry https://registry.example.com/ \
82
+ --offline-dir .file-viewer/offline \
83
+ --concurrency 4 \
84
+ --yes
85
+
86
+ npx file-viewer-cli add . \
87
+ --profile standard \
88
+ --offline-dir .file-viewer/offline \
89
+ --cache-dir .file-viewer/package-cache \
90
+ --non-interactive \
91
+ --yes
92
+ ```
93
+
94
+ The offline directory includes the exact CLI, has an integrity manifest, and is reused only for exact versions. Tarballs are checked against their package identity; integrity is not registry provenance. Remote registries must use HTTPS (HTTP is loopback-only). `prepare` concurrency is `1-8`; install concurrency is `1-32`. Keep credentials in package-manager or CI configuration—the CLI rejects credentials embedded in URLs and does not write secrets into project config.
95
+
96
+ ## Recovery and dependency ownership
97
+
98
+ Before a confirmed install, the CLI moves an existing project-local `node_modules` and Yarn unplugged directory into a same-filesystem backup, and snapshots the manifest, lockfiles, Yarn PnP/install-state files, generated integration, and managed asset target. A handled package-manager or asset failure restores those bytes. If safe atomic staging cannot be established, installation stops before invoking the package manager.
99
+
100
+ An abrupt process or host termination can leave an adjacent `.<project>.file-viewer-install-*` backup. Inspect and restore that directory before rerunning; do not delete it blindly. Package-manager caches, including a project-local Yarn cache, are outside this transaction. Obsolete heavy dependencies are removed only when the project config records them in `managedPackages` as CLI-owned; packages that were not installed and tracked by the CLI remain untouched.
101
+
102
+ ## Help and language
103
+
104
+ Interactive text and help support English, Simplified Chinese, Japanese, and German. `--json` always uses stable English keys.
105
+
106
+ ```bash
107
+ file-viewer --help --lang en
108
+ file-viewer create --help --lang zh-CN
109
+ file-viewer add --help --lang ja-JP
110
+ file-viewer prepare --help --lang de-DE
111
+ ```
112
+
113
+ See the [complete CLI guide](https://doc.file-viewer.app/guide/cli) for every command, config field, CI pattern, offline boundary, and troubleshooting step.
package/README.md CHANGED
@@ -1,7 +1,113 @@
1
1
  # @file-viewer/cli
2
2
 
3
- Runtime package version 3.2.1.
3
+ File Viewer 的项目创建、已有项目接入、能力选择和离线交付 CLI。它只携带冻结的能力目录,不重复打包 renderer、Worker、WASM、字体或其他静态资源。
4
4
 
5
- Usage and API documentation: https://file-viewer.app/en/cli/
5
+ - [CLI 使用主页](https://file-viewer.app/cli/)
6
+ - [完整中文指南](https://doc.file-viewer.app/zh/guide/cli)
7
+ - [English README](./README.en.md)
6
8
 
7
- The package's own license is Apache-2.0. Included third-party notices apply to their respective components.
9
+ ## 快速开始
10
+
11
+ 创建一个可运行项目:
12
+
13
+ ```bash
14
+ npm create file-viewer@latest my-viewer
15
+ ```
16
+
17
+ 接入当前 `package.json` 项目:
18
+
19
+ ```bash
20
+ npx file-viewer-cli@latest add .
21
+ ```
22
+
23
+ `file-viewer-cli` 是便于 `npx` 自动选择命令的单 bin 入口,并严格依赖同版本的本 scoped 包。项目已经安装 `@file-viewer/cli` 时,直接运行 `file-viewer add .`。
24
+
25
+ 向导可选择框架及其已校验版本、File Viewer 版本、profile、格式、包管理器和资源目录。交互模式会按 renderer/格式族列出复选项,profile 已包含的能力预先打勾并保持启用;额外能力可用单个编号或范围切换,无需手写扩展名。支持 Vanilla/Web Component、Vue 3、Vue 2.7、Vue 2.6、React、React Legacy、Svelte 和 jQuery。
26
+
27
+ 新建项目使用 Vite 8。生成的 `package.json` 会声明 Node `^20.19.0 || >=22.12.0`,并在 `dev`/`build` 前执行版本检查;不兼容环境会直接给出升级和重新安装依赖的操作提示,而不是以间接的 `CustomEvent` 异常失败。
28
+
29
+ ```bash
30
+ npx file-viewer-cli create my-viewer \
31
+ --framework vue3 \
32
+ --profile standard \
33
+ --formats pdf,docx,xlsx,pptx \
34
+ --package-manager pnpm \
35
+ --non-interactive \
36
+ --yes
37
+ ```
38
+
39
+ `add` 会检测 `packageManager`、lockfile、框架及版本、既有 preset/Full 包、Vite、Vue CLI、Webpack、Next.js、Nuxt 2/3、可静态证明的公开目录和应用入口。存在多个候选或无法安全推导静态目录时会生成 `manualSteps`,并在安装或写文件前失败关闭;确认实际构建目标后可显式传入 `--asset-target`。
40
+
41
+ ## Standard 与 Full
42
+
43
+ `standard` 是新项目推荐的常用格式基线。现有八个 `@file-viewer/*-full` 包继续保持已发布的 `preset-all`、API、资产和格式行为,不会被静默改成 `standard`。
44
+
45
+ 直接安装 Full 包不会自动带入以后新增的专业能力;通过 CLI 明确选择 `--profile full` 时,CLI 会保留对应 Full 包,并加入目录中标记为 Full 默认追加的后续可选能力。当前默认额外能力是 DICOM 和数字签名/证据容器,因此确认前会显示体积和许可证信息。Adobe 设计 renderer 仍需显式选择,例如追加 `--formats pat`、`--formats psd` 或 `--capabilities design`;显式选择会安装 `@file-viewer/renderer-design` 及其独立资产包,但不会改变 `preset-all` 的 221 个扩展名、32 条链路冻结基线。DICOM 仅预览本地单个 DICOM Part 10 文件及其多帧,不包含 series、PACS/DICOMweb、MPR、分割、诊断或内嵌 OHIF。签名 renderer 仅声明有界容器检查和密码学验证结果,不代替证书信任、政策或法律效力判定。
46
+
47
+ 选择 DICOM(包括 `--profile full`)时,还需遵循 [DICOM 安装策略](https://github.com/flyfish-dev/file-viewer/blob/main/packages/renderers/dicom/README.md#应用安装策略),由应用配置依赖 overrides 并满足 Node.js 要求。CLI 不会配置这些 overrides;部署前需验证实际应用依赖图及浏览器行为。
48
+
49
+ ## 配置、资产与旧命令兼容
50
+
51
+ ```bash
52
+ npx file-viewer-cli list
53
+ npx file-viewer-cli config add dicom --write
54
+ npx file-viewer-cli config add p7m --write
55
+ npx file-viewer-cli plan --framework vue3 --profile full
56
+ npx file-viewer-cli install --yes
57
+ npx file-viewer-cli assets --write
58
+ npx file-viewer-cli doctor --json
59
+ npx file-viewer-cli verify --json
60
+ ```
61
+
62
+ 原有命令和包继续可用:
63
+
64
+ ```bash
65
+ npx --no-install file-viewer-copy-assets ./public/file-viewer \
66
+ --renderers pdf,office-word-openxml
67
+
68
+ # 同一兼容实现的统一入口
69
+ npx file-viewer-cli copy-assets ./public/file-viewer \
70
+ --renderers pdf,office-word-openxml
71
+ ```
72
+
73
+ 未提供项目配置时,`file-viewer assets` 的参数、环境变量、合并模式、回执及安全校验与 `file-viewer-copy-assets` 保持一致。默认合并并保留无关文件;只有同时传入 `--clean --confirm` 才会清理并替换专用且通过安全边界校验的 `file-viewer` 目标目录。完整部署 `@file-viewer/web-full/dist/` 时无需再复制资产。
74
+
75
+ ## 私有源和离线 tgz
76
+
77
+ ```bash
78
+ npx file-viewer-cli prepare \
79
+ --framework vue3 \
80
+ --profile standard \
81
+ --registry https://registry.example.com/ \
82
+ --offline-dir .file-viewer/offline \
83
+ --concurrency 4 \
84
+ --yes
85
+
86
+ npx file-viewer-cli add . \
87
+ --profile standard \
88
+ --offline-dir .file-viewer/offline \
89
+ --cache-dir .file-viewer/package-cache \
90
+ --non-interactive \
91
+ --yes
92
+ ```
93
+
94
+ 离线目录包含精确 CLI,带完整性清单并按精确版本复用;tarball 还会核对包身份,但完整性不等于 registry 来源可信。远程源必须使用 HTTPS(HTTP 只允许回环地址)。`prepare` 并发为 `1-8`,安装并发为 `1-32`。Registry 凭据应配置在包管理器或 CI 中;CLI 拒绝 URL 内嵌账号密码,也不会把凭据写入项目配置。
95
+
96
+ ## 失败恢复与依赖所有权
97
+
98
+ 确认安装后,CLI 会先把已有的项目内 `node_modules` 及 Yarn unplugged 目录原子移动到同文件系统备份区,同时保存 manifest、lockfile、Yarn PnP/install-state、生成模块和受管资产目录。包管理器或资产步骤正常抛错时会恢复这些字节;无法建立安全原子备份时,会在调用包管理器前停止。
99
+
100
+ 进程或主机被强制中断时,项目同级可能留下 `.<项目名>.file-viewer-install-*` 备份。再次执行前应先检查并恢复,不能直接删除。包管理器 cache(包括项目内 Yarn cache)不在该事务范围内。只有在配置的 `managedPackages` 中明确记录为 CLI 所有的过期重型依赖才会被移除;CLI 未安装、未跟踪的用户依赖保持不动。
101
+
102
+ ## 帮助与语言
103
+
104
+ CLI 的交互和帮助支持英文、简体中文、日文和德文;`--json` 始终使用稳定英文键。
105
+
106
+ ```bash
107
+ file-viewer --help --lang zh-CN
108
+ file-viewer create --help --lang en
109
+ file-viewer add --help --lang ja-JP
110
+ file-viewer prepare --help --lang de-DE
111
+ ```
112
+
113
+ 完整命令、配置字段、CI 模式、离线限制和故障排查请查看[完整 CLI 指南](https://doc.file-viewer.app/zh/guide/cli)。
@@ -2,75 +2,75 @@
2
2
  "schemaVersion": 1,
3
3
  "core": {
4
4
  "packageName": "@file-viewer/core",
5
- "version": "3.2.1"
5
+ "version": "3.2.2"
6
6
  },
7
7
  "frameworks": {
8
8
  "web": {
9
9
  "packageName": "@file-viewer/web",
10
- "version": "3.2.1"
10
+ "version": "3.2.2"
11
11
  },
12
12
  "vue3": {
13
13
  "packageName": "@file-viewer/vue3",
14
- "version": "3.2.1"
14
+ "version": "3.2.2"
15
15
  },
16
16
  "vue2.7": {
17
17
  "packageName": "@file-viewer/vue2.7",
18
- "version": "3.2.1"
18
+ "version": "3.2.2"
19
19
  },
20
20
  "vue2.6": {
21
21
  "packageName": "@file-viewer/vue2.6",
22
- "version": "3.2.1"
22
+ "version": "3.2.2"
23
23
  },
24
24
  "react": {
25
25
  "packageName": "@file-viewer/react",
26
- "version": "3.2.1"
26
+ "version": "3.2.2"
27
27
  },
28
28
  "react-legacy": {
29
29
  "packageName": "@file-viewer/react-legacy",
30
- "version": "3.2.1"
30
+ "version": "3.2.2"
31
31
  },
32
32
  "svelte": {
33
33
  "packageName": "@file-viewer/svelte",
34
- "version": "3.2.1"
34
+ "version": "3.2.2"
35
35
  },
36
36
  "jquery": {
37
37
  "packageName": "@file-viewer/jquery",
38
- "version": "3.2.1"
38
+ "version": "3.2.2"
39
39
  }
40
40
  },
41
41
  "frameworkOverrides": {
42
42
  "full": {
43
43
  "web": {
44
44
  "packageName": "@file-viewer/web-full",
45
- "version": "3.2.1"
45
+ "version": "3.2.2"
46
46
  },
47
47
  "vue3": {
48
48
  "packageName": "@file-viewer/vue3-full",
49
- "version": "3.2.1"
49
+ "version": "3.2.2"
50
50
  },
51
51
  "vue2.7": {
52
52
  "packageName": "@file-viewer/vue2.7-full",
53
- "version": "3.2.1"
53
+ "version": "3.2.2"
54
54
  },
55
55
  "vue2.6": {
56
56
  "packageName": "@file-viewer/vue2.6-full",
57
- "version": "3.2.1"
57
+ "version": "3.2.2"
58
58
  },
59
59
  "react": {
60
60
  "packageName": "@file-viewer/react-full",
61
- "version": "3.2.1"
61
+ "version": "3.2.2"
62
62
  },
63
63
  "react-legacy": {
64
64
  "packageName": "@file-viewer/react-legacy-full",
65
- "version": "3.2.1"
65
+ "version": "3.2.2"
66
66
  },
67
67
  "svelte": {
68
68
  "packageName": "@file-viewer/svelte-full",
69
- "version": "3.2.1"
69
+ "version": "3.2.2"
70
70
  },
71
71
  "jquery": {
72
72
  "packageName": "@file-viewer/jquery-full",
73
- "version": "3.2.1"
73
+ "version": "3.2.2"
74
74
  }
75
75
  }
76
76
  },
@@ -228,7 +228,7 @@
228
228
  {
229
229
  "id": "all",
230
230
  "packageName": "@file-viewer/preset-all",
231
- "version": "3.2.1",
231
+ "version": "3.2.2",
232
232
  "capabilityPackages": [
233
233
  "@file-viewer/renderer-word",
234
234
  "@file-viewer/renderer-ppt",
@@ -267,7 +267,7 @@
267
267
  {
268
268
  "id": "lite",
269
269
  "packageName": "@file-viewer/preset-lite",
270
- "version": "3.2.1",
270
+ "version": "3.2.2",
271
271
  "capabilityPackages": [
272
272
  "@file-viewer/renderer-image",
273
273
  "@file-viewer/renderer-text",
@@ -277,7 +277,7 @@
277
277
  {
278
278
  "id": "standard",
279
279
  "packageName": "@file-viewer/preset-standard",
280
- "version": "3.2.1",
280
+ "version": "3.2.2",
281
281
  "capabilityPackages": [
282
282
  "@file-viewer/capability-pdf-identity-repair",
283
283
  "@file-viewer/capability-pptx-charts",
@@ -303,7 +303,7 @@
303
303
  {
304
304
  "id": "office",
305
305
  "packageName": "@file-viewer/preset-office",
306
- "version": "3.2.1",
306
+ "version": "3.2.2",
307
307
  "capabilityPackages": [
308
308
  "@file-viewer/renderer-word",
309
309
  "@file-viewer/renderer-ppt",
@@ -319,7 +319,7 @@
319
319
  {
320
320
  "id": "engineering",
321
321
  "packageName": "@file-viewer/preset-engineering",
322
- "version": "3.2.1",
322
+ "version": "3.2.2",
323
323
  "capabilityPackages": [
324
324
  "@file-viewer/renderer-eda",
325
325
  "@file-viewer/renderer-cad",
@@ -407,8 +407,8 @@
407
407
  "copyMode": "capability-pack",
408
408
  "receiptFilename": "file-viewer-assets-model.receipt.json",
409
409
  "notice": "Independent model capability asset pack.",
410
- "packageVersion": "3.2.1",
411
- "installerPackageVersion": "3.2.1"
410
+ "packageVersion": "3.2.2",
411
+ "installerPackageVersion": "3.2.2"
412
412
  },
413
413
  "license": {
414
414
  "spdx": "Apache-2.0",
@@ -419,7 +419,7 @@
419
419
  "engineering",
420
420
  "all"
421
421
  ],
422
- "version": "3.2.1",
422
+ "version": "3.2.2",
423
423
  "activation": {
424
424
  "kind": "renderer-export",
425
425
  "import": "@file-viewer/renderer-3d",
@@ -480,9 +480,9 @@
480
480
  "copyMode": "profile-pack",
481
481
  "receiptFilename": "file-viewer-assets-standard.receipt.json",
482
482
  "notice": "Self-hosted libarchive Worker and WASM.",
483
- "packageVersion": "3.2.1",
483
+ "packageVersion": "3.2.2",
484
484
  "installerPackageName": "@file-viewer/assets-standard",
485
- "installerPackageVersion": "3.2.1"
485
+ "installerPackageVersion": "3.2.2"
486
486
  },
487
487
  "license": {
488
488
  "spdx": "Apache-2.0",
@@ -494,7 +494,7 @@
494
494
  "engineering",
495
495
  "all"
496
496
  ],
497
- "version": "3.2.1",
497
+ "version": "3.2.2",
498
498
  "activation": {
499
499
  "kind": "renderer-export",
500
500
  "import": "@file-viewer/renderer-archive",
@@ -526,7 +526,7 @@
526
526
  },
527
527
  "weight": "standard",
528
528
  "profiles": [],
529
- "version": "3.2.1",
529
+ "version": "3.2.2",
530
530
  "activation": {
531
531
  "kind": "renderer-export",
532
532
  "import": "@file-viewer/renderer-binary",
@@ -562,8 +562,8 @@
562
562
  "copyMode": "capability-pack",
563
563
  "receiptFilename": "file-viewer-assets-cad.receipt.json",
564
564
  "notice": "Independent cad capability asset pack.",
565
- "packageVersion": "3.2.1",
566
- "installerPackageVersion": "3.2.1"
565
+ "packageVersion": "3.2.2",
566
+ "installerPackageVersion": "3.2.2"
567
567
  },
568
568
  "license": {
569
569
  "spdx": "Apache-2.0",
@@ -574,7 +574,7 @@
574
574
  "engineering",
575
575
  "all"
576
576
  ],
577
- "version": "3.2.1",
577
+ "version": "3.2.2",
578
578
  "activation": {
579
579
  "kind": "renderer-export",
580
580
  "import": "@file-viewer/renderer-cad",
@@ -607,8 +607,8 @@
607
607
  "copyMode": "capability-pack",
608
608
  "receiptFilename": "file-viewer-assets-chm.receipt.json",
609
609
  "notice": "Self-hosted CHM module Worker and Rust/WebAssembly parser runtime.",
610
- "packageVersion": "3.2.1",
611
- "installerPackageVersion": "3.2.1"
610
+ "packageVersion": "3.2.2",
611
+ "installerPackageVersion": "3.2.2"
612
612
  },
613
613
  "license": {
614
614
  "spdx": "Apache-2.0",
@@ -630,7 +630,7 @@
630
630
  "profiles": [
631
631
  "all"
632
632
  ],
633
- "version": "3.2.1",
633
+ "version": "3.2.2",
634
634
  "activation": {
635
635
  "kind": "renderer-export",
636
636
  "import": "@file-viewer/renderer-chm",
@@ -673,8 +673,8 @@
673
673
  "copyMode": "capability-pack",
674
674
  "receiptFilename": "file-viewer-assets-data.receipt.json",
675
675
  "notice": "Independent data capability asset pack.",
676
- "packageVersion": "3.2.1",
677
- "installerPackageVersion": "3.2.1"
676
+ "packageVersion": "3.2.2",
677
+ "installerPackageVersion": "3.2.2"
678
678
  },
679
679
  "license": {
680
680
  "spdx": "Apache-2.0",
@@ -684,7 +684,7 @@
684
684
  "profiles": [
685
685
  "all"
686
686
  ],
687
- "version": "3.2.1",
687
+ "version": "3.2.2",
688
688
  "activation": {
689
689
  "kind": "renderer-export",
690
690
  "import": "@file-viewer/renderer-data",
@@ -766,8 +766,8 @@
766
766
  "copyMode": "capability-pack",
767
767
  "receiptFilename": "file-viewer-assets-design.receipt.json",
768
768
  "notice": "Independent design capability asset pack.",
769
- "packageVersion": "3.2.1",
770
- "installerPackageVersion": "3.2.1"
769
+ "packageVersion": "3.2.2",
770
+ "installerPackageVersion": "3.2.2"
771
771
  },
772
772
  "license": {
773
773
  "spdx": "Apache-2.0",
@@ -775,7 +775,7 @@
775
775
  },
776
776
  "weight": "heavy",
777
777
  "profiles": [],
778
- "version": "3.2.1",
778
+ "version": "3.2.2",
779
779
  "activation": {
780
780
  "kind": "renderer-export",
781
781
  "import": "@file-viewer/renderer-design",
@@ -1315,7 +1315,7 @@
1315
1315
  },
1316
1316
  "weight": "heavy",
1317
1317
  "profiles": [],
1318
- "version": "3.2.1"
1318
+ "version": "3.2.2"
1319
1319
  },
1320
1320
  {
1321
1321
  "$schema": "../../../ecosystem/capability-manifest.schema.json",
@@ -1345,7 +1345,7 @@
1345
1345
  "profiles": [
1346
1346
  "all"
1347
1347
  ],
1348
- "version": "3.2.1",
1348
+ "version": "3.2.2",
1349
1349
  "activation": {
1350
1350
  "kind": "renderer-export",
1351
1351
  "import": "@file-viewer/renderer-drawing",
@@ -1378,7 +1378,7 @@
1378
1378
  "engineering",
1379
1379
  "all"
1380
1380
  ],
1381
- "version": "3.2.1",
1381
+ "version": "3.2.2",
1382
1382
  "activation": {
1383
1383
  "kind": "renderer-export",
1384
1384
  "import": "@file-viewer/renderer-eda",
@@ -1410,7 +1410,7 @@
1410
1410
  "standard",
1411
1411
  "all"
1412
1412
  ],
1413
- "version": "3.2.1",
1413
+ "version": "3.2.2",
1414
1414
  "activation": {
1415
1415
  "kind": "renderer-export",
1416
1416
  "import": "@file-viewer/renderer-email",
@@ -1442,7 +1442,7 @@
1442
1442
  "profiles": [
1443
1443
  "all"
1444
1444
  ],
1445
- "version": "3.2.1",
1445
+ "version": "3.2.2",
1446
1446
  "activation": {
1447
1447
  "kind": "renderer-export",
1448
1448
  "import": "@file-viewer/renderer-epub",
@@ -1474,7 +1474,7 @@
1474
1474
  "engineering",
1475
1475
  "all"
1476
1476
  ],
1477
- "version": "3.2.1",
1477
+ "version": "3.2.2",
1478
1478
  "activation": {
1479
1479
  "kind": "renderer-export",
1480
1480
  "import": "@file-viewer/renderer-geo",
@@ -1507,8 +1507,8 @@
1507
1507
  "copyMode": "capability-pack",
1508
1508
  "receiptFilename": "file-viewer-assets-hangul.receipt.json",
1509
1509
  "notice": "Independent hangul capability asset pack.",
1510
- "packageVersion": "3.2.1",
1511
- "installerPackageVersion": "3.2.1"
1510
+ "packageVersion": "3.2.2",
1511
+ "installerPackageVersion": "3.2.2"
1512
1512
  },
1513
1513
  "license": {
1514
1514
  "spdx": "Apache-2.0",
@@ -1519,7 +1519,7 @@
1519
1519
  "office",
1520
1520
  "all"
1521
1521
  ],
1522
- "version": "3.2.1",
1522
+ "version": "3.2.2",
1523
1523
  "activation": {
1524
1524
  "kind": "renderer-export",
1525
1525
  "import": "@file-viewer/renderer-hangul",
@@ -1563,7 +1563,7 @@
1563
1563
  "standard",
1564
1564
  "all"
1565
1565
  ],
1566
- "version": "3.2.1",
1566
+ "version": "3.2.2",
1567
1567
  "activation": {
1568
1568
  "kind": "renderer-export",
1569
1569
  "import": "@file-viewer/renderer-image",
@@ -1603,8 +1603,8 @@
1603
1603
  "copyMode": "capability-pack",
1604
1604
  "receiptFilename": "file-viewer-assets-iwork.receipt.json",
1605
1605
  "notice": "Independent iwork capability asset pack.",
1606
- "packageVersion": "3.2.1",
1607
- "installerPackageVersion": "3.2.1"
1606
+ "packageVersion": "3.2.2",
1607
+ "installerPackageVersion": "3.2.2"
1608
1608
  },
1609
1609
  "license": {
1610
1610
  "spdx": "Apache-2.0",
@@ -1615,7 +1615,7 @@
1615
1615
  "office",
1616
1616
  "all"
1617
1617
  ],
1618
- "version": "3.2.1",
1618
+ "version": "3.2.2",
1619
1619
  "activation": {
1620
1620
  "kind": "renderer-export",
1621
1621
  "import": "@file-viewer/renderer-iwork",
@@ -1658,7 +1658,7 @@
1658
1658
  "standard",
1659
1659
  "all"
1660
1660
  ],
1661
- "version": "3.2.1",
1661
+ "version": "3.2.2",
1662
1662
  "activation": {
1663
1663
  "kind": "renderer-export",
1664
1664
  "import": "@file-viewer/renderer-media",
@@ -1686,7 +1686,7 @@
1686
1686
  "profiles": [
1687
1687
  "all"
1688
1688
  ],
1689
- "version": "3.2.1",
1689
+ "version": "3.2.2",
1690
1690
  "activation": {
1691
1691
  "kind": "renderer-export",
1692
1692
  "import": "@file-viewer/renderer-mindmap",
@@ -1717,7 +1717,7 @@
1717
1717
  "office",
1718
1718
  "all"
1719
1719
  ],
1720
- "version": "3.2.1",
1720
+ "version": "3.2.2",
1721
1721
  "activation": {
1722
1722
  "kind": "renderer-export",
1723
1723
  "import": "@file-viewer/renderer-ofd",
@@ -1749,9 +1749,9 @@
1749
1749
  "copyMode": "profile-pack",
1750
1750
  "receiptFilename": "file-viewer-assets-standard.receipt.json",
1751
1751
  "notice": "PDF.js Worker, CMaps, WASM, standard fonts, and CJK fallback fonts.",
1752
- "packageVersion": "3.2.1",
1752
+ "packageVersion": "3.2.2",
1753
1753
  "installerPackageName": "@file-viewer/assets-standard",
1754
- "installerPackageVersion": "3.2.1"
1754
+ "installerPackageVersion": "3.2.2"
1755
1755
  },
1756
1756
  "license": {
1757
1757
  "spdx": "Apache-2.0",
@@ -1773,7 +1773,7 @@
1773
1773
  "office",
1774
1774
  "all"
1775
1775
  ],
1776
- "version": "3.2.1",
1776
+ "version": "3.2.2",
1777
1777
  "activation": {
1778
1778
  "kind": "renderer-export",
1779
1779
  "import": "@file-viewer/renderer-pdf",
@@ -1807,8 +1807,8 @@
1807
1807
  "copyMode": "capability-pack",
1808
1808
  "receiptFilename": "file-viewer-assets-ppt.receipt.json",
1809
1809
  "notice": "Legacy PPT Worker/WASM runtime with the existing watermark and license boundary.",
1810
- "packageVersion": "3.2.1",
1811
- "installerPackageVersion": "3.2.1"
1810
+ "packageVersion": "3.2.2",
1811
+ "installerPackageVersion": "3.2.2"
1812
1812
  },
1813
1813
  "license": {
1814
1814
  "spdx": "Apache-2.0",
@@ -1819,7 +1819,7 @@
1819
1819
  "office",
1820
1820
  "all"
1821
1821
  ],
1822
- "version": "3.2.1",
1822
+ "version": "3.2.2",
1823
1823
  "activation": {
1824
1824
  "kind": "renderer-export",
1825
1825
  "import": "@file-viewer/renderer-ppt",
@@ -1856,9 +1856,9 @@
1856
1856
  "copyMode": "profile-pack",
1857
1857
  "receiptFilename": "file-viewer-assets-standard.receipt.json",
1858
1858
  "notice": "Native PPTX parsing Worker.",
1859
- "packageVersion": "3.2.1",
1859
+ "packageVersion": "3.2.2",
1860
1860
  "installerPackageName": "@file-viewer/assets-standard",
1861
- "installerPackageVersion": "3.2.1"
1861
+ "installerPackageVersion": "3.2.2"
1862
1862
  },
1863
1863
  "license": {
1864
1864
  "spdx": "Apache-2.0",
@@ -1870,7 +1870,7 @@
1870
1870
  "office",
1871
1871
  "all"
1872
1872
  ],
1873
- "version": "3.2.1",
1873
+ "version": "3.2.2",
1874
1874
  "activation": {
1875
1875
  "kind": "renderer-export",
1876
1876
  "import": "@file-viewer/renderer-pptx",
@@ -1934,7 +1934,7 @@
1934
1934
  },
1935
1935
  "weight": "heavy",
1936
1936
  "profiles": [],
1937
- "version": "3.2.1"
1937
+ "version": "3.2.2"
1938
1938
  },
1939
1939
  {
1940
1940
  "$schema": "../../../ecosystem/capability-manifest.schema.json",
@@ -1975,9 +1975,9 @@
1975
1975
  "copyMode": "profile-pack",
1976
1976
  "receiptFilename": "file-viewer-assets-standard.receipt.json",
1977
1977
  "notice": "Spreadsheet parsing Worker.",
1978
- "packageVersion": "3.2.1",
1978
+ "packageVersion": "3.2.2",
1979
1979
  "installerPackageName": "@file-viewer/assets-standard",
1980
- "installerPackageVersion": "3.2.1"
1980
+ "installerPackageVersion": "3.2.2"
1981
1981
  },
1982
1982
  "license": {
1983
1983
  "spdx": "Apache-2.0",
@@ -1989,7 +1989,7 @@
1989
1989
  "office",
1990
1990
  "all"
1991
1991
  ],
1992
- "version": "3.2.1",
1992
+ "version": "3.2.2",
1993
1993
  "activation": {
1994
1994
  "kind": "renderer-export",
1995
1995
  "import": "@file-viewer/renderer-spreadsheet",
@@ -2067,7 +2067,7 @@
2067
2067
  "standard",
2068
2068
  "all"
2069
2069
  ],
2070
- "version": "3.2.1",
2070
+ "version": "3.2.2",
2071
2071
  "activation": {
2072
2072
  "kind": "renderer-export",
2073
2073
  "import": "@file-viewer/renderer-text",
@@ -2100,8 +2100,8 @@
2100
2100
  "copyMode": "capability-pack",
2101
2101
  "receiptFilename": "file-viewer-assets-typst.receipt.json",
2102
2102
  "notice": "Independent typst capability asset pack.",
2103
- "packageVersion": "3.2.1",
2104
- "installerPackageVersion": "3.2.1"
2103
+ "packageVersion": "3.2.2",
2104
+ "installerPackageVersion": "3.2.2"
2105
2105
  },
2106
2106
  "license": {
2107
2107
  "spdx": "Apache-2.0",
@@ -2111,7 +2111,7 @@
2111
2111
  "profiles": [
2112
2112
  "all"
2113
2113
  ],
2114
- "version": "3.2.1",
2114
+ "version": "3.2.2",
2115
2115
  "activation": {
2116
2116
  "kind": "renderer-export",
2117
2117
  "import": "@file-viewer/renderer-typst",
@@ -2152,9 +2152,9 @@
2152
2152
  "copyMode": "profile-pack",
2153
2153
  "receiptFilename": "file-viewer-assets-standard.receipt.json",
2154
2154
  "notice": "DOCX Worker and its offline ZIP runtime.",
2155
- "packageVersion": "3.2.1",
2155
+ "packageVersion": "3.2.2",
2156
2156
  "installerPackageName": "@file-viewer/assets-standard",
2157
- "installerPackageVersion": "3.2.1"
2157
+ "installerPackageVersion": "3.2.2"
2158
2158
  },
2159
2159
  "license": {
2160
2160
  "spdx": "Apache-2.0",
@@ -2166,7 +2166,7 @@
2166
2166
  "office",
2167
2167
  "all"
2168
2168
  ],
2169
- "version": "3.2.1",
2169
+ "version": "3.2.2",
2170
2170
  "activation": {
2171
2171
  "kind": "renderer-export",
2172
2172
  "import": "@file-viewer/renderer-word",
@@ -2201,8 +2201,8 @@
2201
2201
  "copyMode": "capability-pack",
2202
2202
  "receiptFilename": "file-viewer-assets-wordperfect.receipt.json",
2203
2203
  "notice": "Independent wordperfect capability asset pack.",
2204
- "packageVersion": "3.2.1",
2205
- "installerPackageVersion": "3.2.1"
2204
+ "packageVersion": "3.2.2",
2205
+ "installerPackageVersion": "3.2.2"
2206
2206
  },
2207
2207
  "license": {
2208
2208
  "spdx": "Apache-2.0",
@@ -2213,7 +2213,7 @@
2213
2213
  "office",
2214
2214
  "all"
2215
2215
  ],
2216
- "version": "3.2.1",
2216
+ "version": "3.2.2",
2217
2217
  "activation": {
2218
2218
  "kind": "renderer-export",
2219
2219
  "import": "@file-viewer/renderer-wordperfect",
@@ -2253,7 +2253,7 @@
2253
2253
  "standard",
2254
2254
  "all"
2255
2255
  ],
2256
- "version": "3.2.1"
2256
+ "version": "3.2.2"
2257
2257
  },
2258
2258
  {
2259
2259
  "$schema": "../../../ecosystem/capability-manifest.schema.json",
@@ -2292,7 +2292,7 @@
2292
2292
  "standard",
2293
2293
  "all"
2294
2294
  ],
2295
- "version": "3.2.1"
2295
+ "version": "3.2.2"
2296
2296
  },
2297
2297
  {
2298
2298
  "$schema": "../../../ecosystem/capability-manifest.schema.json",
@@ -2326,7 +2326,7 @@
2326
2326
  "profiles": [
2327
2327
  "all"
2328
2328
  ],
2329
- "version": "3.2.1"
2329
+ "version": "3.2.2"
2330
2330
  },
2331
2331
  {
2332
2332
  "$schema": "../../../ecosystem/capability-manifest.schema.json",
@@ -2363,7 +2363,7 @@
2363
2363
  "profiles": [
2364
2364
  "all"
2365
2365
  ],
2366
- "version": "3.2.1"
2366
+ "version": "3.2.2"
2367
2367
  },
2368
2368
  {
2369
2369
  "$schema": "../../../ecosystem/capability-manifest.schema.json",
@@ -2399,7 +2399,7 @@
2399
2399
  "profiles": [
2400
2400
  "all"
2401
2401
  ],
2402
- "version": "3.2.1"
2402
+ "version": "3.2.2"
2403
2403
  },
2404
2404
  {
2405
2405
  "$schema": "../../../ecosystem/capability-manifest.schema.json",
@@ -2435,7 +2435,7 @@
2435
2435
  "profiles": [
2436
2436
  "all"
2437
2437
  ],
2438
- "version": "3.2.1"
2438
+ "version": "3.2.2"
2439
2439
  },
2440
2440
  {
2441
2441
  "$schema": "../../../ecosystem/capability-manifest.schema.json",
@@ -2478,7 +2478,7 @@
2478
2478
  "profiles": [
2479
2479
  "all"
2480
2480
  ],
2481
- "version": "3.2.1"
2481
+ "version": "3.2.2"
2482
2482
  },
2483
2483
  {
2484
2484
  "$schema": "../../../ecosystem/capability-manifest.schema.json",
@@ -2513,8 +2513,8 @@
2513
2513
  "copyMode": "capability-pack",
2514
2514
  "receiptFilename": "file-viewer-assets-drawing.receipt.json",
2515
2515
  "notice": "Large official diagrams.net runtime; the safe local SVG fallback remains the default without this capability.",
2516
- "packageVersion": "3.2.1",
2517
- "installerPackageVersion": "3.2.1"
2516
+ "packageVersion": "3.2.2",
2517
+ "installerPackageVersion": "3.2.2"
2518
2518
  },
2519
2519
  "license": {
2520
2520
  "spdx": "Apache-2.0",
@@ -2530,11 +2530,11 @@
2530
2530
  "profiles": [
2531
2531
  "all"
2532
2532
  ],
2533
- "version": "3.2.1"
2533
+ "version": "3.2.2"
2534
2534
  }
2535
2535
  ],
2536
2536
  "assetTool": {
2537
2537
  "packageName": "@file-viewer/assets-standard",
2538
- "version": "3.2.1"
2538
+ "version": "3.2.2"
2539
2539
  }
2540
2540
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@file-viewer/cli",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Create or integrate a File Viewer project with framework detection, selectable formats, offline packages, and self-hosted assets.",
@@ -74,7 +74,7 @@
74
74
  "README.md"
75
75
  ],
76
76
  "dependencies": {
77
- "@file-viewer/asset-installer": "3.2.1"
77
+ "@file-viewer/asset-installer": "3.2.2"
78
78
  },
79
79
  "engines": {
80
80
  "node": ">=20"