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][Meta] Add dependencies needed to setup lexical-website in m… #6293

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

Sahejkm
Copy link
Contributor

@Sahejkm Sahejkm commented Jun 11, 2024

…eta intern static docs

WHAT

  • Add dependency "docusaurus-plugin-internaldocs-fb" needed to setup lexical-website in Meta Intern static docs
  • Add missing dependencies error on syncing the lexical-website package to Meta intern

WHY

  1. Add "docusaurus-plugin-internaldocs-fb" following other Meta docusaurus websites examples https://github.com/search?q=org%3Afacebook%20%22docusaurus-plugin-internaldocs-fb%22%20path%3A.json&type=code

  2. Fix issue
    warning "@docusaurus/core > react-dev-utils > fork-ts-checker-webpack-plugin@6.5.3" has unmet peer dependency "typescript@>= 2.7".
    warning " > @mdx-js/react@3.0.1" has unmet peer dependency "@types/react@>=16".
    [sahejk@55243.od /data/sandcastle/boxes/www/scripts/lexical/lexical-website (601d1abfb)]$ yarn start
    yarn run v1.18.0
    $ TYPEDOC_WATCH=true docusaurus start
    [INFO] Starting the development server...

[ERROR] Error: Docusaurus could not load module at path "/data/sandcastle/boxes/www/scripts/lexical/lexical-website/node_modules/docusaurus-plugin-typedoc/dist/index.js"
Cause: Cannot find module 'typedoc'
Require stack:

  • /data/sandcastle/boxes/www/scripts/lexical/lexical-website/node_modules/docusaurus-plugin-typedoc/dist/plugin.js
    at loadFreshModule (/data/sandcastle/boxes/www/scripts/lexical/lexical-website/node_modules/@docusaurus/utils/lib/moduleUtils.js:36:15)
    at normalizePluginConfig (/data/sandcastle/boxes/www/scripts/lexical/lexical-website/node_modules/@docusaurus/core/lib/server/plugins/configs.js:44:65)
    at /data/sandcastle/boxes/www/scripts/lexical/lexical-website/node_modules/@docusaurus/core/lib/server/plugins/configs.js:98:60
    at Array.map ()
    at loadPluginConfigs (/data/sandcastle/boxes/www/scripts/lexical/lexical-website/node_modules/@docusaurus/core/lib/server/plugins/configs.js:98:38)
    at async initPlugins (/data/sandcastle/boxes/www/scripts/lexical/lexical-website/node_modules/@docusaurus/core/lib/server/plugins/init.js:42:27)
    at async /data/sandcastle/boxes/www/scripts/lexical/lexical-website/node_modules/@docusaurus/core/lib/server/plugins/plugins.js:136:36
    at async loadSite (/data/sandcastle/boxes/www/scripts/lexical/lexical-website/node_modules/@docusaurus/core/lib/server/site.js:135:45)
    at async createReloadableSite (/data/sandcastle/boxes/www/scripts/lexical/lexical-website/node_modules/@docusaurus/core/lib/commands/start/utils.js:50:16)
    at async Command.start (/data/sandcastle/boxes/www/scripts/lexical/lexical-website/node_modules/@docusaurus/core/lib/commands/start/start.js:22:28) {
    [cause]: Error: Cannot find module 'typedoc'

…eta intern static docs
Copy link

vercel bot commented Jun 11, 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 11, 2024 5:07am
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 11, 2024 5:07am

@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 11, 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%)

@Sahejkm Sahejkm marked this pull request as ready for review June 11, 2024 05:09
@Sahejkm Sahejkm added this pull request to the merge queue Jun 11, 2024
Merged via the queue into main with commit 0de58bb Jun 11, 2024
37 of 39 checks passed
@zurfyx zurfyx deleted the meta_static_docs branch February 28, 2025 18:18
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants