-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
208 lines (198 loc) · 5.87 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
208 lines (198 loc) · 5.87 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
204
205
206
207
208
packages:
- dev/*
- e2e
- packages/*
- packages/@sanity/*
- plugins/*
- plugins/@sanity/*
- scripts/*
- turbo/generators
# Gated off because AILF runs remote (--remote); flip a value to true if you need one at build time locally.
allowBuilds:
'@playwright/browser-chromium': false
'@swc/core': false
better-sqlite3: false
esbuild: false
onnxruntime-node: false
protobufjs: false
sharp: false
catalog:
'@date-fns/tz': ^1.5.0
'@hello-pangea/dnd': ^18.0.1
'@hookform/resolvers': ^4.1.3
'@portabletext/block-tools': ^5.2.0
'@portabletext/to-html': ^5.0.3
'@portabletext/types': ^4.0.2
'@sanity/asset-utils': ^2.3.0
'@sanity/client': ^8.6.1
'@sanity/color': ^3.0.8
'@sanity/icons': ^5.2.1
'@sanity/image-url': ^2.1.1
'@sanity/mutator': ^6.11.0
'@sanity/pkg-utils': ^12.3.4
'@sanity/preview-url-secret': ^4.1.5
'@sanity/schema': ^6.11.0
'@sanity/telemetry': '^1.1.0'
'@sanity/tsconfig': ^2.2.1
'@sanity/tsdown-config': ^0.27.1
'@sanity/types': ^6.11.0
'@sanity/ui': ^4.0.7
'@sanity/util': ^6.11.0
'@sanity/uuid': ^3.0.3
'@sanity/vanilla-extract-vite-plugin': ^0.2.17
'@sanity/vision': ^6.11.0
'@testing-library/jest-dom': ^7.0.1
'@testing-library/react': ^16.3.3
'@types/lodash-es': ^4.17.12
'@types/node': ^24.13.3
'@types/react': ^19.2.18
'@types/react-dom': ^19.2.4
'@types/react-is': ^19.2.0
'@types/video.js': ^7.3.58
'@vanilla-extract/css': ^1.21.2
'@vanilla-extract/dynamic': ^2.1.5
'@vis.gl/react-google-maps': ^1.9.0
'@vitest/coverage-v8': ^4.1.11
date-fns: ^4.4.0
dequal: ^2.0.3
groq: ^6.11.0
jsdom: ^29.1.1
lexorank: ^1.0.5
lodash-es: ^4.18.1
motion: ^13.1.0
nanoid: ^6.0.1
oxc-transform-react: ^0.147.0
oxfmt: ^0.63.0
oxlint: ^1.83.0
oxlint-tsgolint: ^7.0.2001
react: ^19.2.8
react-dom: ^19.2.8
react-hook-form: ^7.85.0
react-icons: ^5.7.0
react-is: ^19.2.8
react-photo-album: ^3.6.0
react-rx: ^4.2.5
rxjs: ^7.8.2
sanity: ^6.11.0
styled-components: ^6.5.3
suspend-react: ^0.1.3
tsdown: ^0.22.14
tsx: ^4.23.12
typescript: 7.0.2
validate-npm-package-name: ^8.0.0
video.js: ^7.21.7
vitest: ^4.1.11
catalogs:
# Ranges used in `peerDependencies` (referenced as `catalog:peer`).
# Only the shared studio peers live here; niche one-off peers (e.g. `easymde`)
# keep explicit ranges, and peers on other workspace packages keep `workspace:^`
# (or an explicit range) so changesets can track dependents.
peer:
react: ^19.2
react-dom: ^19.2
sanity: ^5 || ^6.0.0-0
styled-components: ^6.1
# When running `pnpm add`, reuse a dependency's catalog version automatically if
# it already exists in a catalog, so shared deps stay aligned on a single version.
catalogMode: prefer
dedupeDirectDeps: true
dedupePeers: true
linkWorkspacePackages: deep
# minimumReleaseAge defaults to 1440 (1 day) in pnpm v11 — do not set it
# explicitly unless overriding the default.
#
# Keep this list to first-party packages and closely tracked tooling that may
# need immediate installs. For one-off upgrades still inside the maturity
# window, add exact `name@version` entries (do not bypass with
# `--config.minimumReleaseAge=0` — that is not allowed). Avoid permanent
# third-party package-name excludes solely to land a fresh release.
minimumReleaseAgeExclude:
- '@changesets/cli'
- '@devframes/*'
- '@oxfmt/*'
- '@oxlint/*'
- '@oxlint-tsgolint/*'
- '@portabletext/*'
- '@publint/*'
- '@rollup/*'
- '@sanity/*'
- '@types/*'
- '@typescript/*'
- '@vite/*'
- '@vitejs/devtools'
- '@vitejs/devtools-kit'
- '@vitejs/devtools-oxc'
- '@vitejs/devtools-rolldown'
- '@vitejs/devtools-vite'
- '@vitejs/plugin-react'
- '@vitest/*'
- '@yuku-codegen/*'
- '@yuku-parser/*'
- '@yuku-toolchain/*'
- devframe
- get-it
- groq
- groq-js
- oxfmt
- oxlint
- oxlint-tsgolint
- publint
- react
- react-dom
- react-is
- react-rx@4.2.5
- react-rx@5.1.1
- react-rx@6.0.0
- rolldown-plugin-dts
- rollup
- sanity
- tsdown
- verkit
- vite
- vitest
- yuku-ast
- yuku-codegen
- yuku-parser
overrides:
'@types/node': 'catalog:'
# Type errors happen if there are duplicates of `@sanity/client` in node_modules
'@sanity/client@8': 'catalog:'
# Pin the Sanity Studio monorepo to the `next` dist-tag for compatibility testing.
# Keep mutator/schema/types/util/groq in lockstep with sanity so dts emit and
# transitive deps (cli/migrate/portabletext) cannot leave a second major.minor
# of those packages in the lockfile.
'@sanity/mutator': next
'@sanity/schema': next
'@sanity/types': next
'@sanity/util': next
'@sanity/vision': next
groq: next
sanity: next
# Keep a single tsx (and thus a single vite types instance) so sanity.cli vite
# config callbacks type-check cleanly after the catalog tsx bump.
tsx: 'catalog:'
publicHoistPattern:
# Allows setting vite/client in dev/test-studio/tsconfig.json without installing vite
- 'vite'
# `@sanity/vanilla-extract-vite-plugin` matches every `*.css.{js,ts,…}` module, including ones
# inside node_modules, and compiles them in a vanilla-extract runtime context. `@bynder/compact-view`
# ships a plain `Styles.css.js` (a CSS string it injects into a shadow root, not a vanilla-extract
# module) and declares no dependencies, so the compile only resolves `@vanilla-extract/css/adapter`
# when pnpm happens to hoist it into the hidden `.pnpm/node_modules` directory. Public-hoisting makes
# that resolution deterministic instead of relying on the implicit hoist layout.
- '@vanilla-extract/css'
trustPolicy: no-downgrade
trustPolicyExclude:
- '@octokit/endpoint@9.0.6'
- '@octokit/plugin-paginate-rest@9.2.2'
- '@sanity/import@7.0.1'
- '@sanity/sdk@2.1.2 || 3.0.0-rc.1'
- chokidar@4.0.3
- groq@3.88.1-typegen-experimental.0
- react-redux@8.1.3 || 9.2.0
- reselect@5.1.1
- rxjs@7.8.2
- semver@5.7.2 || 6.3.1
- ts-api-utils@2.3.0
- undici@5.29.0
- vite@6.4.1