@http-forge/core 0.6.16 → 0.6.18
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 +48 -48
- package/dist/index.mjs +60 -60
- package/dist/infrastructure/config/config-service.d.ts +18 -0
- package/package.json +1 -1
|
@@ -58,6 +58,24 @@ export declare class ConfigService implements IConfigService {
|
|
|
58
58
|
* Resolve a path relative to workspace
|
|
59
59
|
*/
|
|
60
60
|
private resolvePath;
|
|
61
|
+
/**
|
|
62
|
+
* Detect whether a root path contains folder-format collections.
|
|
63
|
+
* We require at least one collection folder with a collection.json file
|
|
64
|
+
* to avoid false positives on unrelated empty directories.
|
|
65
|
+
*/
|
|
66
|
+
private hasFolderCollectionsAtRoot;
|
|
67
|
+
/**
|
|
68
|
+
* Returns true when a directory exists and contains at least one entry.
|
|
69
|
+
*/
|
|
70
|
+
private hasAnyEntries;
|
|
71
|
+
/**
|
|
72
|
+
* Resolve storage root with backward compatibility for config-less workspaces.
|
|
73
|
+
*
|
|
74
|
+
* In v0.6.16 the default root changed to `.http-forge/assets`. If a workspace
|
|
75
|
+
* has no config file and existing collections were created under an older
|
|
76
|
+
* default location, prefer that legacy location so collections remain visible.
|
|
77
|
+
*/
|
|
78
|
+
private resolveStorageRootPath;
|
|
61
79
|
getRootPath(): string;
|
|
62
80
|
getCollectionsPath(): string;
|
|
63
81
|
getEnvironmentsPath(): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@http-forge/core",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.18",
|
|
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",
|