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

Infra: update Yarn scripts #579

Merged
merged 7 commits into from
Aug 7, 2023
Merged

Infra: update Yarn scripts #579

merged 7 commits into from
Aug 7, 2023

Conversation

daneah
Copy link
Member

@daneah daneah commented Aug 6, 2023

This change: (check at least one)

  • Adds a new feature
  • Fixes a bug
  • Improves maintainability
  • Improves documentation
  • Is a release activity

Is this a breaking change? (check one)

  • Yes
  • No

Is the: (complete all)

  • Title of this pull request clear, concise, and indicative of the issue number it addresses, if any?
  • Test suite(s) passing?
  • Code coverage maximal?
  • Changeset added?
  • Component status page up to date?

What does this change address?

The Netlify build for the deployed Storybooks is currently failing.
@jialin-he also recently noted that changing component files locally was a chore because Storybook wasn't automatically reflecting those changes and required restarting it each time.

How does this change work?

  • Remove unnecessary extract-storybook scripts; they are deprecated and breaking the deployed builds. Adding the storyStoreV7 feature back into the config accomplishes the same goal, which is to end up with a stories.json file that can be used in the composed Storybook
  • Visually separate groups of scripts for easier locating
  • Group the WC and React scripts respectively
  • Rename the scripts to more consistent names; take note of these
  • Add watch:tsc to the dev scripts so that component file changes reflect immediately in Storybook while developing

Additional context

Also bumped Storybook dependencies

- Remove unnecessary extract-storybook scripts; they are deprecated and
  breaking the deployed builds. Adding the `storyStoreV7` feature back
  into the config accomplishes the same task
- Visually separate groups of scripts for easier locating
- Group the WC and React scripts together
- Rename the scripts to more consistent names; **take note of these**
- Add `watch:tsc` to the dev scripts so that component file changes
  reflect immediately in Storybook while developing

Also bumped dependencies
@daneah daneah requested a review from a team as a code owner August 6, 2023 02:24
@daneah daneah requested review from brentswisher, SMQuazi and mtorres3 and removed request for a team August 6, 2023 02:24
@changeset-bot
Copy link

changeset-bot bot commented Aug 6, 2023

⚠️ No Changeset found

Latest commit: 84c6611

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@daneah daneah changed the title fix(infra): update Yarn scripts Infra: update Yarn scripts Aug 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 6, 2023

size-limit report 📦

Path Size
packages/pharos/lib/index.js 47.06 KB (0%)

@daneah daneah merged commit ac4af52 into develop Aug 7, 2023
8 checks passed
@daneah daneah deleted the fix/update-scripts branch August 7, 2023 14:08
daneah added a commit that referenced this pull request Aug 20, 2023
* develop:
  fix(storybook): remove TypeScript watch from commands (#582)
  chore: version packages (#581)
  Menu: add onBackground variant (#576)
  Infra: update Yarn scripts (#579)
  Icon: Update stories to correctly pass description to components (#577)
daneah added a commit that referenced this pull request Aug 20, 2023
* release/13.0.0:
  fix: update incorrect imports
  fix(storybook): remove TypeScript watch from commands (#582)
  chore: version packages (#581)
  Menu: add onBackground variant (#576)
  Infra: update Yarn scripts (#579)
  Icon: Update stories to correctly pass description to components (#577)
daneah added a commit that referenced this pull request Aug 20, 2023
* release/13.0.0:
  fix: update incorrect imports
  fix(storybook): remove TypeScript watch from commands (#582)
  chore: version packages (#581)
  Menu: add onBackground variant (#576)
  Infra: update Yarn scripts (#579)
  Icon: Update stories to correctly pass description to components (#577)
sirrah-tam pushed a commit to sirrah-tam/pharos that referenced this pull request Dec 1, 2023
* fix(infra): update Yarn scripts

- Remove unnecessary extract-storybook scripts; they are deprecated and
  breaking the deployed builds. Adding the `storyStoreV7` feature back
  into the config accomplishes the same task
- Visually separate groups of scripts for easier locating
- Group the WC and React scripts together
- Rename the scripts to more consistent names; **take note of these**
- Add `watch:tsc` to the dev scripts so that component file changes
  reflect immediately in Storybook while developing

Also bumped dependencies

* chore(infra): refresh yarn.lock

* fix(infra): update Chromatic workflow command

* fix(infra): update babel plugin name

* fix(lint): update TS syntax

* Revert "chore(infra): refresh yarn.lock"

This reverts commit 4bd67ec.

* fix(infra): revert and fix deps and config
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