Skip to content

Commit 500c4da

Browse files
committed
chore(deps): remove unused selenium-webdriver and novel-svelte
Remove dependencies that are no longer needed: - selenium-webdriver: Was used for Tauri WebDriver testing, but Tauri desktop moved to separate repository (terraphim-ai-desktop). Playwright is now the primary testing framework. - @paralect/novel-svelte: Listed as dependency but never actually imported. The editor uses TipTap directly via @tiptap/core and @tiptap/starter-kit. Also removes: - WebDriver test files and playwright.webdriver.config.ts - novel-editor vendor chunk from vite.config.ts - webdriver-related npm scripts Reduces dependency bloat and eliminates unused code paths.
1 parent 0caf251 commit 500c4da

9 files changed

Lines changed: 1 addition & 1256 deletions

desktop/package.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@
3838
"test:haystack": "CI=true playwright test tests/e2e/atomic-server-haystack.spec.ts tests/e2e/rolegraph-search-validation.spec.ts --workers=1 --retries=3",
3939
"test:all": "CI=true yarn run test && yarn run e2e:ci",
4040
"test:all:ci": "CI=true yarn run test:coverage && yarn run test:e2e:ci && yarn run test:atomic:ci",
41-
"test:webdriver": "playwright test --config=playwright.webdriver.config.ts",
42-
"test:webdriver:headed": "playwright test --config=playwright.webdriver.config.ts --headed",
43-
"test:webdriver:ui": "playwright test --config=playwright.webdriver.config.ts --ui",
44-
"test:webdriver:ci": "CI=true playwright test --config=playwright.webdriver.config.ts --reporter=line --workers=1",
45-
"test:webdriver:simple": "playwright test tests/webdriver/kg-graph-simple-webdriver.spec.ts --headed",
46-
"test:webdriver:simple:ci": "CI=true playwright test tests/webdriver/kg-graph-simple-webdriver.spec.ts --reporter=line",
4741
"benchmark": "vitest --config vitest.benchmark.config.ts --run",
4842
"benchmark:watch": "vitest --config vitest.benchmark.config.ts",
4943
"benchmark:ui": "vitest --config vitest.benchmark.config.ts --ui",
@@ -71,7 +65,6 @@
7165
"postcss": "^8.5.6",
7266
"postcss-load-config": "^6.0.1",
7367
"sass": "^1.97.2",
74-
"selenium-webdriver": "^4.40.0",
7568
"svelte": "^5.47.1",
7669
"svelte-check": "^4.3.5",
7770
"svelte-preprocess": "^6.0.3",
@@ -91,7 +84,6 @@
9184
},
9285
"dependencies": {
9386
"@fortawesome/fontawesome-free": "^7.0.1",
94-
"@paralect/novel-svelte": "0.0.7",
9587
"@tauri-apps/api": "^1.2.0",
9688
"@tiptap/core": "^3.15.3",
9789
"@tiptap/extension-mention": "^2.22.1",

desktop/playwright.webdriver.config.ts

Lines changed: 0 additions & 124 deletions
This file was deleted.

desktop/src/svelte-shim.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// shim that re-exports Svelte runtime plus mount/unmount helpers expected by some
2-
// third-party packages (e.g. @paralect/novel-svelte).
2+
// third-party packages.
33
//
44
// It proxies every export from the real 'svelte' entry, then adds two helpers:
55
// mount(Component, options) – instantiates the component and returns it.

0 commit comments

Comments
 (0)