mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-01 17:27:14 +02:00
fix(cli): Decouple agent library bundle from build:data (#31293)
Co-authored-by: n8n-cat-bot[bot] <n8n-cat-bot[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
483752e8df
commit
70ab5e5828
|
|
@ -7,8 +7,9 @@
|
|||
"scripts": {
|
||||
"clean": "rimraf dist .turbo",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && pnpm run build:data",
|
||||
"build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && pnpm run build:data && pnpm run build:agent-library",
|
||||
"build:data": "node scripts/build.mjs",
|
||||
"build:agent-library": "node scripts/bundle-agent-library.mjs",
|
||||
"buildAndDev": "pnpm run build && pnpm run dev",
|
||||
"dev": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"npm run watch\" \"nodemon --delay 1\"",
|
||||
"dev:worker": "concurrently -k -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold\" \"npm run watch\" \"nodemon worker\"",
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ import { fileURLToPath } from 'url';
|
|||
import shell from 'shelljs';
|
||||
import { rawTimeZones } from '@vvo/tzdb';
|
||||
import glob from 'fast-glob';
|
||||
import { buildAgentLibraryBundle } from './bundle-agent-library.mjs';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
|
|
@ -17,7 +16,6 @@ const publicApiEnabled = process.env.N8N_PUBLIC_API_DISABLED !== 'true';
|
|||
|
||||
generateUserManagementEmailTemplates();
|
||||
generateTimezoneData();
|
||||
await buildAgentLibraryBundle();
|
||||
|
||||
if (publicApiEnabled) {
|
||||
createPublicApiDirectory();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user