@wix/evalforge-evaluator 0.222.0 → 0.224.0
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/build/index.js +23 -87
- package/build/index.js.map +3 -3
- package/build/index.mjs +11 -82
- package/build/index.mjs.map +3 -3
- package/build/types/run-scenario/install-dependencies.d.ts +1 -6
- package/package.json +5 -5
|
@@ -20,19 +20,14 @@ export type InstallExec = (cmd: string, args: string[], opts: {
|
|
|
20
20
|
export declare function createLoggingInstallExec(onProgress: (message: string) => void): InstallExec;
|
|
21
21
|
export interface InstallDependenciesOptions {
|
|
22
22
|
exec?: InstallExec;
|
|
23
|
-
cacheBase?: string;
|
|
24
23
|
}
|
|
25
24
|
/**
|
|
26
25
|
* Install dependencies in workDir if a package.json is present.
|
|
27
26
|
* Detects the package manager from the lock file and runs the appropriate install command.
|
|
28
27
|
* Failures are logged as warnings and do not abort the scenario.
|
|
29
28
|
*
|
|
30
|
-
* When cacheBase is provided, node_modules is cached keyed by the lock file hash.
|
|
31
|
-
* Subsequent calls with the same lock file content skip the install entirely —
|
|
32
|
-
* node_modules is restored via APFS clone on macOS (near-instant) or recursive copy on Linux.
|
|
33
|
-
*
|
|
34
29
|
* @param workDir - The directory in which to install dependencies
|
|
35
30
|
* @param onProgress - Callback invoked with a human-readable message when an install runs
|
|
36
|
-
* @param options - Optional settings: exec override
|
|
31
|
+
* @param options - Optional settings: exec override
|
|
37
32
|
*/
|
|
38
33
|
export declare function installDependencies(workDir: string, onProgress: (message: string) => void, options?: InstallDependenciesOptions): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/evalforge-evaluator",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.224.0",
|
|
4
4
|
"description": "EvalForge Evaluator",
|
|
5
5
|
"bin": "./build/index.js",
|
|
6
6
|
"files": [
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"@ai-sdk/openai": "^3.0.39",
|
|
23
23
|
"@anthropic-ai/claude-agent-sdk": "^0.2.63",
|
|
24
24
|
"@anthropic-ai/claude-code": "^2.1.63",
|
|
25
|
-
"@wix/eval-assertions": "0.
|
|
26
|
-
"@wix/evalforge-github-client": "0.
|
|
27
|
-
"@wix/evalforge-types": "0.
|
|
25
|
+
"@wix/eval-assertions": "0.83.0",
|
|
26
|
+
"@wix/evalforge-github-client": "0.82.0",
|
|
27
|
+
"@wix/evalforge-types": "0.105.0",
|
|
28
28
|
"ai": "^6.0.107",
|
|
29
29
|
"diff": "^7.0.0",
|
|
30
30
|
"tar": "^7.5.3",
|
|
@@ -72,5 +72,5 @@
|
|
|
72
72
|
"artifactId": "evalforge-evaluator"
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
|
-
"falconPackageHash": "
|
|
75
|
+
"falconPackageHash": "c2169d1eb7f02135c7eb3c9c4be3364aecfc64085952b0ab9ff4469f"
|
|
76
76
|
}
|