@testring-dev/plugin-api
Advanced tools
+1
-1
@@ -1,2 +0,2 @@ | ||
| import { IConfig, IPluginModules } from '@testring/types'; | ||
| import { IConfig, IPluginModules } from '@testring-dev/types'; | ||
| import { PluginAPI } from './plugin-api'; | ||
@@ -3,0 +3,0 @@ declare const applyPlugins: (pluginsDestinations: IPluginModules, config: IConfig) => void; |
@@ -1,2 +0,2 @@ | ||
| import { IPluggableModule } from '@testring/types'; | ||
| import { IPluggableModule } from '@testring-dev/types'; | ||
| export declare class AbstractAPI { | ||
@@ -3,0 +3,0 @@ protected pluginName: string; |
| import { AbstractAPI } from './abstract'; | ||
| import { IDevtoolServerConfig } from '@testring/types'; | ||
| import { IDevtoolServerConfig } from '@testring-dev/types'; | ||
| export declare class DevtoolAPI extends AbstractAPI { | ||
@@ -4,0 +4,0 @@ beforeStart(handler: (IRecorderServerConfig: any) => IDevtoolServerConfig): void; |
@@ -1,2 +0,2 @@ | ||
| import { IOnFileNameHookData, IOnFileReleaseHookData } from '@testring/types'; | ||
| import { IOnFileNameHookData, IOnFileReleaseHookData } from '@testring-dev/types'; | ||
| import { AbstractAPI } from './abstract'; | ||
@@ -3,0 +3,0 @@ export declare class FSStoreServerAPI extends AbstractAPI { |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.FSStoreServerAPI = void 0; | ||
| const fs_store_1 = require("@testring/fs-store"); | ||
| const fs_store_1 = require("@testring-dev/fs-store"); | ||
| const abstract_1 = require("./abstract"); | ||
@@ -6,0 +6,0 @@ class FSStoreServerAPI extends abstract_1.AbstractAPI { |
| import { AbstractAPI } from './abstract'; | ||
| import { IHttpRequest, IHttpRequestMessage, IHttpResponse } from '@testring/types'; | ||
| import { IHttpRequest, IHttpRequestMessage, IHttpResponse } from '@testring-dev/types'; | ||
| export declare class HttpServerAPI extends AbstractAPI { | ||
@@ -4,0 +4,0 @@ beforeRequest(handler: (request: IHttpRequest, data: IHttpRequestMessage) => Promise<IHttpRequest>): void; |
| import { AbstractAPI } from './abstract'; | ||
| import { ILogEntity, ILogMeta } from '@testring/types'; | ||
| import { ILogEntity, ILogMeta } from '@testring-dev/types'; | ||
| export declare class LoggerAPI extends AbstractAPI { | ||
@@ -4,0 +4,0 @@ beforeLog(handler: (logEntity: ILogEntity, meta: ILogMeta) => ILogEntity): void; |
@@ -1,2 +0,2 @@ | ||
| import { IQueuedTest } from '@testring/types'; | ||
| import { IQueuedTest } from '@testring-dev/types'; | ||
| import { AbstractAPI } from './abstract'; | ||
@@ -3,0 +3,0 @@ export declare class TestRunControllerAPI extends AbstractAPI { |
@@ -1,2 +0,2 @@ | ||
| import { IHttpClient, IPluginModules } from '@testring/types'; | ||
| import { IHttpClient, IPluginModules } from '@testring-dev/types'; | ||
| import { BrowserProxyAPI } from './modules/browser-proxy'; | ||
@@ -3,0 +3,0 @@ import { FSReaderAPI } from './modules/fs-reader'; |
@@ -1,2 +0,2 @@ | ||
| import { IConfig, IPluginModules } from '@testring/types'; | ||
| import { IConfig, IPluginModules } from '@testring-dev/types'; | ||
| export declare class PluginController { | ||
@@ -3,0 +3,0 @@ private modulesList; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.PluginController = void 0; | ||
| const utils_1 = require("@testring/utils"); | ||
| const utils_1 = require("@testring-dev/utils"); | ||
| const plugin_api_1 = require("./plugin-api"); | ||
@@ -39,3 +39,3 @@ class PluginController { | ||
| `Plugin ${pluginName} has incorrect format, it should be function!`, | ||
| 'Please, follow plugin handbook in testring docs to get more info about API.', | ||
| 'Please, follow plugin handbook in testring-dev docs to get more info about API.', | ||
| ].join('\n')); | ||
@@ -42,0 +42,0 @@ } |
+5
-5
| { | ||
| "name": "@testring-dev/plugin-api", | ||
| "version": "0.8.0-danbao-0681e719", | ||
| "version": "0.8.0-danbao-1b8167b6", | ||
| "main": "./dist/index.js", | ||
@@ -13,8 +13,8 @@ "types": "./src/index.ts", | ||
| "dependencies": { | ||
| "@testring/fs-store": "0.8.0-danbao-0681e719", | ||
| "@testring/logger": "0.8.0-danbao-0681e719", | ||
| "@testring/types": "0.8.0-danbao-0681e719", | ||
| "@testring/utils": "0.8.0-danbao-0681e719", | ||
| "@testring-dev/fs-store": "0.8.0-danbao-1b8167b6", | ||
| "@testring-dev/logger": "0.8.0-danbao-1b8167b6", | ||
| "@testring-dev/types": "0.8.0-danbao-1b8167b6", | ||
| "@testring-dev/utils": "0.8.0-danbao-1b8167b6", | ||
| "@types/node": "22.8.5" | ||
| } | ||
| } |
+1
-1
@@ -1,2 +0,2 @@ | ||
| import {IConfig, IPluginModules} from '@testring/types'; | ||
| import {IConfig, IPluginModules} from '@testring-dev/types'; | ||
| import {PluginController} from './plugin-controller'; | ||
@@ -3,0 +3,0 @@ import {PluginAPI} from './plugin-api'; |
@@ -1,2 +0,2 @@ | ||
| import {IPluggableModule} from '@testring/types'; | ||
| import {IPluggableModule} from '@testring-dev/types'; | ||
@@ -3,0 +3,0 @@ export class AbstractAPI { |
@@ -1,2 +0,2 @@ | ||
| import {BrowserProxyPlugins} from '@testring/types'; | ||
| import {BrowserProxyPlugins} from '@testring-dev/types'; | ||
| import {AbstractAPI} from './abstract'; | ||
@@ -3,0 +3,0 @@ |
| import {AbstractAPI} from './abstract'; | ||
| import {DevtoolPluginHooks, IDevtoolServerConfig} from '@testring/types'; | ||
| import {DevtoolPluginHooks, IDevtoolServerConfig} from '@testring-dev/types'; | ||
@@ -4,0 +4,0 @@ export class DevtoolAPI extends AbstractAPI { |
@@ -1,2 +0,2 @@ | ||
| import {FSReaderPlugins} from '@testring/types'; | ||
| import {FSReaderPlugins} from '@testring-dev/types'; | ||
| import {AbstractAPI} from './abstract'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,3 +0,3 @@ | ||
| import {fsStoreServerHooks} from '@testring/fs-store'; | ||
| import {IOnFileNameHookData, IOnFileReleaseHookData} from '@testring/types'; | ||
| import {fsStoreServerHooks} from '@testring-dev/fs-store'; | ||
| import {IOnFileNameHookData, IOnFileReleaseHookData} from '@testring-dev/types'; | ||
| import {AbstractAPI} from './abstract'; | ||
@@ -4,0 +4,0 @@ |
@@ -7,3 +7,3 @@ import {AbstractAPI} from './abstract'; | ||
| IHttpResponse, | ||
| } from '@testring/types'; | ||
| } from '@testring-dev/types'; | ||
@@ -10,0 +10,0 @@ export class HttpServerAPI extends AbstractAPI { |
| import {AbstractAPI} from './abstract'; | ||
| import {ILogEntity, ILogMeta, LoggerPlugins} from '@testring/types'; | ||
| import {ILogEntity, ILogMeta, LoggerPlugins} from '@testring-dev/types'; | ||
@@ -4,0 +4,0 @@ export class LoggerAPI extends AbstractAPI { |
@@ -1,2 +0,2 @@ | ||
| import {TestRunControllerPlugins, IQueuedTest} from '@testring/types'; | ||
| import {TestRunControllerPlugins, IQueuedTest} from '@testring-dev/types'; | ||
| import {AbstractAPI} from './abstract'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
| import {TestWorkerPlugin} from '@testring/types'; | ||
| import {TestWorkerPlugin} from '@testring-dev/types'; | ||
| import {AbstractAPI} from './abstract'; | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
| import {IHttpClient, IPluginModules} from '@testring/types'; | ||
| import {IHttpClient, IPluginModules} from '@testring-dev/types'; | ||
| import {BrowserProxyAPI} from './modules/browser-proxy'; | ||
@@ -3,0 +3,0 @@ import {FSReaderAPI} from './modules/fs-reader'; |
@@ -1,3 +0,3 @@ | ||
| import {ConfigPluginDescriptor, IConfig, IPluginModules} from '@testring/types'; | ||
| import {requirePlugin} from '@testring/utils'; | ||
| import {ConfigPluginDescriptor, IConfig, IPluginModules} from '@testring-dev/types'; | ||
| import {requirePlugin} from '@testring-dev/utils'; | ||
| import {PluginAPI} from './plugin-api'; | ||
@@ -45,3 +45,3 @@ | ||
| `Plugin ${pluginName} has incorrect format, it should be function!`, | ||
| 'Please, follow plugin handbook in testring docs to get more info about API.', | ||
| 'Please, follow plugin handbook in testring-dev docs to get more info about API.', | ||
| ].join('\n'), | ||
@@ -48,0 +48,0 @@ ); |
41095
0.3%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added