@titanium/tiapp-xml
Advanced tools
Comparing version 0.9.9 to 0.9.10
@@ -11,3 +11,3 @@ #!/usr/bin/env node | ||
const [ cwd, name, platform, version ] = args; | ||
const cwd = args[args.length - 1]; | ||
@@ -32,5 +32,3 @@ console.debug(`🦠 args: ${JSON.stringify(args, null, 2)}`); | ||
zzz(); | ||
if (!args.length && process.env.npm_package_name) { | ||
if (process.env.npm_package_name) { | ||
const platforms = getPlatforms(); | ||
@@ -51,8 +49,10 @@ | ||
} else if (args.length) { | ||
removeModule(args[0], args[1]); | ||
addModule(args[0], args[1], args[2]); | ||
tiapp.write(); | ||
} | ||
// else if (args.length) { | ||
// removeModule(args[0], args[1]); | ||
// addModule(args[0], args[1], args[2]); | ||
// tiapp.write(); | ||
// } | ||
function addModule(name, platform, version) { | ||
@@ -59,0 +59,0 @@ |
{ | ||
"name": "@titanium/tiapp-xml", | ||
"version": "0.9.9", | ||
"version": "0.9.10", | ||
"description": "Titanium tiapp.xml parsing and manipulation API - Forked from tonylukasavage", | ||
@@ -26,3 +26,3 @@ "license": "MIT", | ||
"test": "npm install --ignore-scripts && npm run list-files", | ||
"prepublishOnly": "git pull && bump" | ||
"prepublishOnly2": "git pull && bump" | ||
}, | ||
@@ -29,0 +29,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36897