diff --git a/packages/cadl-vscode/package.json b/packages/cadl-vscode/package.json index f76563269..fd48727a8 100644 --- a/packages/cadl-vscode/package.json +++ b/packages/cadl-vscode/package.json @@ -81,7 +81,6 @@ }, "dependencies": {}, "devDependencies": { - "@azure-tools/tmlanguage-generator": "0.1.4", "@rollup/plugin-commonjs": "~17.1.0", "@rollup/plugin-node-resolve": "~11.2.0", "@types/mkdirp": "~1.0.1", @@ -89,6 +88,7 @@ "@types/vscode": "~1.53.0", "mkdirp": "~1.0.4", "rollup": "~2.41.4", + "tmlanguage-generator": "0.2.0", "typescript": "~4.3.2", "vsce": "~1.85.1", "vscode-languageclient": "~7.0.0", diff --git a/packages/cadl-vscode/src/tmlanguage.ts b/packages/cadl-vscode/src/tmlanguage.ts index f01ba9f7b..b967f71ee 100644 --- a/packages/cadl-vscode/src/tmlanguage.ts +++ b/packages/cadl-vscode/src/tmlanguage.ts @@ -1,10 +1,10 @@ // TextMate-based syntax highlighting is implemented in this file. // cadl.tmLanguage is generated by running this script. -import * as tm from "@azure-tools/tmlanguage-generator"; import fs from "fs/promises"; import mkdirp from "mkdirp"; import { resolve } from "path"; +import * as tm from "tmlanguage-generator"; type IncludeRule = tm.IncludeRule; type BeginEndRule = tm.BeginEndRule;