refactor(core): Replace typedi with our custom DI system (no-changelog) (#12389)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-01-06 10:21:24 +01:00
committed by GitHub
parent 8053a4a176
commit 39d5e0ff87
413 changed files with 979 additions and 452 deletions

View File

@@ -35,6 +35,7 @@
},
"dependencies": {
"@n8n/config": "workspace:*",
"@n8n/di": "workspace:*",
"@sentry/node": "catalog:",
"acorn": "8.14.0",
"acorn-walk": "8.3.4",
@@ -42,7 +43,6 @@
"n8n-core": "workspace:*",
"n8n-workflow": "workspace:*",
"nanoid": "catalog:",
"typedi": "catalog:",
"ws": "^8.18.0"
},
"devDependencies": {

View File

@@ -1,7 +1,7 @@
import './polyfills';
import { Container } from '@n8n/di';
import type { ErrorReporter } from 'n8n-core';
import { ensureError, setGlobalState } from 'n8n-workflow';
import Container from 'typedi';
import { MainConfig } from './config/main-config';
import type { HealthCheckServer } from './health-check-server';