diff --git a/cli/commands/build.js b/cli/commands/build.js index 1458177278d..40c3c6e91cb 100644 --- a/cli/commands/build.js +++ b/cli/commands/build.js @@ -121,7 +121,7 @@ exports.config = function config(logger, config, cli) { if (fs.existsSync(path.join(projectDir, 'tiapp.xml'))) { let tiapp; try { - tiapp = cli.tiapp = new tiappxml(path.join(projectDir, 'tiapp.xml')); + tiapp = cli.tiapp = new tiappxml(path.join(projectDir, 'tiapp.xml'), cli.argv.platform); } catch (ex) { logger.error(ex); logger.log(); diff --git a/package-lock.json b/package-lock.json index cb0e9c320a1..b47ee97599b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,7 +31,7 @@ "markdown": "0.5.0", "moment": "2.29.4", "node-appc": "1.1.6", - "node-titanium-sdk": "5.1.9", + "node-titanium-sdk": "6.0.0", "node-uuid": "1.4.8", "nodeify": "1.0.1", "p-limit": "3.1.0", @@ -11923,9 +11923,9 @@ "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==" }, "node_modules/node-titanium-sdk": { - "version": "5.1.9", - "resolved": "https://registry.npmjs.org/node-titanium-sdk/-/node-titanium-sdk-5.1.9.tgz", - "integrity": "sha512-pIX1zji5Enwx7V3JW+mr/BZnBBbaa9UcrVmEj0L+Rp/w3v8YhsAnZrDlAj0/mQ6XkIl8pbjZsL4CQQ1XurlsWg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/node-titanium-sdk/-/node-titanium-sdk-6.0.0.tgz", + "integrity": "sha512-CQwGAD2ZRz7UgaISySLgr66miRgfZnXBsH7wQTj1Awf4fBZxUuTXImksWdBYxAeX89kZO7SbSn6Xv9wIQE5f4w==", "dependencies": { "@babel/core": "7.11.6", "@babel/parser": "7.11.5", @@ -11943,7 +11943,7 @@ "xmldom": "0.6.0" }, "engines": { - "node": ">=10" + "node": ">=16" } }, "node_modules/node-titanium-sdk/node_modules/@babel/parser": { @@ -25815,9 +25815,9 @@ "integrity": "sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==" }, "node-titanium-sdk": { - "version": "5.1.9", - "resolved": "https://registry.npmjs.org/node-titanium-sdk/-/node-titanium-sdk-5.1.9.tgz", - "integrity": "sha512-pIX1zji5Enwx7V3JW+mr/BZnBBbaa9UcrVmEj0L+Rp/w3v8YhsAnZrDlAj0/mQ6XkIl8pbjZsL4CQQ1XurlsWg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/node-titanium-sdk/-/node-titanium-sdk-6.0.0.tgz", + "integrity": "sha512-CQwGAD2ZRz7UgaISySLgr66miRgfZnXBsH7wQTj1Awf4fBZxUuTXImksWdBYxAeX89kZO7SbSn6Xv9wIQE5f4w==", "requires": { "@babel/core": "7.11.6", "@babel/parser": "7.11.5", diff --git a/package.json b/package.json index 01e4d231884..31704bc65cd 100644 --- a/package.json +++ b/package.json @@ -106,7 +106,7 @@ "markdown": "0.5.0", "moment": "2.29.4", "node-appc": "1.1.6", - "node-titanium-sdk": "5.1.9", + "node-titanium-sdk": "6.0.0", "node-uuid": "1.4.8", "nodeify": "1.0.1", "p-limit": "3.1.0",