n8n/packages/@n8n/chat/scripts/postbuild.js
Jan Oberhauser 87def60979
feat: Add AI tool building capabilities (#7336)
Github issue / Community forum post (link here to close automatically):
https://community.n8n.io/t/langchain-memory-chat/23733

---------

Signed-off-by: Oleg Ivaniv <[email protected]>
Co-authored-by: Oleg Ivaniv <[email protected]>
Co-authored-by: Val <[email protected]>
Co-authored-by: Alex Grozav <[email protected]>
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <[email protected]>
Co-authored-by: Deborah <[email protected]>
Co-authored-by: Jesper Bylund <[email protected]>
Co-authored-by: Jon <[email protected]>
Co-authored-by: Michael Kret <[email protected]>
Co-authored-by: Giulio Andreini <[email protected]>
Co-authored-by: Mason Geloso <[email protected]>
Co-authored-by: Mason Geloso <[email protected]>
Co-authored-by: Mutasem Aldmour <[email protected]>
2023-11-29 12:13:55 +01:00

17 lines
657 B
JavaScript

const path = require('path');
const shelljs = require('shelljs');
const rootDirPath = path.resolve(__dirname, '..');
const n8nRootDirPath = path.resolve(rootDirPath, '..', '..', '..');
const distDirPath = path.resolve(rootDirPath, 'dist');
const packageJsonFilePath = path.resolve(rootDirPath, 'package.json');
const readmeFilePath = path.resolve(rootDirPath, 'README.md');
const licenseFilePath = path.resolve(n8nRootDirPath, 'LICENSE.md');
shelljs.cp(packageJsonFilePath, distDirPath);
shelljs.cp(readmeFilePath, distDirPath);
shelljs.cp(licenseFilePath, distDirPath);
shelljs.mv(path.resolve(distDirPath, 'src'), path.resolve(distDirPath, 'types'));