@nx/docker 21.4.0-beta.2 → 21.4.0-canary.20250729-c2d0ecf
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": "21.4.0-
|
|
4
|
+
"version": "21.4.0-canary.20250729-c2d0ecf",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -43,12 +43,12 @@
|
|
|
43
43
|
"executors": "./executors.json",
|
|
44
44
|
"generators": "./generators.json",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@nx/devkit": "21.4.0-
|
|
46
|
+
"@nx/devkit": "21.4.0-canary.20250729-c2d0ecf",
|
|
47
47
|
"enquirer": "~2.3.6",
|
|
48
48
|
"tslib": "^2.3.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"nx": "21.4.0-
|
|
51
|
+
"nx": "21.4.0-canary.20250729-c2d0ecf"
|
|
52
52
|
},
|
|
53
53
|
"types": "./src/index.d.ts"
|
|
54
54
|
}
|
|
@@ -4,12 +4,12 @@ exports.interpolateVersionPattern = interpolateVersionPattern;
|
|
|
4
4
|
const git_utils_1 = require("nx/src/utils/git-utils");
|
|
5
5
|
const tokenRegex = /\{([^|{}]+)(?:\|([^{}]+))?\}/g;
|
|
6
6
|
function formatDate(date, format) {
|
|
7
|
-
const year = String(date.
|
|
8
|
-
const month = String(date.
|
|
9
|
-
const day = String(date.
|
|
10
|
-
const hours = String(date.
|
|
11
|
-
const minutes = String(date.
|
|
12
|
-
const seconds = String(date.
|
|
7
|
+
const year = String(date.getUTCFullYear());
|
|
8
|
+
const month = String(date.getUTCMonth() + 1).padStart(2, '0');
|
|
9
|
+
const day = String(date.getUTCDate()).padStart(2, '0');
|
|
10
|
+
const hours = String(date.getUTCHours()).padStart(2, '0');
|
|
11
|
+
const minutes = String(date.getUTCMinutes()).padStart(2, '0');
|
|
12
|
+
const seconds = String(date.getUTCSeconds()).padStart(2, '0');
|
|
13
13
|
return format
|
|
14
14
|
.replace(/YYYY/g, year)
|
|
15
15
|
.replace(/YY/g, year.slice(-2))
|