@nx/docker 22.7.0-beta.0 → 22.7.0-pr.34894.3fb67b5
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nx/docker",
|
|
3
3
|
"description": "The Nx Plugin for Docker to aid in containerizing projects.",
|
|
4
|
-
"version": "22.7.0-
|
|
4
|
+
"version": "22.7.0-pr.34894.3fb67b5",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"executors": "./executors.json",
|
|
52
52
|
"generators": "./generators.json",
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@nx/devkit": "22.7.0-
|
|
54
|
+
"@nx/devkit": "22.7.0-pr.34894.3fb67b5",
|
|
55
55
|
"enquirer": "~2.3.6",
|
|
56
56
|
"tslib": "^2.3.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"nx": "22.7.0-
|
|
59
|
+
"nx": "22.7.0-pr.34894.3fb67b5"
|
|
60
60
|
},
|
|
61
61
|
"types": "./src/index.d.ts"
|
|
62
62
|
}
|
|
@@ -53,7 +53,7 @@ async function checkDockerImageExistsLocally(imageRef) {
|
|
|
53
53
|
const normalizedImageRef = imageRef.startsWith('docker.io/')
|
|
54
54
|
? imageRef.split('docker.io/')[1]
|
|
55
55
|
: imageRef;
|
|
56
|
-
const childProcess = (0, child_process_1.exec)(`docker images --filter "reference=${normalizedImageRef}" --quiet`, { encoding: 'utf8' });
|
|
56
|
+
const childProcess = (0, child_process_1.exec)(`docker images --filter "reference=${normalizedImageRef}" --quiet`, { encoding: 'utf8', windowsHide: true });
|
|
57
57
|
let result = '';
|
|
58
58
|
childProcess.stdout?.on('data', (data) => {
|
|
59
59
|
result += data;
|
|
@@ -80,6 +80,7 @@ async function dockerPush(imageReference, quiet) {
|
|
|
80
80
|
const childProcess = (0, child_process_1.exec)(`docker push ${imageReference}${quiet ? ' --quiet' : ''}`, {
|
|
81
81
|
encoding: 'utf8',
|
|
82
82
|
maxBuffer: exports.LARGE_BUFFER,
|
|
83
|
+
windowsHide: true,
|
|
83
84
|
});
|
|
84
85
|
let result = '';
|
|
85
86
|
childProcess.stdout?.on('data', (data) => {
|
|
@@ -71,7 +71,9 @@ function updateProjectVersion(newVersion, nxDockerImageRefEnvOverride, workspace
|
|
|
71
71
|
const newImageRef = getImageReference(projectRoot, repositoryName, registry);
|
|
72
72
|
const fullImageRef = nxDockerImageRefEnvOverride ?? `${newImageRef}:${newVersion}`;
|
|
73
73
|
if (!isDryRun) {
|
|
74
|
-
(0, child_process_1.execSync)(`docker tag ${imageRef} ${fullImageRef}
|
|
74
|
+
(0, child_process_1.execSync)(`docker tag ${imageRef} ${fullImageRef}`, {
|
|
75
|
+
windowsHide: true,
|
|
76
|
+
});
|
|
75
77
|
}
|
|
76
78
|
const logs = isDryRun
|
|
77
79
|
? [`Image would be tagged with ${fullImageRef} but dry run is enabled.`]
|