MetaMask / metamask-design-system

0 stars 0 forks source link

Testing updates to yarn config constrants (WIP need to remove storybook install it was just a test) #29

Closed georgewrmarshall closed 3 hours ago

georgewrmarshall commented 4 hours ago

Description

This pull request modifies the monorepo configuration to exclude the docs workspace from monorepo-wide constraints and linting checks, such as those applied to package names. The docs workspace, which contains our Storybook for React and React Native components, does not require these checks. The goal is to streamline the configuration and avoid applying unnecessary constraints to this workspace.

The solution involves updating the relevant configuration files to ensure that the docs workspace is ignored, while other workspaces remain unaffected by this change.

Related issues

Fixes: https://github.com/MetaMask/metamask-design-system/issues/28

Manual testing steps

  1. Run the linting process across the monorepo.
  2. Verify that the docs workspace is excluded from linting checks.
  3. Confirm that all other workspaces continue to be subject to the current linting rules and constraints.
  4. Check that the Storybook for React and React Native still works as expected in the docs workspace.

Screenshots/Recordings

N/A

Before

Linting checks and package constraints applied to all workspaces, including docs.

After

docs workspace is excluded from linting and package constraints.

Pre-merge author checklist

Pre-merge reviewer checklist