[code-infra] Setup workflow to publish internal packages by brijeshb42 · Pull Request #47952 · mui/material-ui (original) (raw)
requested a review from a team
brijeshb42 added the scope: code-infra
Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).
label
whenever a new commit lands in master.
…ackages-internal/`
- Rename package:
@mui/docs→@mui/internal-core-docs - Move directory:
packages/mui-docs/→packages-internal/mui-internal-core-docs/ - Update all import references across docs/, packages/, and config files
- Update tsconfig.json, babel.config.mjs, eslint.config.mjs path aliases
- Update .github/workflows/publish.yml filter flags
- Update tsconfig.build.json references to use correct relative paths from new location
- Run pnpm install to register new workspace package location
The wildcard "./*" only resolves to index.ts files, so the non-index
src/ApiPage/private.ts entry-point was missing from the generated
build/package.json, causing the docs production build to fail.
…kages-internal/markdown`
…ackages-internal/waterfall`
…packages-internal/
- Add
@mui-internal/api-docs-builderand@mui-internal/api-docs-builder-corepath aliases to root tsconfig.json (used by docs and other consumers) - Add explicit
@mui/internal-markdown/prismalias pointing to prism.d.mts (not found via wildcard due to .mts extension) - Add self-referencing path aliases in api-docs-builder's own tsconfig.json
to resolve
@mui-internal/api-docs-builderinternally under nodenext resolution
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
[ Show hidden characters]({{ revealButtonHref }})