@http-forge/core 0.6.15 → 0.6.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +105 -105
- package/dist/index.mjs +109 -109
- package/dist/infrastructure/config/config-service.d.ts +2 -1
- package/dist/infrastructure/config/default-config.d.ts +4 -2
- package/dist/infrastructure/script/module-loader.d.ts +1 -1
- package/dist/runtime/node-bootstrap.d.ts +9 -0
- package/package.json +1 -1
|
@@ -21,8 +21,9 @@ export declare class ConfigService implements IConfigService {
|
|
|
21
21
|
private notifications?;
|
|
22
22
|
private config;
|
|
23
23
|
private configPath;
|
|
24
|
-
private
|
|
24
|
+
private fileWatchers;
|
|
25
25
|
constructor(workspacePath: string, fileWatcherFactory?: IFileWatcherFactory | undefined, notifications?: INotificationService | undefined);
|
|
26
|
+
private resolveConfigPath;
|
|
26
27
|
/**
|
|
27
28
|
* Load configuration from file, merging with defaults
|
|
28
29
|
*/
|
|
@@ -11,8 +11,10 @@ export declare const DEFAULT_CONFIG: HttpForgeConfig;
|
|
|
11
11
|
* Configuration file names
|
|
12
12
|
*/
|
|
13
13
|
export declare const CONFIG_FILES: {
|
|
14
|
-
/**
|
|
15
|
-
|
|
14
|
+
/** Preferred main configuration file */
|
|
15
|
+
preferred: string;
|
|
16
|
+
/** Backward-compatible legacy configuration file */
|
|
17
|
+
legacy: string;
|
|
16
18
|
};
|
|
17
19
|
/**
|
|
18
20
|
* Directory names within the root
|
|
@@ -39,7 +39,7 @@ export declare function createLodashShim(): any;
|
|
|
39
39
|
*
|
|
40
40
|
* Directory structure:
|
|
41
41
|
* ```
|
|
42
|
-
* http-forge
|
|
42
|
+
* .http-forge/assets/modules/ ← modulePath
|
|
43
43
|
* ├── package.json ← Declares dependencies
|
|
44
44
|
* ├── global-setup.js ← Global exports injected into sandbox
|
|
45
45
|
* └── auth-helpers.js ← User's custom code
|
|
@@ -13,6 +13,11 @@ export interface NodeBootstrapOptions {
|
|
|
13
13
|
name: string;
|
|
14
14
|
version: string;
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* Optional global store file path.
|
|
18
|
+
* If relative, it is resolved against the workspace folder.
|
|
19
|
+
*/
|
|
20
|
+
globalStorePath?: string;
|
|
16
21
|
}
|
|
17
22
|
/**
|
|
18
23
|
* Bootstrap HTTP Forge core services for Node.js environment.
|
|
@@ -27,3 +32,7 @@ export declare function bootstrapNodeRuntime(options: NodeBootstrapOptions): Ser
|
|
|
27
32
|
* This is a convenience wrapper that combines bootstrap and returns the container.
|
|
28
33
|
*/
|
|
29
34
|
export declare function createNodeContainer(workspaceFolder: string): ServiceContainer;
|
|
35
|
+
/**
|
|
36
|
+
* Create and initialize service container with optional Node bootstrap overrides.
|
|
37
|
+
*/
|
|
38
|
+
export declare function createNodeContainerWithOptions(workspaceFolder: string, options: Omit<NodeBootstrapOptions, 'workspaceFolder'>): ServiceContainer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@http-forge/core",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.16",
|
|
4
4
|
"description": "Headless Postman-compatible API testing engine for Node.js, CI/CD, OpenAPI workflows, and HTTP Forge automation",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|