
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
appcd-default-plugins
Advanced tools
A psuedo package that attempts to install the latest major versions of all default appcd plugins
into the user's appcd home directrory (e.g. "~/.appcelerator/appcd/plugins"
) postinstall and
optionally at runtime.
Visit https://github.com/appcelerator/appc-daemon for more information.
Report issues to GitHub issues. Official issue tracker in JIRA.
import { installDefaultPlugins } from 'appcd-default-plugins';
await installDefaultPlugins('/path/to/plugins/dir');
appcd-default-plugins
deploys two strategies for installing the default appcd plugins:
post-install and at runtime.
Post-install is the ideal time to install the default plugins, however if the user installs as root
(e.g. sudo), then npm
will drop permissions and the post-install script will be unable to write
to the plugins directory. In this case, the permission error is suppressed allowing the install to
complete.
appcd-default-plugins
leverages lerna and yarn to create a local workspace for the purpose of
optimizing a hoisted node_modules
directory.
Since downloading and installing a plugin and its dependencies is an expensive operation, it will only install a plugin from npm if there are no installed plugins that satisfy the plugin's specs. Likewise, it will only invoke lerna if a plugin was installed or a plugin was removed/invalidated.
The installDefaultPlugins()
function performs a number of steps to attempt to install the default
plugins:
postinstall
or previous appcd
start./path/to/plugins/invalid
directory.package.json
files to make
lerna/yarn happy.package.json
and lerna.json
files.This project is open source under the Apache Public License v2 and is developed by
Axway, Inc and the community. Please read the LICENSE
file included
in this distribution for more information.
FAQs
A psuedo package that bundles all default appcd plugins.
The npm package appcd-default-plugins receives a total of 5 weekly downloads. As such, appcd-default-plugins popularity was classified as not popular.
We found that appcd-default-plugins demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.