Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[lexical-playground][lexical-devtools] Fix: Add missing explicit devDependencies for vite config #6291

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

etrepum
Copy link
Collaborator

@etrepum etrepum commented Jun 10, 2024

Description

A few modules used in the vite/wxt builds were missing as explicit devDependencies in lexical-playground and lexical-devtools. This adds them to package.json. There shouldn't be any observable difference in behavior, unless you are trying to extract these projects out of the monorepo or maybe trying to use more strict dependency management tool than npm.

Closes #6280

Test plan

Before

I don't think you could run into any problems with the status quo without doing something unsupported, e.g. #6280, because npm/node will happily just use whatever happens to be present in the workspace root's node_modules.

After

All known dependencies are in the respective package.json files. This probably means that these packages are a bit easier to extract (but there are other "unique" build dependencies like the shared package and invariant that would still make it a bit non-trivial)

Copy link

vercel bot commented Jun 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 11:16pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 10, 2024 11:16pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 10, 2024
Copy link

size-limit report 📦

Path Size
lexical - cjs 28.31 KB (0%)
lexical - esm 28.13 KB (0%)
@lexical/rich-text - cjs 36.77 KB (0%)
@lexical/rich-text - esm 28.09 KB (0%)
@lexical/plain-text - cjs 35.36 KB (0%)
@lexical/plain-text - esm 25.33 KB (0%)
@lexical/react - cjs 38.51 KB (0%)
@lexical/react - esm 29.14 KB (0%)

@StyleT StyleT added the extended-tests Run extended e2e tests on a PR label Jun 10, 2024
@etrepum etrepum marked this pull request as ready for review June 11, 2024 00:33
@StyleT StyleT added this pull request to the merge queue Jun 11, 2024
Merged via the queue into facebook:main with commit 66052cc Jun 11, 2024
42 of 44 checks passed
@vadimkantorov
Copy link

thank you for fixing this :) I'll try with the next release if we still need --force :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR
Projects
None yet
5 participants