Skip to content

Commit 0181bed

Browse files
brettimusBrett Beutellflenter
authored
Prepare release of 0.5.0 (#59)
* Bump package version to 0.5.0 * Add note about typescript extension errors propagating to our extension * Add newline back to end of package.json * Bump minimum version of @A...ics/typescript-plugin The @autometrics/typescript-plugin. This is done just be make sure that people use the (current) latest release of the typescript plugin. * Remove provider wasm file * Update changelog --------- Co-authored-by: Brett Beutell <[email protected]> Co-authored-by: Jacco Flenter <[email protected]>
1 parent 1925cb7 commit 0181bed

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## [Unreleased]
3+
## [0.5.0]
44
- Remove dependency on provider runtime and query prometheus directly
55
- Add support for relative time ranges
66
- Add refresh button

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"displayName": "Autometrics",
77
"license": "MIT",
88
"description": "Show enhanced autometrics information from your code",
9-
"version": "0.4.0",
9+
"version": "0.5.0",
1010
"repository": {
1111
"type": "git",
1212
"url": "https://github.com/autometrics-dev/vscode-autometrics"
@@ -157,7 +157,7 @@
157157
"vitest": "^0.32.0"
158158
},
159159
"dependencies": {
160-
"@autometrics/typescript-plugin": "^0.5.3",
160+
"@autometrics/typescript-plugin": "^0.5.4",
161161
"@floating-ui/core": "^1.2.6",
162162
"@floating-ui/react": "^0.24.2",
163163
"fiberplane-charts": "git+https://[email protected]/fiberplane/fiberplane.git#workspace=fiberplane-charts",

src/languages/typescript/typescript.ts

+3
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ export const TypescriptHover = {
8181
}
8282
return undefined;
8383
} catch (err) {
84+
// NOTE - This could happen because of an error in other TS plugins
85+
// I.e., we could end up propagating errors from other plugins
86+
// (This happened to me with the tailwind intellisense plugin)
8487
vscode.window.showErrorMessage(
8588
"Autometrics: Error getting TypeScript hover info",
8689
);

wasm/prometheus.wasm

-934 KB
Binary file not shown.

yarn.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ __metadata:
55
version: 6
66
cacheKey: 8
77

8-
"@autometrics/typescript-plugin@npm:^0.5.3":
9-
version: 0.5.3
10-
resolution: "@autometrics/typescript-plugin@npm:0.5.3"
11-
checksum: e0911453a383f60b3dfa98c5845ba5ba292aca7a2eb98cc3731b93b99b1982bb7dc56802498c9d7c35b4bce00ccbbd8ce772a5f54525e257e0caac0cd7c886c4
8+
"@autometrics/typescript-plugin@npm:^0.5.4":
9+
version: 0.5.4
10+
resolution: "@autometrics/typescript-plugin@npm:0.5.4"
11+
checksum: df18888dcb824ac9ac0e0b00532a4026e49deb118b5ad0a44d9f063a71ac4b9c2fdcc82a831d981ca7d805a23c071616d0f20403ead801dadb8c9dfa74af108b
1212
languageName: node
1313
linkType: hard
1414

@@ -1176,7 +1176,7 @@ __metadata:
11761176
version: 0.0.0-use.local
11771177
resolution: "autometrics@workspace:."
11781178
dependencies:
1179-
"@autometrics/typescript-plugin": ^0.5.3
1179+
"@autometrics/typescript-plugin": ^0.5.4
11801180
"@floating-ui/core": ^1.2.6
11811181
"@floating-ui/react": ^0.24.2
11821182
"@types/glob": ^8.1.0

0 commit comments

Comments
 (0)