This package has been deprecated

Author message:

Don't use this

dc-bump
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

docker-compose bump

Get or bump the version of a service in a docker-compose file. It also edits your docker-compose.yml inline to preserve comments & spacing.

Usage

command

npx dc-bump tinypoll 0.2.1

changes:

services:
  tinypoll:
    image: robbj/tinypoll:0.1.0 # before
    image: robbj/tinypoll:0.2.1 # after
    environment:
      SITE_NAME: Tadpoll

It'll commit the change with the message

☁️ Upgraded tinypoll to 0.2.1

More commands

# Get the version of a service
npx dc-bump tinypoll

# Output full usage
npx dc-bump --help

Development

This project is written in Typescript and uses Prettier to format code on git stage.

# Compile typescript to dist/
npm run build

# Run prettier
npm run prettier

# Run unit tests
npm run test

# Run test coverage
npm run coverage

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i dc-bump

Weekly Downloads

2

Version

0.2.0

License

ISC

Unpacked Size

8.03 kB

Total Files

8

Last publish

Collaborators

  • robb_j