Repository navigation
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
203 lines (186 loc) · 7.23 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
203 lines (186 loc) · 7.23 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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
packages:
- benchmark/react
- examples/*
- packages/background-only
- packages/genui
- packages/genui/*
- packages/i18n/*
- packages/lynx/*
- packages/repl
- packages/react
- packages/react-signals
- packages/react/refresh
- packages/react/runtime
- packages/react/testing-library
- packages/react/transform
- packages/react/transform/rspack-napi
- packages/react/transform/swc-plugin-reactlynx
- packages/react/transform/swc-plugin-reactlynx-compat
- packages/react-umd
- packages/rspeedy/*
- packages/tailwind-preset
- packages/testing-library/*
- packages/testing-library/examples/*
- packages/motion
- packages/tools/*
- packages/use-sync-external-store
- packages/web-platform/*
- packages/webpack/*
- website
- docs
# From `@pnpm/plugin-better-defaults`
enablePrePostScripts: false
engineStrict: true
hoistWorkspacePackages: true
optimisticRepeatInstall: true
publicHoistPattern: []
resolutionMode: "lowest-direct"
strictPeerDependencies: true
# Treat workspace topology and filter mistakes as hard errors.
disallowWorkspaceCycles: true
failIfNoMatch: true
# Match Renovate's npm minimum release age; pnpm also guards lockfile maintenance.
minimumReleaseAge: 4320
# First-party `@lynx-js/*` packages (e.g. the dated-snapshot `@lynx-js/internal-preact`
# and `@lynx-js/preact-devtools` builds) are trusted and publish fresh releases that
# would otherwise be blocked by `minimumReleaseAge`.
minimumReleaseAgeExclude:
- "@lynx-js/*"
# 4.13.1 carries the fix for the Windows page URLs we patched 4.12.0 for,
# published the day we take it: https://github.com/typedoc2md/typedoc-plugin-markdown/issues/903
- "typedoc-plugin-markdown"
# typia-rspack-plugin uses trusted publish + staged publish
- "typia-rspack-plugin"
# First-party Rstack toolchain — trusted, upgraded deliberately.
- "@rspack/*"
- "@rsbuild/*"
- "@rslib/*"
- "rsbuild-plugin-dts"
- "@rstest/*"
- "@rstackjs/create-toolkit"
# Rsdoctor rc.1 is upgraded deliberately as a coordinated release.
- "@rsdoctor/core"
- "@rsdoctor/client"
- "@rsdoctor/shared"
# Changesets v3 packages were released as one coordinated set.
- "@changesets/*"
minimumReleaseAgeExcludePrune: true
# Some registry metadata omits the `time` field. Skip only those packages;
# otherwise fail rather than falling back to a release younger than three days.
minimumReleaseAgeIgnoreMissingTime: true
minimumReleaseAgeStrict: true
peerDependencyRules:
allowedVersions:
# `vite-plugin-babel` only calls `loadOptions`, `loadPartialConfig` and
# `transformAsync`, which all still exist in Babel 8; its `^7.0.0` range
# predates the release. Verified by building and testing the one package
# that uses it, `testing-library/examples/react-compiler`.
"vite-plugin-babel>@babel/core": "^7.0.0 || ^8.0.0"
"@ai-sdk/provider-utils>zod": "^3.23.8 || ^4.0.0"
"@ai-sdk/ui-utils>zod": "^3.23.8 || ^4.0.0"
"@lynx-js/lynx-ui>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-button>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-checkbox>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-common>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-dialog>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-draggable>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-feed-list>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-form>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-input>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-lazy-component>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-list>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-overlay>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-popover>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-presence>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-radio-group>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-scroll-view>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-sheet>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-slider>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-sortable>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-swipe-action>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-swiper>@types/react": "^19.2.0"
"@lynx-js/lynx-ui-switch>@types/react": "^19.2.0"
"@standard-community/standard-json>quansync": "^0.2.10 || ^0.2.11"
"@types/react-dom>@types/react": "^18 || ^19.2.0"
"rsbuild-plugin-tailwindcss>tailwindcss": "^3 || ^4"
# Default catalogs
catalog:
"@microsoft/api-extractor": "7.59.4"
typescript: &typescript-version "6.0.3"
catalogs:
# Packages vendored from the Lynx toolchain.
lynxjs:
preact: "npm:@lynx-js/internal-preact@11.0.0-rc.1-20260903085447-f95471a"
"@lynx-js/preact-devtools": "5.0.1-20260827072047-5f77e12"
adb:
"@yume-chan/adb": ^2.6.4
"@yume-chan/adb-scrcpy": ^2.3.2
"@yume-chan/adb-server-node-tcp": ^2.5.2
"@yume-chan/async": ^4.1.3
"@yume-chan/fetch-scrcpy-server": ^1.0.0
"@yume-chan/scrcpy": ^2.3.0
"@yume-chan/scrcpy-decoder-webcodecs": ^2.5.3
"@yume-chan/stream-extra": ^2.6.1
"@yume-chan/struct": ^2.1.0
# Rsbuild monorepo packages
rsbuild:
"@rsbuild/core": "2.2.9"
# Rslib monorepo packages
rslib:
"@rslib/core": "1.0.2"
# Rspack monorepo packages
rspack:
"@rspack/cli": "2.2.7"
"@rspack/core": "2.2.7"
"@rspack/dev-server": "2.2.1"
"@rspack/test-tools": "2.2.7"
# Rstest monorepo packages
rstest:
"@rstest/adapter-rsbuild": "0.12.1"
"@rstest/adapter-rslib": "0.12.1"
"@rstest/coverage-istanbul": "0.12.1"
"@rstest/core": "0.12.1"
overrides:
# Published @lynx-js/lynx-ui-* (pulled in by packages/genui/a2ui) peer-depend on
# @lynx-js/react@^0.121.0 and would otherwise drag a published @lynx-js/react copy
# into the workspace alongside the workspace one. Two copies = two snapshotManager
# singletons, which breaks ReactLynx snapshot registration ("BackgroundSnapshot not
# found"). Force every @lynx-js/react to the single workspace copy.
"@lynx-js/react": "workspace:*"
# @rspress/plugin-typedoc pins 4.12.0, whose `excludeScopesInPaths` writes
# Windows path separators into page URLs. 4.13.1 fixes it, and the renderer
# has to be the copy the plugin loads.
# https://github.com/typedoc2md/typedoc-plugin-markdown/issues/903
"typedoc-plugin-markdown": "4.13.1"
"@rspack/core": "catalog:rspack"
packageExtensions:
# Typia's internal packages import TypeScript without declaring it. Keep
# their TypeFlags aligned with the TypeScript instance used by the transformer.
"@typia/core@*":
dependencies:
typescript: *typescript-version
"@typia/transform@*":
dependencies:
typescript: *typescript-version
"@rspack/test-tools@*":
dependencies:
wast-loader: ^1.14.1
patchedDependencies:
"@napi-rs/cli@2.18.4": "patches/@napi-rs__cli@2.18.4.patch"
"@rollup/plugin-typescript": "patches/@rollup__plugin-typescript.patch"
strictDepBuilds: true
allowBuilds:
"@biomejs/biome": false
# 0.2.11 added an installation-telemetry postinstall (random install id, salted
# project id, versions, OS/CI metadata). The package works without it.
"@openuidev/lang-core": false
"@parcel/watcher": false
"@swc/core": false
core-js: false
dprint: true
esbuild: true
sharp: true
# The published package already includes its generated JS implementation.
# Its postinstall only rebuilds that file when it is absent.
tos-crc64-js: false
unrs-resolver: false