Clean up deps

This commit is contained in:
Andras Schmelczer 2025-02-23 17:23:04 +00:00
parent c69f84edf5
commit 41c7ebcd87
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
6 changed files with 5 additions and 13 deletions

View file

@ -44,7 +44,7 @@ jobs:
cd backend cd backend
cargo test --verbose cargo test --verbose
cd sync_lib cd sync_lib
# wasm-pack test --node # todo: fix this is CI # wasm-pack test --node # todo: fix this in CI
- name: Lint frontend - name: Lint frontend
run: | run: |

View file

@ -83,10 +83,6 @@ module.exports = (env, argv) => ({
{ {
test: /\.ts$/, test: /\.ts$/,
use: ["ts-loader"] use: ["ts-loader"]
},
{
test: /\.wasm$/,
type: "asset/inline"
} }
] ]
}, },

View file

@ -6743,14 +6743,12 @@
}, },
"test-client": { "test-client": {
"version": "0.0.0", "version": "0.0.0",
"dependencies": {
"sync-client": "file:../sync-client"
},
"bin": { "bin": {
"test-client": "dist/cli.js" "test-client": "dist/cli.js"
}, },
"devDependencies": { "devDependencies": {
"chalk": "^5.4.1", "chalk": "^5.4.1",
"sync-client": "file:../sync-client",
"ts-loader": "^9.5.2", "ts-loader": "^9.5.2",
"tslib": "2.8.1", "tslib": "2.8.1",
"typescript": "5.7.3", "typescript": "5.7.3",

View file

@ -16,7 +16,7 @@
"build": "npm run build --workspaces", "build": "npm run build --workspaces",
"dev": "concurrently --kill-others \"npm run dev -w sync-client\" \"npm run dev -w obsidian-plugin\"", "dev": "concurrently --kill-others \"npm run dev -w sync-client\" \"npm run dev -w obsidian-plugin\"",
"test": "npm run test --workspaces", "test": "npm run test --workspaces",
"lint": "eslint --fix sync-client obsidian-plugin test-client; prettier --write \"**/*.(ts|scss|json|html)\"", "lint": "eslint --fix sync-client obsidian-plugin test-client && prettier --write \"**/*.(ts|scss|json|html)\"",
"update": "ncu -u -ws" "update": "ncu -u -ws"
}, },
"devDependencies": { "devDependencies": {

View file

@ -1,5 +1,5 @@
import init from "sync_lib"; import init from "sync_lib";
import wasmBin from "sync_lib/sync_lib_bg.wasm"; import wasmBin from "../../../backend/sync_lib/pkg/sync_lib_bg.wasm";
import type { PersistenceProvider } from "./persistence/persistence"; import type { PersistenceProvider } from "./persistence/persistence";
import { SyncHistory } from "./tracing/sync-history"; import { SyncHistory } from "./tracing/sync-history";
import { Logger } from "./tracing/logger"; import { Logger } from "./tracing/logger";

View file

@ -10,10 +10,8 @@
"build": "webpack --mode production", "build": "webpack --mode production",
"test": "jest --passWithNoTests" "test": "jest --passWithNoTests"
}, },
"dependencies": {
"sync-client": "file:../sync-client"
},
"devDependencies": { "devDependencies": {
"sync-client": "file:../sync-client",
"uuid": "^11.1.0", "uuid": "^11.1.0",
"chalk": "^5.4.1", "chalk": "^5.4.1",
"ts-loader": "^9.5.2", "ts-loader": "^9.5.2",