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

Document link: dependency type (#793) #969

Merged
merged 1 commit into from
Nov 15, 2019

Conversation

p12tic
Copy link
Contributor

@p12tic p12tic commented Jun 18, 2019

This PR adds minimal documentation of the link: dependency type. The corresponding RFC is 0000-link-dependency-type which has been merged in this PR: yarnpkg/rfcs#34. The original implementation has been merged to yarn two years ago: yarnpkg/yarn#3359.

The comment by @Haroenv on #793 suggested to put the documentation to https://github.com/yarnpkg/website/blob/master/lang/en/docs/package-json.md, but since there's no existing documentation of other dependency types like file: on that page, I decided to go the minimal route and just update the documentation of yarn add which already has several examples. I can update package-json docs in this or followup PR if we'd like to have this information in that page too.

@DanBuild
Copy link
Contributor

Deploy preview for yarnpkg ready!

Built with commit 8c967b5

https://deploy-preview-969--yarnpkg.netlify.com

@alxtz
Copy link

alxtz commented Nov 15, 2019

This is nice! I've been trying to fix yarnpkg/yarn#2165 and found this is actually the best fix. Documenting this is very helpful
https://deploy-preview-969--yarnpkg.netlify.com/en/docs/cli/add#toc-adding-dependencies

@Haroenv Haroenv merged commit 3fb43f8 into yarnpkg:master Nov 15, 2019
@p12tic p12tic deleted the docs-cli-yarn-add-link branch November 17, 2019 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants