mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Start modularizing the community packages feature (#17757)
This commit is contained in:
@@ -16,7 +16,7 @@ import { Push } from '@/push';
|
||||
import { Publisher } from '@/scaling/pubsub/publisher.service';
|
||||
import { Subscriber } from '@/scaling/pubsub/subscriber.service';
|
||||
import { ScalingService } from '@/scaling/scaling.service';
|
||||
import { CommunityPackagesService } from '@/services/community-packages.service';
|
||||
import { CommunityPackagesService } from '@/community-packages/community-packages.service';
|
||||
import { TaskBrokerServer } from '@/task-runners/task-broker/task-broker-server';
|
||||
import { TaskRunnerProcess } from '@/task-runners/task-runner-process';
|
||||
import { Telemetry } from '@/telemetry';
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { InstalledNodes, InstalledPackages } from '@n8n/db';
|
||||
import path from 'path';
|
||||
|
||||
import { LoadNodesAndCredentials } from '@/load-nodes-and-credentials';
|
||||
import { CommunityPackagesService } from '@/services/community-packages.service';
|
||||
import { CommunityPackagesService } from '@/community-packages/community-packages.service';
|
||||
|
||||
import { COMMUNITY_PACKAGE_VERSION } from './shared/constants';
|
||||
import { createOwner } from './shared/db/users';
|
||||
|
||||
@@ -9,7 +9,7 @@ import { NodeTypes } from '@/node-types';
|
||||
import { OFFICIAL_RISKY_NODE_TYPES, NODES_REPORT } from '@/security-audit/constants';
|
||||
import { SecurityAuditService } from '@/security-audit/security-audit.service';
|
||||
import { toReportTitle } from '@/security-audit/utils';
|
||||
import { CommunityPackagesService } from '@/services/community-packages.service';
|
||||
import { CommunityPackagesService } from '@/community-packages/community-packages.service';
|
||||
|
||||
import { getRiskSection, MOCK_PACKAGE, saveManualTriggerWorkflow } from './utils';
|
||||
|
||||
|
||||
@@ -228,7 +228,7 @@ export const setupTestServer = ({
|
||||
break;
|
||||
|
||||
case 'community-packages':
|
||||
await import('@/controllers/community-packages.controller');
|
||||
await import('@/community-packages/community-packages.controller');
|
||||
break;
|
||||
|
||||
case 'me':
|
||||
|
||||
Reference in New Issue
Block a user