Skip to content

Commit

Permalink
Merge pull request #264 from angcl/add-alias-down-for-downall
Browse files Browse the repository at this point in the history
add method alias down for downAll
  • Loading branch information
AlexZeitler authored Feb 20, 2024
2 parents 01aeacf + ecdc012 commit e1e4a01
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### Bug Fixes

* Adds `down()` as alias for `downAll()` to support compatbility with existing packages which use this project

### [0.24.5](https://github.com/PDMLab/docker-compose/compare/v0.24.4...v0.24.5) (2024-02-19)

### [0.24.4](https://github.com/PDMLab/docker-compose/compare/v0.24.3...v0.24.4) (2024-02-19)
Expand Down
3 changes: 3 additions & 0 deletions src/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ export const downAll = function (
return execCompose('down', [], options)
}

export const down = downAll

export const downMany = function (
services: string[],
options?: IDockerComposeOptions
Expand Down Expand Up @@ -590,6 +592,7 @@ export default {
upAll,
upMany,
upOne,
down,
downAll,
downOne,
downMany,
Expand Down

0 comments on commit e1e4a01

Please sign in to comment.