A high quality open source repo exists on GitHub and NPM, with a wide user base.
I've forked the project and made a substantial extension. I think is ready to merge back. But (appropriately) its the project owner who gets to make that call not me. And it's now been several weeks without reply.
Several users have asked on the repo issue discussion that this be merged back, and more have contacted me directly to publish to NPM as a separate project.
Serious developers can get the new version via GitHub, but it has just the raw source, not the catenated/minified/tailored versions as the README says not to run make dist
until it's merged back and the version number incremented.
I think it should be as simple as creating a fork of this fork, and publishing that as a new NPM module. But GitHub doesn't allow me to do that ("You're already looking at this project")
Is there a way that I can publish this as a new NPM module, but still retain the options for
- my fork to submit a pull request to the original
- my fork to fetch upstream changes from the original
- my sub-fork to fetch upstream changes from my fork (and thus the original)
Do I create a new GitHub account under a new email address?
How to fork & patch npm modules
Open up your
package.json
file, and replace MODULE, USER, REPO, and SHA with the info from the GitHub repo.eg: to get a tarball link from this commit
Run
npm i
to install the module dependencies.Adapted from debuggable.com and cmwelsh.com.