-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Project restructuring sandbox #331
Comments
@CGNonofr We have GitHub Actions! 🎉 |
@CGNonofr do you favor separating the node example into a real server and client part? packages/client // npm module
packages/example-node // server part
packages/example-client // browser client
packages/example-browser // complete in browser Would you be open to moving away from webpack to vite? |
To not poluate the root folder with too many subfolders, I would have put everything inside an
(Even If I'm not sure about the relevance of the browser example) I see no problem from mergeing to whatever bundler you want, but is there is reason? is there an issue with webpack? |
Let's not waste what is already there, right? Currently webpack build is broken on my branch after upgrading versions. vite is just fast and easier to handle, but that's personal preference, of course. We don't need production builds for the examples and here plain node (server) and vite for client/browser related stuff is faster and easier to configure. |
If it creates more confusion than it adds value, why not? No problem for vite if it's easier for you |
@CGNonofr Making good progress now. client itself and examples/node and examples/client have been stripped of unneeded dependencies. Using monaco-editor now in the client example! |
Will you do a single PR including all your changes? What do you expect the work to be done? |
I fear yes, because I don't know how to separate the things properly.
Maybe today you can have a first look (draft PR). |
@CGNonofr Ok, all examples work: https://github.com/TypeFox/monaco-languageclient/tree/sandbox-331 # this needs to be done
npm i
# cleans and compiles everything
npm run build
# start the node LS server embedded or external
npm run start-example-node
npm run start-example-node:ext
# run vite in debug mode for both client based examples
npm run dev Actually for vite to work the client and browser example don't need to be compiled. |
Resolved with #340 |
This issue covers "Required next work:" from #315
monaco-editor-core
tomonaco-editor
and make dependency obvious (see Does it make sense to switch to monaco-editor instead of monaco-editor-core #337)I will start a new branch and test things (
sandbox-331
).The text was updated successfully, but these errors were encountered: