first commit
This commit is contained in:
15
node_modules/@n8n/node-cli/dist/utils/package.d.ts
generated
vendored
Normal file
15
node_modules/@n8n/node-cli/dist/utils/package.d.ts
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
export type N8nPackageJson = {
|
||||
name: string;
|
||||
version: string;
|
||||
n8n?: {
|
||||
nodes?: string[];
|
||||
credentials?: string[];
|
||||
strict?: boolean;
|
||||
};
|
||||
};
|
||||
export declare function updatePackageJson(dirPath: string, updater: (packageJson: N8nPackageJson) => N8nPackageJson): Promise<void>;
|
||||
export declare function getPackageJson(dirPath: string): Promise<N8nPackageJson | null>;
|
||||
export declare function isN8nNodePackage(dirPath?: string): Promise<boolean>;
|
||||
export declare function getPackageJsonNodes(dirPath: string): Promise<string[]>;
|
||||
export declare function setNodesPackageJson(dirPath: string, nodes: string[]): Promise<void>;
|
||||
export declare function addCredentialPackageJson(dirPath: string, credential: string): Promise<void>;
|
||||
Reference in New Issue
Block a user