Kinto / kinto-admin

Kinto Web Administration Console
http://kinto.github.io/kinto-admin/
185 stars 35 forks source link

Provide `VERSION` file with asset bundle, read in application #3148

Closed grahamalama closed 8 months ago

grahamalama commented 8 months ago

This PR adds a script to generate a VERSION file that gets packaged with our built asset bundle. This is so that applications can read that file to report the Kinto Admin version in a Kinto capabilities object

> npm run build
> tree build -L 1
build
├── VERSION
├── assets
└── index.html