depository-deploy 1.0.5 → 1.0.6
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 +4 -4
- package/scripts/publish.mjs +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "depository-deploy",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Depository document management system – deployment wizard and installers",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"scripts/publish.mjs"
|
|
26
26
|
],
|
|
27
27
|
"optionalDependencies": {
|
|
28
|
-
"depository-deploy-linux": "1.0.
|
|
29
|
-
"depository-deploy-macos": "1.0.
|
|
30
|
-
"depository-deploy-windows": "1.0.
|
|
28
|
+
"depository-deploy-linux": ">=1.0.0",
|
|
29
|
+
"depository-deploy-macos": ">=1.0.0",
|
|
30
|
+
"depository-deploy-windows": ">=1.0.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"start": "node wizard-server.mjs"
|
package/scripts/publish.mjs
CHANGED
|
@@ -199,8 +199,8 @@ async function main() {
|
|
|
199
199
|
if (newVersion !== currentVersion) {
|
|
200
200
|
pkg.version = newVersion;
|
|
201
201
|
}
|
|
202
|
-
// Sync optionalDependencies versions
|
|
203
|
-
if (pkg.optionalDependencies) {
|
|
202
|
+
// Sync optionalDependencies versions (only when platform packages are also published)
|
|
203
|
+
if (!wizardOnly && pkg.optionalDependencies) {
|
|
204
204
|
for (const plat of PLATFORMS) {
|
|
205
205
|
if (pkg.optionalDependencies[plat.pkgName]) {
|
|
206
206
|
pkg.optionalDependencies[plat.pkgName] = newVersion;
|