ds300 / ds300/patch-package

Support for GitHub repositories without a package.json

Open
#163 5 comments 2 reactions 0 assignees View on GitHub
feature request help wanted
Dominant language
TypeScript
Stars
11.2k
Forks
325
PR merge metrics
No merged PRs in 30d

Description

I'm using yarn to manage some native iOS dependencies by simply adding them:
```sh
yarn add https://github.com/SnapKit/SnapKit#4.2.0
```

But when I try to patch the package:
![image](https://user-images.githubusercontent.com/8790386/62829881-5ac4ff00-bc0c-11e9-8ab6-f1e64cd0adfd.png)

It would be awesome if the tool could check if a package was downloaded from GitHub. Here's how it looks in `package.json`:
![image](https://user-images.githubusercontent.com/8790386/62829899-aecfe380-bc0c-11e9-9cbc-0953e005b363.png)

Note: A tag/commit/branch is not required to be specified inside the `package.json` in which case patch-package wouldn't be able to show the patch warning when packages get updated without tapping into the lockfile.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.