Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jeslie0/elm-watch

A nix flake wrapper around elm-watch
https://github.com/jeslie0/elm-watch

elm elm-watch flake nix

Last synced: 4 days ago
JSON representation

A nix flake wrapper around elm-watch

Awesome Lists containing this project

README

        

#+title: elm-watch
This is a nix flake wrapper around [[https://lydell.github.io/elm-watch/][elm-watch]]. You can run =nix run= on this flake to invoke elm-watch, or add it as a build dependency.

To package a new version of elm-watch, one needs to regenerate the =package-lock.json= file by deleting it from the main elm-watch repository along with the =node_modules= directory, and running =npm install=. The =postinstall= section in =package.json= then needs to be set to the empty string =""= . These changes then need to be saved as a patch, overwriting this repositories [[file:packages.patch][packages.patch]] file. Then the version number in the flake must be updated, along with the hash in =elm-watch-repo=.