@talend/i18n-scripts
Advanced tools
Comparing version 0.8.0 to 1.0.0
{ | ||
"name": "@talend/i18n-scripts", | ||
"description": "Set of scripts to ease i18n workflow", | ||
"version": "0.8.0", | ||
"version": "1.0.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -138,16 +138,19 @@ /* eslint-disable global-require */ | ||
function deployModule(options, repoCmdContext, module) { | ||
if (!module) { | ||
return; | ||
} | ||
function deployModule(options, repoCmdContext) { | ||
printSection('Module deployment (type=' + options.type + ')'); | ||
printSection('Module deployment'); | ||
switch (module.type) { | ||
switch (options.type) { | ||
case 'npm': | ||
printRunning('> npm publish'); | ||
// spawn.sync('npm', ['publish'], repoCmdContext); | ||
const npmCmd = spawn.sync('npm', ['publish'], repoCmdContext); | ||
printInfo(JSON.stringify(npmCmd)); | ||
break; | ||
case 'mvn': | ||
printRunning('> mvn deploy'); | ||
// spawn.sync('mvn', ['deploy'], repoCmdContext); | ||
const mvnCmd = spawn.sync( | ||
'mvn', | ||
['-s', process.env.MAVEN_SETTINGS, 'deploy'], | ||
repoCmdContext, | ||
); | ||
printInfo(JSON.stringify(mvnCmd)); | ||
break; | ||
@@ -154,0 +157,0 @@ default: |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1453
1
112266
25
25