feat(w2): add PackService for .novel and .novel-all export/import

Introduce pack-bootstrap chunk, ZipArchive-based PackService with progress IPC,
book registry import helpers, and IT-PACK-01 / IT-ALL-02 integration tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-08 15:36:47 +08:00
parent 9f2b1ae3e0
commit a4412793f4
12 changed files with 1563 additions and 73 deletions
+4
View File
@@ -28,10 +28,12 @@
"@tiptap/extension-underline": "^3.27.1",
"@tiptap/react": "^3.27.1",
"@tiptap/starter-kit": "^3.27.1",
"archiver": "^8.0.0",
"cytoscape": "^3.34.0",
"cytoscape-cose-bilkent": "^4.1.0",
"diff-match-patch": "^1.0.5",
"electron": "^36.9.0",
"extract-zip": "^2.0.1",
"i18next": "^24.2.3",
"jotai": "^2.12.1",
"mammoth": "^1.12.0",
@@ -44,8 +46,10 @@
},
"devDependencies": {
"@playwright/test": "^1.51.0",
"@types/archiver": "^8.0.0",
"@types/cytoscape": "^3.21.9",
"@types/diff-match-patch": "^1.0.36",
"@types/extract-zip": "^2.0.0",
"@types/marked": "^6.0.0",
"@types/node": "^22.13.0",
"@types/react": "^18.3.18",