Skip to content

GuPM 1.2.0

Latest
Compare
Choose a tag to compare
@azukaar azukaar released this 21 Jul 14:16
· 5 commits to master since this release
  • GuPM now have a fully function OS Provider mechanism
  • Allow you to use another provider as system-wide default (ex: brew on mac)
  • Switches provider auto when using os:// as a provider (customizable)
g i os://node # will fallback to the default provider for your OS
g i node # Will fallback to your default install provider (which is os:// on mac)
  • Switches folder when using OS in the repo name when using a GuPM repo
g i https://azukaar.github.io/GuPM-official/repo:OS/node # will replace OS by your OS
  • Smart git hooks allow you to execute hooks only on changed files
    "git": {
        "hooks": {
            "precommit": "g lint $StagedFiles(**/*.js)",
            "prepush": "g test $UnpushedFiles(**/*.js)"
        }
    },
  • Repo now supports sub-repo
g publish java
g i https://azukaar.github.io/GuPM-official/repo:java/jsonParser

g publish node
g i https://azukaar.github.io/GuPM-official/repo:node/jsonParser

g publish windows
g i https://azukaar.github.io/GuPM-official/repo:OS/jsonParser
  • Aliases (and hooks) now have parallel executions when supplying an array
        "aliases": {
            "start": [
                 "node index.js",
                 "g lint",
                 "g test",
            ]
        }