File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,14 @@ function install() {
6262
6363 process . stdout . write ( 'Starting to publish all the packages...\n' ) ;
6464 Object . entries ( packages ) . forEach ( ( [ packageName , packageEntity ] ) => {
65+ const packageRelativePath = packageEntity . location ;
66+ const packageAbsolutePath = `${ reactNativeRootPath } /${ packageRelativePath } ` ;
67+
6568 const packageManifest = readPackageJSON ( packageAbsolutePath ) ;
6669 if ( packageManifest . private ) {
6770 return ;
6871 }
6972
70- const packageRelativePath = packageEntity . location ;
71- const packageAbsolutePath = `${ reactNativeRootPath } /${ packageRelativePath } ` ;
72-
7373 execSync ( 'npm publish --registry http://localhost:4873 --access public' , {
7474 cwd : `${ reactNativeRootPath } /${ packageEntity . location } ` ,
7575 stdio : [ process . stdin , process . stdout , process . stderr ] ,
You can’t perform that action at this time.
0 commit comments