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

Do not ignore story.js in prepublish #973

Merged
merged 3 commits into from
Apr 29, 2017

Conversation

darekrossman
Copy link
Contributor

@darekrossman darekrossman commented Apr 28, 2017

This is causing an issue with addons-info as it ends up ignoring Story.js during compilation. Seems there are case-similar files in other addon packages called story.js that were supposed to be ignored from output... However, this seems like the quickest fix that doesn't really have an impact on other packages.

Issue:

What I did

Removed story.js from the ignored babel output

How to test

Run npm run prepublish from addons-info package. Story.js is not included in dist/ as expected.

This is causing an issue with addons-info as it ends up ignoring `Story.js` during compilation. Seems there are case-similar files in other addon packages called `story.js` that were supposed to be ignored from output... However, this seems like the quickest fix that doesn't really have an impact on other packages.
@codecov
Copy link

codecov bot commented Apr 28, 2017

Codecov Report

Merging #973 into master will decrease coverage by 0.21%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #973      +/-   ##
==========================================
- Coverage   26.93%   26.72%   -0.22%     
==========================================
  Files         192      192              
  Lines        4384     4427      +43     
  Branches      705      707       +2     
==========================================
+ Hits         1181     1183       +2     
- Misses       3203     3244      +41
Impacted Files Coverage Δ
packages/addon-knobs/src/components/WrapStory.js 14.08% <0%> (-14.49%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 621d155...dcfaa74. Read the comment docs.

@shilman
Copy link
Member

shilman commented Apr 29, 2017

@usulpro what do you think about merging PRs directly once you've tested and approved?

https://github.com/storybooks/storybook/blob/master/CONTRIBUTING.md#reviewing-prs

@usulpro usulpro self-assigned this Apr 29, 2017
@usulpro usulpro merged commit 62bf99a into storybookjs:master Apr 29, 2017
@usulpro
Copy link
Member

usulpro commented Apr 29, 2017

Thanks!

@shilman Yes, sure!

Copy link

nx-cloud bot commented Mar 7, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit dcfaa74. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target

Sent with 💌 from NxCloud.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Minor cleanup style change that won't show up in release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants