Skip to content

revert: pin node-red devDependency back to ^4.1.10 - #33

Merged
dirkjanfaber merged 1 commit into
mainfrom
revert/node-red-devdep-to-4
Aug 2, 2026
Merged

dirkjanfaber merged 1 commit into
mainfrom
revert/node-red-devdep-to-4

Conversation

@dirkjanfaber

Copy link
Copy Markdown
Owner

Summary

  • node-red is a devDependency used only for compile-time TypeScript types (import type NodeRed from 'node-red') and local manual testing — it's never shipped or executed at runtime for people using the published node.
  • Nothing in the codebase needs NR5's type surface, and the published package's actual compatibility floor is the separate "node-red": { "version": ">=3.0.2" } field, which is untouched.
  • Pin back to ^4.1.10 rather than carry the newer devDependency without a concrete reason.

Test plan

  • npm run build && npm run lint && npm test all pass locally

node-red is a devDependency used only for compile-time TypeScript
types and local manual testing; nothing in the codebase requires
NR5's API surface, and the published package's actual compatibility
floor is governed separately by the "node-red.version" field
(unchanged, >=3.0.2). Not worth carrying the newer devDependency
without a concrete reason to.
@dirkjanfaber
dirkjanfaber merged commit b4caded into main Aug 2, 2026
2 checks passed
@dirkjanfaber
dirkjanfaber deleted the revert/node-red-devdep-to-4 branch August 2, 2026 19:02
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.

1 participant