My thoughts:
- Most packages don't depend on `elm-lang/html`
- Most examples do depent on `elm-lang/html`
- It's good to enforce examples compatibility <-> library compatibility
in CI (compiling examples in some step)
Solution?
- have `elm-package.json` without `elm-lang/html` in root
- have another `elm-package.json` with `elm-lang/html` in examples
- Ci should compile examples
- If you have more examples in folders of them it's maybe good idea
to have `Main.elm` where you import all of them and compile that Main in
CI
- If you have single example jusut ensure it really compiles (not
just pull packages) in CI.
Downsides:
- From my experience some future contributors will ask how they can
compile (or run elm-reactor to work with) examples.
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.