From 5b116e016cfc9823f03e31f1dff4204d424e449c Mon Sep 17 00:00:00 2001 From: root Date: Sun, 14 Jun 2026 22:43:42 +0200 Subject: [PATCH] feature: tag source:vscode sur events open/save + .npmrc fund/audit --- .npmrc | 2 ++ src/extension.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.npmrc b/.npmrc index 6c6f2f2..fbf9ff1 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,3 @@ min-release-age=1 +fund=false +audit=false diff --git a/src/extension.ts b/src/extension.ts index f3e039d..4d77fb8 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -36,7 +36,7 @@ export function activate(context: vscode.ExtensionContext) { console.log('Opened file:', filePath); // vscode.window.showInformationMessage(`Opened file: ${filePath}`); - await makeHttpRequest({ event: 'open', project: extractProjectName(filePath) }); + await makeHttpRequest({ event: 'open', project: extractProjectName(filePath), source: 'vscode' }); } }); @@ -46,7 +46,7 @@ export function activate(context: vscode.ExtensionContext) { console.log('Saved file:', filePath); // vscode.window.showInformationMessage(`Saved file: ${filePath}`); - await makeHttpRequest({ event: 'save', project: extractProjectName(filePath) }); + await makeHttpRequest({ event: 'save', project: extractProjectName(filePath), source: 'vscode' }); }); // detecte un focus / blur de la fenetre vscode