@halospv3/hce.shared-config
Version:
Automate commit message quality, changelogs, and CI/CD releases. Its `main` entry point is a Semantic Release config. Functions and classes are exposed for customization. An ESLint config, a Commitlint config, and addl. resources for .NET projects are als
1 lines • 937 B
Source Map (JSON)
{"version":3,"file":"debug.mjs","names":[],"sources":["../src/debug.ts"],"sourcesContent":["import createDebugger from 'debug';\nimport * as process from 'node:process';\n\ninterface Debugger {\n (formatter: unknown, ...arguments_: unknown[]): void;\n color: string;\n diff: number;\n enabled: boolean;\n namespace: string;\n destroy: () => boolean;\n extend: (namespace: string, delimiter?: string) => Debugger;\n}\n\n// note: @types/debug is incorrect. There is no .log function!\n// Omit<T,K> breaks the Function typing.\nconst _debug: Debugger = createDebugger('@halospv3/hce.shared-config');\n\nif (process.argv.some(v => v.includes('--debug')) || createDebugger.enabled('@halospv3/hce.shared-config')) {\n createDebugger.enable(_debug.namespace);\n}\n\nexport default _debug;\n"],"mappings":";;;AAeA,MAAM,SAAmB,eAAe,6BAA6B;AAErE,IAAI,QAAQ,KAAK,MAAK,MAAK,EAAE,SAAS,SAAS,CAAC,KAAK,eAAe,QAAQ,6BAA6B,GACvG,eAAe,OAAO,OAAO,SAAS"}