Update README, licensing, and logger implementation
Removed redundant instructions in the README and added a more detailed example. Changed the project's license from MIT to AGPL-3.0-or-later for stronger copyleft and network service provisions. Adjusted logger export and declarations to follow clean coding practices. Upgraded build scripts and distribution settings in package.json for improved module handling and output integrity. Remove pnpm-lock.yaml.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
// src/logger.ts
|
||||
import { Logger, ILogObj } from "tslog";
|
||||
|
||||
export const log: Logger<ILogObj> = new Logger({
|
||||
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;
|
||||
export default log;
|
||||
|
Reference in New Issue
Block a user