Skip to content

Commit bdd2408

Browse files
committed
Get version from vscode's package.json
1 parent 6b5f50c commit bdd2408

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/vscode/src/fill/package.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
// TODO: obtain this in a reasonable way.
2-
export default { name: "vscode", version: "1.31.1" };
1+
import * as packageJson from "../../../../lib/vscode/package.json";
2+
export default { name: "vscode", version: packageJson.version };

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"declaration": true,
99
"sourceMap": true,
1010
"strict": true,
11+
"resolveJsonModule": true,
1112
"experimentalDecorators": true,
1213
"plugins": [
1314
{

0 commit comments

Comments
 (0)