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:
2024-12-05 10:36:00 -05:00
parent 2137416e45
commit e0895fa120
9 changed files with 757 additions and 1275 deletions

View File

@@ -1,14 +1,14 @@
{
"name": "workflow-function-manifold",
"version": "1.1.3",
"version": "2.0.0",
"type": "module",
"description": "for building dynamic, LLM-driven workflows using a region-based execution model",
"main": "src/index.ts",
"module": "src/index.ts",
"license": "AGPL-3.0-or-later",
"repository": "https://github.com/geoffsee/workflow-function-manifold.git",
"exports": {
".": {
"import": {
"types": "./src/index.ts",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
@@ -16,26 +16,30 @@
"bin": {
"workflow-function-manifold": "./dist/cli.js"
},
"files": [
"dist"
],
"scripts": {
"start": "bun src/cli.ts",
"dev": "bun src/cli.ts",
"build": "rm -rf ./dist && bun build src/* --outdir dist --target browser --format esm --minify && chmod +x dist/cli.js",
"cli": "bun src/cli.ts",
"test": "node dist/cli.js && bun test",
"build": "rm -rf dist && bun build ./src/index.ts ./src/cli.ts --splitting --outdir dist --target node && bun ./build.ts",
"prepublishOnly": "bun run build",
"cli": "bun ./src/cli.ts",
"test": "bun test && node dist/cli.js",
"lint": "eslint .",
"deploy:dev": "pnpm build && pnpm publish .",
"deploy:dev": "bun publish",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,yml,yaml}\"",
"fix": "pnpm format && pnpm lint:fix"
"fix": "bun run format && bun run lint:fix"
},
"keywords": [],
"author": "geoffsee",
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.14.0",
"@types/bun": "latest",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"bun-plugin-isolated-decl": "^0.1.6",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"bun": "^1.1.34",