Skip to content

Releases: cedricss/elm-batteries

Use the new default Tailwind purge css strategy on elm content

21 Jul 16:37
Compare
Choose a tag to compare

Upgrade packages to their latest versions

21 Jul 15:46
Compare
Choose a tag to compare
  • Upgrade dev dependencies to their latest versions (Cypress, Tailwind, Netlify CLI, etc).
  • Upgrade to elm/core 1.0.5 and elm/browser 1.0.2
  • Upgrade to elm-test 1.2.2
  • Add UTF-8 encoding meta to index.html

Upgrade to latest elm and netlify

22 Oct 13:09
Compare
Choose a tag to compare
  • Upgrade to elm 0.19.1
  • Upgrade to netlify cli 2.19

How to upgrade an existing project to elm 0.19.1?

  • Run npm install elm@latest-0.19.1 --save-dev
  • Add the latest elm-test locally with npm install elm-test --save-dev (it can only be used with elm 0.19.1)
  • Change to "elm-version": "0.19.1" in your elm.json

Improve documentation

09 Aug 14:39
Compare
Choose a tag to compare

This release focus on improving the documentation to help you getting started with Elm, Parcel, Cypress and Netlify:

  • Add quick start section
  • Improve help comments in Cypress and Elm files
  • Add flowchart to illustrate Elm files + Parcel + Serverless functions + Netlify Dev

Netlify Dev on top of Parcel and serverless functions

Add an API demo page with Netlify Dev and tested with Cypress

28 Jul 15:47
Compare
Choose a tag to compare
  • Add an API demo page with Netlify Dev and tested with Cypress
  • Add routes, navigation menu and not found page
  • Use elm-css to define styles in Elm
  • Add netlify redirect rule for Elm apps that handle routing internally
  • Improve documentation with a new introduction and section order
  • Add new cli and instructions about init

0.3.0

26 Jun 14:44
Compare
Choose a tag to compare

Elm + Netlify Dev (serveless functions and live sessions)

To run serverless functions along your Elm app, run:

npm run dev

✓ development build with Parcel

✓ web server with Parcel behind Netlify Dev

✓ serverless functions on your local machine

To share your development session with a coworker, run:

npm run dev:live

✓ development build with Parcel

✓ live session with Netlify Dev

Elm + Cypress + Netlify Dev

If you are running Netlify Dev and testing your app with serverless functions, edit cypress.json with the 8888 port:

{
  "baseUrl": "http://localhost:8888"
}

Add Tailwind, css build tools and Netlify deployment

20 May 14:53
Compare
Choose a tag to compare

Tailwind CSS

Tailwind CSS, an utility-first CSS framework, is now included along with:

purgecss and cssnano are used on production mode (npm run build) to minify the css. They are ignored on development mode (npm run start).

Netlify

npm run deploy

This builds your project in production mode and deploy to a Netlify Live Draft URL with netlify deploy.
If this draft looks good, deploy to production:

npm run deploy:prod

This runs netlify deploy --prod, without rebuilding your project.

Notes:

Elm + Parcel + elm-hot + Browser.Navigation

25 Mar 14:09
Compare
Choose a tag to compare
  • Run and build with parcel
  • Support hot code swapping with elm-hot
  • Add a demo app with Browser.Navigation included