UNPKG

@lunora/cli

Version:

The Lunora CLI: init, dev, deploy, codegen, migrate, seed, doctor, insights, logs, registry, and the rest of the project commands

2 lines (1 loc) 267 B
import{errorAdvisoryNames as t}from"@lunora/codegen";const v=e=>e.strictAdvisories??(process.env.CI!==void 0&&process.env.CI!==""),c=(e,s)=>{const r=e.filter(o=>o.level==="ERROR");return{errorAdvisories:r,names:t(e),shouldBlock:r.length>0&&s}};export{c as e,v as r};