2.1.2 • Published 5 years ago

@yolkai/rush-auto-update v2.1.2

Weekly downloads
26
License
-
Repository
github
Last release
5 years ago

rush-auto-update

A tool to automatically update Rush's lockfile, compatible with Renovate.

oclif Version Downloads/week

Overview

rush-auto-update provides two commands: update and upload. update updates Rush's lockfile using rush update, and stages the new lockfile with Git. upload commits and pushes the updated lockfile.

When correctly configured with a CI service, rush-auto-update enables your Renovate branches to automatically update with the correct lockfile, similar to greenkeeper-lockfile.

Limitations

rush-auto-update is currently compatible only with Renovate and CircleCI.

Setup

  1. Create a GitHub access token with push access to your repository and make it available to your CI's environment as GH_TOKEN.
  2. Configure your CI to run npx @yolkai/rush-auto-update update right before it executes your tests and npx @yolkai/rush-auto-update upload right after it executed your tests.

Usage

$ npm install -g @yolkai/rush-auto-update
$ rush-auto-update COMMAND
running command...
$ rush-auto-update (-v|--version|version)
@yolkai/rush-auto-update/0.0.1-9 darwin-x64 node-v10.13.0
$ rush-auto-update --help [COMMAND]
USAGE
  $ rush-auto-update COMMAND
...

Commands

rush-auto-update help [COMMAND]

display help for rush-auto-update

USAGE
  $ rush-auto-update help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

rush-auto-update update

update Rush's lockfile

USAGE
  $ rush-auto-update update

See code: src/commands/update.ts

rush-auto-update upload

commit and push the updated lockfile

USAGE
  $ rush-auto-update upload

See code: src/commands/upload.ts

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.1-11

5 years ago

0.0.1-10

5 years ago

0.0.1-9

5 years ago

0.0.1-8

5 years ago

0.0.1-7

5 years ago

0.0.1-6

5 years ago

0.0.1-5

5 years ago

0.0.1-4

5 years ago

0.0.1-3

5 years ago

0.0.1-2

5 years ago

0.0.1-1

5 years ago

0.0.1-0

5 years ago