Use consistent and meaningful naming patterns for packages based on their purpose, visibility, and scope. This improves clarity in build scripts, dependencies, and during development.
For regular packages:
@app/pigment-css-next-app instead of @app/next-appFor special-purpose packages:
@mui/internal-* for internal packages used across the codebase@mui/private-* for packages not intended for external consumption@mui/test-* for testing utilitiesIn package.json:
{
"name": "@mui/internal-bundle-size",
// or
"name": "@app/pigment-css-next-app"
}
This naming consistency makes it easier to understand package purposes when referenced in scripts (e.g., --ignore @app/pigment-css-next-app) and helps developers immediately recognize the intended usage scope of each package.
Enter the URL of a public GitHub repository