Comparing version 1.2.0 to 1.3.0
@@ -21,6 +21,2 @@ var path = require('path'); | ||
if (!widgetJson.version) { | ||
return callback(new Error('Could not find version in widget.json')); | ||
} | ||
var pkg = _.extend(_.pick(widgetJson, 'version', 'description', 'author', 'license'), { | ||
@@ -27,0 +23,0 @@ name: exports.prefix + '-' + widgetJson.id, |
{ | ||
"name": "appc-npm", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Use NPM to distrbute Appcelerator Titanium, Alloy and Arrow components", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -111,6 +111,8 @@ # Appcelerator NPM Distribution | ||
### `connector` | ||
Arrow connectors. Searches for `package.json` to determine the target for the installer and will update the file with the `postinstall` script and `appc-npm` property, leaving the name and version as it is. | ||
* [Browse Arrow connectors on NPM](https://www.npmjs.com/browse/keyword/arrow-connector) | ||
### TODO: `module` | ||
Titanium modules. Searches for the most recent ZIP file and adds that file to the `files` field of the `package.json` so that only that file and our installer will be published to NPM. It also reads the `manifest` to use in the default package, which is `ti-module-<id>`, and for the version. | ||
### TODO: `connector` | ||
Arrow connectors. Searches for `appc.json` to determine the base path and adds that same directory to the list of paths to copy. The existing `package.json` is updated with the `postinstall` script and `appc-npm` property containing the list of paths. | ||
Titanium modules. Searches for the most recent ZIP file and adds that file to the `files` field of the `package.json` so that only that file and our installer will be published to NPM. It also reads the `manifest` to use in the default package, which is `ti-module-<id>`, and for the version. |
Sorry, the diff of this file is not supported yet
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
17588
12
285
117
9