- Add docs/integrations/zapier.mdx and n8n.mdx, register both in docs.json (Developer Tools) and docs/llms.txt - Align n8n CD toolchain (pnpm 9 / Node 20) with the checks workflow so the published artifact is built on the toolchain CI validated - Add Mem0.node.json codex and copy it into dist via gulp for nodes-panel discoverability - Align search default limit to 50 across Zapier and n8n
17 lines
669 B
JavaScript
17 lines
669 B
JavaScript
const path = require('path');
|
|
const { task, src, dest } = require('gulp');
|
|
|
|
task('build:icons', copyIcons);
|
|
|
|
function copyIcons() {
|
|
// Copy icons and the codex (*.node.json) next to the compiled nodes; tsc emits
|
|
// only .js, so these static assets need copying for n8n to pick them up.
|
|
const nodeSource = path.resolve('nodes', '**', '*.{png,svg,json}');
|
|
const nodeDestination = path.resolve('dist', 'nodes');
|
|
src(nodeSource).pipe(dest(nodeDestination));
|
|
|
|
const credSource = path.resolve('credentials', '**', '*.{png,svg}');
|
|
const credDestination = path.resolve('dist', 'credentials');
|
|
return src(credSource, { allowEmpty: true }).pipe(dest(credDestination));
|
|
}
|