stealify / git-subrepo

MIT License
0 stars 0 forks source link

Find a better way to package this up #2

Open frank-dspeed opened 2 years ago

frank-dspeed commented 2 years ago

this is a so called git module that means it depends on the fact that it self contains its own .git worktree

i need to invest into a better install method

{
  "name": "git-subrepo",
  "version": "0.0.0-pre.0",
  "bin": { "git-subrepo": "git-subrepo-cli.js" },
  "files": ["*.js"],
  "scripts": { "preinstall": "git init && git remote add origin https://github.com/stealify/git-subrepo.git && git pull origin master" }
}

will now go for init && add , && commit -m "npm"

frank-dspeed commented 2 years ago

git reset --hard origin/master