1.0.0 • Published 7 months ago

zcatalyst-cli-plugin-angular v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

catalyst npm Snyk Vulnerabilities for npm package license

The official plugin for Catalyst CLI to develop and deploy Angular Applications with Catalyst.

Plugin Capabilities

  • This plugin allows you to serve and debug the Angular Application with Catalyst.
  • With this plugin you'll be able to build a production ready version of your Angular Application and deploy it to Catalyst remote console.

Prerequisites

ZCatalyst-CLI: To install ZCatalyst-CLI with npm, use this command

npm install -g zcatalyst-cli

Check this documentation to get started with Angular in Catalyst.

Note: zcatalyst-cli of versions 1.11.0 and above supports this plugin.

Configuring Plugin

The Plugin can be installed in two ways and needed to be configured in the catalyst.json configuration file.

Note: When setting up the Angular App from ZCatalyst-CLI the CLI will take care of the configuration process.

Global installation

The plugin can be installed in the global NPM node_modules directory and configured as follows

Installation

npm install zcatalyst-cli-plugin-angular -g

catalyst.json

{
    "client": {
        "source": "angular-app",
        "plugin": "zcatalyst-cli-plugin-angular"
    }
}

Local installation

The plugin can be installed in the local node_modules directory of the Angular App and configured as follows

Installation

# to be executed within the Angular App directory
npm install zcatalyst-cli-plugin-angular --save-dev

catalyst.json

{
    "client": {
        "source": "angular-app",
        "plugin": "angular-app/node_modules/zcatalyst-cli-plugin-angular"
    }
}