Node-RED file read/write nodes for pseudo file storage in the cloud
Introduction
This package contains file read and write nodes that cannot be used at the same
time as the built-in Node-RED file nodes. To use these nodes, you must exclude
10-file-js in the nodesExcludes array in your settings file.
Nodes
file
A file node for writing to persistent storage provided by a @FlowFuse/file-storage server
file in
A file node for reading from persistent storage provided by a @FlowFuse/file-storage server
Notes
- The nodes have built in help to assist with runtime use
- These file nodes provide the same features as the built-in file nodes except they operate against a file server API not an regular filesystem
Release process
In this project, the Release Please is used to automatically determine the next release version based on the commit messages in the codebase.
By using the Conventional Commits, the project adheres to a standardized format for commit messages, which Release Please uses to determine whether the next release should be a major, minor, or patch release.
Components
The
Prepare releaseGitHub Action workflow:- A Release Please action that analyzes commit messages to determine the type of release required (major, minor, patch) based on the Conventional Commits specification
- Creates a pre-release pull request with the proposed version bump and changelog
- Once merged, automatically updates the version number in
package.jsonand creates a new release on GitHub with the appropriate changelog
The
Lint Pull Request TitleGitHub Action workflow:- A workflow that runs on pull request creation and uses the
amannn/action-semantic-pull-requestaction to validate that pull request titles follow the Conventional Commits format - Together with adjusted default merge commit message, this ensures that all commits merged into the main branch adhere to the expected format, allowing Release Please to function correctly
- A workflow that runs on pull request creation and uses the
Pull Request Title Format
The Conventional Commits preset expects pull request titles to be in the following format:
<type>(<scope>): <subject>
- Type: Describes the category of the commit. Examples include:
feat: A new feature (triggers a minor version bump).fix: A bug fix (triggers a patch version bump).perf: A code change that improves performance (triggers a patch version bump).refactor: A code change that neither fixes a bug nor adds a feature (does not trigger a release unless it's accompanied by a BREAKING CHANGE).docs: Documentation-only changes (does not trigger a release).chore: Changes to the build process or auxiliary tools and libraries (does not trigger a release).
- Scope: An optional part that provides additional context about what was changed (e.g., module, component).
- Subject: A brief description of the changes.
Handling Breaking Changes
To indicate a breaking change, the exclamation mark ! should be used immediately after the type/scope:
feat!:,fix!:refactor!: