1.0.4 • Published 10 months ago

github-to-bitbucket-backup-repo-updater v1.0.4

Weekly downloads
-
License
BSD-3
Repository
github
Last release
10 months ago

github-to-bitbucket-backup-repo-updater

:computer: Compatible with Windows, MacOS & Linux.

Quickstart

# Set a config.json in your current working directory at your terminal.
npm i github-to-bitbucket-backup-repo-updater
ghbbupdater --help
ghbbupdater

Requirements

Installation

Update config.json with your github and bitbucket remote urls for your repos.

{
  "repos": {
    "kelvinkamara.com": {
      "github": {
        "origin": "https://github.com/kkamara/kelvinkamara.com",
        "branch": "develop"
      },
      "bitbucket": {
        "origin": "git@bitbucket.org:kkamara2/kelvinkamara.com",
        "branch": "develop"
      }
    }
  }
}
  npm install
  chmod +x app.js
  npm cache config set prefix /usr/local # Ignore for Node.js 14.
  npm run build # execute ghbbupdater command in path
  # sudo npm run build for Node.js 14.

Usage

  npm run start
  npm run start -- --help
  ghbbupdater --help
  ghbbupdater --version
  ghbbupdater

Tests

  npm run test

Misc

See react boilerplate.

See php scraper.

See node react boilerplate.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

BSD

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago