microsoft / codetour

VS Code extension that allows you to record and play back guided tours of codebases, directly within the editor.
https://aka.ms/codetour
MIT License
4.36k stars 113 forks source link

Upgrade packages to latest versions #281

Closed bobbymcr closed 1 year ago

bobbymcr commented 1 year ago

This upgrades nearly all packages to their latest versions. Due to the upgrades, some errors and breaking changes came up. These were fixed as follows:

Additional package notes are below.

@types/axios

The @types/axios package is now unnecessary, as axios provides its own type definitions.

@types/vscode

For now keep @types/vscode on the old version, aligned with the declared VS Code engine.

@vscode/vsce

The vsce package is deprecated in favor of the @vscode/vsce package. Upgrading also helpfully resolves a security vulnerability (due to an older markdown-it package dependency).

tslint

The tslint package is deprecated in favor of eslint.

webpack

When using Node 17+, the webpack commands fail with the error ERR_OSSL_EVP_UNSUPPORTED. The solution given by miken32 on StackOverflow does not work with VS Code since Electron allows only a subset of NODE_OPTIONS. We should instead upgrade to the latest webpack which works properly with OpenSSL 3.