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

Storybook: remove TypeScript watch from commands #582

Merged
merged 1 commit into from
Aug 14, 2023
Merged

Conversation

daneah
Copy link
Member

@daneah daneah commented Aug 12, 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?

I added this in #579 hoping it would automatically watch TypeScript files when running Storybook locally, but unfortunately this seems to interfere with certain things like the loading of icons.

How does this change work?

You can achieve this yourself by running e.g. yarn storybook:wc:dev and yarn watch:tsc in separate processes.

I added this hoping it would automatically watch TypeScript files when
running Storybook locally, but unfortunately this seems to interfere
with certain things like the loading of icons. You can achieve this
yourself by running e.g. `yarn storybook:wc:dev` and `yarn watch:tsc` in
separate processes.
@daneah daneah requested a review from a team as a code owner August 12, 2023 14:03
@daneah daneah requested review from SMQuazi, mtorres3 and satya-achanta-venkata and removed request for a team August 12, 2023 14:03
@changeset-bot
Copy link

changeset-bot bot commented Aug 12, 2023

⚠️ No Changeset found

Latest commit: 6fa7487

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(storybook): remove TypeScript watch from commands Storybook: remove TypeScript watch from commands Aug 12, 2023
@github-actions
Copy link
Contributor

size-limit report 📦

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

Copy link
Contributor

@SMQuazi SMQuazi left a comment

Choose a reason for hiding this comment

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

I haven't tried it it myself but would && work? or perhaps wait-on ?

@daneah
Copy link
Member Author

daneah commented Aug 13, 2023

@SMQuazi && doesn't work because the commands involved don't complete, and the reason concurrently doesn't work here is maybe not something I understand well but my sense is that it's an order-of-operations thing between yarn watch:tsc and yarn watch:styles. It's possible wait-on might do something useful, but because it's currently broken and requires just the two commands to achieve the desired effect I want to at least ship this and maybe we can open an issue to look at that!

@daneah daneah merged commit 10b7a79 into develop Aug 14, 2023
8 checks passed
@daneah daneah deleted the fix/storybook-dev branch August 14, 2023 13:00
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
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.

4 participants