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() {
62
62
63
63
process . stdout . write ( 'Starting to publish all the packages...\n' ) ;
64
64
Object . entries ( packages ) . forEach ( ( [ packageName , packageEntity ] ) => {
65
+ const packageRelativePath = packageEntity . location ;
66
+ const packageAbsolutePath = `${ reactNativeRootPath } /${ packageRelativePath } ` ;
67
+
65
68
const packageManifest = readPackageJSON ( packageAbsolutePath ) ;
66
69
if ( packageManifest . private ) {
67
70
return ;
68
71
}
69
72
70
- const packageRelativePath = packageEntity . location ;
71
- const packageAbsolutePath = `${ reactNativeRootPath } /${ packageRelativePath } ` ;
72
-
73
73
execSync ( 'npm publish --registry http://localhost:4873 --access public' , {
74
74
cwd : `${ reactNativeRootPath } /${ packageEntity . location } ` ,
75
75
stdio : [ process . stdin , process . stdout , process . stderr ] ,
You can’t perform that action at this time.
0 commit comments