@runa-ai/runa-cli 0.5.37 → 0.5.38
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-generator.d.ts","sourceRoot":"","sources":["../../../src/commands/inject-test-attrs/manifest-generator.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAkEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"manifest-generator.d.ts","sourceRoot":"","sources":["../../../src/commands/inject-test-attrs/manifest-generator.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAkEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAqY3D;;;;;;;GAOG;AACH,wBAAsB,qBAAqB,CACzC,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,OAAO,EAChB,cAAc,GAAE,OAAe,GAC9B,OAAO,CAAC;IACT,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,sBAAsB,EAAE,qBAAqB,EAAE,CAAC;CACjD,CAAC,CAyHD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-layer.d.ts","sourceRoot":"","sources":["../../../../src/commands/test/commands/test-layer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"test-layer.d.ts","sourceRoot":"","sources":["../../../../src/commands/test/commands/test-layer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA6KpC,eAAO,MAAM,iBAAiB,SAAwB,CAAC;AACvD,eAAO,MAAM,iBAAiB,SAAwB,CAAC;AACvD,eAAO,MAAM,iBAAiB,SAAwB,CAAC;AACvD,eAAO,MAAM,iBAAiB,SAAwB,CAAC;AACvD,eAAO,MAAM,iBAAiB,SAAwB,CAAC;AAmDvD,eAAO,MAAM,gBAAgB,SAI5B,CAAC"}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
*
|
|
21
21
|
* Sync strategy: Keep this in sync with packages/runa-templates/package.json version.
|
|
22
22
|
*/
|
|
23
|
-
export declare const COMPATIBLE_TEMPLATES_VERSION = "0.5.
|
|
23
|
+
export declare const COMPATIBLE_TEMPLATES_VERSION = "0.5.38";
|
|
24
24
|
/**
|
|
25
25
|
* Templates package name on GitHub Packages.
|
|
26
26
|
* Published to npm.pkg.github.com (requires NODE_AUTH_TOKEN).
|
package/dist/index.js
CHANGED
|
@@ -925,7 +925,7 @@ var CLI_VERSION, HAS_ADMIN_COMMAND;
|
|
|
925
925
|
var init_version = __esm({
|
|
926
926
|
"src/version.ts"() {
|
|
927
927
|
init_esm_shims();
|
|
928
|
-
CLI_VERSION = "0.5.
|
|
928
|
+
CLI_VERSION = "0.5.38";
|
|
929
929
|
HAS_ADMIN_COMMAND = false;
|
|
930
930
|
}
|
|
931
931
|
});
|
|
@@ -29386,7 +29386,7 @@ init_esm_shims();
|
|
|
29386
29386
|
|
|
29387
29387
|
// src/constants/versions.ts
|
|
29388
29388
|
init_esm_shims();
|
|
29389
|
-
var COMPATIBLE_TEMPLATES_VERSION = "0.5.
|
|
29389
|
+
var COMPATIBLE_TEMPLATES_VERSION = "0.5.38";
|
|
29390
29390
|
var TEMPLATES_PACKAGE_NAME = "@r06-dev/runa-templates";
|
|
29391
29391
|
var GITHUB_PACKAGES_REGISTRY = "https://npm.pkg.github.com";
|
|
29392
29392
|
|
|
@@ -30510,7 +30510,10 @@ async function analyzeHonoRoutes(repoRoot, verbose, resolveSchemas = false) {
|
|
|
30510
30510
|
sourceFile: route.fileName,
|
|
30511
30511
|
resourceName: route.resourceName,
|
|
30512
30512
|
hasParams: route.hasParams,
|
|
30513
|
-
params: route.params
|
|
30513
|
+
params: route.params,
|
|
30514
|
+
// v8+: Include export info for correct import generation
|
|
30515
|
+
exportType: route.exportType,
|
|
30516
|
+
exportName: route.exportName
|
|
30514
30517
|
};
|
|
30515
30518
|
if (resolveSchemas && "inputSchema" in route && route.inputSchema) {
|
|
30516
30519
|
contract.inputSchema = route.inputSchema;
|
|
@@ -34132,6 +34135,7 @@ async function runSingleLayer(params) {
|
|
|
34132
34135
|
filter: params.options.filter,
|
|
34133
34136
|
reviewSnapshots: params.options.reviewSnapshots,
|
|
34134
34137
|
forceRegenerate: params.options.force,
|
|
34138
|
+
skipGeneration: params.options.skipGeneration,
|
|
34135
34139
|
invokedAs: `runa test:layer${params.layer}`
|
|
34136
34140
|
});
|
|
34137
34141
|
emitJsonSuccess(params.cmd, TestRunOutputSchema, output3);
|
|
@@ -34193,6 +34197,9 @@ function createLayerCommand(layer) {
|
|
|
34193
34197
|
).action(async (options) => {
|
|
34194
34198
|
await runSingleLayer({ cmd, layer, options });
|
|
34195
34199
|
});
|
|
34200
|
+
if (layer === 3) {
|
|
34201
|
+
cmd.option("--skip-generation", "Skip auto-generation of API tests (run manual tests only)");
|
|
34202
|
+
}
|
|
34196
34203
|
if (layer >= 4) {
|
|
34197
34204
|
cmd.option("--generate", "Generate tests from XState before running (Layer 4)").option("--advanced", "Generate advanced tests (requires --generate)").option("--auto", "Zero-config auto-generation (implementation-driven)").option("--update-snapshots", "Update visual baselines (Layer 4)").option("--filter <pattern>", 'Filter tests by pattern (e.g., "checkout-*")').option("--review-snapshots", "Interactive review of changed visual snapshots (Layer 4)").option("--force", "Force regenerate all tests, bypassing cache");
|
|
34198
34205
|
}
|