mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix: Enable source-maps on WorkflowRunnerProcess in own
mode (#4832)
This commit is contained in:
parent
8c9681e8ce
commit
9485e2f12a
|
@ -29,9 +29,7 @@ if (![14, 16, 18].includes(nodeVersionMajor)) {
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
|
||||||
require('source-map-support').install();
|
require('source-map-support').install();
|
||||||
} catch {}
|
|
||||||
|
|
||||||
require('@oclif/command')
|
require('@oclif/command')
|
||||||
.run()
|
.run()
|
||||||
|
|
|
@ -97,7 +97,6 @@
|
||||||
"concurrently": "^5.1.0",
|
"concurrently": "^5.1.0",
|
||||||
"nodemon": "^2.0.2",
|
"nodemon": "^2.0.2",
|
||||||
"run-script-os": "^1.0.7",
|
"run-script-os": "^1.0.7",
|
||||||
"source-map-support": "^0.5.21",
|
|
||||||
"supertest": "^6.2.2",
|
"supertest": "^6.2.2",
|
||||||
"ts-node": "^9.1.1",
|
"ts-node": "^9.1.1",
|
||||||
"tsc-alias": "^1.7.0",
|
"tsc-alias": "^1.7.0",
|
||||||
|
@ -164,14 +163,15 @@
|
||||||
"passport": "^0.6.0",
|
"passport": "^0.6.0",
|
||||||
"passport-cookie": "^1.0.9",
|
"passport-cookie": "^1.0.9",
|
||||||
"passport-jwt": "^4.0.0",
|
"passport-jwt": "^4.0.0",
|
||||||
"picocolors": "^1.0.0",
|
|
||||||
"pg": "^8.3.0",
|
"pg": "^8.3.0",
|
||||||
|
"picocolors": "^1.0.0",
|
||||||
"posthog-node": "^1.3.0",
|
"posthog-node": "^1.3.0",
|
||||||
"prom-client": "^13.1.0",
|
"prom-client": "^13.1.0",
|
||||||
"psl": "^1.8.0",
|
"psl": "^1.8.0",
|
||||||
"replacestream": "^4.0.3",
|
"replacestream": "^4.0.3",
|
||||||
"semver": "^7.3.8",
|
"semver": "^7.3.8",
|
||||||
"shelljs": "^0.8.5",
|
"shelljs": "^0.8.5",
|
||||||
|
"source-map-support": "^0.5.21",
|
||||||
"sqlite3": "^5.1.2",
|
"sqlite3": "^5.1.2",
|
||||||
"sse-channel": "^3.1.1",
|
"sse-channel": "^3.1.1",
|
||||||
"swagger-ui-express": "^4.3.0",
|
"swagger-ui-express": "^4.3.0",
|
||||||
|
|
|
@ -12,7 +12,7 @@ import {
|
||||||
IRun,
|
IRun,
|
||||||
} from 'n8n-workflow';
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
import { ChildProcess } from 'child_process';
|
import type { ChildProcess } from 'child_process';
|
||||||
import { stringify } from 'flatted';
|
import { stringify } from 'flatted';
|
||||||
import PCancelable from 'p-cancelable';
|
import PCancelable from 'p-cancelable';
|
||||||
import * as Db from '@/Db';
|
import * as Db from '@/Db';
|
||||||
|
|
|
@ -26,7 +26,7 @@ import { WorkflowExecute } from 'n8n-core';
|
||||||
import PCancelable from 'p-cancelable';
|
import PCancelable from 'p-cancelable';
|
||||||
import type { FindOperator, Repository } from 'typeorm';
|
import type { FindOperator, Repository } from 'typeorm';
|
||||||
|
|
||||||
import { ChildProcess } from 'child_process';
|
import type { ChildProcess } from 'child_process';
|
||||||
import { Url } from 'url';
|
import { Url } from 'url';
|
||||||
|
|
||||||
import type { Request } from 'express';
|
import type { Request } from 'express';
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
||||||
/* eslint-disable @typescript-eslint/no-use-before-define */
|
/* eslint-disable @typescript-eslint/no-use-before-define */
|
||||||
/* eslint-disable @typescript-eslint/unbound-method */
|
/* eslint-disable @typescript-eslint/unbound-method */
|
||||||
|
import 'source-map-support/register';
|
||||||
import { BinaryDataManager, IProcessMessage, UserSettings, WorkflowExecute } from 'n8n-core';
|
import { BinaryDataManager, IProcessMessage, UserSettings, WorkflowExecute } from 'n8n-core';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -276,6 +276,7 @@ importers:
|
||||||
replacestream: 4.0.3
|
replacestream: 4.0.3
|
||||||
semver: 7.3.8
|
semver: 7.3.8
|
||||||
shelljs: 0.8.5
|
shelljs: 0.8.5
|
||||||
|
source-map-support: 0.5.21
|
||||||
sqlite3: 5.1.2
|
sqlite3: 5.1.2
|
||||||
sse-channel: 3.1.1
|
sse-channel: 3.1.1
|
||||||
swagger-ui-express: 4.5.0_express@4.18.2
|
swagger-ui-express: 4.5.0_express@4.18.2
|
||||||
|
@ -322,7 +323,6 @@ importers:
|
||||||
concurrently: 5.3.0
|
concurrently: 5.3.0
|
||||||
nodemon: 2.0.20
|
nodemon: 2.0.20
|
||||||
run-script-os: 1.1.6
|
run-script-os: 1.1.6
|
||||||
source-map-support: 0.5.21
|
|
||||||
supertest: 6.3.0
|
supertest: 6.3.0
|
||||||
ts-node: 9.1.1_typescript@4.8.4
|
ts-node: 9.1.1_typescript@4.8.4
|
||||||
tsc-alias: 1.7.1
|
tsc-alias: 1.7.1
|
||||||
|
@ -19204,7 +19204,6 @@ packages:
|
||||||
dependencies:
|
dependencies:
|
||||||
buffer-from: 1.1.2
|
buffer-from: 1.1.2
|
||||||
source-map: 0.6.1
|
source-map: 0.6.1
|
||||||
dev: true
|
|
||||||
|
|
||||||
/source-map-url/0.4.1:
|
/source-map-url/0.4.1:
|
||||||
resolution: {integrity: sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==}
|
resolution: {integrity: sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==}
|
||||||
|
|
Loading…
Reference in a new issue