@flyfish-group/file-viewer-react 1.0.17 → 1.0.18

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 +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  React 文件预览组件。只提供私有化部署路线: 依赖的 `@flyfish-group/file-viewer-web` 会随包携带 Vue 基线 viewer 产物;使用 `npm install` 或已允许 pnpm 安装脚本后,会复制到宿主项目 `public/file-viewer`。React 组件默认加载 `/file-viewer/index.html`,不依赖任何外部服务。
4
4
 
5
5
  ```bash
6
- npm install @flyfish-group/file-viewer-react@1.0.17
6
+ npm install @flyfish-group/file-viewer-react@1.0.18
7
7
  ```
8
8
 
9
9
  pnpm 10 默认会拦截依赖包的 `postinstall`。如果安装后提示 `Ignored build scripts: @flyfish-group/file-viewer-web`,请执行 `pnpm approve-builds` 允许该包,或运行 `pnpm exec file-viewer-copy-assets ./public/file-viewer`。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyfish-group/file-viewer-react",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Private-deploy React component for Flyfish Viewer",
@@ -47,7 +47,7 @@
47
47
  "react": ">=17 <20"
48
48
  },
49
49
  "dependencies": {
50
- "@flyfish-group/file-viewer-web": "^1.0.17"
50
+ "@flyfish-group/file-viewer-web": "^1.0.18"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@types/react": "^19.2.14",