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

Add directory attribute to repositories in package.json files #5643

Merged
merged 1 commit into from
Feb 20, 2019
Merged

Add directory attribute to repositories in package.json files #5643

merged 1 commit into from
Feb 20, 2019

Conversation

greysteil
Copy link
Contributor

Issue: it's hard for automated tools (or humans) to find the relevant packages within a monorepo.

What I did

I worked with the npm team to add a standard for declaring the directory within a repository that a package lives in. The accepted RFC is here, and the new guidance was accepted into npm's docs here.

This PR adds the recommended directory attribute to the repository specification for each of storybook's packages. It will allow tools like Dependabot to show only the commits that are relevant to a particular packages when creating PRs.

How to test

Not required.

@greysteil
Copy link
Contributor Author

That's a lot of code owners! Sorry for all the notifications.

@Hypnosphi - as a user of Dependabot you're probably best placed to review this. Should be an uncontroversial one.

Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM!

@shilman shilman added the maintenance User-facing maintenance tasks label Feb 18, 2019
@codecov
Copy link

codecov bot commented Feb 20, 2019

Codecov Report

Merging #5643 into next will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             next    #5643   +/-   ##
=======================================
  Coverage   33.25%   33.25%           
=======================================
  Files         648      648           
  Lines        9325     9325           
  Branches     1349     1325   -24     
=======================================
  Hits         3101     3101           
  Misses       5609     5609           
  Partials      615      615

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 a6fcf41...70925b9. Read the comment docs.

@ndelangen ndelangen merged commit 51334eb into storybookjs:next Feb 20, 2019
@ndelangen
Copy link
Member

Thanks @greysteil !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants