Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .pnpmrc

This file was deleted.

27 changes: 3 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"version": "0.46.0",
"license": "MIT",
"private": true,
"packageManager": "pnpm@10.34.1",
"packageManager": "pnpm@11.10.0",
"workspaces": [
"packages/*",
"dev-examples/*"
],
"engines": {
"node": ">=20.19.0",
"pnpm": ">=9.0.0"
"pnpm": ">=11.0.0"
},
"engineStrict": true,
"scripts": {
Expand Down Expand Up @@ -210,26 +210,5 @@
"Firefox >= 115",
"Safari >= 15",
"Edge >= 86"
],
"pnpm": {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This refactoring also needs to happen for the examples in order for the integration tests to pass

"peerDependencyRules": {
"allowedVersions": {
"eslint": "10"
}
},
"overrides": {
"react": "19.2.5",
"react-dom": "19.2.5",
"@types/node": "25.9.1",
"postcss": "8.5.15",
"prettier": "3.8.1",
"yaml@^1": "^1.10.3",
"uuid": ">=14.0.0",
"webpack-dev-server": ">=5.2.4",
"onnxruntime-node": "link:./stubs/empty",
"sharp": "link:./stubs/empty",
"yjs": "$yjs",
"tmp": ">=0.2.6"
}
}
]
}
2 changes: 1 addition & 1 deletion packages/lexical-website/docs/maintainers-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ Re-run it whenever a new public package is added.
#### Prerequisites

- Node.js — whatever the repo's root `package.json#engines.node` says (currently `>=20.19.0`). Running with Node 24+ is recommended because that's what CI uses for publishes.
- pnpm — pinned by `package.json#packageManager` (currently `pnpm@10.34.1`). Activate with [corepack](https://nodejs.org/api/corepack.html) or install directly.
- pnpm — pinned by `package.json#packageManager` (currently `pnpm@11.10.0`). Activate with [corepack](https://nodejs.org/api/corepack.html) or install directly.
- npm CLI — **`npm ≥ 11.10`** (`npm i -g npm@latest`). The `npm trust` subcommand was added in npm 11; older versions will fail the preflight check.
- An authenticated npm session (`npm login --registry https://registry.npmjs.org`) on a publisher account that has **account-level 2FA enabled** and write access to every `@lexical/*` package.

Expand Down
33 changes: 33 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,36 @@ minimumReleaseAge: 10080
minimumReleaseAgeExclude:
- '@lexical/*'
- 'lexical'

catalog:
yjs: '^13.6.31'

overrides:
react: '19.2.5'
react-dom: '19.2.5'
'@types/node': '25.9.1'
postcss: '8.5.15'
prettier: '3.8.1'
'yaml@^1': '^1.10.3'
uuid: '>=14.0.0'
webpack-dev-server: '>=5.2.4'
onnxruntime-node: 'link:./stubs/empty'
sharp: 'link:./stubs/empty'
yjs: 'catalog:'
tmp: '>=0.2.6'

peerDependencyRules:
allowedVersions:
eslint: '10'

# Build scripts stay disabled — matches pre-migration (pnpm 10) behavior where
# no dependency build scripts were approved and CI passed on prebuilt binaries.
allowBuilds:
'@parcel/watcher': false
'@swc/core': false
core-js: false
esbuild: false
leveldown: false
protobufjs: false
spawn-sync: false
unrs-resolver: false
Loading