atlassian-soy-cli
Advanced tools
Comparing version 1.1.1 to 1.2.0
@@ -19,3 +19,6 @@ var _ = require('lodash'); | ||
/** {object} extra arguments to pass through (values can be string or string[]) */ | ||
extraArgs: {} | ||
extraArgs: {}, | ||
/** {String} default type is js */ | ||
type: 'js' | ||
}; | ||
@@ -100,3 +103,3 @@ | ||
return _.extend({}, sanitisedExtraArgs, { | ||
type: 'js', | ||
type: options.type, | ||
basedir: options.basedir, | ||
@@ -103,0 +106,0 @@ outdir: options.outdir, |
{ | ||
"name": "atlassian-soy-cli", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Node wrapper for the Atlassian Soy CLI", | ||
@@ -20,2 +20,5 @@ "main": "app/cli.js", | ||
], | ||
"files": [ | ||
"app" | ||
], | ||
"license": "Apache-2.0", | ||
@@ -32,8 +35,8 @@ "homepage": "https://bitbucket.org/atlassian/node-soy-cli#readme", | ||
"find-java-home": "^0.1.2", | ||
"fs-extra": "^0.24.0", | ||
"fs-extra": "^0.26.7", | ||
"interpolate": "^0.1.0", | ||
"lodash": "^3.10.1", | ||
"lodash": "^4.6.1", | ||
"q": "^1.4.1", | ||
"winston": "^1.0.2" | ||
"winston": "^2.2.0" | ||
} | ||
} |
@@ -18,7 +18,8 @@ # Node.js: Atlassian Soy CLI | ||
var soyCli = require('atlassian-soy-cli') | ||
var soyCli = require('atlassian-soy-cli'); | ||
var cli = soyCli({ | ||
version: '4.1.2', // optional | ||
basedir: 'src/main/resources', | ||
outdir: 'target/classes' | ||
outdir: 'target/classes', | ||
type: 'js' // optional | ||
}); | ||
@@ -43,5 +44,6 @@ | ||
outdir: "/path/to/compiled/js", | ||
type: 'js', // optional | ||
extraArgs: { | ||
'use-ajs-context': true, | ||
'rootNamespace': 'mynamespace', | ||
'rootnamespace': 'mynamespace', | ||
'i18n': [ | ||
@@ -56,5 +58,5 @@ '/path/to/file1', | ||
--use-ajs-context --rootNamespace "mynamespace" --i18n "/path/to/file1" --i18n "/path/to/file2" | ||
--use-ajs-context --rootnamespace "mynamespace" --i18n "/path/to/file1" --i18n "/path/to/file2" | ||
[atlassian-soy-templates]: https://bitbucket.org/atlassian/atlassian-soy-templates | ||
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
60
1
9331
3
163
2
+ Addedasync@2.6.4(transitive)
+ Addedfs-extra@0.26.7(transitive)
+ Addedklaw@1.3.1(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedwinston@2.4.7(transitive)
- Removedasync@1.0.0(transitive)
- Removedfs-extra@0.24.0(transitive)
- Removedlodash@3.10.1(transitive)
- Removedpkginfo@0.3.1(transitive)
- Removedwinston@1.1.2(transitive)
Updatedfs-extra@^0.26.7
Updatedlodash@^4.6.1
Updatedwinston@^2.2.0