learningequality / le-utils

Utilities and constants shared across Kolibri, Ricecooker, and Kolibri Studio
MIT License
2 stars 31 forks source link

Npm publish and pre commit #118

Closed rtibbles closed 8 months ago

rtibbles commented 8 months ago

Fixes NPM publishing by ensuring that pre-commit is installed.

Adds a pre-commit hook to regenerate specs to ensure that we are always committing rebuilt files when changing specs.

Excludes this new hook when running the generation script to avoid a potential recursive call.