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:
committed by
GitHub
parent
de96def372
commit
698d96a617
@@ -1,4 +1,4 @@
|
||||
import { Credentials } from '../src';
|
||||
import { Credentials } from '@/Credentials';
|
||||
|
||||
describe('Credentials', () => {
|
||||
describe('without nodeType set', () => {
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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'));
|
||||
|
||||
|
||||
@@ -7,8 +7,7 @@ import {
|
||||
LoggerProxy,
|
||||
Workflow,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import { WorkflowExecute } from '../src';
|
||||
import { WorkflowExecute } from '@/WorkflowExecute';
|
||||
|
||||
import * as Helpers from './Helpers';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user