Skip to content

Commit 0d84172

Browse files
authored
Merge branch 'main' into rfc-0759-remove-hermes-profiler
2 parents a055946 + 5855e0b commit 0d84172

File tree

4 files changed

+1
-67
lines changed

4 files changed

+1
-67
lines changed

docs/commands.md

-11
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ React Native CLI comes with following commands:
1616
- [`run-ios`](/packages/cli-platform-ios/README.md#run-ios)
1717
- [`build-ios`](/packages/cli-platform-ios/README.md#build-ios)
1818
- [`start`](https://github.com/facebook/react-native/tree/main/packages/community-cli-plugin#start)
19-
- [`upgrade`](#upgrade)
2019

2120
### `init`
2221

@@ -128,13 +127,3 @@ Replaces the directory if it already exists
128127
#### `--yarn-config-options <string>`
129128

130129
Passes extra options that will be added to `.yarnrc.yml` file, format: key=value,key2=value2.
131-
132-
### `upgrade`
133-
134-
Usage:
135-
136-
```sh
137-
npx react-native upgrade
138-
```
139-
140-
This command generates a relevant link to the [Upgrade Helper](https://react-native-community.github.io/upgrade-helper/) to help you upgrade manually.

packages/cli-platform-apple/src/commands/runCommand/getBuildPath.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export async function getBuildPath(
2525
}
2626

2727
if (isCatalyst) {
28-
return path.join(targetBuildDir, '-maccatalyst', executableFolderPath);
28+
return path.join(`${targetBuildDir}-maccatalyst`, executableFolderPath);
2929
} else if (platform === 'macos') {
3030
return path.join(targetBuildDir, fullProductName);
3131
} else {

packages/cli/src/commands/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@ import {Command, DetachedCommand} from '@react-native-community/cli-types';
22
import {commands as cleanCommands} from '@react-native-community/cli-clean';
33
import {commands as doctorCommands} from '@react-native-community/cli-doctor';
44
import {commands as configCommands} from '@react-native-community/cli-config';
5-
import upgrade from './upgrade/upgrade';
65
import init from './init';
76

87
export const projectCommands = [
98
...configCommands,
109
cleanCommands.clean,
1110
doctorCommands.info,
12-
upgrade,
1311
] as Command[];
1412

1513
export const detachedCommands = [

packages/cli/src/commands/upgrade/upgrade.ts

-53
This file was deleted.

0 commit comments

Comments
 (0)