1.1.0 • Published 5 months ago

create-mtfbs-nodered v1.1.0

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

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:

ParameterDescription
<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.

1.1.0

5 months ago

1.0.8

5 months ago

1.0.7

5 months ago

1.0.6

5 months ago

1.0.5

5 months ago

1.0.4

5 months ago

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago