gtx-cli 1.1.17-alpha.1 → 1.1.17
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.
|
@@ -12,7 +12,7 @@ const console_1 = require("../../console/console");
|
|
|
12
12
|
*/
|
|
13
13
|
function updateConfig({ configFilepath, projectId, _versionId, locales, }) {
|
|
14
14
|
// Filter out empty string values from the config object
|
|
15
|
-
const newContent = Object.assign(Object.assign(
|
|
15
|
+
const newContent = Object.assign(Object.assign({}, (projectId && { projectId })), (_versionId && { _versionId }));
|
|
16
16
|
try {
|
|
17
17
|
// if file exists
|
|
18
18
|
let oldContent = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gtx-cli",
|
|
3
|
-
"version": "1.1.17
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"bin": "dist/main.js",
|
|
6
6
|
"scripts": {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"esbuild": "^0.23.1",
|
|
55
55
|
"fast-glob": "^3.3.3",
|
|
56
56
|
"form-data": "^4.0.2",
|
|
57
|
-
"generaltranslation": "^6.2.4
|
|
57
|
+
"generaltranslation": "^6.2.4",
|
|
58
58
|
"ora": "^8.2.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|