@primero.ai/temporal-graph-tools 1.0.0

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.
Files changed (35) hide show
  1. package/README.md +203 -0
  2. package/dist/examples/bundle/activities.d.ts +34 -0
  3. package/dist/examples/bundle/activities.d.ts.map +1 -0
  4. package/dist/examples/bundle/activities.js +35 -0
  5. package/dist/examples/bundle/workflows.d.ts +3 -0
  6. package/dist/examples/bundle/workflows.d.ts.map +1 -0
  7. package/dist/examples/bundle/workflows.js +14 -0
  8. package/dist/examples/trigger-workflows.d.ts +2 -0
  9. package/dist/examples/trigger-workflows.d.ts.map +1 -0
  10. package/dist/examples/trigger-workflows.js +43 -0
  11. package/dist/examples/worker.d.ts +3 -0
  12. package/dist/examples/worker.d.ts.map +1 -0
  13. package/dist/examples/worker.js +29 -0
  14. package/dist/src/bundler.d.ts +25 -0
  15. package/dist/src/bundler.d.ts.map +1 -0
  16. package/dist/src/bundler.js +208 -0
  17. package/dist/src/index.d.ts +6 -0
  18. package/dist/src/index.d.ts.map +1 -0
  19. package/dist/src/index.js +5 -0
  20. package/dist/src/types.d.ts +45 -0
  21. package/dist/src/types.d.ts.map +1 -0
  22. package/dist/src/types.js +64 -0
  23. package/dist/src/utils/deep-equal.d.ts +2 -0
  24. package/dist/src/utils/deep-equal.d.ts.map +1 -0
  25. package/dist/src/utils/deep-equal.js +54 -0
  26. package/dist/src/workflow/builder.d.ts +27 -0
  27. package/dist/src/workflow/builder.d.ts.map +1 -0
  28. package/dist/src/workflow/builder.js +230 -0
  29. package/dist/src/workflow/collection.d.ts +3 -0
  30. package/dist/src/workflow/collection.d.ts.map +1 -0
  31. package/dist/src/workflow/collection.js +39 -0
  32. package/dist/src/workflow-bundler.d.ts +6 -0
  33. package/dist/src/workflow-bundler.d.ts.map +1 -0
  34. package/dist/src/workflow-bundler.js +163 -0
  35. package/package.json +96 -0
package/package.json ADDED
@@ -0,0 +1,96 @@
1
+ {
2
+ "name": "@primero.ai/temporal-graph-tools",
3
+ "version": "1.0.0",
4
+ "description": "Utilities for working with DAG workflows.",
5
+ "keywords": [],
6
+ "homepage": "https://github.com/primero-ai/temporal-graph-tools#readme",
7
+ "bugs": {
8
+ "url": "https://github.com/primero-ai/temporal-graph-tools/issues"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/primero-ai/temporal-graph-tools.git"
13
+ },
14
+ "license": "MIT",
15
+ "author": "sergio",
16
+ "type": "module",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./dist/src/index.d.ts",
20
+ "default": "./dist/src/index.js"
21
+ },
22
+ "./bundler": {
23
+ "types": "./dist/src/bundler.d.ts",
24
+ "default": "./dist/src/bundler.js"
25
+ },
26
+ "./workflow-bundler": {
27
+ "types": "./dist/src/workflow-bundler.d.ts",
28
+ "default": "./dist/src/workflow-bundler.js"
29
+ },
30
+ "./workflow/*": {
31
+ "types": "./dist/src/workflow/*.d.ts",
32
+ "default": "./dist/src/workflow/*.js"
33
+ },
34
+ "./utils/*": {
35
+ "types": "./dist/src/utils/*.d.ts",
36
+ "default": "./dist/src/utils/*.js"
37
+ },
38
+ "./dist/src/*.js": {
39
+ "types": "./dist/src/*.d.ts",
40
+ "default": "./dist/src/*.js"
41
+ },
42
+ "./types": {
43
+ "types": "./dist/src/types.d.ts",
44
+ "default": "./dist/src/types.js"
45
+ },
46
+ "./package.json": "./package.json"
47
+ },
48
+ "main": "dist/src/index.js",
49
+ "types": "dist/src/index.d.ts",
50
+ "directories": {
51
+ "example": "examples"
52
+ },
53
+ "files": [
54
+ "dist"
55
+ ],
56
+ "scripts": {
57
+ "with-env": "dotenv -e .env --",
58
+ "build": "tsc --project tsconfig.json",
59
+ "type-check": "tsc --noEmit --project tsconfig.json",
60
+ "lint": "eslint .",
61
+ "format": "prettier --write .",
62
+ "worker": "bun with-env tsx examples/worker.ts",
63
+ "trigger-workflows": "bun with-env bun examples/trigger-workflows.ts",
64
+ "clean": "rm -rf node_modules dist"
65
+ },
66
+ "dependencies": {
67
+ "@temporalio/activity": "^1.13.1",
68
+ "@temporalio/client": "1.13.1",
69
+ "@temporalio/workflow": "1.13.1",
70
+ "@temporalio/worker": "1.13.1",
71
+ "lodash": "^4.17.21",
72
+ "zod": "4.1.12"
73
+ },
74
+ "devDependencies": {
75
+ "@types/lodash": "^4.14.202",
76
+ "tsx": "^4.19.2",
77
+ "@eslint/js": "^9.37.0",
78
+ "dotenv": "^17.2.1",
79
+ "dotenv-cli": "^10.0.0",
80
+ "@ianvs/prettier-plugin-sort-imports": "^4.7.0",
81
+ "@types/node": "^24.8.0",
82
+ "esbuild": "^0.24.0",
83
+ "eslint": "^9.37.0",
84
+ "eslint-import-resolver-typescript": "^4.4.4",
85
+ "eslint-plugin-import": "^2.32.0",
86
+ "prettier": "^3.6.2",
87
+ "prettier-plugin-tailwindcss": "^0.7.0",
88
+ "typescript": "^5.9.3",
89
+ "typescript-eslint": "^8.46.1"
90
+ },
91
+ "engines": {
92
+ "node": ">=18"
93
+ },
94
+ "module": "dist/src/index.js",
95
+ "packageManager": "bun@1.2.17"
96
+ }