Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

appc-npm

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appc-npm - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

lib/types/block.js

2

package.json
{
"name": "appc-npm",
"version": "1.1.0",
"version": "1.2.0",
"description": "Use NPM to distrbute Appcelerator Titanium, Alloy and Arrow components",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -6,2 +6,4 @@ # Appcelerator NPM Distribution

> **NOTE:** Running `appc-npm <type>` for your component only updates/adds a `package.json` and `appc-npm` postinstall executable. It adds **no dependencies** and does not change your code.
## Install

@@ -65,7 +67,7 @@

> ti-lib-xp.ui@1.0.0 postinstall /Users/fokkezb/myProject/node_modules/alloy-widget-myWidget/node_modules/ti-lib/xp.ui
> appc-lib-xp.ui@1.0.0 postinstall /Users/fokkezb/myProject/node_modules/alloy-widget-myWidget/node_modules/appc-lib-xp.ui
> node ./appc-npm
alloy-widget-myWidget@1.0.0 node_modules/alloy-widget-myWidget
├── ti-lib-xp.ui@1.0.0
├── appc-lib-xp.ui@1.0.0
```

@@ -94,15 +96,23 @@

* [Browse Alloy widgets on NPM](https://www.npmjs.com/browse/keyword/alloy-widget)
### `sync`
Alloy sync adapters. Searches for the first `.js` and uses `alloy-sync-<filename>` as the package name and `1.0.0` for the version. All other files are ignored for the installer.
* [Browse Alloy sync adapters on NPM](https://www.npmjs.com/browse/keyword/alloy-sync)
### `lib`
Titanium, Alloy or Arrow CommonJS libraries. Searches for the first `.js` and uses `alloy-sync-<filename>` as the package name and `1.0.0` for the version. All other files are ignored for the installer.
* [Browse Appcelerator libraries on NPM](https://www.npmjs.com/browse/keyword/appc-lib)
### `block`
Arrow post or pre-blocks. Searches for the first `.js` to determine the base path and adds that file to the list of paths to copy to the project. The default package name is `arrow-block-<filename>` and version is `1.0.0`.
* [Browse Arrow blocks on NPM](https://www.npmjs.com/browse/keyword/arrow-block)
### 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: `block`
Arrow post or pre-blocks. Searches for the first `.js` to determine the base path and adds that file to the list of paths to copy to the project. The default package name is `arrow-block-<filename>` and version is `1.0.0`.
### 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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc