create-mtfbs-nodered v1.1.0
create-mtfbs-nodered
A CLI for automatically generating the structure of a Node-RED project compliant with MTFBS company standards.
š Introduction
create-mtfbs-nodered
is a tool for quickly generating a pre-configured Node-RED project with MTFBS corporate standard configurations. The package automatically sets up:
- ā Configuration for connecting to the private NPM repository on Azure DevOps.
- š Corporate security policies.
- āļø Standard settings and configurations for MTFBS projects.
š Usage
To create a new Node-RED project with the corporate configuration, you can run the following command without installing the package globally:
npm create mtfbs-nodered@latest <project-name>
For example:
npm create mtfbs-nodered@latest my-node-red-app
The command will automatically generate the project structure with:
- A customized
settings.js
file with security policies. - An
.npmrc
configured for the private repository on Azure DevOps. - Other standard corporate configuration files.
āļø CLI Parameters
This script requires a single mandatory parameter:
Parameter | Description |
---|---|
<project-name> | The name of the Node-RED project to be created |
Example:
npm create mtfbs-nodered@latest my-node-red-app
š§ Configuration
Private NPM Repository on Azure DevOps
The generated .npmrc
file will automatically include the configuration for the private NPM repository on Azure DevOps. Make sure you have the correct Personal Access Token (PAT) for authentication.
Security Policies
The generated settings.js
file will include:
- Admin authentication based on credentials.
- Credential encryption with a dynamically generated
credentialSecret
.
š Maintenance
To update create-mtfbs-nodered
to the latest version:
npm update -g create-mtfbs-nodered
If you have suggestions or feedback, write an email here.
š License
Ā© 2025 MTFBS. All rights reserved.