Skip to content

jxxcarlson/elm-review-install-code

Repository files navigation

Elm-review-install-code

May 14, 2024

This aim of this project is to write a set of elm-review rules which make it easy to add new abilities to an existing Elm app.

Consider, for example, the "magic-token" authentification system for Lamdera apps at jxxcarlson/kitchen-sink. While the code from this app can be extracted by hand and implanted in another, that process is laborious, time-consuming, and utterly routine. In other words, it is a task best carried out by a computer program.

The project is still in development, so expect it to change a lot over the next weeks and likely months. Consider it an experiment.

To test the review code in its current state, try running this in a clean Lamdera project:

npx elm-review --template jxxcarlson/elm-review-install-code/review

A total of five changes should be made to the Lamdera code in src.

See the comments at the top of Install/ClauseInCase.elm for more information.

Once the code stabilized, it will be published on the package manager.

Note. The Lamdera code is not working: the Lamdera codecs have been removed for the time being so that elm-review will run. An issue to be addresed.

About

Elm review rule to add magic token code to a Lamdera app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •