Skip to content

Commit

Permalink
feat: add index.js file
Browse files Browse the repository at this point in the history
  • Loading branch information
tabkram committed Nov 18, 2023
1 parent ca7f4a6 commit d1cab65
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 2 deletions.
Empty file added .npmignore
Empty file.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -31,6 +31,7 @@ const function2Output = result2.outputs // The output value returned by the func

//Access the trace information:
const trace = engine.getTrace();
// trace is array containing nodes and edges of the execution trace
console.log('Trace:', trace);
```

Expand Down
6 changes: 5 additions & 1 deletion package.json
@@ -1,9 +1,13 @@
{
"name": "execution-engine",
"version": "0.0.1",
"version": "0.0.2",
"description": "A TypeScript library for tracing and visualizing code execution workflows.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"index.js"
],
"scripts": {
"build": "tsc",
"test": "jest",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/executionEngine.ts → src/engine/executionEngine.ts
@@ -1,5 +1,5 @@
import { TraceableExecution } from "./trace/traceableExecution";
import { v4 as uuidv4 } from "uuid";
import { TraceableExecution } from "../trace/traceableExecution";

/**
* Represents a Contextual Execution with traceability features.
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
@@ -0,0 +1,3 @@
export * from './engine/executionEngine';
export * from './trace/trace.model';
export * from './trace/traceableExecution';

0 comments on commit d1cab65

Please sign in to comment.