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