diff --git a/CHANGELOG.md b/CHANGELOG.md index 23ba6448..0ed20777 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/v2.ts b/src/v2.ts index ad350bd1..65ab9a6b 100644 --- a/src/v2.ts +++ b/src/v2.ts @@ -319,6 +319,8 @@ export const downAll = function ( return execCompose('down', [], options) } +export const down = downAll + export const downMany = function ( services: string[], options?: IDockerComposeOptions @@ -590,6 +592,7 @@ export default { upAll, upMany, upOne, + down, downAll, downOne, downMany,