@halospv3/hce.shared-config
Version:
Automate commit message quality, changelogs, and CI/CD releases. Exports a semantic-release shareable configuration deserialized from this package's '.releaserc.yml'. Shared resources for .NET projects are also distributed with this package.
11 lines (7 loc) • 390 B
text/typescript
// note: @types/debug is incorrect. There is no .log function!
import createDebugger, { type Debugger } from 'debug';
const _debug = createDebugger('@halospv3/hce.shared-config') as Debugger & { log: never };
if (process.argv.some(v => v.includes('--debug')) || createDebugger.enabled('@halospv3/hce.shared-config')) {
createDebugger.enable(_debug.namespace);
}
export default _debug;