From c9fdd62ccea9d15cc6c3a23f165d8abf9275cc27 Mon Sep 17 00:00:00 2001 From: Friedrich482 Date: Thu, 16 Jul 2026 18:01:06 +0200 Subject: [PATCH 1/2] fix: data sync optimization - removed the projectPath and branchName fields from the attributes of individual files in the todayFilesData object sent to the server because those are already taken in account in the shape of the object - this fixes the issue of the data comparison between `todayFilesData` about to be sent and the global state data, which was always failing because of those additional fields - bumped the extension version to `v0.0.71` --- apps/vscode-extension/package.json | 2 +- apps/vscode-extension/src/utils/periodic-sync-data.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/vscode-extension/package.json b/apps/vscode-extension/package.json index 6b4a332a..47f3a444 100644 --- a/apps/vscode-extension/package.json +++ b/apps/vscode-extension/package.json @@ -2,7 +2,7 @@ "name": "mooncode", "displayName": "MoonCode", "description": "MoonCode is an extension that tracks your coding time (like WakaTime) and gives you a detailed summary about all your coding statistics. With MoonCode, developers get the full history of their coding activity.", - "version": "0.0.70", + "version": "0.0.71", "icon": "./public/moon.png", "publisher": "Friedrich482", "author": { diff --git a/apps/vscode-extension/src/utils/periodic-sync-data.ts b/apps/vscode-extension/src/utils/periodic-sync-data.ts index 0e274727..68046db5 100644 --- a/apps/vscode-extension/src/utils/periodic-sync-data.ts +++ b/apps/vscode-extension/src/utils/periodic-sync-data.ts @@ -72,8 +72,6 @@ export const periodicSyncData = async ( ]) => [ filePath, { - projectPath, - branchName, timeSpent: elapsedTime, fileName, languageSlug, From d4817035c1e86f2451e613447847b19bfdcbeb02 Mon Sep 17 00:00:00 2001 From: Friedrich482 Date: Thu, 16 Jul 2026 18:15:34 +0200 Subject: [PATCH 2/2] chore: extension ci - updated the vsce publish command from publish:patch to publish --- .github/workflows/publish-extension.yaml | 2 +- apps/vscode-extension/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-extension.yaml b/.github/workflows/publish-extension.yaml index d1a57d56..c3679d97 100644 --- a/.github/workflows/publish-extension.yaml +++ b/.github/workflows/publish-extension.yaml @@ -29,7 +29,7 @@ jobs: run: | npm run build --workspace=@repo/common npm run build --workspace=dashboard - npm run publish:patch --workspace=mooncode + npm run publish --workspace=mooncode env: VSCE_PAT: ${{ secrets.VSCE_PAT }} VITE_API_URL: ${{ secrets.VITE_API_URL }} diff --git a/apps/vscode-extension/package.json b/apps/vscode-extension/package.json index 47f3a444..ab11d788 100644 --- a/apps/vscode-extension/package.json +++ b/apps/vscode-extension/package.json @@ -2,7 +2,7 @@ "name": "mooncode", "displayName": "MoonCode", "description": "MoonCode is an extension that tracks your coding time (like WakaTime) and gives you a detailed summary about all your coding statistics. With MoonCode, developers get the full history of their coding activity.", - "version": "0.0.71", + "version": "0.0.72", "icon": "./public/moon.png", "publisher": "Friedrich482", "author": { @@ -111,7 +111,7 @@ }, "scripts": { "vscode:prepublish": "npm run package", - "publish:patch": "vsce publish patch", + "publish": "vsce publish", "compile": "npx tsx build.ts", "build": "tsc --build", "watch": "npx tsx build.ts --watch",