forked from element-hq/element-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpnpm-workspace.yaml
More file actions
170 lines (160 loc) · 5.79 KB
/
Copy pathpnpm-workspace.yaml
File metadata and controls
170 lines (160 loc) · 5.79 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
linkWorkspacePackages: true
cleanupUnusedCatalogs: true
ignorePatchFailures: false
ignoreWorkspaceRootCheck: true
minimumReleaseAgeStrict: true
packages:
- "apps/*"
- "packages/*"
- "modules"
- "modules/*"
catalog:
# typescript
"typescript": 7.0.2
"@typescript/native": npm:typescript@7.0.2
"@types/node": ts7.0
# react
react: ^19.0.0
react-dom: ^19.0.0
"@types/react": ^19.2.10
"@types/react-dom": ^19.2.3
# playwright
"@playwright/test": 1.61.1
"playwright-core": 1.61.1
# Compound
"@vector-im/compound-design-tokens": 10.2.1
"@vector-im/compound-web": 9.9.0
# i18n
matrix-web-i18n: 3.6.0
# fonts
"@fontsource/inter": 5.3.0
# vite
vite: 8.1.5
vite-plugin-node-polyfills: 0.28.0
vite-plugin-svgr: 5.2.0
vitest: 4.1.10
"@vitest/spy": 4.1.10
"@vitest/coverage-v8": 4.1.10
"@vitest/browser-playwright": 4.1.10
"@vitejs/plugin-react": 6.0.3
unplugin-dts: 1.0.1
catalogs:
ts6:
typescript: npm:@typescript/typescript6@6.0.2
"@types/node": ts6.0
packageExtensions:
fdir:
dependencies:
# Fix missing type dependency
"@types/picomatch": 4.0.2
"@joshwooding/vite-plugin-react-docgen-typescript":
peerDependencies:
# Silence warning
vite: "^8.0.0"
allowBuilds:
# Needed to make the git dependency in layered.sh happy
matrix-js-sdk: true
# Installs the CLI, which we do not need
"@sentry/cli": false
# Installs nx cloud client, which we do not need
nx: false
# Runs `vp config` to set up git hooks, which we do not need
unrs-resolver: false
# Prints funding banner
core-js: false
# Builds native bindings, which we do not need
cpu-features: false
# Copies the 7z binaries which match our arch, though somehow works without it
electron-winstaller: false
# Installs esbuild binary, though somehow works without it
esbuild: false
# Performs additional version checks, which we do not need
protobufjs: false
# Builds optional crypto binding, which we do not need
ssh2: false
# The following are to make wrangler-action happy - https://github.com/cloudflare/wrangler-action/issues/436
sharp: true
workerd: true
patchedDependencies:
# Workaround for missing types export
"@vector-im/matrix-wysiwyg": patches/@vector-im__matrix-wysiwyg.patch
# Workaround for lack of React 19 support
react-blurhash: patches/react-blurhash.patch
# Workaround for https://github.com/nfrasser/linkifyjs/issues/429
linkify-html: patches/linkify-html.patch
# Workaround for typescript incompatibilities in an archived dependency - soon to be deleted
"@matrix-org/react-sdk-module-api": patches/@matrix-org__react-sdk-module-api.patch
# Workaround to access a private API
"@types/auto-launch": patches/@types__auto-launch.patch
# Workaround for jest still using commonjs and not being able to use the ESM version of await-lock
await-lock: patches/await-lock.patch
# Workaround for global type mismatches
jest-fixed-jsdom: patches/jest-fixed-jsdom.patch
# Workaround for jsdom being super opinionated and making it hard to tweak global properties
jsdom: patches/jsdom.patch
# Workaround for missing return types
postcss-mixins: patches/postcss-mixins.patch
# Workaround for some babel rules being false positively flagged
knip: patches/knip.patch
# Workaround for being stuck on an old version of plist due to electron-builder not supporting ESM yet
plist: patches/plist.patch
# Workaround for type fails
"@arcmantle/vite-plugin-import-css-sheet": patches/@arcmantle__vite-plugin-import-css-sheet.patch
peerDependencyRules:
allowedVersions:
react: "19"
react-dom: "19"
eslint: "8"
allowedDeprecatedVersions:
eslint: "8"
react-beautiful-dnd: "13"
overrides:
pretty-format@30>react-is: 19.2.7
"@types/react": "catalog:"
"@types/react-dom": "catalog:"
caniuse-lite: 1.0.30001803
matrix-widget-api: "^1.17.0"
"@types/node": 25.9.3
config-file-ts: 0.2.8-rc1
node-abi: 4.33.0
"@types/pg-pool": 2.0.7
# https://github.com/advisories/GHSA-6v5v-wf23-fmfq
markdown-it: ^14.3.0
axios@>1.0.0 <=1.16.1: ^1.16.1
# https://github.com/advisories/GHSA-g7r4-m6w7-qqqr
esbuild@<=0.27.4: 0.27.4
brace-expansion@>=5 <=5.0.5: ^5.0.6
ip-address@>=10 <10.1.1: ^10.1.1
yaml@>=2 <2.8.3: ^2.8.4
# https://github.com/advisories/GHSA-f38q-mgvj-vph7
protobufjs@7 <7.5.8: ^7.6.3
"@protobufjs/utf8@1 <1.1.1": ^1.1.1
# https://github.com/advisories/GHSA-vmh5-mc38-953g
# https://github.com/advisories/GHSA-vxpw-j846-p89q
# https://github.com/advisories/GHSA-hm92-r4w5-c3mj
# https://github.com/advisories/GHSA-p88m-4jfj-68fv
# https://github.com/advisories/GHSA-pr7r-676h-xcf6
# https://github.com/advisories/GHSA-35p6-xmwp-9g52
# https://github.com/advisories/GHSA-g8m3-5g58-fq7m
undici@7 <7.28.0: ^7.28.0
# https://github.com/advisories/GHSA-fx2h-pf6j-xcff
# https://github.com/advisories/GHSA-4w7w-66w2-5vf9
# https://github.com/advisories/GHSA-v6wh-96g9-6wx3
vite@5: ^6.4.3
vite@6 <6.4.3: ^6.4.3
# Workaround for https://github.com/electron/electron/issues/51619
yauzl: "^3.3.1"
# Convince api-extractor to use a newer Typescript version
"unplugin-dts>typescript": "catalog:ts6"
"@microsoft/api-extractor>typescript": "catalog:ts6"
# Hold some things back from ts7
"@arcmantle/vite-plugin-import-css-sheet>typescript": "catalog:ts6"
"react-docgen-typescript>typescript": "catalog:ts6"
minimumReleaseAgeExclude:
- "matrix-js-sdk"
- "@matrix-org/*"
- "@vector-im/*"
- "@element-hq/*"
# Temporary for testing purposes
- "@typescript/*"
- typescript@7.0.2