Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include module list in global-config node when exporting flows #4599

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

knolleary
Copy link
Member

Part of #4597

When exporting a flow from the editor (via Ctrl-E, or deploying to runtime), the editor will now scan the nodes being exported and if any come from modules other than node-red, it will include a global-config node in the export (or update an existing one) to include a modules object:

For example:

    {
        "id": "501579b48496ccb7",
        "type": "global-config",
        "modules": {
            "node-red-node-daemon": "0.2.1"
        }
    }

Keeping this PR in draft as we need to do the import side of it as well.

@johnwyles
Copy link

big ups on this one ^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants