Files
guangfei.zhao a3ff72e575 feat(iframe): add iframe bridge for ragflow integration
- Implement Penpal-based iframe communication bridge between host and child apps
- Add route handling for ragflow integration with '/route-ragflow' prefix
- Update navigation hooks to support embedded mode via iframe bridge
- Configure build and dependencies for new iframe-bridge package
- Adjust nginx config for proper SPA routing in subpath deployments
2025-11-10 16:11:21 +08:00

39 lines
773 B
JSON

{
"name": "@teres/iframe-bridge",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Bridge utilities for host↔iframe communication (Penpal optional).",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc -b"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"sideEffects": false,
"engines": {
"node": ">=18"
},
"peerDependencies": {
"penpal": "^6.2.1"
},
"peerDependenciesMeta": {
"penpal": {
"optional": true
}
},
"devDependencies": {
"typescript": "~5.9.3"
}
}