
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@aplus/node
Advanced tools
Alloy+ Plugin for making Alloy code use the nodejs style module resolution
⚠️ CAUTION: PRE-PRODUCTION BETA ⚠️
(breaking changes may be introduced before 1.0.0 release) **
node
Alloy+ plugin node
is a plugin for making Alloy use the nodejs style of module resolution when using require()
.
This allows you to install (via npm) and use many packages that are available today for node.js applications.
Alloy+ is an entire framework built around Appcelerator Mobile and their Alloy product. The idea for this framework was built upon the concepts of MobileHero Adamantium and a desire to customize and extend Appcelerator Alloy for developers. How much faster or stronger all depends on YOU, the developer.
There will be an assortment of alloy+ plugins (available as npm modules) that you can install in your project to help you take your existing development tools furthur
than possible today. You can choose which modules are executed in your config.json
file (which is part of your Alloy project). You can also easily create your own plugins by simply creating a npm module that follows a simple convention.
All modules should be installed in the root directory of your Appcelerator mobile project (the directory containing
tiapp.xml
).
Alloy+ plugins are executed by Alloy+ Core
. You can install core by itself or bundled with several Alloy+ plugins.
npm install --save @aplus/core
npm install --save @aplus/bundle
All modules should be installed in the root directory of your Appcelerator mobile project (the directory containing
tiapp.xml
).
npm install --save @aplus/node
To use this installed plugin in your app, merge the following to your app's config.json
file:
{
"tasks": [ "@aplus/node" ]
}
In default mode, the task will run in the
postcompile
stage of the Alloy build process so that any generated files have already been placed in the resource folder.
Fix require resolve issues in the Platform-specific resource folder
"postcompile": [ "@aplus/node" ]
Add a core module: mycore
"modules": {
"core": [
{
"id": "mycore",
"path": "path/to/mycore"
}
]
},
Add a fallback module: bluebird
"modules": {
"fallback": [
{
"id": "bluebird",
"path": "@mobile/bluebird"
}
]
},
The following scenarios are valid and should work. Check the status below to see which have been tested and are working in the current build.
require('alloy/moment')
require('@mobile/bluebird')
require('path')
require('test')
main
property in package.json
-- require('test')
require('./mymodule')
require('lo' + 'dash')
Coming Soon! :mega:
underscore
: Fix invalid usages of underscore.js within Alloy source codenpm
: Execute npm during the Alloy build processbabel
: Run babel transformations on your code during the build processes6
: Use ES6/ES2015 code in your apps via babel transformations!You can also search for more plugins developed by the community.
Please submit an issue on GitHub and provide information about your setup.
This project is licensed under the terms of the MIT license. See the license.md file. This means you have full access to the source code and can modify it to fit your own needs.
Superhero Studios Incorporated and this project are in no way affiliated with any of the following companies:
Alloy is developed by Appcelerator and the community and is Copyright (c) 2012 by Appcelerator, Inc. All Rights Reserved. Alloy is made available under the Apache Public License, version 2. See their LICENSE file for more information.
FAQs
⭐ Axway Amplify module for using Node.js code with Appcelerator Titanium SDK
The npm package @aplus/node receives a total of 6 weekly downloads. As such, @aplus/node popularity was classified as not popular.
We found that @aplus/node demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.