@depup/docker-compose 1.3.2-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.local.json +10 -0
- package/CHANGELOG.md +341 -0
- package/LICENSE +21 -0
- package/README.md +31 -0
- package/changes.json +10 -0
- package/dist/index.d.ts +181 -0
- package/dist/index.js +519 -0
- package/dist/map-ports.d.ts +11 -0
- package/dist/map-ports.js +27 -0
- package/package.json +135 -0
- package/readme.md +146 -0
- package/tsconfig.json +67 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
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.
|
|
4
|
+
|
|
5
|
+
### [1.3.2](https://github.com/PDMLab/docker-compose/compare/v1.3.1...v1.3.2) (2026-03-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* respect executablePath in standalone mode ([265a2fb](https://github.com/PDMLab/docker-compose/commit/265a2fb24e54b348455699fa8d2d91afb5af5848))
|
|
11
|
+
|
|
12
|
+
### [1.3.1](https://github.com/PDMLab/docker-compose/compare/v1.3.0...v1.3.1) (2026-01-23)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* add platform field and use JSON format for images parsing ([6fb0d18](https://github.com/PDMLab/docker-compose/commit/6fb0d18ee80865444777770062a16a4892178482))
|
|
18
|
+
|
|
19
|
+
## [1.3.0](https://github.com/PDMLab/docker-compose/compare/v1.2.0...v1.3.0) (2025-09-01)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* add timestamps option to log output ([bb25ee5](https://github.com/PDMLab/docker-compose/commit/bb25ee5948b81526858e013bd37a58b36a5c3013))
|
|
25
|
+
|
|
26
|
+
## [1.2.0](https://github.com/PDMLab/docker-compose/compare/v1.1.1...v1.2.0) (2025-03-14)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* using standalone binary ([297183d](https://github.com/PDMLab/docker-compose/commit/297183dcd1df4f2115f52c660baa192e377d5d16))
|
|
32
|
+
|
|
33
|
+
### [1.1.1](https://github.com/PDMLab/docker-compose/compare/v1.1.0...v1.1.1) (2025-02-11)
|
|
34
|
+
|
|
35
|
+
## [1.1.0](https://github.com/PDMLab/docker-compose/compare/v1.0.0...v1.1.0) (2024-09-30)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* Add service `stats` support ([7ec994c](https://github.com/PDMLab/docker-compose/commit/7ec994c03acba893236b8f903e7b6d35950db376))
|
|
41
|
+
|
|
42
|
+
## [1.0.0](https://github.com/PDMLab/docker-compose/compare/v0.24.8...v1.0.0) (2024-09-27)
|
|
43
|
+
|
|
44
|
+
### [0.24.8](https://github.com/PDMLab/docker-compose/compare/v0.24.7...v0.24.8) (2024-04-07)
|
|
45
|
+
|
|
46
|
+
### [0.24.7](https://github.com/PDMLab/docker-compose/compare/v0.24.6...v0.24.7) (2024-03-13)
|
|
47
|
+
|
|
48
|
+
### [0.24.6](https://github.com/PDMLab/docker-compose/compare/v0.24.5...v0.24.6) (2024-02-20)
|
|
49
|
+
|
|
50
|
+
### [0.24.5](https://github.com/PDMLab/docker-compose/compare/v0.24.4...v0.24.5) (2024-02-19)
|
|
51
|
+
|
|
52
|
+
### [0.24.4](https://github.com/PDMLab/docker-compose/compare/v0.24.3...v0.24.4) (2024-02-19)
|
|
53
|
+
|
|
54
|
+
### [0.24.3](https://github.com/PDMLab/docker-compose/compare/v0.24.2...v0.24.3) (2023-10-30)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Features
|
|
58
|
+
|
|
59
|
+
* ps supports json format ([4498eb4](https://github.com/PDMLab/docker-compose/commit/4498eb481c52f852247342b495ff66c5b465f895))
|
|
60
|
+
|
|
61
|
+
### [0.24.2](https://github.com/PDMLab/docker-compose/compare/v0.24.1...v0.24.2) (2023-07-27)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### Bug Fixes
|
|
65
|
+
|
|
66
|
+
* **ci:** shadow ci command using yarn ([bf0d1b6](https://github.com/PDMLab/docker-compose/commit/bf0d1b6a7ebc80b0ac158bbffc277b3c118545df))
|
|
67
|
+
|
|
68
|
+
### [0.24.1](https://github.com/PDMLab/docker-compose/compare/v0.24.0...v0.24.1) (2023-05-14)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
### Bug Fixes
|
|
72
|
+
|
|
73
|
+
* Remove unnecessary console.log in v2 api ([#241](https://github.com/PDMLab/docker-compose/issues/241)) ([75ab935](https://github.com/PDMLab/docker-compose/commit/75ab935dcdf5c32cf44643d4d74ba6b30620a31a))
|
|
74
|
+
|
|
75
|
+
## [0.24.0](https://github.com/PDMLab/docker-compose/compare/v0.23.19...v0.24.0) (2023-04-28)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Features
|
|
79
|
+
|
|
80
|
+
* support docker compose v2 plugin version ([#228](https://github.com/PDMLab/docker-compose/issues/228)) ([95250be](https://github.com/PDMLab/docker-compose/commit/95250beeee1b5a1f9433138870392b611a3eec93))
|
|
81
|
+
|
|
82
|
+
### [0.23.20-preview.0](https://github.com/PDMLab/docker-compose/compare/v0.23.19...v0.23.20-preview.0) (2023-04-27)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
### Features
|
|
86
|
+
|
|
87
|
+
* support docker compose v2 plugin version ([81e72e9](https://github.com/PDMLab/docker-compose/commit/81e72e9985aba05474463306852501287ad32680))
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
### Bug Fixes
|
|
91
|
+
|
|
92
|
+
* expect volume name to match changed folder name ([85c4c15](https://github.com/PDMLab/docker-compose/commit/85c4c150ce5191c95116e98145e2d3c75604a4a4))
|
|
93
|
+
* **build:** exclude old tests temporarily ([36d543d](https://github.com/PDMLab/docker-compose/commit/36d543db56822be95c9cd31eaa890a4c46e789a4))
|
|
94
|
+
* **lint:** no-useless-escape for \" characters ([fcabbc2](https://github.com/PDMLab/docker-compose/commit/fcabbc2ea7c7d42f15f45a26badab9fe73030a6c))
|
|
95
|
+
* **lint:** remove jest plugin reference ([892e6db](https://github.com/PDMLab/docker-compose/commit/892e6db60302ef734e5b42b74da6f583c1fb9e52))
|
|
96
|
+
|
|
97
|
+
### [0.23.19](https://github.com/PDMLab/docker-compose/compare/v0.23.18...v0.23.19) (2023-02-05)
|
|
98
|
+
|
|
99
|
+
### [0.23.18](https://github.com/PDMLab/docker-compose/compare/v0.23.17...v0.23.18) (2023-01-24)
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### Bug Fixes
|
|
103
|
+
|
|
104
|
+
* add stopMany to default exports ([ff914e9](https://github.com/PDMLab/docker-compose/commit/ff914e910cb963b8fa7f283a1f51cb66fae0f52b))
|
|
105
|
+
|
|
106
|
+
### [0.23.17](https://github.com/PDMLab/docker-compose/compare/v0.23.16...v0.23.17) (2022-01-18)
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
### Bug Fixes
|
|
110
|
+
|
|
111
|
+
* ps --services trim on undefined ([#201](https://github.com/PDMLab/docker-compose/issues/201)) ([5df547e](https://github.com/PDMLab/docker-compose/commit/5df547e0af97bc6ba2ac96aab26eb5bf4b60e2b8))
|
|
112
|
+
|
|
113
|
+
### [0.23.16](https://github.com/PDMLab/docker-compose/compare/v0.23.15...v0.23.16) (2022-01-16)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
### Features
|
|
117
|
+
|
|
118
|
+
* stop many ([#200](https://github.com/PDMLab/docker-compose/issues/200)) ([f10a9b6](https://github.com/PDMLab/docker-compose/commit/f10a9b610160c4ac06d0d38cbd9db4a6fe7761c9))
|
|
119
|
+
|
|
120
|
+
### [0.23.15](https://github.com/PDMLab/docker-compose/compare/v0.23.14...v0.23.15) (2022-01-14)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
### Bug Fixes
|
|
124
|
+
|
|
125
|
+
* **#178:** fix quiet trim issue, add tests ([#197](https://github.com/PDMLab/docker-compose/issues/197)) ([2016bc7](https://github.com/PDMLab/docker-compose/commit/2016bc75db9996155d61f3d7f93c98c5fb960df1))
|
|
126
|
+
|
|
127
|
+
### [0.23.14](https://github.com/PDMLab/docker-compose/compare/v0.23.13...v0.23.14) (2021-11-29)
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
### Features
|
|
131
|
+
|
|
132
|
+
* passing callback to report progress ([#191](https://github.com/PDMLab/docker-compose/issues/191)) ([f60e4d5](https://github.com/PDMLab/docker-compose/commit/f60e4d5a186ea3ca0b99e8443e1c4006d75be5a7))
|
|
133
|
+
|
|
134
|
+
### [0.23.13](https://github.com/PDMLab/docker-compose/compare/v0.23.12...v0.23.13) (2021-07-20)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
### Features
|
|
138
|
+
|
|
139
|
+
* single container pause and unpause added ([5921b51](https://github.com/PDMLab/docker-compose/commit/5921b51977cbd51ffcb1def458738ccfccbe1dd9))
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### Bug Fixes
|
|
143
|
+
|
|
144
|
+
* now lints correctly ([74b4d6e](https://github.com/PDMLab/docker-compose/commit/74b4d6ea22d7e1b9ebbbbe9874e5314b7adfa31a))
|
|
145
|
+
|
|
146
|
+
### [0.23.12](https://github.com/PDMLab/docker-compose/compare/v0.23.11...v0.23.12) (2021-06-06)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
### Features
|
|
150
|
+
|
|
151
|
+
* **dx:** add default export ([c4b6087](https://github.com/PDMLab/docker-compose/commit/c4b60872aecfdc6610e9b2141a45ea7785820af7))
|
|
152
|
+
|
|
153
|
+
### [0.23.11](https://github.com/PDMLab/docker-compose/compare/v0.23.10...v0.23.11) (2021-06-04)
|
|
154
|
+
|
|
155
|
+
### [0.23.10](https://github.com/PDMLab/docker-compose/compare/v0.23.9...v0.23.10) (2021-05-11)
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
### Bug Fixes
|
|
159
|
+
|
|
160
|
+
* fix mapping ipv6-based port mappings ([53fb971](https://github.com/PDMLab/docker-compose/commit/53fb97196f3cf0ebb229d127e9b630c863eaf8fc))
|
|
161
|
+
* fix mapping ipv6-based port mappings ([6dec0c6](https://github.com/PDMLab/docker-compose/commit/6dec0c6bb6220b06eff188a26220b405d632bed3))
|
|
162
|
+
* fix mapping ipv6-based port mappings ([dbdb900](https://github.com/PDMLab/docker-compose/commit/dbdb9008f25d237254312d79382e342d03f4c5bb))
|
|
163
|
+
* fix mapping ipv6-based port mappings ([8aa8465](https://github.com/PDMLab/docker-compose/commit/8aa846553c2d045f610392bf38569fb3579b9aa6))
|
|
164
|
+
* fix mapping ipv6-based port mappings ([21b63cb](https://github.com/PDMLab/docker-compose/commit/21b63cbc53635ee8532c388e57f4552f1b3ae6e3))
|
|
165
|
+
* fix mapping ipv6-based port mappings ([48c9f08](https://github.com/PDMLab/docker-compose/commit/48c9f0841af2bbcb8ec666a38eee3ab8236304d0))
|
|
166
|
+
* fix mapping ipv6-based port mappings ([e7013df](https://github.com/PDMLab/docker-compose/commit/e7013dfab10e4e369ee076b465c40a5bcb50802b))
|
|
167
|
+
|
|
168
|
+
### [0.23.9](https://github.com/PDMLab/docker-compose/compare/v0.23.8...v0.23.9) (2021-05-08)
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
### Features
|
|
172
|
+
|
|
173
|
+
* Add execPath option to set path to docker-compose executable ([58f09f4](https://github.com/PDMLab/docker-compose/commit/58f09f4c7414df5a6ee7af7f77d2af297d84d6c1))
|
|
174
|
+
|
|
175
|
+
### [0.23.8](https://github.com/PDMLab/docker-compose/compare/v0.23.7...v0.23.8) (2021-04-15)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
### Bug Fixes
|
|
179
|
+
|
|
180
|
+
* ignore vuepress cache + temp files on release ([#148](https://github.com/PDMLab/docker-compose/issues/148)) ([e58387d](https://github.com/PDMLab/docker-compose/commit/e58387d82e4586f7a8156446f12c999c9a6f9f42))
|
|
181
|
+
|
|
182
|
+
### [0.23.7](https://github.com/PDMLab/docker-compose/compare/v0.23.5...v0.23.7) (2021-04-14)
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
### Features
|
|
186
|
+
|
|
187
|
+
* allow to pass docker compose configuration as string ([e8c14d3](https://github.com/PDMLab/docker-compose/commit/e8c14d318ce440ab02c858b1ca1dbeeb2985dc00))
|
|
188
|
+
* make result for `config --services` command type safe ([6f105ca](https://github.com/PDMLab/docker-compose/commit/6f105ca16098ba8de11f85ec0d092130b65293e4))
|
|
189
|
+
* make result for `config --volumes` command type safe ([51b20b4](https://github.com/PDMLab/docker-compose/commit/51b20b43d6eccac45653553437a546e4ccee51a6))
|
|
190
|
+
* make result for `config` command type safe ([a2f5a4e](https://github.com/PDMLab/docker-compose/commit/a2f5a4ec0eee8fcbd60fa12f969b8eb83a4730fb))
|
|
191
|
+
* make result for `port` command type safe ([70a98f4](https://github.com/PDMLab/docker-compose/commit/70a98f473b7bd46f0aa03c1a4334fa2abf6c3455))
|
|
192
|
+
* make result for `ps` command type safe ([880d252](https://github.com/PDMLab/docker-compose/commit/880d2522b5777db30c48569a41dd09fb7e46a4b3))
|
|
193
|
+
* make result for `version` command type safe ([a7da038](https://github.com/PDMLab/docker-compose/commit/a7da0380a8464bbd2efc2c16b70b67d4fdf77c24))
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
### Bug Fixes
|
|
197
|
+
|
|
198
|
+
* filter empty entries from `config --services` command ([ed91eba](https://github.com/PDMLab/docker-compose/commit/ed91eba770d3a32d82dda4e927d31ed4b6d01db4))
|
|
199
|
+
* **test:** fix broken tests ([afb2b11](https://github.com/PDMLab/docker-compose/commit/afb2b1116b12c4800563e85adb15ebd39e030516))
|
|
200
|
+
|
|
201
|
+
### [0.23.6](https://github.com/PDMLab/docker-compose/compare/v0.23.5...v0.23.6) (2021-01-06)
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
### Features
|
|
205
|
+
|
|
206
|
+
* allow to pass docker compose configuration as string ([e8c14d3](https://github.com/PDMLab/docker-compose/commit/e8c14d318ce440ab02c858b1ca1dbeeb2985dc00))
|
|
207
|
+
|
|
208
|
+
### [0.23.5](https://github.com/PDMLab/docker-compose/compare/v0.23.4...v0.23.5) (2020-07-10)
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
### Bug Fixes
|
|
212
|
+
|
|
213
|
+
* update flags incompatible with detached mode ([c808fa2](https://github.com/PDMLab/docker-compose/commit/c808fa2b90b2fd5db239685d101ccaa554ad98cf))
|
|
214
|
+
|
|
215
|
+
### [0.23.4](https://github.com/PDMLab/docker-compose/compare/v0.23.3...v0.23.4) (2020-04-23)
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
### Features
|
|
219
|
+
|
|
220
|
+
* allow passing service names to `rm` function ([3a68db7](https://github.com/PDMLab/docker-compose/commit/3a68db75e3b879f12fe3c6cedbc9ad09a52914a5))
|
|
221
|
+
|
|
222
|
+
### [0.23.3](https://github.com/PDMLab/docker-compose/compare/v0.23.2...v0.23.3) (2020-03-06)
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
### Features
|
|
226
|
+
|
|
227
|
+
* add ability to pass --abort-on-container-exit flag to up methods ([e85af8c](https://github.com/PDMLab/docker-compose/commit/e85af8c092a54a3fb48519bb39956324bbef4fc2))
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
### Bug Fixes
|
|
231
|
+
|
|
232
|
+
* reset jest set timeout to original value ([c4ed7ed](https://github.com/PDMLab/docker-compose/commit/c4ed7ed2de9c4c161518ab1d1fc50877df4c7fa2))
|
|
233
|
+
|
|
234
|
+
### [0.23.2](https://github.com/PDMLab/docker-compose/compare/v0.23.1...v0.23.2) (2019-12-31)
|
|
235
|
+
|
|
236
|
+
### [0.23.1](https://github.com/PDMLab/docker-compose/compare/v0.23.0...v0.23.1) (2019-10-26)
|
|
237
|
+
|
|
238
|
+
# 0.23.0 / 2019-10-25
|
|
239
|
+
|
|
240
|
+
## :tada: Enhancements
|
|
241
|
+
|
|
242
|
+
* [#97](https://github.com/PDMLab/docker-compose/pull/97):
|
|
243
|
+
* Add a `version` function
|
|
244
|
+
|
|
245
|
+
# 0.22.2 / 2019-08-31
|
|
246
|
+
|
|
247
|
+
## :bug: Fixes
|
|
248
|
+
|
|
249
|
+
* [#94](https://github.com/PDMLab/docker-compose/pull/94):
|
|
250
|
+
* Fix a copy-paste typo for pull commands
|
|
251
|
+
|
|
252
|
+
# 0.22.1 / 2019-08-31
|
|
253
|
+
|
|
254
|
+
## :tada: Enhancements
|
|
255
|
+
|
|
256
|
+
* [#93](https://github.com/PDMLab/docker-compose/pull/93):
|
|
257
|
+
* Add pull command methods to readme
|
|
258
|
+
|
|
259
|
+
## :lock: Security Fixes
|
|
260
|
+
* [#92](https://github.com/PDMLab/docker-compose/pull/92):
|
|
261
|
+
* Fix `eslint-utils` security issue
|
|
262
|
+
|
|
263
|
+
# 0.22.0 / 2019-08-30
|
|
264
|
+
|
|
265
|
+
## :tada: Enhancements
|
|
266
|
+
|
|
267
|
+
* [#90](https://github.com/PDMLab/docker-compose/pull/90):
|
|
268
|
+
* Add `pullOne`, `pullMany` and `pullAll` methods
|
|
269
|
+
|
|
270
|
+
# 0.21.0 / 2019-08-15
|
|
271
|
+
|
|
272
|
+
## :tada: Enhancements
|
|
273
|
+
|
|
274
|
+
* [#89](https://github.com/PDMLab/docker-compose/pull/89):
|
|
275
|
+
* Add `stopOne()` command
|
|
276
|
+
|
|
277
|
+
# 0.20.2 / 2019-07-30
|
|
278
|
+
|
|
279
|
+
## :tada: Enhancements
|
|
280
|
+
|
|
281
|
+
* [#87](https://github.com/PDMLab/docker-compose/pull/87):
|
|
282
|
+
* Use proper `es2015` library (for Promises, etc.) in `tsconfig`
|
|
283
|
+
|
|
284
|
+
## :bug: Fixes
|
|
285
|
+
|
|
286
|
+
* [#87](https://github.com/PDMLab/docker-compose/pull/87):
|
|
287
|
+
* Fix linting after build was called
|
|
288
|
+
* [#86](https://github.com/PDMLab/docker-compose/pull/86):
|
|
289
|
+
* Fix interfaces not being exposed in typings file
|
|
290
|
+
|
|
291
|
+
# 0.20.1 / 2019-07-26
|
|
292
|
+
|
|
293
|
+
## :tada: Enhancements
|
|
294
|
+
|
|
295
|
+
* [#84](https://github.com/PDMLab/docker-compose/pull/84):
|
|
296
|
+
* Set Node 6.0 as minimum version
|
|
297
|
+
|
|
298
|
+
# 0.20.0 / 2019-07-23
|
|
299
|
+
|
|
300
|
+
## :tada: Enhancements
|
|
301
|
+
|
|
302
|
+
* [#83](https://github.com/PDMLab/docker-compose/pull/83):
|
|
303
|
+
* Migrate to Typescript
|
|
304
|
+
|
|
305
|
+
# 0.19.0 / 2019-07-13
|
|
306
|
+
|
|
307
|
+
## :tada: Enhancements
|
|
308
|
+
|
|
309
|
+
* [#77](https://github.com/PDMLab/docker-compose/pull/77):
|
|
310
|
+
* handle error based on exit code
|
|
311
|
+
* replace `tape` with `jest`
|
|
312
|
+
|
|
313
|
+
# 0.18.0 / 2019-07-10
|
|
314
|
+
|
|
315
|
+
## :tada: Enhancements
|
|
316
|
+
|
|
317
|
+
* [#82](https://github.com/PDMLab/docker-compose/pull/82): Allow passing an array as command to `run` and `exec`
|
|
318
|
+
|
|
319
|
+
# 0.17.3 / 2019-05-29
|
|
320
|
+
|
|
321
|
+
## :bug: Fixes
|
|
322
|
+
|
|
323
|
+
* [#69](https://github.com/PDMLab/docker-compose/pull/76): Fix declaration for `logs` function
|
|
324
|
+
|
|
325
|
+
# 0.17.2 / 2019-05-02
|
|
326
|
+
|
|
327
|
+
## :nut_and_bolt: Other
|
|
328
|
+
|
|
329
|
+
* [#69](https://github.com/PDMLab/docker-compose/issues/69): Remove winston dependency and lib/log
|
|
330
|
+
|
|
331
|
+
# 0.17.1 / 2019-05-01
|
|
332
|
+
|
|
333
|
+
## :bug: Fixes
|
|
334
|
+
|
|
335
|
+
* [#66](https://github.com/PDMLab/docker-compose/issues/66): Trailing commas causing syntax error on NodeJS 6.x
|
|
336
|
+
|
|
337
|
+
# 0.17.0 / 2019-04-30
|
|
338
|
+
|
|
339
|
+
## :tada: Enhancements
|
|
340
|
+
|
|
341
|
+
* [#58](https://github.com/PDMLab/docker-compose/issues/58): Expose docker-compose exit code in results
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017 - 2021 PDMLab
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @depup/docker-compose
|
|
2
|
+
|
|
3
|
+
> Dependency-bumped version of [docker-compose](https://www.npmjs.com/package/docker-compose)
|
|
4
|
+
|
|
5
|
+
Generated by [DepUp](https://github.com/depup/npm) -- all production
|
|
6
|
+
dependencies bumped to latest versions.
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @depup/docker-compose
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
| Field | Value |
|
|
15
|
+
|-------|-------|
|
|
16
|
+
| Original | [docker-compose](https://www.npmjs.com/package/docker-compose) @ 1.3.2 |
|
|
17
|
+
| Processed | 2026-03-22 |
|
|
18
|
+
| Smoke test | passed |
|
|
19
|
+
| Deps updated | 1 |
|
|
20
|
+
|
|
21
|
+
## Dependency Changes
|
|
22
|
+
|
|
23
|
+
| Dependency | From | To |
|
|
24
|
+
|------------|------|-----|
|
|
25
|
+
| yaml | ^2.2.2 | ^2.8.3 |
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
Source: https://github.com/depup/npm | Original: https://www.npmjs.com/package/docker-compose
|
|
30
|
+
|
|
31
|
+
License inherited from the original package.
|
package/changes.json
ADDED
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
export type IDockerComposeExecutableOptions = {
|
|
2
|
+
executablePath: string;
|
|
3
|
+
options?: string[] | (string | string[])[];
|
|
4
|
+
standalone?: never;
|
|
5
|
+
} | {
|
|
6
|
+
executablePath?: string;
|
|
7
|
+
options?: never;
|
|
8
|
+
standalone: true;
|
|
9
|
+
};
|
|
10
|
+
export interface IDockerComposeOptions {
|
|
11
|
+
cwd?: string;
|
|
12
|
+
executable?: IDockerComposeExecutableOptions;
|
|
13
|
+
config?: string | string[];
|
|
14
|
+
configAsString?: string;
|
|
15
|
+
log?: boolean;
|
|
16
|
+
composeOptions?: string[] | (string | string[])[];
|
|
17
|
+
commandOptions?: string[] | (string | string[])[];
|
|
18
|
+
env?: NodeJS.ProcessEnv;
|
|
19
|
+
callback?: (chunk: Buffer, streamSource?: 'stdout' | 'stderr') => void;
|
|
20
|
+
}
|
|
21
|
+
export type DockerComposePortResult = {
|
|
22
|
+
address: string;
|
|
23
|
+
port: number;
|
|
24
|
+
};
|
|
25
|
+
export type DockerComposeVersionResult = {
|
|
26
|
+
version: string;
|
|
27
|
+
};
|
|
28
|
+
export type DockerComposeStatsResult = {
|
|
29
|
+
BlockIO: string;
|
|
30
|
+
CPUPerc: string;
|
|
31
|
+
Container: string;
|
|
32
|
+
ID: string;
|
|
33
|
+
MemPerc: string;
|
|
34
|
+
MemUsage: string;
|
|
35
|
+
Name: string;
|
|
36
|
+
NetIO: string;
|
|
37
|
+
PIDs: string;
|
|
38
|
+
};
|
|
39
|
+
export type DockerComposeConfigResult = {
|
|
40
|
+
config: {
|
|
41
|
+
version: Record<string, string>;
|
|
42
|
+
services: Record<string, string | Record<string, string>>;
|
|
43
|
+
volumes: Record<string, string>;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export type DockerComposeConfigServicesResult = {
|
|
47
|
+
services: string[];
|
|
48
|
+
};
|
|
49
|
+
export type DockerComposeConfigVolumesResult = {
|
|
50
|
+
volumes: string[];
|
|
51
|
+
};
|
|
52
|
+
export interface IDockerComposeLogOptions extends IDockerComposeOptions {
|
|
53
|
+
follow?: boolean;
|
|
54
|
+
timestamps?: boolean;
|
|
55
|
+
}
|
|
56
|
+
export interface IDockerComposeBuildOptions extends IDockerComposeOptions {
|
|
57
|
+
parallel?: boolean;
|
|
58
|
+
}
|
|
59
|
+
export interface IDockerComposePushOptions extends IDockerComposeOptions {
|
|
60
|
+
ignorePushFailures?: boolean;
|
|
61
|
+
}
|
|
62
|
+
export interface IDockerComposeResult {
|
|
63
|
+
exitCode: number | null;
|
|
64
|
+
out: string;
|
|
65
|
+
err: string;
|
|
66
|
+
}
|
|
67
|
+
export type TypedDockerComposeResult<T> = {
|
|
68
|
+
exitCode: number | null;
|
|
69
|
+
out: string;
|
|
70
|
+
err: string;
|
|
71
|
+
data: T;
|
|
72
|
+
};
|
|
73
|
+
export type DockerComposePsResultService = {
|
|
74
|
+
name: string;
|
|
75
|
+
command: string;
|
|
76
|
+
state: string;
|
|
77
|
+
ports: Array<{
|
|
78
|
+
mapped?: {
|
|
79
|
+
address: string;
|
|
80
|
+
port: number;
|
|
81
|
+
};
|
|
82
|
+
exposed: {
|
|
83
|
+
port: number;
|
|
84
|
+
protocol: string;
|
|
85
|
+
};
|
|
86
|
+
}>;
|
|
87
|
+
};
|
|
88
|
+
export type DockerComposeImListResultService = {
|
|
89
|
+
container: string;
|
|
90
|
+
repository: string;
|
|
91
|
+
tag: string;
|
|
92
|
+
platform: string;
|
|
93
|
+
id: string;
|
|
94
|
+
};
|
|
95
|
+
export type DockerComposePsResult = {
|
|
96
|
+
services: Array<DockerComposePsResultService>;
|
|
97
|
+
};
|
|
98
|
+
export type DockerComposeImListResult = {
|
|
99
|
+
services: Array<DockerComposeImListResultService>;
|
|
100
|
+
};
|
|
101
|
+
export declare const mapPsOutput: (output: string, options?: IDockerComposeOptions) => DockerComposePsResult;
|
|
102
|
+
export declare const mapImListOutput: (output: string, options?: IDockerComposeOptions) => DockerComposeImListResult;
|
|
103
|
+
/**
|
|
104
|
+
* Executes docker compose command with common options
|
|
105
|
+
*/
|
|
106
|
+
export declare const execCompose: (command: any, args: any, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
107
|
+
export declare const upAll: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
108
|
+
export declare const upMany: (services: string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
109
|
+
export declare const upOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
110
|
+
export declare const downAll: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
111
|
+
export declare const down: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
112
|
+
export declare const downMany: (services: string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
113
|
+
export declare const downOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
114
|
+
export declare const stop: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
115
|
+
export declare const stopOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
116
|
+
export declare const stopMany: (options?: IDockerComposeOptions, ...services: string[]) => Promise<IDockerComposeResult>;
|
|
117
|
+
export declare const pauseOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
118
|
+
export declare const unpauseOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
119
|
+
export declare const kill: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
120
|
+
export declare const rm: (options?: IDockerComposeOptions, ...services: string[]) => Promise<IDockerComposeResult>;
|
|
121
|
+
export declare const exec: (container: string, command: string | string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
122
|
+
export declare const run: (container: string, command: string | string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
123
|
+
export declare const buildAll: (options?: IDockerComposeBuildOptions) => Promise<IDockerComposeResult>;
|
|
124
|
+
export declare const buildMany: (services: string[], options?: IDockerComposeBuildOptions) => Promise<IDockerComposeResult>;
|
|
125
|
+
export declare const buildOne: (service: string, options?: IDockerComposeBuildOptions) => Promise<IDockerComposeResult>;
|
|
126
|
+
export declare const createAll: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
127
|
+
export declare const createMany: (services: string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
128
|
+
export declare const createOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
129
|
+
export declare const pullAll: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
130
|
+
export declare const pullMany: (services: string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
131
|
+
export declare const pullOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
132
|
+
export declare const config: (options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposeConfigResult>>;
|
|
133
|
+
export declare const configServices: (options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposeConfigServicesResult>>;
|
|
134
|
+
export declare const configVolumes: (options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposeConfigVolumesResult>>;
|
|
135
|
+
export declare const ps: (options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposePsResult>>;
|
|
136
|
+
export declare const images: (options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposeImListResult>>;
|
|
137
|
+
export declare const push: (options?: IDockerComposePushOptions) => Promise<IDockerComposeResult>;
|
|
138
|
+
export declare const restartAll: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
139
|
+
export declare const restartMany: (services: string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
140
|
+
export declare const restartOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
141
|
+
export declare const logs: (services: string | string[], options?: IDockerComposeLogOptions) => Promise<IDockerComposeResult>;
|
|
142
|
+
export declare const port: (service: string, containerPort: string | number, options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposePortResult>>;
|
|
143
|
+
export declare const version: (options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposeVersionResult>>;
|
|
144
|
+
export declare const stats: (service: string, options?: IDockerComposeOptions) => Promise<DockerComposeStatsResult>;
|
|
145
|
+
declare const _default: {
|
|
146
|
+
upAll: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
147
|
+
upMany: (services: string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
148
|
+
upOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
149
|
+
down: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
150
|
+
downAll: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
151
|
+
downOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
152
|
+
downMany: (services: string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
153
|
+
stop: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
154
|
+
stopOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
155
|
+
stopMany: (options?: IDockerComposeOptions, ...services: string[]) => Promise<IDockerComposeResult>;
|
|
156
|
+
pauseOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
157
|
+
unpauseOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
158
|
+
kill: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
159
|
+
rm: (options?: IDockerComposeOptions, ...services: string[]) => Promise<IDockerComposeResult>;
|
|
160
|
+
exec: (container: string, command: string | string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
161
|
+
run: (container: string, command: string | string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
162
|
+
buildAll: (options?: IDockerComposeBuildOptions) => Promise<IDockerComposeResult>;
|
|
163
|
+
buildMany: (services: string[], options?: IDockerComposeBuildOptions) => Promise<IDockerComposeResult>;
|
|
164
|
+
buildOne: (service: string, options?: IDockerComposeBuildOptions) => Promise<IDockerComposeResult>;
|
|
165
|
+
pullAll: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
166
|
+
pullMany: (services: string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
167
|
+
pullOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
168
|
+
config: (options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposeConfigResult>>;
|
|
169
|
+
configServices: (options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposeConfigServicesResult>>;
|
|
170
|
+
configVolumes: (options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposeConfigVolumesResult>>;
|
|
171
|
+
ps: (options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposePsResult>>;
|
|
172
|
+
push: (options?: IDockerComposePushOptions) => Promise<IDockerComposeResult>;
|
|
173
|
+
restartAll: (options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
174
|
+
restartMany: (services: string[], options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
175
|
+
restartOne: (service: string, options?: IDockerComposeOptions) => Promise<IDockerComposeResult>;
|
|
176
|
+
logs: (services: string | string[], options?: IDockerComposeLogOptions) => Promise<IDockerComposeResult>;
|
|
177
|
+
port: (service: string, containerPort: string | number, options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposePortResult>>;
|
|
178
|
+
version: (options?: IDockerComposeOptions) => Promise<TypedDockerComposeResult<DockerComposeVersionResult>>;
|
|
179
|
+
stats: (service: string, options?: IDockerComposeOptions) => Promise<DockerComposeStatsResult>;
|
|
180
|
+
};
|
|
181
|
+
export default _default;
|