@goldstack/utils-docker 0.4.35 → 0.4.38
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/README.md +22 -1
- package/package.json +6 -7
package/README.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
|
+
[](https://badge.fury.io/js/%40goldstack%2Futils-docker)
|
|
2
|
+
|
|
1
3
|
# Goldstack Docker Utils
|
|
2
4
|
|
|
3
5
|
This library contains tools to run Docker images locally or as part of a CI/CD build process.
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
This utility has been developed for the [Goldstack](https://goldstack.party) starter project builder. Check it out for starting your next project ❤️
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @goldstack/utils-docker
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { runDocker } from '@goldstack/utils-docker';
|
|
18
|
+
|
|
19
|
+
await runDocker({
|
|
20
|
+
image: 'my-image',
|
|
21
|
+
command: 'echo hello',
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
See [utilsDocker.ts](https://github.com/goldstack/goldstack/blob/master/workspaces/utils/packages/utils-docker/src/utilsDocker.ts).
|
|
26
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goldstack/utils-docker",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.38",
|
|
4
4
|
"description": "Utilities to run commands in local docker containers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"goldstack",
|
|
@@ -28,23 +28,22 @@
|
|
|
28
28
|
"compile-watch:light": "nodemon --watch ./src/ -e '*' --exec 'yarn compile'",
|
|
29
29
|
"coverage": "jest --collect-coverage --passWithNoTests --config=./jest.config.js --runInBand",
|
|
30
30
|
"prepublishOnly": "yarn run build",
|
|
31
|
-
"publish": "
|
|
31
|
+
"publish": "yarn npm publish --tolerate-republish",
|
|
32
32
|
"test": "jest --passWithNoTests --config=./jest.config.js --runInBand",
|
|
33
|
-
"version:apply": "
|
|
33
|
+
"version:apply": "yarn version $@ && yarn version apply",
|
|
34
34
|
"version:apply:force": "yarn version $@ && yarn version apply"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@goldstack/utils-log": "0.3.
|
|
38
|
-
"@goldstack/utils-sh": "0.5.
|
|
37
|
+
"@goldstack/utils-log": "0.3.31",
|
|
38
|
+
"@goldstack/utils-sh": "0.5.36"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@goldstack/utils-git": "0.2.22",
|
|
42
41
|
"@swc/core": "^1.15.8",
|
|
43
42
|
"@swc/jest": "^0.2.39",
|
|
44
43
|
"@types/jest": "^30.0.0",
|
|
45
44
|
"@types/node": "^25.0.3",
|
|
46
45
|
"jest": "^30.2.0",
|
|
47
|
-
"rimraf": "^
|
|
46
|
+
"rimraf": "^6.1.2",
|
|
48
47
|
"typescript": "^5.9.3"
|
|
49
48
|
},
|
|
50
49
|
"publishConfig": {
|