-
Notifications
You must be signed in to change notification settings - Fork 93
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
Consider removing node.js dependency (OCC-314) #527
Comments
Yeah, I'd also remove NE in this case, but linting should really stay, so that's not enough, yet. What NE provides for just linting are two things:
Even if we run linting just in CI (or from the CLI, installed locally based on instructions and not automatically), a way to do #1 is necessary. Perhaps an otherwise inert submodules, that just stores the config files, may be suitable (or does what NE does, without hooking the linting itself into MSBuild). We can skip #2. |
Why not use the new Asset Manager instead here too? |
You mean this, right? This still relies on node.js and in addition it adds the dependency of Yarn. So it's at best a neutral change, at worst additional dependencies. |
Unless you don't want to have reproducible build then you can remove Node. Else, I think having reproducible builds is a requirement for .NET Foundation projects. Unless OCC is not part of .NET Foundation I'd say it would be fine to only have compiled assets in the repository. But I'd rather have a tool that doesn't break the server side code compilation. |
The new asset manager doesn't bring any benefits for OCC over Node.js Extensions, what it uses currently. |
It does the same differently but sayin that it adds any benefits would be pejorative. 😄 |
As stated above, we already don't do any code compilation for JS. And for the handful of very simple SCSS files, it's just not worth to keep them as SCSS. So the point is that we shouldn't really need server side compilation for OCC at all, broken or otherwise. |
The goal is to elminate a possible failure point in build (see #524) and to improve performance because node can be tragically slow, especially for Windows developers.
Transcript from internal discussion:
Possible considerations so far:
Jira issue
The text was updated successfully, but these errors were encountered: