@camunda8/orchestration-cluster-api 10.0.0-alpha.4 → 10.0.0-alpha.41

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@camunda8/orchestration-cluster-api",
3
3
  "private": false,
4
- "version": "10.0.0-alpha.4",
4
+ "version": "10.0.0-alpha.41",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",
@@ -19,11 +19,11 @@
19
19
  "require": "./dist/logger.cjs",
20
20
  "default": "./dist/logger.js"
21
21
  },
22
- "./fp": {
23
- "types": "./dist/fp/index.d.ts",
24
- "import": "./dist/fp/index.js",
25
- "require": "./dist/fp/index.cjs",
26
- "default": "./dist/fp/index.js"
22
+ "./effect": {
23
+ "types": "./dist/effect/index.d.ts",
24
+ "import": "./dist/effect/index.js",
25
+ "require": "./dist/effect/index.cjs",
26
+ "default": "./dist/effect/index.js"
27
27
  }
28
28
  },
29
29
  "author": "josh.wulf@camunda.com",
@@ -54,26 +54,30 @@
54
54
  "camundacon:tags:second": "tsx camundacon/tags/second.ts",
55
55
  "camundacon:tags:third": "tsx camundacon/tags/third.ts",
56
56
  "clean": "rimraf dist src/gen src/facade",
57
- "generate": "npm run clean && npm run bundle:spec && tsx scripts/run-pipeline.ts",
58
- "generate:local": "npm run clean && npm run bundle:spec:local && tsx scripts/run-pipeline.ts",
57
+ "generate": "npm run clean && npm run bundle:spec && tsx scripts/run-pipeline.ts && npm run responses:regenerate:local",
58
+ "generate:local": "npm run clean && npm run bundle:spec:local && tsx scripts/run-pipeline.ts && npm run responses:regenerate:local",
59
59
  "bundle:spec": "camunda-schema-bundler --ref ${SPEC_REF:-main} --output-spec external-spec/bundled/rest-api.bundle.json --output-metadata external-spec/bundled/spec-metadata.json",
60
60
  "bundle:spec:local": "camunda-schema-bundler --spec-dir external-spec/upstream/zeebe/gateway-protocol/src/main/proto/v2 --output-spec external-spec/bundled/rest-api.bundle.json --output-metadata external-spec/bundled/spec-metadata.json",
61
61
  "version:sync": "tsx scripts/write-version-constant.ts",
62
- "build": "npm run generate && npm run docs:config && npm run sync-readme:check && npm run format && npm run version:sync && tsup src/index.ts src/logger.ts src/fp/index.ts --dts --format esm,cjs --sourcemap --out-dir dist && tsup src/runtime/threadWorkerEntry.ts --format esm,cjs --sourcemap --out-dir dist --no-splitting",
63
- "build:local": "npm run generate:local && npm run docs:config && npm run sync-readme:check && npm run version:sync && tsup src/index.ts src/logger.ts src/fp/index.ts --dts --format esm,cjs --sourcemap --out-dir dist && tsup src/runtime/threadWorkerEntry.ts --format esm,cjs --sourcemap --out-dir dist --no-splitting",
62
+ "build": "npm run generate && npm run docs:config && npm run sync-readme:check && npm run format && npm run version:sync && npm run typecheck && tsup src/index.ts src/logger.ts src/effect/index.ts --dts --format esm,cjs --sourcemap --out-dir dist && tsup src/runtime/threadWorkerEntry.ts --format esm,cjs --sourcemap --out-dir dist --no-splitting && npm run typecheck:dist",
63
+ "build:local": "npm run generate:local && npm run docs:config && npm run sync-readme:check && npm run version:sync && npm run typecheck && tsup src/index.ts src/logger.ts src/effect/index.ts --dts --format esm,cjs --sourcemap --out-dir dist && tsup src/runtime/threadWorkerEntry.ts --format esm,cjs --sourcemap --out-dir dist --no-splitting && npm run typecheck:dist",
64
64
  "test": "CAMUNDA_SDK_INTEGRATION=0 vitest run --passWithNoTests --exclude 'tests-integration/' --exclude 'camundacon/**'",
65
65
  "test:integration": "CAMUNDA_SDK_INTEGRATION=1 vitest run tests-integration",
66
66
  "docs:config": "tsx scripts/generate-config-doc.ts",
67
67
  "docs:md": "rm -rf docs-md && typedoc --options typedoc-md.json && node scripts/postprocess-md-docs.mjs docs-md",
