@o861runners/nmp 1.26.13-0.11255 → 1.260130.11453
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 +8 -1
- package/src/core/publisher.js +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@o861runners/nmp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.260130.11453",
|
|
4
4
|
"description": "CLI tool to build, pack and publish NPM packages to multiple registries with auto-versioning",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -32,5 +32,12 @@
|
|
|
32
32
|
"ora": "^5.4.1",
|
|
33
33
|
"node-fetch": "^2.7.0",
|
|
34
34
|
"form-data": "^4.0.0"
|
|
35
|
+
},
|
|
36
|
+
"repository": {
|
|
37
|
+
"type": "git",
|
|
38
|
+
"url": "https://github.com/o861runners-gif/multi-registry-publisher"
|
|
39
|
+
},
|
|
40
|
+
"publishConfig": {
|
|
41
|
+
"registry": "https://registry.npmjs.org/"
|
|
35
42
|
}
|
|
36
43
|
}
|
package/src/core/publisher.js
CHANGED
|
@@ -75,7 +75,7 @@ export class Publisher {
|
|
|
75
75
|
const hh = String(now.getHours()).padStart(2, "0");
|
|
76
76
|
const MM = String(now.getMinutes()).padStart(2, "0");
|
|
77
77
|
|
|
78
|
-
return `1.${yy}
|
|
78
|
+
return `1.${yy}${mm}${dd}.1${hh}${MM}`;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
|
@@ -263,8 +263,7 @@ export class Publisher {
|
|
|
263
263
|
error: error.message,
|
|
264
264
|
});
|
|
265
265
|
console.log(chalk.red(`✗ ${registry.name}: ${error.message}`));
|
|
266
|
-
}finally{
|
|
267
|
-
|
|
266
|
+
} finally {
|
|
268
267
|
}
|
|
269
268
|
|
|
270
269
|
console.log("");
|