@goldstack/utils-docker 0.4.36 → 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.
Files changed (2) hide show
  1. package/README.md +22 -1
  2. package/package.json +5 -6
package/README.md CHANGED
@@ -1,5 +1,26 @@
1
+ [![npm version](https://badge.fury.io/js/%40goldstack%2Futils-docker.svg)](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
- See [utilsDocker.ts](https://github.com/goldstack/goldstack/blob/master/workspaces/templates-lib/packages/utils-docker/src/utilsDocker.ts).
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.36",
3
+ "version": "0.4.38",
4
4
  "description": "Utilities to run commands in local docker containers.",
5
5
  "keywords": [
6
6
  "goldstack",
@@ -28,17 +28,16 @@
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": "utils-git changed --exec \"yarn npm publish $@\"",
31
+ "publish": "yarn npm publish --tolerate-republish",
32
32
  "test": "jest --passWithNoTests --config=./jest.config.js --runInBand",
33
- "version:apply": "utils-git changed --exec \"yarn version $@ && yarn 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.29",
38
- "@goldstack/utils-sh": "0.5.34"
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",