Skip to content

Commit c9a76c0

Browse files
fix: run n8n scan validation before every npm publish
Adds lint:n8n-scan to prepublishOnly to prevent publishing packages that would fail the n8n Creator Portal automated vetting.
1 parent 194a927 commit c9a76c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"lint:n8n-scan": "eslint --config eslint.n8n-scan.config.mjs --max-warnings 0 'dist/**/*.js'",
9393
"test": "vitest run",
9494
"test:watch": "vitest",
95-
"prepublishOnly": "pnpm build"
95+
"prepublishOnly": "pnpm build && pnpm lint:n8n-scan"
9696
},
9797
"peerDependencies": {
9898
"n8n-workflow": "*"

0 commit comments

Comments
 (0)