@uns-kit/cli 2.0.48 → 2.0.50
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/dist/index.js +6 -6
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -849,11 +849,8 @@ async function upgradeProject(targetPath) {
|
|
|
849
849
|
changed = true;
|
|
850
850
|
}
|
|
851
851
|
}
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
if (hadUnsReference) {
|
|
855
|
-
changed = ensureUnsReferenceScripts(scripts) || changed;
|
|
856
|
-
}
|
|
852
|
+
const syncScriptsChanged = ensureUnsReferenceScripts(scripts);
|
|
853
|
+
changed = syncScriptsChanged || changed;
|
|
857
854
|
if (changed) {
|
|
858
855
|
await writeFile(packagePath, JSON.stringify(pkg, null, 2) + "\n", "utf8");
|
|
859
856
|
}
|
|
@@ -864,7 +861,10 @@ async function upgradeProject(targetPath) {
|
|
|
864
861
|
console.log(` - ${name}`);
|
|
865
862
|
}
|
|
866
863
|
}
|
|
867
|
-
if (
|
|
864
|
+
if (syncScriptsChanged) {
|
|
865
|
+
console.log(" Added/updated: sync-uns-schema, sync-uns-metadata");
|
|
866
|
+
}
|
|
867
|
+
else {
|
|
868
868
|
console.log(" Ensured: sync-uns-schema, sync-uns-metadata");
|
|
869
869
|
}
|
|
870
870
|
if (!changed) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uns-kit/cli",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.50",
|
|
4
4
|
"description": "Command line scaffolding tool for UNS applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"azure-devops-node-api": "^15.1.1",
|
|
29
|
-
"@uns-kit/core": "2.0.
|
|
29
|
+
"@uns-kit/core": "2.0.50"
|
|
30
30
|
},
|
|
31
31
|
"unsKitPackages": {
|
|
32
|
-
"@uns-kit/core": "2.0.
|
|
33
|
-
"@uns-kit/api": "2.0.
|
|
34
|
-
"@uns-kit/cron": "2.0.
|
|
35
|
-
"@uns-kit/database": "2.0.
|
|
32
|
+
"@uns-kit/core": "2.0.50",
|
|
33
|
+
"@uns-kit/api": "2.0.50",
|
|
34
|
+
"@uns-kit/cron": "2.0.50",
|
|
35
|
+
"@uns-kit/database": "2.0.50",
|
|
36
36
|
"@uns-kit/temporal": "2.0.47"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|