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

chore: storybook clean up #116

Merged
merged 4 commits into from
Nov 15, 2024
Merged

chore: storybook clean up #116

merged 4 commits into from
Nov 15, 2024

Conversation

georgewrmarshall
Copy link
Contributor

Description

Storybook clean up removing some configuration that is no longer needed

Related issues

Fixes: N/A

Manual testing steps

  1. Pull this branch
  2. Run yarn storybook
  3. Check storybook runs as expected

Screenshots/Recordings

After

after720.mov

Pre-merge author checklist

  • I've followed MetaMask Contributor Docs
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@georgewrmarshall georgewrmarshall self-assigned this Nov 15, 2024
@georgewrmarshall georgewrmarshall marked this pull request as ready for review November 15, 2024 01:04
@georgewrmarshall georgewrmarshall requested a review from a team as a code owner November 15, 2024 01:04
Comment on lines -41 to -44
'@components': path.resolve(
__dirname,
'../packages/react-components/src',
),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Storybook seems to be working without this and it was before we agreed on the names of the packages so it's a little out of date

@@ -1,14 +1,6 @@
// import path from 'path';
import react from '@vitejs/plugin-react';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines -6 to -12
// TO DO: Update when react component package is created
// alias: {
// '@components': path.resolve(
// __dirname,
// '../packages/react-components/src',
// ),
// },
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed and out dated

@@ -24,6 +24,7 @@
"@types/prop-types": "^15",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"@vitejs/plugin-react": "^4.3.3",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding react plugin that is used in vite config

Copy link

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@vitejs/[email protected] Transitive: environment +1 96.7 kB vitebot

View full report↗︎

@georgewrmarshall georgewrmarshall merged commit 6d50371 into main Nov 15, 2024
26 checks passed
@georgewrmarshall georgewrmarshall deleted the fix/storybook-cleanup branch November 15, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants