dsh-univer-office 0.3.1 → 0.3.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/lib/build-info.json +2 -2
- package/package.json +5 -5
- package/scripts/telemetry-entry.mjs +0 -28
package/lib/build-info.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-univer-office",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "DSH × Univer integration with a bundled collaboration Gateway and Viewer: inline previews, live floating Worktree windows, and session-end review actions in DeepSeek Harness.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -63,7 +63,6 @@
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
|
-
"prepare": "pnpm run build && simple-git-hooks",
|
|
67
66
|
"uninstall": "node scripts/telemetry-entry.mjs uninstall",
|
|
68
67
|
"build": "pnpm run build:lib && pnpm run build:worker && pnpm run build:gateway && pnpm run build:render && pnpm run build:viewer",
|
|
69
68
|
"build:lib": "node scripts/build.mjs lib",
|
|
@@ -85,14 +84,15 @@
|
|
|
85
84
|
"test:skills": "node test/skills-smoke.mjs",
|
|
86
85
|
"test:telemetry": "node test/telemetry-smoke.mjs",
|
|
87
86
|
"test": "pnpm run build && pnpm run test:host && pnpm run test:integration && pnpm run test:client && pnpm run test:comparison && pnpm run test:skills && pnpm run test:telemetry",
|
|
88
|
-
"verify:public-dependencies": "node scripts/verify-public-runtime-dependencies.mjs"
|
|
89
|
-
"prepublishOnly": "pnpm run build && pnpm run test"
|
|
87
|
+
"verify:public-dependencies": "node scripts/verify-public-runtime-dependencies.mjs"
|
|
90
88
|
},
|
|
91
89
|
"dependencies": {
|
|
92
90
|
"@puppeteer/browsers": "^3.2.0",
|
|
93
91
|
"@univerjs-pro/cli-assets": "0.1.0",
|
|
94
92
|
"libsql": "^0.5.29",
|
|
95
|
-
"puppeteer-core": "^25.7.0"
|
|
93
|
+
"puppeteer-core": "^25.7.0",
|
|
94
|
+
"@univerjs-pro/engine-formula-rust-binding": "1.0.0-insiders.20260910-22fe9c7",
|
|
95
|
+
"@univerjs-pro/exchange-node-binding": "0.1.2"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
98
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
// Package uninstall lifecycle entry. It must never fail or slow removal: if the
|
|
2
|
-
// bundled telemetry entry is missing (fresh checkout before a build, scripts
|
|
3
|
-
// disabled) it exits silently, and otherwise the send runs in a detached child
|
|
4
|
-
// process. The published package intentionally declares no postinstall script
|
|
5
|
-
// because DSH profiles reject unapproved dependency build scripts.
|
|
6
|
-
import { spawn } from 'node:child_process'
|
|
7
|
-
import { existsSync } from 'node:fs'
|
|
8
|
-
import { dirname, join, resolve } from 'node:path'
|
|
9
|
-
import { fileURLToPath } from 'node:url'
|
|
10
|
-
|
|
11
|
-
const command = process.argv[2]
|
|
12
|
-
const eventByCommand = {
|
|
13
|
-
uninstall: 'dsh_plugin_uninstall_hook'
|
|
14
|
-
}
|
|
15
|
-
const event = command === undefined ? undefined : eventByCommand[command]
|
|
16
|
-
const entry = join(
|
|
17
|
-
resolve(dirname(fileURLToPath(import.meta.url)), '..'),
|
|
18
|
-
'lib',
|
|
19
|
-
'telemetry-entry.js'
|
|
20
|
-
)
|
|
21
|
-
|
|
22
|
-
if (event !== undefined && existsSync(entry)) {
|
|
23
|
-
spawn(process.execPath, [entry, 'capture', event], {
|
|
24
|
-
detached: true,
|
|
25
|
-
stdio: 'ignore',
|
|
26
|
-
windowsHide: true
|
|
27
|
-
}).unref()
|
|
28
|
-
}
|