From 49638b98cf5c300eb5a4bfa11d555dba01d2350f Mon Sep 17 00:00:00 2001 From: czlonkowski Date: Mon, 30 Mar 2026 21:59:52 +0200 Subject: [PATCH] fix: include workflow-patterns.json in npm package (#681) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added data/workflow-patterns.json to the files array in package.json so the patterns file ships with the npm package. Without this, the search_templates patterns mode returns an error asking users to manually run the mine script. Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en Co-Authored-By: Claude Opus 4.6 (1M context) --- CHANGELOG.md | 8 ++++++++ package.json | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47def57..48ea291 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.42.2] - 2026-03-30 + +### Fixed + +- **`workflow-patterns.json` missing from npm package** (Issue #681): Added `data/workflow-patterns.json` to the `files` array in `package.json` so the patterns file is included in the published npm package and works out of the box without manual generation. + +Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en + ## [2.42.1] - 2026-03-30 ### Fixed diff --git a/package.json b/package.json index 2f3da96..ba39c01 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "n8n-mcp", - "version": "2.42.1", + "version": "2.42.2", "description": "Integration between n8n workflow automation and Model Context Protocol (MCP)", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -124,6 +124,7 @@ "dist/**/*", "ui-apps/dist/**/*", "data/nodes.db", + "data/workflow-patterns.json", ".env.example", "README.md", "LICENSE",