Skip to content

Commit

Permalink
Revert .json loading in tsconfig and use require
Browse files Browse the repository at this point in the history
  • Loading branch information
hellovai committed Oct 21, 2024
1 parent fe088fd commit a26e891
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion typescript/vscode-ext/packages/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "baml-client",
"displayName": "Baml - Insider - Client",
"description": "This is the Insider Build of the Baml VS Code extension (only use it if you are also using the dev version of the CLI).",
"version": "0.62.0",
"version": "1.1.0",
"publisher": "Gloo",
"repository": "https://github.com/BoundaryML/baml",
"homepage": "https://boundaryml.com",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type { BamlVSCodePlugin } from '../types'
import { URI } from 'vscode-uri'
import StatusBarPanel from '../../panels/StatusBarPanel'

import packageJson from '../../../package.json'
const packageJson = require('../../../../package.json') // eslint-disable-line

const BamlConfig = z.optional(
z.object({
Expand Down
1 change: 0 additions & 1 deletion typescript/vscode-ext/packages/vscode/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"resolveJsonModule": true,
"module": "commonjs",
"noUnusedLocals": false,
"target": "es6",
Expand Down

0 comments on commit a26e891

Please sign in to comment.