Update dependencies and add logging

Upgraded package.json to version 1.1.0 and added several development dependencies. Introduced a logger for better tracking of operations. Additionally, improved type definitions across the project and integrated enhanced ESLint configurations.
This commit is contained in:
2024-11-15 00:08:01 -05:00
parent 8240ce15f4
commit 22fa9597ca
9 changed files with 632 additions and 125 deletions

10
src/logger.ts Normal file
View File

@@ -0,0 +1,10 @@
// src/logger.ts
import { Logger, ILogObj } from "tslog";
export const log: Logger<ILogObj> = new Logger({
name: "workflow-function-manifold",
prettyLogTemplate: "{{yyyy}}-{{mm}}-{{dd}} {{hh}}:{{MM}}:{{ss}}:{{ms}} {{logLevelName}} [{{name}}] ",
prettyLogTimeZone: "local"
});
export default log;