1.1.3 • Published 9 months ago

ng-environment-generator v1.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

ng-environment-generator

Introduction

ng-environment-generator is a command-line utility designed to automate the environment creation process for your Angular projects. It simplifies the often tedious task of setting up different environments, such as staging, internal, testing by providing a user-friendly command-line interface.

Installation

You can install ng-environment-generator globally using npm:

npm install -g ng-environment-generator

Usage

Display Help

To see available commands and options, you can run:

ng-env --help

Generate Environment

To generate an environment configuration, you can use the following command:

ng-env generate [environment-name]

Replace [environment-name] with the name of the environment you want to generate (e.g., "staging").

Options

  • --project ProjectName: Specify the name of the Angular project for which you want to generate the environment (it take the first project as default if no projectName is passed).

  • --script false: Include this option to also add build and serve script to the package.json file (true by default).

  • --e2e true: Include this option to also add configuration for end-to-end (e2e) testing.

Example

Generate a staging environment configuration for the project "MyApp" and include e2e environment files:

ng-env generate staging --project MyApp --e2e true

Motivation

Setting up environment configurations manually for Angular projects can be time-consuming and error-prone. ng-environment-generator aims to simplify this process and make it more efficient.

Issues

If you encounter any issues or have suggestions for improvements, please feel free to open an issue on the GitHub repository.

1.1.3

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago