Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
rally-app-builder
Advanced tools
#Rally App Builder
Rally App Builder is a Node.js command line utility for building apps using the Rally App SDK.
Rally App Builder is most easily used when installed globally:
npm install -g rally-app-builder
However, if that does't work (permission errors, etc.) it can be installed locally as well:
npm install rally-app-builder
Usage: rally-app-builder [command] [options]
Commands:
init [--name] [--sdk] [--server]
Creates a new Rally App project
build [--templates]
Builds the current App
clone [--organization] [--repo]
Creates a new Rally App project from an existing GitHub project
run [--port]
Starts a local server and launches the App in the default browser
watch [--templates] [--ci]
Automatically builds the App when files are changed
test [--debug] [--spec]
Runs the App tests
Options:
-h, --help output usage information
-v, --version output the version number
###init
rally-app-builder init --name=myNewApp
Creating a new Rally App is as easy as using init. The init command creates you a After init creates your App it will automatically run the build command on it for you.
The init command takes a few parameters.
rally-app-builder init --name=myNewApp
rally-app-builder init --name=myNewApp --sdk=2.1
rally-app-builder init --name=myNewApp --sdk=2.1 --server=https://myOwnRally.com
Use the build command to compile your App into a single HTML page that can be copy and pasted into a Rally customer html page Run this command before you check your file into source control or whenever you make a change to your config.json file.
The build command can optionally take a templates parameter to use custom html output templates. Note this is an advanced usage and is generally not necessary unless you are trying to tweak the structure of the generated html output.
rally-app-builder build --templates=./templates
Also note this parameter can be specified in the config.json file as well.
You can define pre and post build commands to be executed by adding them to your config.json. These can be used to extend and support the rally app build/concatenation steps. An example using grunt (which by default will run your tests):
{
"scripts": {
"prebuild": "./node_modules/.bin/grunt"
"postbuild": "echo 'build completed'"
}
}
rally-app-builder clone --org=RallyApps --repo=StoryBoard
Many Rally Apps are created by using an existing App as a template. By using the rally-app-builder clone command you can get a copy of the existing App without installing the Git CLI. This command makes some changes to the config file so that we can tell which App you based your work on. As we determine which apps you are most interested in customizing we take that as input on ways to improve the existing catalog App.
rally-app-builder run
The run command starts a local http server and launches your App-debug.html file in the default browser for quick an easy development. By default the server listens on port 1337. This can be changed as follows:
rally-app-builder run --port=9999
rally-app-builder watch [--templates] [--ci]
The watch command listens for changes to app files and automatically rebuilds the app.
If the optional --ci
flag is passed the tests will also be run.
rally-app-builder test [--debug] [--spec]
The test command runs the tests. By default all tests will be run headlessly.
If the --debug
flag is specified the tests will be run in the default browser instead.
If the --spec
flag is specified only the test(s) matching the specified file pattern will be run.
The Testing Apps guide in the App SDK help documentation is a great resource to learn how to get started writing tests for your apps.
FAQs
A node module that assists in the building of Rally Apps
The npm package rally-app-builder receives a total of 6 weekly downloads. As such, rally-app-builder popularity was classified as not popular.
We found that rally-app-builder demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.