{"_id":"atlassian-soy-cli","_rev":"34-b6e1353386ffd3ca51d1b9c9bce8aaf4","name":"atlassian-soy-cli","dist-tags":{"latest":"2.0.0"},"versions":{"1.1.0":{"name":"atlassian-soy-cli","version":"1.1.0","keywords":["atlassian","soy"],"license":"Apache-2.0","_id":"atlassian-soy-cli@1.1.0","maintainers":[{"name":"luuuis","email":"luis@eml.cc"}],"homepage":"https://bitbucket.org/atlassian/node-soy-cli#readme","dist":{"shasum":"d8937a1ecdd1e95253fc69921e13f8794ef7e195","tarball":"https://registry.npmjs.org/atlassian-soy-cli/-/atlassian-soy-cli-1.1.0.tgz","integrity":"sha512-l5NtPlOTK2fLXS/99WR50eMzwEcS1p9IZHJMd9G+XpBwFOpJTqAgzcUguxfR/uzIszHratRQI5oU46pJTTEltQ==","signatures":[{"sig":"MEUCIEh3q3lnMz67ItjT1FT9DypvjOfwx3p5gGhawUeshS4XAiEAiQZaiV1mhsgmOr9AJ6RswnLLnDYsSmT8k2M8YLiBCEY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"app/cli.js","_from":".","_shasum":"d8937a1ecdd1e95253fc69921e13f8794ef7e195","gitHead":"4b3f607a59e4eb9624a75ccee8186564fa4f6ef3","scripts":{"test":"mocha --reporter spec","clean":"rimraf soy cache","preversion":"npm run clean && npm test","postversion":"git push && git push --tags"},"_npmUser":{"name":"luuuis","email":"luis@eml.cc"},"deprecated":"As at 19.03.2021, this package is deprecated and no longer maintained.\nWe recommend https://www.npmjs.com/package/@atlassian/soy-loader.","repository":{"url":"git+https://bitbucket.org/atlassian/node-soy-cli.git","type":"git"},"_npmVersion":"2.11.3","description":"Node wrapper for the Atlassian Soy CLI","directories":{},"_nodeVersion":"0.12.7","dependencies":{"q":"^1.4.1","lodash":"^3.10.1","winston":"^1.0.2","fs-extra":"^0.24.0","interpolate":"^0.1.0","find-java-home":"^0.1.2","child-process-promise":"^1.1.0"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3","process":"^0.11.2","chai-as-promised":"^5.1.0"}},"1.1.1":{"name":"atlassian-soy-cli","version":"1.1.1","keywords":["atlassian","soy"],"license":"Apache-2.0","_id":"atlassian-soy-cli@1.1.1","maintainers":[{"name":"luuuis","email":"luis@eml.cc"}],"homepage":"https://bitbucket.org/atlassian/node-soy-cli#readme","dist":{"shasum":"64ebb25f9001e637f7c5099e5f092ccd1678c9ac","tarball":"https://registry.npmjs.org/atlassian-soy-cli/-/atlassian-soy-cli-1.1.1.tgz","integrity":"sha512-u940vquEESrEWFsO3Sqgo1ajkgQ0jZYyxkjN8/Z5P+W85V2GPy1OeDJXyuJvRwztsjva3Kmw1aOl//bGLho5TQ==","signatures":[{"sig":"MEYCIQDKuyySEI15OeviIOHo42srPDGVheCk1/h/Q6z/ddFR6AIhAOkzpsCG6DmTMM5x5wetdwCMGWPBzZkPefvVfvZC7DU4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"app/cli.js","_from":".","_shasum":"64ebb25f9001e637f7c5099e5f092ccd1678c9ac","gitHead":"b8e11e431116ad591a457afbc2d3f21f4b0bf415","scripts":{"test":"mocha --reporter spec","clean":"rimraf soy cache","preversion":"npm run clean && npm test","postversion":"git push && git push --tags"},"_npmUser":{"name":"luuuis","email":"luis@eml.cc"},"deprecated":"As at 19.03.2021, this package is deprecated and no longer maintained.\nWe recommend https://www.npmjs.com/package/@atlassian/soy-loader.","repository":{"url":"git+https://bitbucket.org/atlassian/node-soy-cli.git","type":"git"},"_npmVersion":"2.11.3","description":"Node wrapper for the Atlassian Soy CLI","directories":{},"_nodeVersion":"0.12.7","dependencies":{"q":"^1.4.1","lodash":"^3.10.1","winston":"^1.0.2","fs-extra":"^0.24.0","interpolate":"^0.1.0","find-java-home":"^0.1.2","child-process-promise":"^1.1.0"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3","process":"^0.11.2","chai-as-promised":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/atlassian-soy-cli-1.1.1.tgz_1456439202086_0.9402221040800214","host":"packages-5-east.internal.npmjs.com"}},"1.2.0":{"name":"atlassian-soy-cli","version":"1.2.0","keywords":["atlassian","soy"],"license":"Apache-2.0","_id":"atlassian-soy-cli@1.2.0","maintainers":[{"name":"joscha","email":"joscha@feth.com"},{"name":"luuuis","email":"luis@eml.cc"}],"homepage":"https://bitbucket.org/atlassian/node-soy-cli#readme","dist":{"shasum":"b07addac3895216a9cc57fb8486087e9768ed652","tarball":"https://registry.npmjs.org/atlassian-soy-cli/-/atlassian-soy-cli-1.2.0.tgz","integrity":"sha512-8/RQ7PUjTC8Z4TGg1PI5fvpOODppb87OruzkFvWljkN67czp0XA9TeIruyZD+TjBw37Xz1ZGWx9k0yPYOmcyPA==","signatures":[{"sig":"MEUCIQDbOekydpIbjLIxOWSu/lfqc8T1vt99VrxCqZo/axwiDwIgbIxFoRbqMUEiYvGlSPofBsJYOemmxp6IdDM67QDwdX0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"app/cli.js","_from":".","files":["app"],"_shasum":"b07addac3895216a9cc57fb8486087e9768ed652","gitHead":"2802224d1ec572cd4d610fe58c375e542035e934","scripts":{"test":"mocha --reporter spec","clean":"rimraf soy cache","preversion":"npm run clean && npm test","postversion":"git push && git push --tags"},"_npmUser":{"name":"joscha","email":"joscha@feth.com"},"deprecated":"As at 19.03.2021, this package is deprecated and no longer maintained.\nWe recommend https://www.npmjs.com/package/@atlassian/soy-loader.","repository":{"url":"git+https://bitbucket.org/atlassian/node-soy-cli.git","type":"git"},"_npmVersion":"3.7.3","description":"Node wrapper for the Atlassian Soy CLI","directories":{},"_nodeVersion":"5.9.1","dependencies":{"q":"^1.4.1","lodash":"^4.6.1","winston":"^2.2.0","fs-extra":"^0.26.7","interpolate":"^0.1.0","find-java-home":"^0.1.2","child-process-promise":"^1.1.0"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3","process":"^0.11.2","chai-as-promised":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/atlassian-soy-cli-1.2.0.tgz_1459404803334_0.737194610061124","host":"packages-12-west.internal.npmjs.com"}},"1.3.0":{"name":"atlassian-soy-cli","version":"1.3.0","keywords":["atlassian","soy"],"license":"Apache-2.0","_id":"atlassian-soy-cli@1.3.0","maintainers":[{"name":"cdarroch","email":"cdarroch@atlassian.com"},{"name":"joscha","email":"joscha@feth.com"},{"name":"joshuaali","email":"ali.joshua@gmail.com"},{"name":"luuuis","email":"luis@eml.cc"}],"homepage":"https://bitbucket.org/atlassian/node-soy-cli#readme","dist":{"shasum":"ed3d3885c1eaa5615ab7b38dcc04c0682c12199f","tarball":"https://registry.npmjs.org/atlassian-soy-cli/-/atlassian-soy-cli-1.3.0.tgz","integrity":"sha512-wSnl9rr6blA5fTx9z3jpSu6NUED+uf8zH7SVC18AJic/a4G6jodoXj9KDotrdaWjvqp5lwXS+mkvwPbFTHucwA==","signatures":[{"sig":"MEQCIDA+0AAT99k3YE3kjHZoaqI6TEbkn5j3ihDvoJJqGMueAiBs6tzHWkf6+kXoPIeGsTeDnDUUmAEcfW7wnx/ZqS7uzw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"app/cli.js","files":["app"],"gitHead":"508c7c261f386661a70e89ce501eda6598ac690b","scripts":{"test":"mocha --reporter spec","clean":"rimraf soy cache","preversion":"npm run clean && npm test","postversion":"git push && git push --tags"},"_npmUser":{"name":"cdarroch","email":"cdarroch@atlassian.com"},"deprecated":"As at 19.03.2021, this package is deprecated and no longer maintained.\nWe recommend https://www.npmjs.com/package/@atlassian/soy-loader.","repository":{"url":"git+https://bitbucket.org/atlassian/node-soy-cli.git","type":"git"},"_npmVersion":"5.3.0","description":"Node wrapper for the Atlassian Soy CLI","directories":{},"_nodeVersion":"8.2.1","dependencies":{"q":"^1.4.1","lodash":"^4.6.1","winston":"^2.2.0","fs-extra":"^0.26.7","interpolate":"^0.1.0","find-java-home":"^0.1.2","child-process-promise":"^1.1.0"},"devDependencies":{"chai":"^3.3.0","mocha":"^2.3.3","process":"^0.11.2","chai-as-promised":"^5.1.0"},"_npmOperationalInternal":{"tmp":"tmp/atlassian-soy-cli-1.3.0.tgz_1502706834804_0.6277253821026534","host":"s3://npm-registry-packages"}},"1.5.0":{"name":"atlassian-soy-cli","version":"1.5.0","keywords":["atlassian","soy"],"license":"Apache-2.0","_id":"atlassian-soy-cli@1.5.0","maintainers":[{"name":"atlassian-aui","email":"aui-team@atlassian.com"},{"name":"cdarroch","email":"cdarroch@atlassian.com"},{"name":"joshuaali","email":"ali.joshua@gmail.com"},{"name":"luuuis","email":"luis@eml.cc"}],"homepage":"https://bitbucket.org/atlassian/node-soy-cli#readme","dist":{"shasum":"15025953c3974f4a92bc2cf1e24a4106022425a5","tarball":"https://registry.npmjs.org/atlassian-soy-cli/-/atlassian-soy-cli-1.5.0.tgz","fileCount":3,"integrity":"sha512-JDlXcGpKNUQ8ewwGlgCII4kLbqwXgGXuID2g2TQJ7E6R37sHLhw4wms9IUHonXj/eGqv73D43KYL0bTeMQYvlg==","signatures":[{"sig":"MEUCICEYz9E9iUw1DfFvsa4S6ns3VWoHPFDG45xOvnaH+dG+AiEAwxcvVHhpcMrznQ+AufSw2F0mLO2OAH7arvjqgzTnBgA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9568,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnjm7CRA9TVsSAnZWagAAlisQAIZBtfQfX7qJfGcXKcf9\nEII+lBg5WQk7V0r1Y+9d74x7LGf+UIseXNNr90BzaNu91IKpl5zrTaFK4eHS\nif9Ggf511RwHTuJMjlqlk799A7om5+QUINFCLhhUlAdjfhWjvOm/aoPy1BlB\nuRhUvaDHFwCGB+E2T2JqC6N+icrd+D5ZJEMHFvDKUjb5ToAK4rkNi3gRbggb\ngGI8+iNP6RkDJeKOQBxc7kBsb/1baKylqQKfDPc8s8sAplSvOABSWpDrw2EV\nL1P8S8x/yLBXIZroCyrKCr+F+8un54qdjw+eXmV6rst6nn95cCbI1N8D9/wk\nU+8EA9DsC7e/dpHePJXDT7tWcal44MkliHy7a17O38PUjYEyhWsJeuByX92n\nfLUMJ6HxTxsWyz1nWYOyyHp5e+sv/URoTxeHErBMpQjeujxTlsWArdbWVcIz\nvi+EkWIWXByHxebgiZ634N1i86G7WeXXoXHcSglSp1u1lRiRj6t/0uBA/DYb\nFmiYz8t8ihBHkCqNndqMLLEXAZ5utp7jbAFrALn8QhdgMJDUBUbz8lH+2Gbi\n2zq1+AIpNBqxbCD/asGha5gsVi+ajSvSUYEOP5H1aV0FEvD1rH0oSFzDO3Uz\niKvZ9ARltRm9gHmzkDp6LLd7cU3ewlJ6uzmH4SoN7fUCW1P7RvMAhPRXbP5j\n7CYj\r\n=a21n\r\n-----END PGP SIGNATURE-----\r\n"},"main":"app/cli.js","engines":{"node":">=6.4"},"gitHead":"0a7f9f5bfd6d2b6037dc5ce00d2fb78d7ed3ae39","scripts":{"test":"mocha --reporter spec","clean":"rimraf soy cache","preversion":"npm run clean && npm test","postversion":"git push && git push --tags"},"_npmUser":{"name":"atlassian-aui","email":"aui-team@atlassian.com"},"deprecated":"As at 19.03.2021, this package is deprecated and no longer maintained.\nWe recommend https://www.npmjs.com/package/@atlassian/soy-loader.","repository":{"url":"git+https://bitbucket.org/atlassian/node-soy-cli.git","type":"git"},"_npmVersion":"6.7.0","description":"Node wrapper for the Atlassian Soy CLI","directories":{},"_nodeVersion":"11.12.0","dependencies":{"q":"^1.4.1","lodash":"^4.6.1","winston":"^2.2.0","fs-extra":"^7.0.0","interpolate":"^0.1.0","find-java-home":"^0.2.0","follow-redirects":"^1.7.0","create-output-stream":"^0.0.1","child-process-promise":"^2.2.1"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","mocha":"^5.2.0","rimraf":"^2.6.3","process":"^0.11.2","chai-as-promised":"^7.1.1"},"_npmOperationalInternal":{"tmp":"tmp/atlassian-soy-cli_1.5.0_1553873339035_0.18115718521647173","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"atlassian-soy-cli","version":"2.0.0","keywords":["atlassian","soy"],"license":"Apache-2.0","_id":"atlassian-soy-cli@2.0.0","maintainers":[{"name":"tsebastian","email":"tsebastian@atlassian.com"},{"name":"mkem114","email":"michaeljk.nz+npm@gmail.com"},{"name":"timse","email":"tim.sebastian@gmail.com"},{"name":"cdarroch","email":"cdarroch@atlassian.com"},{"name":"gleal-atlassian","email":"gleal@atlassian.com"},{"name":"mszpyra","email":"mszpyra@atlassian.com"},{"name":"bcytrowski","email":"bcytrowski@atlassian.com"},{"name":"macku","email":"npm@maciejadamczak.net"},{"name":"atlassian-aui","email":"aui-team@atlassian.com"},{"name":"joshuaali","email":"ali.joshua@gmail.com"}],"homepage":"https://bitbucket.org/atlassian/node-soy-cli#readme","dist":{"shasum":"a8382ba4d17980b1e9f6b751f1536be2d071a760","tarball":"https://registry.npmjs.org/atlassian-soy-cli/-/atlassian-soy-cli-2.0.0.tgz","fileCount":3,"integrity":"sha512-G5thibXEVBKARubephpFJ8bT8YYlVmBMCw2sihk3P+nt3zA3YeTaP0kGwaGLbiEDipYABkvfrS4nMmELW/5+fg==","signatures":[{"sig":"MEQCIHLnTACQOAGBKjgIcha1dV+8JUohtYBCOhcxhrLSrb0pAiAXrDREW/4ruOZLl/bVI0n2V3iLCPhJg7GJ52qmgjPT9w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9186,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgVA4cCRA9TVsSAnZWagAA0IAP/RuosPU/EFidt6LFh7DL\nFfBvX+6P37mndo6+0IoPkyXfMXRcsRps3t9Tnmk+5It/zNGUjTSodXyGDuT9\nlTIOt7gJldkZr8bHet4xPH7T4ti9Jm4tJIQs/dTuUwAGHmk9L0EN5g+A8G88\nBlpDK5p/CX47dh/IfqzMPqmQ69H8Xkthpj4ApClj9QGlectFOD/SndCxd/J6\nWFwDkOhnOTGjYVTud5KADPwws45SoPt9zYN8rLsJ6rCeP8+XU8RF4OzGMFz6\n02QhZkTV+4DhVOkzpBlCdxpc1egHq+DsCzv6DOQ7Tqzek0uF7ZUHqySrBQQv\n7VTuOXAj+YMEUdnQ4WwZG3+LwAnqal4u9hLnACbMGN9vCI254gpaFya9CP6K\nSbG+p0uElKl8XtPMVfAu/qDqCuuRnDshptSK1LNJfg2KcmSFbCJ0zAJzjKI7\ndrk6S6cA1or7yAtPn7RU6T6u0/LHMxLcSgad8ysUqOF21SY+d13lB4HwrgR8\n1AOZ3XmwgJeY5wDpvPAMMxHz5v9H4rLlu/ihOMHNuWjwJZPIeBTdzVOBF+lj\nBTti8nOyEuMN+rjWkzNR1HRuybd0BFO6L9s2fys0X9zJELV1GW4j16CcnwG7\nDOLcS55MK9+/tFgyaNmc3OCPaj8XfSEO3GnwMVW91BqvIDXy3mo+IWcD/9ym\np4Yf\r\n=wk3O\r\n-----END PGP SIGNATURE-----\r\n"},"engines":{"node":">=6.4"},"gitHead":"7c91be8fa8f3eb5177e2e9667cee0cedd8b62b62","scripts":{},"_npmUser":{"name":"timse","email":"tim.sebastian@gmail.com"},"deprecated":"As at 19.03.2021, this package is deprecated and no longer maintained.\nWe recommend https://www.npmjs.com/package/@atlassian/soy-loader.","repository":{"url":"git+https://bitbucket.org/atlassian/node-soy-cli.git","type":"git"},"_npmVersion":"6.13.4","description":"DEPRECATED, DO NOT USE - Node wrapper for the Atlassian Soy CLI","directories":{},"_nodeVersion":"12.15.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/atlassian-soy-cli_2.0.0_1616121372178_0.9100212099312595","host":"s3://npm-registry-packages"}}},"time":{"created":"2015-10-06T02:52:40.509Z","modified":"2026-06-01T10:40:24.893Z","1.1.0":"2015-10-06T02:52:40.509Z","1.1.1":"2016-02-25T22:26:44.366Z","1.2.0":"2016-03-31T06:13:23.795Z","1.3.0":"2017-08-14T10:33:56.120Z","1.5.0":"2019-03-29T15:28:59.137Z","2.0.0":"2021-03-19T02:36:12.398Z"},"license":"Apache-2.0","homepage":"https://bitbucket.org/atlassian/node-soy-cli#readme","keywords":["atlassian","soy"],"repository":{"url":"git+https://bitbucket.org/atlassian/node-soy-cli.git","type":"git"},"description":"DEPRECATED, DO NOT USE - Node wrapper for the Atlassian Soy CLI","maintainers":[{"email":"eng-development-tooling-artifacts@atlassian.com","name":"atlassianartifactteam"}],"readme":"# THIS PACKAGE IS DEPRECATED - PLEASE MIGRATE\nAs at 19.03.2021, this package is deprecated and no longer maintained.\nWe recommend https://www.npmjs.com/package/@atlassian/soy-loader.\n\n\n# Node.js: Atlassian Soy CLI\n\n`atlassian-soy-cli` is a Node wrapper for [Atlassian Soy Templates CLI][atlassian-soy-templates]. \n\n## Why?\n\nCompile Soy to Javascript as part of your frontend build using frontend tools, not Maven and Java. Easily integrate\nwith Gulp, Karma, and others. \n\n## Installation\n\n    npm install --save-dev atlassian-soy-cli\n\n## Usage\n\n`atlassian-soy-cli` exposes a factory function that takes an options object.\n\n    var soyCli = require('atlassian-soy-cli');\n    var cli = soyCli({\n      version: '4.1.2', // optional\n      basedir: 'src/main/resources',\n      outdir: 'target/classes',\n      type: 'js' // optional\n    });\n\nFrom then on, call `compile(glob)` to compile Soy files that match the glob. All methods support both callback and\npromise style.\n\n    // compile all soy templates in basedir (using callback style) \n    cli.compile('**/*.soy', callback)\n    \n    // compile a single soy template (using promise style)\n    cli.compile('myTemplate.soy').then(...)\n\n## Options\n\nThe `basedir` and `outdir` options are mandatory. Arguments passed in the `extraArgs` option are passed through to the Soy CLI. \n\n    {\n      version: \"4.1.2\", // optional\n      basedir: \"/path/to/soy/templates\",\n      outdir: \"/path/to/compiled/js\",\n      type: 'js', // optional\n      extraArgs: {\n        'use-ajs-context': true,\n        'rootnamespace': 'mynamespace',\n        'i18n': [\n          '/path/to/file1',\n          '/path/to/file2'\n        ]\n      }\n    }\n    \nThe above `extraArgs` will append the following arguments to the Soy CLI invocation.\n\n    --use-ajs-context --rootnamespace \"mynamespace\" --i18n \"/path/to/file1\" --i18n \"/path/to/file2\"\n\n [atlassian-soy-templates]: https://bitbucket.org/atlassian/atlassian-soy-templates\n \n","readmeFilename":"README.md"}