@workglow/tasks 0.0.84 → 0.0.86

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 CHANGED
@@ -1,25 +1,31 @@
1
1
  {
2
2
  "name": "@workglow/tasks",
3
3
  "type": "module",
4
- "version": "0.0.84",
4
+ "version": "0.0.86",
5
5
  "description": "Pre-built task implementations for Workglow, including common AI operations and utility functions.",
6
6
  "scripts": {
7
7
  "watch": "concurrently -c 'auto' 'bun:watch-*'",
8
- "watch-code": "bun build --watch --no-clear-screen --target=browser --sourcemap=external --packages=external --outdir ./dist ./src/index.ts",
8
+ "watch-browser": "bun build --watch --no-clear-screen --target=browser --sourcemap=external --packages=external --outdir ./dist ./src/browser.ts",
9
+ "watch-node": "bun build --watch --no-clear-screen --target=node --sourcemap=external --packages=external --outdir ./dist ./src/node.ts",
10
+ "watch-bun": "bun build --watch --no-clear-screen --target=bun --sourcemap=external --packages=external --outdir ./dist ./src/bun.ts",
9
11
  "watch-types": "tsc --watch --preserveWatchOutput",
10
- "build-package": "bun run build-clean && concurrently -c 'auto' -n 'code,types' 'bun run build-code' 'bun run build-types'",
12
+ "build-package": "bun run build-clean && concurrently -c 'auto' -n 'browser,node,bun,types' 'bun run build-browser' 'bun run build-node' 'bun run build-bun' 'bun run build-types'",
11
13
  "build-clean": "rm -fr dist/*",
12
- "build-code": "bun build --target=browser --sourcemap=external --packages=external --outdir ./dist ./src/index.ts",
14
+ "build-browser": "bun build --target=browser --sourcemap=external --packages=external --outdir ./dist ./src/browser.ts",
15
+ "build-node": "bun build --target=node --sourcemap=external --packages=external --outdir ./dist ./src/node.ts",
16
+ "build-bun": "bun build --target=bun --sourcemap=external --packages=external --outdir ./dist ./src/bun.ts",
13
17
  "build-types": "rm -f tsconfig.tsbuildinfo && tsc",
14
18
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
15
19
  "test": "bun test",
16
- "prepare": "node -e \"const pkg=require('./package.json');pkg.exports['.'].bun='./dist/index.js';pkg.exports['.'].types='./dist/types.d.ts';require('fs').writeFileSync('package.json',JSON.stringify(pkg,null,2))\""
20
+ "prepare": "node -e \"const pkg=require('./package.json');pkg.exports['.'].bun='./dist/bun.js';pkg.exports['.'].types='./dist/types.d.ts';require('fs').writeFileSync('package.json',JSON.stringify(pkg,null,2))\""
17
21
  },
18
22
  "exports": {
19
23
  ".": {
20
- "bun": "./dist/index.js",
24
+ "react-native": "./dist/browser.js",
25
+ "browser": "./dist/browser.js",
26
+ "bun": "./dist/bun.js",
21
27
  "types": "./dist/types.d.ts",
22
- "import": "./dist/index.js"
28
+ "import": "./dist/node.js"
23
29
  }
24
30
  },
25
31
  "files": [
@@ -30,10 +36,10 @@
30
36
  "access": "public"
31
37
  },
32
38
  "peerDependencies": {
33
- "@workglow/task-graph": "0.0.84",
34
- "@workglow/util": "0.0.84",
35
- "@workglow/job-queue": "0.0.84",
36
- "@workglow/storage": "0.0.84"
39
+ "@workglow/task-graph": "0.0.86",
40
+ "@workglow/util": "0.0.86",
41
+ "@workglow/job-queue": "0.0.86",
42
+ "@workglow/storage": "0.0.86"
37
43
  },
38
44
  "peerDependenciesMeta": {
39
45
  "@workglow/task-graph": {
@@ -50,9 +56,13 @@
50
56
  }
51
57
  },
52
58
  "devDependencies": {
53
- "@workglow/job-queue": "0.0.84",
54
- "@workglow/storage": "0.0.84",
55
- "@workglow/task-graph": "0.0.84",
56
- "@workglow/util": "0.0.84"
59
+ "@types/papaparse": "^5.5.2",
60
+ "@workglow/job-queue": "0.0.86",
61
+ "@workglow/storage": "0.0.86",
62
+ "@workglow/task-graph": "0.0.86",
63
+ "@workglow/util": "0.0.86"
64
+ },
65
+ "dependencies": {
66
+ "papaparse": "^5.5.3"
57
67
  }
58
68
  }
package/dist/index.d.ts DELETED
@@ -1,14 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2025 Steven Roussey <sroussey@gmail.com>
4
- * SPDX-License-Identifier: Apache-2.0
5
- */
6
- export * from "./task/DebugLogTask";
7
- export * from "./task/DelayTask";
8
- export * from "./task/FetchUrlTask";
9
- export * from "./task/JavaScriptTask";
10
- export * from "./task/JsonTask";
11
- export * from "./task/LambdaTask";
12
- export * from "./task/MergeTask";
13
- export * from "./task/SplitTask";
14
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}