BLUE
PHP 7.4.33
Path:
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/scripts
Run
Logout
Edit File
Size: 1.80 KB
Close
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/react-native/scripts/bundle.js
Text
Base64
/** * 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 * @oncall react_native */ 'use strict'; const {bundleCommand: bc} = require('@react-native/community-cli-plugin'); const {execSync} = require('child_process'); const commander = require('commander'); const {readFileSync} = require('fs'); const path = require('path'); // Commander 12.0.0 changes from the global to named export const program = commander.program ?? commander; program.version( JSON.parse( readFileSync(path.resolve(__dirname, '..', 'package.json'), 'utf8'), ).version, ); program .name(bc.name) .description(bc.description ?? '') .option( '--config-cmd <string>', 'Command to generate a JSON project config', 'npx react-native config', ) .option('--load-config <string>', 'JSON project config') .option('--verbose', 'Additional logs', () => true, false) .allowUnknownOption() .action(async function handleAction() { let config = null; let options = program.opts(); if (options.loadConfig != null) { config = JSON.parse( options.loadConfig.replace(/^\W*'/, '').replace(/'\W*$/, ''), ); } else if (options.configCmd != null) { config = JSON.parse( execSync(options.configCmd.trim(), {encoding: 'utf8'}), ); } if (config == null) { throw new Error('No config provided'); } await bc.func(program.args, config, options); }); if (bc.options != null) { for (const o of bc.options) { program.option( o.name, o.description ?? '', o.parse ?? (value => value), o.default, ); } } if (require.main === module) { program.parse(process.argv); } module.exports = program;
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 5 × Files: 12
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
cocoapods
DIR
-
drwxr-xr-x
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
codegen
DIR
-
drwxr-xr-x
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
hermes
DIR
-
drwxr-xr-x
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
react_native_pods_utils
DIR
-
drwxr-xr-x
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
xcode
DIR
-
drwxr-xr-x
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
bundle.js
1.80 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
compose-source-maps.js
1.73 KB
lrwxr-xr-x
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
find-node-for-xcode.sh
2.92 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
generate-codegen-artifacts.js
1.00 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
generate-provider-cli.js
2.10 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
generate-specs-cli.js
1.38 KB
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ios-configure-glog.sh
2.66 KB
lrwxr-xr-x
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
node-binary.sh
725 B
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
packager-reporter.js
710 B
lrw-r--r--
2025-03-28 11:04:42
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
packager.sh
751 B
lrwxr-xr-x
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
react-native-xcode.sh
5.63 KB
lrwxr-xr-x
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
react_native_pods.rb
19.62 KB
lrw-r--r--
2025-03-28 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).