mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-09-01 00:07:06 +00:00
remove unused dependencies, update some dependencies
This commit is contained in:
Generated
+793
-1129
File diff suppressed because it is too large
Load Diff
+7
-8
@@ -66,7 +66,8 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@dword-design/eslint-plugin-import-alias": "^8.1.8",
|
"@dword-design/eslint-plugin-import-alias": "^8.1.8",
|
||||||
"@eslint/js": "^9.39.3",
|
"@eslint/js": "^9.39.3",
|
||||||
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
"@playwright/test": "^1.58.2",
|
||||||
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
||||||
"@tsconfig/svelte": "^5.0.8",
|
"@tsconfig/svelte": "^5.0.8",
|
||||||
"@types/deno": "^2.5.0",
|
"@types/deno": "^2.5.0",
|
||||||
"@types/diff-match-patch": "^1.0.36",
|
"@types/diff-match-patch": "^1.0.36",
|
||||||
@@ -81,7 +82,6 @@
|
|||||||
"@types/pouchdb-mapreduce": "^6.1.10",
|
"@types/pouchdb-mapreduce": "^6.1.10",
|
||||||
"@types/pouchdb-replication": "^6.4.7",
|
"@types/pouchdb-replication": "^6.4.7",
|
||||||
"@types/transform-pouch": "^1.0.6",
|
"@types/transform-pouch": "^1.0.6",
|
||||||
"@typescript-eslint/eslint-plugin": "8.56.1",
|
|
||||||
"@typescript-eslint/parser": "8.56.1",
|
"@typescript-eslint/parser": "8.56.1",
|
||||||
"@vitest/browser": "^4.1.8",
|
"@vitest/browser": "^4.1.8",
|
||||||
"@vitest/browser-playwright": "^4.1.8",
|
"@vitest/browser-playwright": "^4.1.8",
|
||||||
@@ -92,10 +92,9 @@
|
|||||||
"esbuild-svelte": "^0.9.4",
|
"esbuild-svelte": "^0.9.4",
|
||||||
"eslint": "^9.39.3",
|
"eslint": "^9.39.3",
|
||||||
"eslint-plugin-obsidianmd": "^0.3.0",
|
"eslint-plugin-obsidianmd": "^0.3.0",
|
||||||
"eslint-plugin-svelte": "^3.15.0",
|
"eslint-plugin-svelte": "^3.19.0",
|
||||||
"events": "^3.3.0",
|
"events": "^3.3.0",
|
||||||
"globals": "^14.0.0",
|
"globals": "^14.0.0",
|
||||||
"@playwright/test": "^1.58.2",
|
|
||||||
"playwright": "^1.58.2",
|
"playwright": "^1.58.2",
|
||||||
"postcss": "^8.5.6",
|
"postcss": "^8.5.6",
|
||||||
"pouchdb-adapter-http": "^9.0.0",
|
"pouchdb-adapter-http": "^9.0.0",
|
||||||
@@ -111,7 +110,7 @@
|
|||||||
"pouchdb-utils": "^9.0.0",
|
"pouchdb-utils": "^9.0.0",
|
||||||
"prettier": "3.8.1",
|
"prettier": "3.8.1",
|
||||||
"rollup-plugin-copy": "^3.5.0",
|
"rollup-plugin-copy": "^3.5.0",
|
||||||
"svelte": "5.41.1",
|
"svelte": "5.56.3",
|
||||||
"svelte-check": "^4.6.0",
|
"svelte-check": "^4.6.0",
|
||||||
"svelte-eslint-parser": "^1.8.0",
|
"svelte-eslint-parser": "^1.8.0",
|
||||||
"svelte-preprocess": "^6.0.3",
|
"svelte-preprocess": "^6.0.3",
|
||||||
@@ -121,7 +120,7 @@
|
|||||||
"tsx": "^4.21.0",
|
"tsx": "^4.21.0",
|
||||||
"typescript": "5.9.3",
|
"typescript": "5.9.3",
|
||||||
"typescript-eslint": "^8.61.0",
|
"typescript-eslint": "^8.61.0",
|
||||||
"vite": "^7.3.1",
|
"vite": "^8.0.16",
|
||||||
"vitest": "^4.1.8",
|
"vitest": "^4.1.8",
|
||||||
"webdriverio": "^9.27.0",
|
"webdriverio": "^9.27.0",
|
||||||
"yaml": "^2.8.2"
|
"yaml": "^2.8.2"
|
||||||
@@ -140,8 +139,8 @@
|
|||||||
"fflate": "^0.8.2",
|
"fflate": "^0.8.2",
|
||||||
"idb": "^8.0.3",
|
"idb": "^8.0.3",
|
||||||
"markdown-it": "^14.2.0",
|
"markdown-it": "^14.2.0",
|
||||||
"minimatch": "^10.2.2",
|
"minimatch": "^10.2.5",
|
||||||
"obsidian": "^1.12.3",
|
"obsidian": "^1.13.1",
|
||||||
"octagonal-wheels": "^0.1.46",
|
"octagonal-wheels": "^0.1.46",
|
||||||
"qrcode-generator": "^1.4.4",
|
"qrcode-generator": "^1.4.4",
|
||||||
"xxhash-wasm-102": "npm:xxhash-wasm@^1.0.2"
|
"xxhash-wasm-102": "npm:xxhash-wasm@^1.0.2"
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
// eslint-disable -- This is the entry point for the CLI application.
|
||||||
import * as polyfill from "werift";
|
import * as polyfill from "werift";
|
||||||
import { main } from "./main";
|
import { main } from "./main";
|
||||||
|
|
||||||
|
|||||||
@@ -11,10 +11,9 @@ import type {
|
|||||||
} from "@lib/managers/adapters";
|
} from "@lib/managers/adapters";
|
||||||
import type { FileEventItemSentinel } from "@lib/managers/StorageEventManager";
|
import type { FileEventItemSentinel } from "@lib/managers/StorageEventManager";
|
||||||
import type { NodeFile, NodeFolder } from "@/apps/cli/adapters/NodeTypes";
|
import type { NodeFile, NodeFolder } from "@/apps/cli/adapters/NodeTypes";
|
||||||
import type { Stats } from "fs";
|
|
||||||
import { watch as chokidarWatch, type FSWatcher } from "chokidar";
|
import { watch as chokidarWatch, type FSWatcher } from "chokidar";
|
||||||
import type { IgnoreRules } from "@/apps/cli/serviceModules/IgnoreRules";
|
import type { IgnoreRules } from "@/apps/cli/serviceModules/IgnoreRules";
|
||||||
import { fsPromises as fs, path } from "../node-compat";
|
import { fsPromises as fs, path, type Stats } from "../node-compat";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* CLI-specific type guard adapter
|
* CLI-specific type guard adapter
|
||||||
@@ -100,7 +99,7 @@ class CLIWatchAdapter implements IStorageEventWatchAdapter {
|
|||||||
private basePath: string,
|
private basePath: string,
|
||||||
private ignoreRules?: IgnoreRules,
|
private ignoreRules?: IgnoreRules,
|
||||||
private watchEnabled: boolean = false
|
private watchEnabled: boolean = false
|
||||||
) {}
|
) { }
|
||||||
|
|
||||||
private _toNodeFile(filePath: string, stats: Stats | undefined): NodeFile {
|
private _toNodeFile(filePath: string, stats: Stats | undefined): NodeFile {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -3,10 +3,11 @@ import * as nodeFs from "node:fs";
|
|||||||
import * as nodeFsPromises from "node:fs/promises";
|
import * as nodeFsPromises from "node:fs/promises";
|
||||||
import * as nodePath from "node:path";
|
import * as nodePath from "node:path";
|
||||||
import * as nodeReadlinePromises from "node:readline/promises";
|
import * as nodeReadlinePromises from "node:readline/promises";
|
||||||
|
import type { Stats } from "node:fs";
|
||||||
export {
|
export {
|
||||||
nodeFs as fs,
|
nodeFs as fs,
|
||||||
nodeFsPromises as fsPromises,
|
nodeFsPromises as fsPromises,
|
||||||
nodePath as path,
|
nodePath as path,
|
||||||
nodeReadlinePromises as readline,
|
nodeReadlinePromises as readline,
|
||||||
|
type Stats,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chokidar": "^4.0.0",
|
"chokidar": "^4.0.0",
|
||||||
"minimatch": "^10.2.2",
|
"minimatch": "^10.2.5",
|
||||||
"octagonal-wheels": "^0.1.46",
|
"octagonal-wheels": "^0.1.46",
|
||||||
"pouchdb-adapter-http": "^9.0.0",
|
"pouchdb-adapter-http": "^9.0.0",
|
||||||
"pouchdb-adapter-leveldb": "^9.0.0",
|
"pouchdb-adapter-leveldb": "^9.0.0",
|
||||||
@@ -55,9 +55,9 @@
|
|||||||
"werift": "^0.23.0"
|
"werift": "^0.23.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
||||||
"typescript": "5.9.3",
|
"typescript": "5.9.3",
|
||||||
"vite": "^7.3.1",
|
"vite": "^8.0.16",
|
||||||
"vitest": "^4.1.8"
|
"vitest": "^4.1.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,11 +16,11 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@playwright/test": "^1.58.2",
|
"@playwright/test": "^1.58.2",
|
||||||
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
||||||
"playwright": "^1.58.2",
|
"playwright": "^1.58.2",
|
||||||
"svelte": "5.41.1",
|
"svelte": "5.56.3",
|
||||||
"typescript": "5.9.3",
|
"typescript": "5.9.3",
|
||||||
"vite": "^7.3.1",
|
"vite": "^8.0.16",
|
||||||
"vite-plugin-istanbul": "^8.0.0"
|
"vite-plugin-istanbul": "^9.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,13 +15,13 @@
|
|||||||
"octagonal-wheels": "^0.1.46"
|
"octagonal-wheels": "^0.1.46"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-plugin-svelte": "^3.15.0",
|
"eslint-plugin-svelte": "^3.19.0",
|
||||||
"@sveltejs/vite-plugin-svelte": "^6.2.4",
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
||||||
"@tsconfig/svelte": "^5.0.8",
|
"@tsconfig/svelte": "^5.0.8",
|
||||||
"svelte": "5.41.1",
|
"svelte": "5.56.3",
|
||||||
"svelte-check": "^4.6.0",
|
"svelte-check": "^4.6.0",
|
||||||
"typescript": "5.9.3",
|
"typescript": "5.9.3",
|
||||||
"vite": "^7.3.1"
|
"vite": "^8.0.16"
|
||||||
},
|
},
|
||||||
"imports": {
|
"imports": {
|
||||||
"../../src/worker/bgWorker.ts": "../../src/worker/bgWorker.mock.ts",
|
"../../src/worker/bgWorker.ts": "../../src/worker/bgWorker.mock.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user