From 9d1f951ab0150dee6cc1943db1a0dcd60607fdc7 Mon Sep 17 00:00:00 2001 From: Blake Friedman Date: Wed, 24 Apr 2024 03:53:34 -0700 Subject: [PATCH] remove from build script (#44233) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/44233 The package was added to our build scripts, but shouldn't have been. We're not exporting this package or making it public. Changelog: [Internal] This should unblock our OSS CI. Reviewed By: cipolleschi Differential Revision: D56513694 fbshipit-source-id: f37c75871253b2570fb933175165d8f0a9593a16 --- flow-typed/npm/commander_v12.x.x.js | 6 +----- scripts/build/config.js | 4 ---- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/flow-typed/npm/commander_v12.x.x.js b/flow-typed/npm/commander_v12.x.x.js index 05b63e620be2ed..03cf1e041c4288 100644 --- a/flow-typed/npm/commander_v12.x.x.js +++ b/flow-typed/npm/commander_v12.x.x.js @@ -385,10 +385,7 @@ declare module 'commander' { * @param opts - configuration options * @returns new command */ - command( - nameAndArgs: string, - opts?: CommandOptions, - ): Command; + command(nameAndArgs: string, opts?: CommandOptions): Command; /** * Define a command, implemented in a separate executable file. @@ -1000,4 +997,3 @@ declare module 'commander' { ): Argument; declare export var program: Command; } - diff --git a/scripts/build/config.js b/scripts/build/config.js index ed154793ae53ec..e889eb4d1b7986 100644 --- a/scripts/build/config.js +++ b/scripts/build/config.js @@ -54,10 +54,6 @@ const buildConfig /*: BuildConfig */ = { emitTypeScriptDefs: true, target: 'node', }, - helloworld: { - emitFlowDefs: false, - target: 'node', - }, 'metro-config': { emitTypeScriptDefs: true, target: 'node',