refactor(core): Introduce @n8n/constants package (#14825)

This commit is contained in:
Iván Ovejero
2025-04-23 12:25:39 +02:00
committed by GitHub
parent 14d8ae1c1a
commit 9243e18de6
26 changed files with 146 additions and 86 deletions

View File

@@ -1,5 +1,6 @@
import 'reflect-metadata';
import { GlobalConfig } from '@n8n/config';
import { LICENSE_FEATURES } from '@n8n/constants';
import { Container } from '@n8n/di';
import { Command, Errors } from '@oclif/core';
import {
@@ -15,13 +16,7 @@ import { ensureError, sleep, UserError } from 'n8n-workflow';
import type { AbstractServer } from '@/abstract-server';
import config from '@/config';
import {
LICENSE_FEATURES,
N8N_VERSION,
N8N_RELEASE_DATE,
inDevelopment,
inTest,
} from '@/constants';
import { N8N_VERSION, N8N_RELEASE_DATE, inDevelopment, inTest } from '@/constants';
import * as CrashJournal from '@/crash-journal';
import * as Db from '@/db';
import { ModuleRegistry } from '@/decorators/module';