microsoft / vscode-generator-code

Visual Studio Code extension generator
Other
1.25k stars 219 forks source link

Web extension with TypeScript does not compile out of the box #437

Closed stylpe closed 8 months ago

stylpe commented 8 months ago

I'm working in a Github Codespace and used this generator to scaffold my project. I chose pnpm as the package manager.

Compilation first fails because of missing types for the assert package, and I had to manually add that dependency using pnpm i -D @types/assert.

After fixing that, webpack will warn that mocha is using a dependency expression, which it can't handle. I have not dug deeper into this yet.

aeschli commented 8 months ago

Fixed with https://github.com/microsoft/vscode-generator-code/commit/e782c0935cdeb3c938c537bc0ab2c9771ee5d794