Hi Community, I’m new in Elm and I’m just starting learning and so far it’s so good, I like all the idea behind of the language one of those is about create a better package ecosystem focus in quality and security.
I have been doing we applications for over 10 years and I really don’t like the way frontend development is going especially npm and the black hole that is node_modules, I want to try to stay away from it.
My concrete question is, are there alternatives to elm-live, elm-analyse or https://github.com/rtfeldman/node-test-runner that don’t depend on node/node_modules package.json and all that stuff?
Hi Disptopico.
You don’t want anything of node on your computer ? or just into your elm projet ?
If it’s only into your elm projet, you just need to use npx or install elm-live and elm-test globaly with npm -g.
yes, I don’t want have node just in the elm project but at the time share de dependencies with other forks to have the same dev tools in a easy way to install those
… though now that I think of it, elm-test-rs may actually require node to execute the compiled tests. So actually you may not be able to run tests without node. (There used to be an HTML test runner, but it was discontinued in Elm 0.19.)
You can’t escape node itself but you can escape the npm and node modules thing using yarn with plug and play mode
There is also nix which can package tools and applications for multiple languages including elm, I use it to install elm, elm-format and elm-test on per project basis.
Example at
I’m experimenting with a Deno-based single self-contained binary that features benchmarking, testing, build+optimizations, code-gen, typescript-typing, etc.
I haven’t spent time on it but what it would take would be rewriting the supervisor distributing the work and gathering the result in a version using Deno APIs instead of Node ones. The main challenge probably is reproducing in Deno the main + worker + worker messages scheme based on Node workers and worker messages API that we are using.
all those are really promising and interesting projects, you have given me a lot of ideas and projects to evaluate, Thank you!, now I see a light at the end of the tunnel away from node_modules