-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
174 lines (174 loc) · 9.08 KB
/
Copy pathpackage.json
File metadata and controls
174 lines (174 loc) · 9.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
{
"name": "@camunda8/orchestration-cluster-api",
"private": false,
"version": "10.0.0-alpha.52",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./logger": {
"types": "./dist/logger.d.ts",
"import": "./dist/logger.js",
"require": "./dist/logger.cjs",
"default": "./dist/logger.js"
},
"./fn": {
"types": "./dist/fn/index.d.ts",
"import": "./dist/fn/index.js",
"require": "./dist/fn/index.cjs",
"default": "./dist/fn/index.js"
},
"./effect": {
"types": "./dist/effect/index.d.ts",
"import": "./dist/effect/index.js",
"require": "./dist/effect/index.cjs",
"default": "./dist/effect/index.js"
}
},
"imports": {
"#platform": {
"types": "./dist/runtime/platform/node.d.ts",
"browser": {
"import": "./dist/runtime/platform/browser.js",
"require": "./dist/runtime/platform/browser.cjs"
},
"import": "./dist/runtime/platform/node.js",
"require": "./dist/runtime/platform/node.cjs",
"default": "./dist/runtime/platform/node.js"
}
},
"author": "josh.wulf@camunda.com",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/camunda/orchestration-cluster-api-js.git"
},
"scripts": {
"camundacon:eventual:shell": "./camundacon/eventual/eventual.sh",
"camundacon:eventual:sdk": "tsx camundacon/eventual/eventual.ts",
"camundacon:eventual:sdk:trace": "CAMUNDA_SDK_LOG_LEVEL=trace tsx camundacon/eventual/eventual.ts",
"camundacon:backpressure:legacy": "CAMUNDA_SDK_BACKPRESSURE_PROFILE=LEGACY tsx camundacon/backpressure/backpressure.ts",
"camundacon:backpressure:legacy:long": "BP_PROFILE_ACTIVATE_BATCH=20 BP_PROFILE_TARGET=10000 CAMUNDA_SDK_BACKPRESSURE_PROFILE=LEGACY tsx camundacon/backpressure/backpressure.ts",
"camundacon:backpressure:balanced": "CAMUNDA_SDK_BACKPRESSURE_PROFILE=BALANCED tsx camundacon/backpressure/backpressure.ts",
"camundacon:backpressure:balanced:long": "BP_PROFILE_ACTIVATE_BATCH=20 BP_PROFILE_TARGET=10000 CAMUNDA_SDK_BACKPRESSURE_PROFILE=BALANCED tsx camundacon/backpressure/backpressure.ts",
"camundacon:backpressure:aggressive": "CAMUNDA_SDK_BACKPRESSURE_PROFILE=AGGRESSIVE tsx camundacon/backpressure/backpressure.ts",
"camundacon:backpressure:multi": "PROFILE=BALANCED tsx camundacon/backpressure/multi-client.ts",
"camundacon:backpressure:multi:legacy": "PROFILE=LEGACY tsx camundacon/backpressure/multi-client.ts",
"camundacon:backpressure:multi:aggressive": "PROFILE=AGGRESSIVE tsx camundacon/backpressure/multi-client.ts",
"camundacon:backpressure:multi:conservative": "PROFILE=CONSERVATIVE tsx camundacon/backpressure/multi-client.ts",
"camundacon:backpressure:multi:stress": "NUM_CLIENTS=5 SPIKE_CLIENTS=3 TARGET_PER_CLIENT=1000 CLIENT_CONCURRENCY=100 PROFILE=BALANCED tsx camundacon/backpressure/multi-client.ts",
"camundacon:matrix": "tsx camundacon/backpressure/matrix/run-matrix.ts",
"camundacon:matrix:dry-run": "tsx camundacon/backpressure/matrix/run-matrix.ts --dry-run",
"camundacon:matrix:quick": "tsx camundacon/backpressure/matrix/run-matrix.ts --modes rest-balanced --handlers cpu --clients 25 --isolations shared --no-restart",
"camundacon:matrix:analyze": "tsx camundacon/backpressure/matrix/analyze.ts",
"camundacon:tags:first": "tsx camundacon/tags/first.ts",
"camundacon:tags:second": "tsx camundacon/tags/second.ts",
"camundacon:tags:third": "tsx camundacon/tags/third.ts",
"clean": "rimraf dist src/gen src/facade",
"generate": "npm run clean && npm run bundle:spec && tsx scripts/run-pipeline.ts && npm run responses:regenerate:local",
"generate:local": "npm run clean && npm run bundle:spec:local && tsx scripts/run-pipeline.ts && npm run responses:regenerate:local",
"bundle:spec": "camunda-schema-bundler --ref ${SPEC_REF:-stable/8.10} --output-spec external-spec/bundled/rest-api.bundle.json --output-metadata external-spec/bundled/spec-metadata.json",
"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",
"version:sync": "tsx scripts/write-version-constant.ts",
"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/fn/index.ts src/effect/index.ts src/runtime/platform/node.ts src/runtime/platform/browser.ts --external '#platform' --dts --format esm,cjs --sourcemap --out-dir dist && tsup src/runtime/threadWorkerEntry.ts --external '#platform' --format esm,cjs --sourcemap --out-dir dist --no-splitting && npm run typecheck:dist && node scripts/check-browser-bundle.mjs && node scripts/check-tree-shaking.mjs",
"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/fn/index.ts src/effect/index.ts src/runtime/platform/node.ts src/runtime/platform/browser.ts --external '#platform' --dts --format esm,cjs --sourcemap --out-dir dist && tsup src/runtime/threadWorkerEntry.ts --external '#platform' --format esm,cjs --sourcemap --out-dir dist --no-splitting && npm run typecheck:dist && node scripts/check-browser-bundle.mjs && node scripts/check-tree-shaking.mjs",
"test": "CAMUNDA_SDK_INTEGRATION=0 vitest run --passWithNoTests --exclude 'tests-integration/' --exclude 'camundacon/**'",
"test:integration": "CAMUNDA_SDK_INTEGRATION=1 vitest run tests-integration",
"docs:config": "tsx scripts/generate-config-doc.ts",
"docs:md": "rm -rf docs-md && typedoc --options typedoc-md.json && node scripts/postprocess-md-docs.mjs docs-md && node scripts/check-client-method-docs.mjs docs-md",
"test:dist": "npm run build --silent && node tests/dist-usage.smoke.mjs",
"test:cross-runtime": "node scripts/cross-runtime-smoke.mjs",
"lint": "biome lint .",
"lint:fix": "biome check . --write",
"typecheck": "tsc --noEmit -p tsconfig.typecheck.json",
"typecheck:dist": "tsc --noEmit -p tsconfig.typecheck.dist.json",
"format": "biome format . --write",
"format:check": "biome check .",
"release": "semantic-release",
"prepare": "husky install",
"update:assertions": "npx assert-json-body",
"responses:strip-timestamps": "tsx scripts/strip-fixture-timestamps.ts",
"responses:regenerate": "assert-json-body extract && npm run responses:strip-timestamps",
"responses:regenerate:local": "assert-json-body extract --specFile=external-spec/upstream/zeebe/gateway-protocol/src/main/proto/v2/rest-api.yaml && npm run responses:strip-timestamps",
"docker:start": "docker compose -f docker/docker-compose.yaml up -d",
"docker:stop": "docker compose -f docker/docker-compose.yaml down",
"docker:es:start": "docker compose -f docker/docker-compose-es.yaml up -d",
"docker:es:stop": "docker compose -f docker/docker-compose-es.yaml down && npm run docker:es:cleanup",
"docker:es:cleanup": "docker volume rm docker_elastic && docker volume rm docker_zeebe && docker volume rm docker_prometheus-data && docker volume rm docker_grafana-data",
"docs:api": "rm -rf docs/* && typedoc",
"sync-readme": "tsx scripts/sync-readme-snippets.ts",
"sync-readme:check": "tsx scripts/sync-readme-snippets.ts --check"
},
"files": [
"dist",
"README.md",
"CHANGELOG.md",
"package.json",
"LICENSE"
],
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"dependencies": {
"typed-env": "^2.0.0",
"zod": "^4"
},
"peerDependencies": {
"effect": ">=4.0.0-rc.110 <5.0.0"
},
"peerDependenciesMeta": {
"effect": {
"optional": true
}
},
"devDependencies": {
"@biomejs/biome": "^2.5.2",
"@camunda8/sdk-infra": "^1.7.1",
"@commitlint/cli": "^21.1.0",
"@commitlint/config-conventional": "^21.0.1",
"@hey-api/openapi-ts": "^0.99.0",
"@semantic-release/changelog": "^7.0.0",
"@semantic-release/git": "^11.0.0",
"@types/node": "^20.14.9",
"@types/single-line-log": "^1.1.2",
"assert-json-body": "^1.8.1",
"camunda-schema-bundler": "^2.4.3",
"chalk": "^5.6.2",
"effect": "4.0.1",
"esbuild": "^0.28.2",
"husky": "^9.0.11",
"rimraf": "^6.1.3",
"semantic-release": "^25.0.5",
"single-line-log": "^1.1.2",
"tsup": "^8.5.1",
"tsx": "^4.22.4",
"typedoc": "^0.28.19",
"typedoc-plugin-markdown": "^4.12.0",
"typescript": "^5.4.5",
"vitest": "^4.1.9"
},
"overrides": {
"@semantic-release/github": "^11.0.6",
"handlebars": "4.7.10",
"js-yaml@4": "4.3.0",
"lodash-es@4": "4.18.1",
"rollup@4": "4.62.3",
"ajv@8": "8.20.0",
"glob@10": "10.5.0",
"postcss@8": "8.5.23",
"fast-uri@3": "3.1.4",
"minimatch@9": "9.0.9",
"picomatch@2": "2.3.2"
},
"engines": {
"node": ">=22"
}
}