Skip to content

Commit fff11ff

Browse files
committed
chore(deps): bump unthrown to 5.0.0-beta.6, drop ts-pattern
beta.6 builds the exhaustive matcher into unthrown itself (same .with/tag/P call-site shape), so no code changes are needed and the ts-pattern catalog entry, devDependencies, and peerDependencies added for beta.5's peer requirement are all removed. unthrown peer range raised to ^5.0.0-beta.6.
1 parent 8fcb1a4 commit fff11ff

8 files changed

Lines changed: 37 additions & 65 deletions

File tree

.changeset/bump-unthrown-beta-6.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
"@temporal-contract/contract": patch
3+
"@temporal-contract/client": patch
4+
"@temporal-contract/worker": patch
5+
---
6+
7+
Bump `unthrown` to `5.0.0-beta.6`, whose exhaustive matcher is now built-in
8+
(same `.with(…)` / `tag` / `P` call-site shape — no code changes needed). The
9+
`ts-pattern` peer/dev dependencies added for beta.5 are removed: `unthrown` has
10+
zero runtime dependencies, so nothing needs installing alongside it. The
11+
`unthrown` peer range is raised to `^5.0.0-beta.6`.

examples/order-processing-client/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"@temporalio/client": "catalog:",
1414
"pino": "catalog:",
1515
"pino-pretty": "catalog:",
16-
"ts-pattern": "catalog:",
1716
"unthrown": "catalog:",
1817
"zod": "catalog:"
1918
},

examples/order-processing-worker/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
"@temporalio/workflow": "catalog:",
1616
"pino": "catalog:",
1717
"pino-pretty": "catalog:",
18-
"ts-pattern": "catalog:",
1918
"unthrown": "catalog:",
2019
"zod": "catalog:"
2120
},

packages/client/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
"@types/node": "catalog:",
6767
"@unthrown/vitest": "catalog:",
6868
"@vitest/coverage-v8": "catalog:",
69-
"ts-pattern": "catalog:",
7069
"tsdown": "catalog:",
7170
"typedoc": "catalog:",
7271
"typedoc-plugin-markdown": "catalog:",
@@ -78,8 +77,7 @@
7877
"peerDependencies": {
7978
"@temporalio/client": "^1",
8079
"@temporalio/common": "^1",
81-
"ts-pattern": "^5",
82-
"unthrown": "^5.0.0-beta.5"
80+
"unthrown": "^5.0.0-beta.6"
8381
},
8482
"engines": {
8583
"node": ">=22.19.0"

packages/contract/package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
"@unthrown/vitest": "catalog:",
7979
"@vitest/coverage-v8": "catalog:",
8080
"arktype": "catalog:",
81-
"ts-pattern": "catalog:",
8281
"tsdown": "catalog:",
8382
"typedoc": "catalog:",
8483
"typedoc-plugin-markdown": "catalog:",
@@ -88,13 +87,9 @@
8887
"vitest": "catalog:"
8988
},
9089
"peerDependencies": {
91-
"ts-pattern": "^5",
92-
"unthrown": "^5.0.0-beta.5"
90+
"unthrown": "^5.0.0-beta.6"
9391
},
9492
"peerDependenciesMeta": {
95-
"ts-pattern": {
96-
"optional": true
97-
},
9893
"unthrown": {
9994
"optional": true
10095
}

packages/worker/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
"@types/node": "catalog:",
8585
"@unthrown/vitest": "catalog:",
8686
"@vitest/coverage-v8": "catalog:",
87-
"ts-pattern": "catalog:",
8887
"tsdown": "catalog:",
8988
"typedoc": "catalog:",
9089
"typedoc-plugin-markdown": "catalog:",
@@ -97,8 +96,7 @@
9796
"@temporalio/common": "^1",
9897
"@temporalio/worker": "^1",
9998
"@temporalio/workflow": "^1",
100-
"ts-pattern": "^5",
101-
"unthrown": "^5.0.0-beta.5"
99+
"unthrown": "^5.0.0-beta.6"
102100
},
103101
"engines": {
104102
"node": ">=22.19.0"

pnpm-lock.yaml

Lines changed: 21 additions & 48 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ catalog:
2525
"@temporalio/worker": 1.20.3
2626
"@temporalio/workflow": 1.20.3
2727
"@types/node": 26.1.1
28-
"@unthrown/vitest": 5.0.0-beta.5
28+
"@unthrown/vitest": 5.0.0-beta.6
2929
"@vitest/coverage-v8": 4.1.10
3030
arktype: 2.2.3
3131
knip: 6.27.0
@@ -35,14 +35,13 @@ catalog:
3535
pino: 10.3.1
3636
pino-pretty: 13.1.3
3737
testcontainers: 12.0.4
38-
ts-pattern: 5.9.0
3938
tsdown: 0.22.12
4039
tsx: 4.23.1
4140
turbo: 2.10.5
4241
typedoc: 0.28.20
4342
typedoc-plugin-markdown: 4.12.0
4443
typescript: 6.0.3
45-
unthrown: 5.0.0-beta.5
44+
unthrown: 5.0.0-beta.6
4645
valibot: 1.4.2
4746
vitest: 4.1.10
4847
zod: 4.4.3

0 commit comments

Comments
 (0)