@@ -633,8 +633,8 @@ function getErrorMap() {
633633
634634// ../../node_modules/zod/dist/esm/v3/helpers/parseUtil.js
635635var makeIssue = ( params ) => {
636- const { data, path : path6 , errorMaps, issueData } = params ;
637- const fullPath = [ ...path6 , ...issueData . path || [ ] ] ;
636+ const { data, path : path7 , errorMaps, issueData } = params ;
637+ const fullPath = [ ...path7 , ...issueData . path || [ ] ] ;
638638 const fullIssue = {
639639 ...issueData ,
640640 path : fullPath
@@ -750,11 +750,11 @@ var errorUtil;
750750
751751// ../../node_modules/zod/dist/esm/v3/types.js
752752var ParseInputLazyPath = class {
753- constructor ( parent , value , path6 , key ) {
753+ constructor ( parent , value , path7 , key ) {
754754 this . _cachedPath = [ ] ;
755755 this . parent = parent ;
756756 this . data = value ;
757- this . _path = path6 ;
757+ this . _path = path7 ;
758758 this . _key = key ;
759759 }
760760 get path ( ) {
@@ -4350,6 +4350,10 @@ var import_node_fs4 = __toESM(require("fs"), 1);
43504350var import_node_path4 = __toESM ( require ( "path" ) , 1 ) ;
43514351var DEFAULT_ARTIFACT_ROOT = import_node_path4 . default . join ( process . cwd ( ) , ".harness" , "crash-reports" ) ;
43524352
4353+ // ../tools/dist/harness-artifacts.js
4354+ var import_node_fs5 = __toESM ( require ( "fs" ) , 1 ) ;
4355+ var import_node_path5 = __toESM ( require ( "path" ) , 1 ) ;
4356+
43534357// ../plugins/dist/utils.js
43544358var isHookTree = ( value ) => {
43554359 if ( value == null || typeof value !== "object" || Array . isArray ( value ) ) {
@@ -4396,6 +4400,7 @@ var RunnerSchema = external_exports.object({
43964400 name : external_exports . string ( ) . min ( 1 , "Runner name is required" ) . regex ( / ^ [ a - z A - Z 0 - 9 . _ - ] + $ / , "Runner name can only contain alphanumeric characters, dots, underscores, and hyphens" ) ,
43974401 config : external_exports . record ( external_exports . any ( ) ) ,
43984402 runner : external_exports . string ( ) ,
4403+ cli : external_exports . string ( ) . optional ( ) ,
43994404 platformId : external_exports . string ( )
44004405} ) ;
44014406var PluginSchema = external_exports . custom ( ( value ) => isHarnessPlugin ( value ) , "Invalid Harness plugin" ) ;
@@ -4502,16 +4507,16 @@ var ConfigLoadError = class extends HarnessError {
45024507} ;
45034508
45044509// ../config/dist/reader.js
4505- var import_node_path5 = __toESM ( require ( "path" ) , 1 ) ;
4506- var import_node_fs5 = __toESM ( require ( "fs" ) , 1 ) ;
4510+ var import_node_path6 = __toESM ( require ( "path" ) , 1 ) ;
4511+ var import_node_fs6 = __toESM ( require ( "fs" ) , 1 ) ;
45074512var import_node_module2 = require ( "module" ) ;
45084513var import_meta = { } ;
45094514var extensions = [ ".js" , ".mjs" , ".cjs" , ".json" ] ;
45104515var importUp = async ( dir , name ) => {
4511- const filePath = import_node_path5 . default . join ( dir , name ) ;
4516+ const filePath = import_node_path6 . default . join ( dir , name ) ;
45124517 for ( const ext of extensions ) {
45134518 const filePathWithExt = `${ filePath } ${ ext } ` ;
4514- if ( import_node_fs5 . default . existsSync ( filePathWithExt ) ) {
4519+ if ( import_node_fs6 . default . existsSync ( filePathWithExt ) ) {
45154520 let rawConfig ;
45164521 try {
45174522 if ( ext === ".mjs" ) {
@@ -4529,16 +4534,16 @@ var importUp = async (dir, name) => {
45294534 } catch ( error ) {
45304535 if ( error instanceof ZodError ) {
45314536 const validationErrors = error . errors . map ( ( err ) => {
4532- const path6 = err . path . length > 0 ? ` at "${ err . path . join ( "." ) } "` : "" ;
4533- return `${ err . message } ${ path6 } ` ;
4537+ const path7 = err . path . length > 0 ? ` at "${ err . path . join ( "." ) } "` : "" ;
4538+ return `${ err . message } ${ path7 } ` ;
45344539 } ) ;
45354540 throw new ConfigValidationError ( filePathWithExt , validationErrors ) ;
45364541 }
45374542 throw error ;
45384543 }
45394544 }
45404545 }
4541- const parentDir = import_node_path5 . default . dirname ( dir ) ;
4546+ const parentDir = import_node_path6 . default . dirname ( dir ) ;
45424547 if ( parentDir === dir ) {
45434548 throw new ConfigNotFoundError ( dir ) ;
45444549 }
@@ -4553,8 +4558,8 @@ var getConfig = async (dir) => {
45534558} ;
45544559
45554560// src/shared/index.ts
4556- var import_node_path6 = __toESM ( require ( "path" ) ) ;
4557- var import_node_fs6 = __toESM ( require ( "fs" ) ) ;
4561+ var import_node_path7 = __toESM ( require ( "path" ) ) ;
4562+ var import_node_fs7 = __toESM ( require ( "fs" ) ) ;
45584563var getHostAndroidSystemImageArch = ( ) => {
45594564 switch ( process . arch ) {
45604565 case "arm64" :
@@ -4622,7 +4627,7 @@ var run = async () => {
46224627 if ( ! runnerInput ) {
46234628 throw new Error ( "Runner input is required" ) ;
46244629 }
4625- const projectRoot = projectRootInput ? import_node_path6 . default . resolve ( projectRootInput ) : process . cwd ( ) ;
4630+ const projectRoot = projectRootInput ? import_node_path7 . default . resolve ( projectRootInput ) : process . cwd ( ) ;
46264631 console . info ( `Loading React Native Harness config from: ${ projectRoot } ` ) ;
46274632 const { config, projectRoot : resolvedProjectRoot } = await getConfig (
46284633 projectRoot
@@ -4636,13 +4641,13 @@ var run = async () => {
46364641 throw new Error ( "GITHUB_OUTPUT environment variable is not set" ) ;
46374642 }
46384643 const resolvedRunner = getResolvedRunner ( runner ) ;
4639- const relativeProjectRoot = import_node_path6 . default . relative ( process . cwd ( ) , resolvedProjectRoot ) || "." ;
4644+ const relativeProjectRoot = import_node_path7 . default . relative ( process . cwd ( ) , resolvedProjectRoot ) || "." ;
46404645 const output = `config=${ JSON . stringify (
46414646 resolvedRunner
46424647 ) }
46434648projectRoot=${ relativeProjectRoot }
46444649` ;
4645- import_node_fs6 . default . appendFileSync ( githubOutput , output ) ;
4650+ import_node_fs7 . default . appendFileSync ( githubOutput , output ) ;
46464651 } catch ( error ) {
46474652 if ( error instanceof Error ) {
46484653 console . error ( error . message ) ;
0 commit comments