Open kaisalmen opened 1 month ago
@msujew @Yokozuna59 the generated workspace project builds again. Now, I need to fix the open points above ⬆️
@msujew @Yokozuna59 this is now ready for review. The only thing left is from the list is removing the need for http-server
in the web package, because vite preview
should do the job. But this is not blocking the review.
For me workspaces were hard to work with in the beginning, because I was switching to the packages folders to run npm run X
. Would be good to have some documentation on our website, I think. Like workspace 101, especially with the -w flag
to address packages.
Does it change anything for the existing documentation?
Does it change anything for the existing documentation?
Very likely 🙂 We need to update it once this is merged.
Like workspace 101
The generated project is the blueprint. 👍 It features all facets: TS with specific test configs, VSCode eslint compatibility (root tsconfig.json per package), workspace eslint check, global build and top-level scripts that directly execute package scripts.
All points are resolved. I also fix an issue with the web example. I broke the configuration during this update. It is working again.
@Yokozuna59 thank you for the review. I still need to implement the two bigger points (added to the description) and then I am done. Any further enhancements should go to a next PR, because this one is already quite large, but there was no way around.
@Yokozuna59 and @msujew all TODOs are done. We need to update tutorials and docs on the website as well. This change has some impact.
I rebased the branch after Langium 3.1.0 release to resolve the conflicts.
@msujew I just updated to the latest wrapper version. Do you have time to review it this week?
TODO:
generator-langium
unit teststsconfig.build.json
needs to be dynamically created. Sources not contained should not be included as it leads to build failures otherwise.http-server
Fixes #1495
TODO: from review:
build:clean
to all packages