Closed kaisalmen closed 9 months ago
Was that a fresh workspacce without any old node_modules content? I need to reproduce this, first.
Yes, I started a new Gitpod workspace from the PR.
Using npm run run
in packages/generator-langium
works. Executing npx yo langium
somewhere else breaks it. 🤷♂️
I need to find out why. I have an idea, though.
Interesting finding and the explanation why the two above cases differ:
When you do this in the examples
folder, the new project is considered part of the workspace and that kills the effect of overrides
in the generated package.json
now required for monaco-editor
and vscode
:
I now explicitly named the projects (workspaces
array) in the main package.json
what actually fixes another problem. If you do npm i
while having another example project like hello-world
in the examples folder, the package-lock.json
got polluted.
Btw, the order of entries in the workspaces
array also defines the execution order.
This update
monaco-editor wrapper
to3.5.0
and fixes the version of@codingame/monaco-vscode-api
to1.83.16
to prevent any minor version changes to break the compilation https://github.com/CodinGame/monaco-vscode-api/issues/291