LoginSignup
0
2

More than 5 years have passed since last update.

他人の Node module を修正して使う

Last updated at Posted at 2017-10-21

はじめに

本当は本体に取り込んでもらうべきだけれど,取りあえず修正して使いたい場合に
※ fuse-box を元に

手順

  • github 上で fork
  • fork したリポジトリを clone でダウンロード
git clone git@github.com:"User"/fuse-box.git
  • fork 元を upstream に設定
git remote add upstream https://github.com/fuse-box/fuse-box.git
git fetch upstream
  • ブランチを作る
git checkout -b foobar-dev
  • build and test
npm run-script test; npm run-script dist
  • npm link で global module にする
npm link
  • npm link でプロジェクトにインストール(プロジェクトのディレクトリで実行)
npm link fuse-box

開発,修正

git pull upstream
git push origin foobar-dev
0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2