refactor: Setup typescript project references across workflow, core, and cli (#4519)

* refactor: use consistent folder structure across workflow, core, and cli

* setup typescript project references across workflow, core, and cli
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-11-09 15:25:00 +01:00
committed by GitHub
parent de96def372
commit 698d96a617
251 changed files with 1284 additions and 1134 deletions

View File

@@ -1,4 +1,4 @@
import { Credentials } from '../src';
import { Credentials } from '@/Credentials';
describe('Credentials', () => {
describe('without nodeType set', () => {

View File

@@ -23,8 +23,8 @@ import {
NodeParameterValue,
WorkflowHooks,
} from 'n8n-workflow';
import { Credentials, IExecuteFunctions } from '../src';
import { Credentials } from '@/Credentials';
import { IExecuteFunctions } from '@/Interfaces';
export class CredentialsHelper extends ICredentialsHelper {
async authenticate(

View File

@@ -2,8 +2,9 @@ import { join } from 'path';
import { tmpdir } from 'os';
import { readFileSync, mkdtempSync } from 'fs';
import { BinaryDataManager, NodeExecuteFunctions } from '../src';
import { IBinaryData, ITaskDataConnections } from 'n8n-workflow';
import { BinaryDataManager } from '@/BinaryDataManager';
import * as NodeExecuteFunctions from '@/NodeExecuteFunctions';
const temporaryDir = mkdtempSync(join(tmpdir(), 'n8n'));

View File

@@ -7,8 +7,7 @@ import {
LoggerProxy,
Workflow,
} from 'n8n-workflow';
import { WorkflowExecute } from '../src';
import { WorkflowExecute } from '@/WorkflowExecute';
import * as Helpers from './Helpers';