Skip to content

Commit

Permalink
bug fix (#60)
Browse files Browse the repository at this point in the history
* bug fix

* bug fix

---------

Co-authored-by: Nagarjun Sanji <[email protected]>
  • Loading branch information
nagarjunsanji and Nagarjun Sanji authored Sep 20, 2024
1 parent a99bb45 commit 06a97b6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
6 changes: 4 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"preLaunchTask": "${defaultBuildTask}",
"env": {
"NODE_ENV": "development"
"NODE_ENV": "development",
"LATEST_TAG": "0.0.0"
}
},
{
Expand All @@ -27,7 +28,8 @@
],
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"env": {
"NODE_ENV": "test"
"NODE_ENV": "test",
"LATEST_TAG": "0.0.0"
}
}
]
Expand Down
12 changes: 3 additions & 9 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
"tasks": [
{
"label": "watch",
"dependsOn": [
"npm: watch:tsc",
"npm: watch:esbuild"
],
"dependsOn": ["npm: watch:tsc", "npm: watch:esbuild"],
"presentation": {
"reveal": "never"
},
Expand Down Expand Up @@ -54,11 +51,8 @@
},
{
"label": "tasks: watch-tests",
"dependsOn": [
"npm: watch",
"npm: watch-tests"
],
"dependsOn": ["npm: watch", "npm: watch-tests"],
"problemMatcher": []
}
]
}
}
2 changes: 2 additions & 0 deletions esbuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ async function main() {
url: "https://sentry.debricked.com/",
release: {
name: "vs-code-extension@" + process.env.LATEST_TAG,
dist: process.env.LATEST_TAG,
cleanArtifacts: true,
},
}),
],
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:esbuild": "set NODE_ENV=development && set LATEST_TAG=0.0.0&& node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "npm run clean && tsc -p . --outDir out",
Expand All @@ -129,7 +129,7 @@
"clean-all": "rimraf out && rimraf dist && rimraf coverage && rimraf .vscode-test",
"vsce": "vsce package",
"madge": "npm run compile-tests && rimraf out\\test && madge --include-npm --image graph.svg out",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org debricked --project visual-studio-code-extensions out && sentry-cli --url https://sentry.debricked.com/ sourcemaps upload --org debricked --project visual-studio-code-extensions out"
"sentry:sourcemaps": "sentry-cli --url https://sentry.debricked.com/ sourcemaps upload --org debricked --project visual-studio-code-extensions out --release [email protected]"
},
"devDependencies": {
"@sentry/cli": "^2.36.1",
Expand Down

0 comments on commit 06a97b6

Please sign in to comment.