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

Change ng stories dir #2672

Merged
merged 13 commits into from
Jan 11, 2018
Merged

Conversation

Quramy
Copy link
Contributor

@Quramy Quramy commented Jan 7, 2018

Issue:

See #2645

What I did

  • Change generated stories directory location.

How to test

Is this testable with jest or storyshots?

@igor-dv
Copy link
Member

igor-dv commented Jan 8, 2018

@Quramy, can you take a look why are the cli test failing ? Looks like something is misconfigured with tsconfig.

@Quramy
Copy link
Contributor Author

Quramy commented Jan 8, 2018

@igor-dv. As you said, this error is caused by src/tsconfig.json(I think src/tsconfig.json fails to configure typeRoots 🤔 ).

And the latest @angualr/cli generates not src/tsconfig.json but src/tsconfig.app.json, and using the latest generated tsconfig solves this error. So I'll update the fixture.

@codecov
Copy link

codecov bot commented Jan 8, 2018

Codecov Report

Merging #2672 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2672   +/-   ##
=======================================
  Coverage   34.35%   34.35%           
=======================================
  Files         390      390           
  Lines        8772     8772           
  Branches      907      908    +1     
=======================================
  Hits         3014     3014           
+ Misses       5166     5136   -30     
- Partials      592      622   +30
Impacted Files Coverage Δ
app/vue/src/server/utils.js 0% <0%> (-53.58%) ⬇️
...s/actions/src/lib/types/function/createFunction.js 53.33% <0%> (ø) ⬆️
addons/knobs/src/components/PropForm.js 9.3% <0%> (ø) ⬆️
.../ui/src/modules/ui/components/layout/dimensions.js 15.62% <0%> (ø) ⬆️
addons/knobs/src/components/types/Array.js 34.14% <0%> (ø) ⬆️
addons/knobs/src/react/WrapStory.js 49.42% <0%> (ø) ⬆️
app/react/src/demo/Welcome.js 64.7% <0%> (ø) ⬆️
app/react-native/src/bin/storybook-start.js 0% <0%> (ø) ⬆️
addons/a11y/src/components/Report/index.js 0% <0%> (ø) ⬆️
addons/a11y/src/components/Tabs.js 0% <0%> (ø) ⬆️
... and 61 more

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 dc8b989...a5e0307. Read the comment docs.

Copy link
Member

@igor-dv igor-dv left a comment

Choose a reason for hiding this comment

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

LGTM.
@Hypnosphi any insights?

@Hypnosphi
Copy link
Member

Hypnosphi commented Jan 8, 2018

So I'll update the fixture.

Does it mean that this change will break people's apps that were initially bootstrapped with previous versions of @angular/cli?

@Quramy
Copy link
Contributor Author

Quramy commented Jan 8, 2018

@Hypnosphi

Does it mean that this change will break people's apps that were initially bootstrapped with previous versions of @angular/cli?

The @angular/cli change related it is angular/angular-cli#4924, and this PR merged on Feb 23, 2017 and is before @angular/cli v1.0.0. So I think we don't have to worry. How about it ?

@igor-dv
Copy link
Member

igor-dv commented Jan 8, 2018

So is it good to go?

@alterx
Copy link
Member

alterx commented Jan 10, 2018

I think we're good to go if the change was made pre v1 and we support v1+

Have we tested this?

cc @igor-dv @Quramy

@Hypnosphi Hypnosphi changed the base branch from master to dependencies.io-update-build-164.0.0 January 11, 2018 12:59
@Hypnosphi Hypnosphi changed the base branch from dependencies.io-update-build-164.0.0 to master January 11, 2018 13:00
@Hypnosphi
Copy link
Member

I'll change the base branch for a moment, just to check if it fixes issues with #2712

@Hypnosphi Hypnosphi changed the base branch from master to dependencies.io-update-build-164.0.0 January 11, 2018 13:02
@Hypnosphi Hypnosphi changed the base branch from dependencies.io-update-build-164.0.0 to master January 11, 2018 13:04
@Hypnosphi Hypnosphi changed the base branch from master to dependencies.io-update-build-164.0.0 January 11, 2018 13:05
@Hypnosphi Hypnosphi changed the base branch from dependencies.io-update-build-164.0.0 to master January 11, 2018 13:48
@Hypnosphi Hypnosphi merged commit 65a121f into storybookjs:master Jan 11, 2018
Hypnosphi added a commit that referenced this pull request Feb 12, 2018
Hypnosphi added a commit that referenced this pull request Feb 12, 2018
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