fix build, bump version 1.0.9
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "workflow-function-manifold",
|
||||
"version": "1.0.8",
|
||||
"version": "1.0.9",
|
||||
"type": "module",
|
||||
"description": "for building dynamic, LLM-driven workflows using a region-based execution model",
|
||||
"main": "src/index.ts",
|
||||
@@ -19,7 +19,7 @@
|
||||
"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",
|
||||
"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",
|
||||
"lint": "eslint .",
|
||||
|
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env node
|
||||
import {
|
||||
DummyIntentMap,
|
||||
ManifoldRegion,
|
||||
|
@@ -1,13 +1,14 @@
|
||||
// core.test.ts
|
||||
import { DummyIntentMap, WorkflowFunctionManifold, WorkflowOperator, ManifoldRegion, NestedManifoldRegion } from '../src';
|
||||
import {test, beforeEach, describe, expect, jest} from "bun:test";
|
||||
|
||||
describe('WorkflowFunctionManifold Core Test Suite', () => {
|
||||
let intentService: DummyIntentMap;
|
||||
let intentMap: DummyIntentMap;
|
||||
let manifold: WorkflowFunctionManifold;
|
||||
|
||||
beforeEach(() => {
|
||||
intentService = new DummyIntentMap();
|
||||
manifold = new WorkflowFunctionManifold(intentService);
|
||||
intentMap = new DummyIntentMap();
|
||||
manifold = new WorkflowFunctionManifold(intentMap);
|
||||
});
|
||||
|
||||
test('Should add a region and set it as the current region if none exist', () => {
|
||||
|
Reference in New Issue
Block a user