68
68
  "test:dist": "npm run build --silent && node tests/dist-usage.smoke.mjs",
69
+ "test:cross-runtime": "node scripts/cross-runtime-smoke.mjs",
69
70
  "lint": "biome lint .",
70
71
  "lint:fix": "biome check . --write",
72
+ "typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
73
+ "typecheck:dist": "tsc --noEmit -p tsconfig.typecheck.dist.json",
71
74
  "format": "biome format . --write",
72
75
  "format:check": "biome check .",
73
76
  "release": "semantic-release",
74
77
  "prepare": "husky install",
75
78
  "update:assertions": "npx assert-json-body",
76
79
  "responses:regenerate": "assert-json-body extract",
80
+ "responses:regenerate:local": "assert-json-body extract --specFile=external-spec/upstream/zeebe/gateway-protocol/src/main/proto/v2/rest-api.yaml",
77
81
  "docker:start": "docker compose -f docker/docker-compose.yaml up -d",
78
82
  "docker:stop": "docker compose -f docker/docker-compose.yaml down",
79
83
  "docker:es:start": "docker compose -f docker/docker-compose-es.yaml up -d",
@@ -99,36 +103,50 @@
99
103
  "zod": "^4"
100
104
  },
101
105
  "peerDependencies": {
102
- "fp-ts": "^2.16.11"
106
+ "effect": ">=4.0.0-rc.110 <5.0.0"
103
107
  },
104
108
  "peerDependenciesMeta": {
105
- "fp-ts": {
109
+ "effect": {
106
110
  "optional": true
107
111
  }
108
112
  },
109
113
  "devDependencies": {
110
- "@biomejs/biome": "^2.4.10",
111
- "@commitlint/cli": "^20.5.0",
112
- "@commitlint/config-conventional": "^20.5.0",
113
- "@hey-api/openapi-ts": "^0.86.12",
114
- "@semantic-release/changelog": "^6.0.3",
115
- "@semantic-release/git": "^10.0.1",
114
+ "@biomejs/biome": "^2.5.2",
115
+ "@camunda8/sdk-infra": "^1.7.1",
116
+ "@commitlint/cli": "^21.1.0",
117
+ "@commitlint/config-conventional": "^21.0.1",
118
+ "@hey-api/openapi-ts": "^0.99.0",
119
+ "@semantic-release/changelog": "^7.0.0",
120
+ "@semantic-release/git": "^11.0.0",
116
121
  "@types/node": "^20.14.9",
117
122
  "@types/single-line-log": "^1.1.2",
118
- "assert-json-body": "^1.5.0",
119
- "camunda-schema-bundler": "^1.5.0",
123
+ "assert-json-body": "^1.8.1",
124
+ "camunda-schema-bundler": "^2.4.3",
120
125
  "chalk": "^5.6.2",
121
- "fp-ts": "^2.16.11",
126
+ "effect": "4.0.0-rc.112",
122
127
  "husky": "^9.0.11",
123
128
  "rimraf": "^6.1.3",
124
- "semantic-release": "^25.0.3",
129
+ "semantic-release": "^25.0.5",
125
130
  "single-line-log": "^1.1.2",
126
131
  "tsup": "^8.5.1",
127
- "tsx": "^4.21.0",
128
- "typedoc": "^0.28.18",
129
- "typedoc-plugin-markdown": "^4.11.0",
132
+ "tsx": "^4.22.4",
133
+ "typedoc": "^0.28.19",
134
+ "typedoc-plugin-markdown": "^4.12.0",
130
135
  "typescript": "^5.4.5",
131
- "vitest": "^3.2.4"
136
+ "vitest": "^4.1.9"
137
+ },
138
+ "overrides": {
139
+ "@semantic-release/github": "^11.0.6",
140
+ "handlebars": "4.7.9",
141
+ "js-yaml@4": "4.3.0",
142
+ "lodash-es@4": "4.18.1",
143
+ "rollup@4": "4.62.3",
144
+ "ajv@8": "8.20.0",
145
+ "glob@10": "10.5.0",
146
+ "postcss@8": "8.5.23",
147
+ "fast-uri@3": "3.1.4",
148
+ "minimatch@9": "9.0.9",
149
+ "picomatch@2": "2.3.2"
132
150
  },
133
151
  "engines": {
134
152
  "node": ">=22"