@io-orkes/conductor-javascript 2.1.5 → 2.2.1

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,15 +1,7 @@
1
1
  {
2
2
  "name": "@io-orkes/conductor-javascript",
3
3
  "description": "Typescript Client for Netflix Conductor",
4
- "version": "v2.1.5",
5
- "exports": {
6
- ".": {
7
- "types": "./dist/index.d.ts",
8
- "require": "./dist/index.js",
9
- "import": "./dist/index.mjs"
10
- }
11
- },
12
- "main": "dist/index.js",
4
+ "version": "v2.2.1",
13
5
  "private": false,
14
6
  "homepage": "https://orkes.io",
15
7
  "repository": {
@@ -22,23 +14,8 @@
22
14
  "orchestration",
23
15
  "microservice"
24
16
  ],
25
- "scripts": {
26
- "lint": "npx eslint . --ext .js,.ts",
27
- "build": "tsup index.ts",
28
- "prepublishOnly": "npm run build",
29
- "lint-fix": "npx eslint . --fix --ext .js,.ts",
30
- "test": "jest --force-exit --detectOpenHandles",
31
- "generateClient:models": "npx openapi-typescript-codegen --input http://localhost:8080/api-docs --output src/common/open-api --client node --indent 2 --name ConductorClient --useUnionTypes --exportCore false",
32
- "generateClient:core": "npx openapi-typescript-codegen --input http://localhost:8080/api-docs --output src/common/open-api --client node --indent 2 --name ConductorClient --useUnionTypes && find ./src/common/open-api/services/*Service.ts -type f -exec sed -i '' -e 's/api\\///g' {} \\;",
33
- "ci": "npm run lint && npm run test",
34
- "generate-docs": "typedoc --plugin typedoc-plugin-markdown"
35
- },
36
17
  "author": "Conductor community",
37
18
  "license": "Apache-2.0",
38
- "files": [
39
- "dist",
40
- "README.md"
41
- ],
42
19
  "contributors": [
43
20
  {
44
21
  "name": "Black Diamond"
@@ -50,22 +27,54 @@
50
27
  "name": "James Stuart Milne"
51
28
  }
52
29
  ],
30
+ "engines": {
31
+ "node": ">=18"
32
+ },
33
+ "files": [
34
+ "dist",
35
+ "README.md"
36
+ ],
37
+ "exports": {
38
+ ".": {
39
+ "types": "./dist/index.d.ts",
40
+ "require": "./dist/index.js",
41
+ "import": "./dist/index.mjs"
42
+ }
43
+ },
44
+ "main": "dist/index.js",
45
+ "scripts": {
46
+ "lint": "npx eslint .",
47
+ "lint-fix": "npx eslint . --fix",
48
+ "test": "jest --force-exit --detectOpenHandles",
49
+ "test:unit": "npm test -- --testMatch='**/src/**/__tests__/**/*.test.[jt]s?(x)'",
50
+ "test:integration:v5": "npm test -- --testMatch='**/integration-tests/{common,v5-only}/**/*.test.[jt]s?(x)'",
51
+ "test:integration:v4": "npm test -- --testMatch='**/integration-tests/common/**/*.test.[jt]s?(x)'",
52
+ "ci": "npm run lint && npm run test",
53
+ "build": "tsup index.ts",
54
+ "generate-openapi-layer": "openapi-ts",
55
+ "generate-docs": "typedoc --plugin typedoc-plugin-markdown",
56
+ "prepublishOnly": "npm run build"
57
+ },
53
58
  "devDependencies": {
54
59
  "@eslint/js": "^9.34.0",
60
+ "@hey-api/openapi-ts": "^0.85.2",
55
61
  "@tsconfig/node18": "^18.2.4",
56
62
  "@types/node": "^22.0.0",
57
63
  "@types/uuid": "^9.0.1",
58
64
  "dotenv": "^16.0.1",
59
65
  "eslint": "^9.34.0",
60
- "jest": "^29.4.3",
66
+ "jest": "^30.1.3",
61
67
  "jest-junit": "^16.0.0",
62
- "ts-jest": "^29.0.5",
68
+ "ts-jest": "^29.4.2",
63
69
  "tsup": "^8.5.0",
64
70
  "typedoc": "^0.28.11",
65
71
  "typescript": "^5.9.2",
66
72
  "typescript-eslint": "^8.41.0",
67
73
  "uuid": "^9.0.0"
68
74
  },
75
+ "optionalDependencies": {
76
+ "undici": "^7.16.0"
77
+ },
69
78
  "tsup": {
70
79
  "target": "node18",
71
80
  "sourcemap": true,
@@ -77,16 +86,13 @@
77
86
  "clean": true,
78
87
  "splitting": false
79
88
  },
80
- "engines": {
81
- "node": ">=18"
82
- },
83
89
  "jest-junit": {
84
90
  "outputDirectory": "reports",
85
91
  "outputName": "jest-junit.xml",
86
- "ancestorSeparator": " ",
92
+ "ancestorSeparator": " > ",
87
93
  "uniqueOutputName": "false",
88
94
  "suiteNameTemplate": "{filepath}",
89
95
  "classNameTemplate": "{classname}",
90
96
  "titleTemplate": "{title}"
91
97
  }
92
- }
98
+ }