Skip to content

Commit

Permalink
feat: automatically update overrides for xterm
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-olivier committed Oct 16, 2023
1 parent 6e8d19d commit 9251f1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/update-vscode-dependencies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ async function updateVSCodeDependencies () {
}
}

console.debug('Updating monaco-vscode-api overrides with vscode dependencies versions...')
for (const dependency in apiPackageJson.overrides) {
if (dependency in vsCodePackageJson.dependencies) {
apiPackageJson.overrides[dependency] = vsCodePackageJson.dependencies[dependency]
}
}
// update the dev dependency @types/vscode version to the same as config.version in the package.json
apiPackageJson.devDependencies['@types/vscode'] = `~${vsCodePackageJson.version}`

Expand Down

0 comments on commit 9251f1b

Please sign in to comment.