Files
Tim Yung f0f71ea914 RN: Move {packages => private}/helloworld (#51934)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51934

Moves `packages/helloworld` to `private/helloworld`.

Changelog:
[Internal]

Reviewed By: huntie

Differential Revision: D76356557

fbshipit-source-id: 92b20d75a8f2badb3c685d4918fe692623d9c04d
2025-06-11 17:39:26 -07:00

37 lines
905 B
JavaScript

/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @noflow
*/
const {startCommand} = require('@react-native/community-cli-plugin');
const {program} = require('commander');
const path = require('path');
program
.description('Starts the React Native Metro bundler for internal testing app')
.action(async options => {
await startCommand.func(
[],
{
platforms: {
ios: {},
android: {},
},
root: path.join(__dirname, '../'),
reactNativePath: path.join(__dirname, '../../react-native'),
},
{
experimentalDebugger: false,
interactive: false,
projectRoot: options.projectRoot,
platforms: ['ios', 'android'],
},
);
})
.parse();