@barnum/barnum 0.0.0-main-05889f02 → 0.0.0-main-330fcf0a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +12 -4
- package/src/run.ts +1 -1
package/package.json
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@barnum/barnum",
|
|
3
|
-
"version": "0.0.0-main-
|
|
3
|
+
"version": "0.0.0-main-330fcf0a",
|
|
4
4
|
"description": "Barnum workflow engine",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
7
8
|
"exports": {
|
|
8
|
-
".":
|
|
9
|
-
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./dist/*": "./dist/*",
|
|
14
|
+
"./src/*": "./src/*",
|
|
15
|
+
"./package.json": "./package.json"
|
|
10
16
|
},
|
|
11
17
|
"bin": {
|
|
12
18
|
"barnum": "cli.cjs"
|
|
13
19
|
},
|
|
14
20
|
"scripts": {
|
|
21
|
+
"build": "tsc -p tsconfig.build.json",
|
|
15
22
|
"test": "vitest run",
|
|
16
23
|
"typecheck": "tsc --noEmit",
|
|
17
24
|
"lint": "oxlint src/"
|
|
@@ -27,6 +34,7 @@
|
|
|
27
34
|
"registry": "https://registry.npmjs.org"
|
|
28
35
|
},
|
|
29
36
|
"files": [
|
|
37
|
+
"dist/**/*",
|
|
30
38
|
"src/**/*.ts",
|
|
31
39
|
"cli.cjs",
|
|
32
40
|
"artifacts/**/*"
|
package/src/run.ts
CHANGED
|
@@ -77,7 +77,7 @@ function resolveBinary(): BinaryResolution {
|
|
|
77
77
|
|
|
78
78
|
/** Resolve worker.ts relative to this package. */
|
|
79
79
|
function resolveWorker(): string {
|
|
80
|
-
return path.resolve(__dirname, "worker.ts");
|
|
80
|
+
return path.resolve(__dirname, "../src/worker.ts");
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/** Build the barnum binary if using the local dev path. */
|