Repository navigation
[lexical-website] Documentation Update: correct five stale facts in the maintainers guide - #9226
Merged
Merged
Conversation
…he maintainers guide
## Description
Five statements in `maintainers-guide.md` no longer match the repo:
1. **`packages/lexical-test-utils` / `@lexical/test-utils` is listed as a
private workspace package.** The directory does not exist, and the string
appears nowhere else in the repo. The entry is removed.
2. **The `generate-node-json` output table lists four modules; the generator
emits eight**, and the `packages/lexical` row omits `ElementNode`.
3. **"Create a local `${npm_package_version}__release` branch"** — the script
creates `${CHANNEL}__release`. The version-named branch exists only as a
remote push target, and only when the channel is not `nightly`.
4. **`extract-codes` and `update-changelog` are listed as unconditional
postversion steps** (with the changelog qualified only as "if it's not a
prerelease"). Both run only when `CHANNEL === 'latest'`, so a `next` or
`nightly` bump skips them as well.
5. **"The top-level `package.json` uses pnpm workspaces to configure the
monorepo."** The root `package.json` has no `workspaces` field; pnpm reads
`pnpm-workspace.yaml`.
## Test plan
Documentation-only change (markdown is excluded from prettier via
`.prettierignore`), so the checks are against the repo and the release script.
### Before
```
$ grep -n "lexical-test-utils" packages/lexical-website/docs/maintainers-guide.md
27:* `packages/lexical-test-utils` - `@lexical/test-utils`, private React
$ ls -d packages/lexical-test-utils
ls: packages/lexical-test-utils: No such file or directory
$ grep -rn "@lexical/test-utils" packages/ scripts/ | grep -v lexical-website | wc -l
0
$ grep -c "GeneratedJSON.ts\`" packages/lexical-website/docs/maintainers-guide.md
4
$ grep -c "file: 'packages/" scripts/shared/generateNodeJSONManifest.mjs
8
$ grep -n "npm_package_version}__release\|extract-codes" packages/lexical-website/docs/maintainers-guide.md
386:- Create a local `${npm_package_version}__release` branch
390:- `pnpm run extract-codes` to extract the error codes
$ sed -n '39,52p' scripts/npm/postversion.mjs
const commands = [
// Create or force update the channel branch to build the docs site from
['git', 'checkout', '-B', `${CHANNEL}__release`],
...
// Extract error codes and update changelog, but only in production
...(CHANNEL === 'latest'
? [`pnpm run extract-codes`, `pnpm run update-changelog`]
: []),
$ python3 -c "import json;print('workspaces' in json.load(open('package.json')))"
False
```
### After
```
$ grep -c "lexical-test-utils" packages/lexical-website/docs/maintainers-guide.md
0
$ grep -c "GeneratedJSON.ts\`" packages/lexical-website/docs/maintainers-guide.md
8
$ grep -n "CHANNEL}__release" packages/lexical-website/docs/maintainers-guide.md
386:- Create a local `${CHANNEL}__release` branch (the version-named
$ sed -n '11,13p' packages/lexical-website/docs/maintainers-guide.md
The monorepo is configured with
[pnpm workspaces](https://pnpm.io/workspaces); the set of workspace
packages is declared in the top-level `pnpm-workspace.yaml`.
```
The eight module rows and their classes are taken from the `entries`/`file`
pairs in `scripts/shared/generateNodeJSONManifest.mjs:42-88`; the four
previously-undocumented outputs (`lexical-list`, `lexical-table`,
`lexical-code-core`, `lexical-react/src/shared`) all exist on disk. The
remote-branch behaviour is `scripts/npm/postversion.mjs:66-73`, and the
workspace list is `pnpm-workspace.yaml:1-5`.
potatowagon
requested review from
acywatson,
etrepum,
fantactuka,
ivailop7 and
zurfyx
as code owners
September 24, 2026 16:47
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
etrepum
approved these changes
Sep 24, 2026
Merged
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Five statements in
maintainers-guide.mdno longer match the repo:packages/lexical-test-utils/@lexical/test-utilsis listed as aprivate workspace package. The directory does not exist, and the string
appears nowhere else in the repo. The entry is removed.
generate-node-jsonoutput table lists four modules; the generatoremits eight, and the
packages/lexicalrow omitsElementNode.${npm_package_version}__releasebranch" — the scriptcreates
${CHANNEL}__release. The version-named branch exists only as aremote push target, and only when the channel is not
nightly.extract-codesandupdate-changelogare listed as unconditionalpostversion steps (with the changelog qualified only as "if it's not a
prerelease"). Both run only when
CHANNEL === 'latest', so anextornightlybump skips them as well.package.jsonuses pnpm workspaces to configure themonorepo." The root
package.jsonhas noworkspacesfield; pnpm readspnpm-workspace.yaml.Test plan
Documentation-only change (markdown is excluded from prettier via
.prettierignore), so the checks are against the repo and the release script.Before
After
The eight module rows and their classes are taken from the
entries/filepairs in
scripts/shared/generateNodeJSONManifest.mjs:42-88; the fourpreviously-undocumented outputs (
lexical-list,lexical-table,lexical-code-core,lexical-react/src/shared) all exist on disk. Theremote-branch behaviour is
scripts/npm/postversion.mjs:66-73, and theworkspace list is
pnpm-workspace.yaml:1-5.