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

@ngx-rocket/cli

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngx-rocket/cli

CLI for creating Angular apps with ngX-Rocket generators

  • 1.2.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

:rocket: ngx-rocket/cli

NPM version Build status Node version XO code style License

CLI for creating Angular apps with ngX-Rocket generators.

Why using this CLI instead of directly using our awesome ngX-Rocket generator? Because it's simpler and allows you to leverage wonderful ngX Rocket add-ons or even make your very own!

And there's more to come, stay tuned... :wink:

Installation

npm install -g @ngx-rocket/cli

Usage

ngx --help
          __   __
 _ _  __ _\ \./ / ____ ____ ____ _  _ ____ ___
| ' \/ _` |>   <  |--< [__] |___ |-:_ |===  |
|_||_\__, /_/°\_\ ENTERPRISE APP STARTER -~*=>
     |___/

Usage: ngx [new|update|config|list] [options]

n, new [name]
  Creates a new app.
  -a, --addon  Creates an add-on instead.

u, update
  Updates an existing app or add-on.

c, config
  Configures add-ons to use for new apps.
  All available add-ons are used by default.

l, list
  Lists available add-ons.
  -n, --npm    Show installable add-ons on NPM

Generating and serving a project via a development server

ngx new
npm start

Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

To get more information about generated project, see ngX-Rocket generator.

Updating an existing project

Make you have no uncommited changes in your project folder, then:

ngx update

The simplest and safest way is then to overwrite everything in case of conflict, then use your SCM to revert/merge changes one file at once.

Managing add-ons

ngX-Rocket add-ons are additional generators running on top of ngX-Rocket generator that complement or modify the project template.

Listing available add-ons

Use ngx list to show currently installed add-ons on the system.

To show add-ons available for installation, use npm list --npm.

Disabling specific add-ons

By default all installed add-ons are used for new projects. However, you selectively enable or disable add-ons using ngx config.

Creating a new add-on

You can use the command ngx new --addon to create a new ngX-Rocket add-on. See ngx-rocket/core for the complete documentation about add-on creation.

License

MIT

Keywords

FAQs

Package last updated on 28 Aug 2017

Did you know?

Socket

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.

Install

Related posts

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