grafana / lezer-logql

LogQL lezer grammar
Apache License 2.0
3 stars 4 forks source link

Replace prepare script with postinstall #38

Closed gwdawson closed 1 year ago

gwdawson commented 1 year ago

first we merge #37 to revert back to 0.1.6, we then merge this that will build and release to 0.1.7

the issue we had was prepare we being called in the background of npm publish... this was then making the workflow fail because husky was not installed.

this changes the script to postinstall that still runs after npn install but doesnt get triggerd in the build and publish workflow

https://docs.npmjs.com/cli/v9/using-npm/scripts#npm-install