Skip to content

Commit

Permalink
Check-in lmTools API to avoid build breaks (#12872)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmcmorran authored Oct 21, 2024
1 parent ddb7a55 commit a248d10
Show file tree
Hide file tree
Showing 3 changed files with 412 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Extension/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ src/nativeStrings.ts

vscode*.d.ts
.scripts/_*

# The lmTools API is still changing frequently. We want to avoid spontaneous
# build breaks just because the upstream API changed in VS Code Insiders.
!vscode.proposed.lmTools.d.ts
2 changes: 1 addition & 1 deletion Extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6512,7 +6512,7 @@
"translations-generate": "set NODE_OPTIONS=--no-experimental-fetch && gulp translations-generate",
"translations-import": "gulp translations-import",
"import-edge-strings": "ts-node -T ./.scripts/import_edge_strings.ts",
"prep:dts": "yarn verify dts --quiet || (npx vscode-dts dev && npx vscode-dts main)",
"prep:dts": "yarn verify dts --quiet || (npx vscode-dts dev && npx vscode-dts main && git checkout -- vscode.proposed.lmTools.d.ts)",
"build": "yarn prep:dts && echo [Building TypeScript code] && tsc --build tsconfig.json"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit a248d10

Please sign in to comment.