Skip to content

Commit

Permalink
fix: address ts errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksteamdev committed Jan 3, 2025
1 parent 1618924 commit e59ec14
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
Binary file modified bun.lockb
Binary file not shown.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"packages/*"
],
"scripts": {
"check": "bun --filter '*' check",
"version": "bun scripts/version.ts",
"release": "bun --filter '*' release",
"zip": "bun --filter '*' zip"
Expand All @@ -17,4 +18,4 @@
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
}
}
}
2 changes: 1 addition & 1 deletion packages/mcp-server/src/features/version/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { version } from "../../../../obsidian-plugin/package.json" with { type: "json" };
import { version } from "../../../../../package.json" with { type: "json" };

export function getVersion() {
return version;
Expand Down
1 change: 1 addition & 0 deletions packages/obsidian-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
},
"devDependencies": {
"@types/node": "^16.11.6",
"@types/semver": "^7.5.8",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"archiver": "^7.0.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import os from "os";
import { Observable } from "rxjs";
import { logger } from "$/shared";
import { GITHUB_DOWNLOAD_URL, type Arch, type Platform } from "../constants";
import type { DownloadProgress } from "../types";
import { getInstallPath, type InstallPathInfo } from "./status";
import type { DownloadProgress, InstallPathInfo } from "../types";
import { getInstallPath } from "./status";

export function getPlatform(): Platform {
const platform = os.platform();
Expand Down

0 comments on commit e59ec14

Please sign in to comment.