Skip to content

Commit 32bc437

Browse files
committed
chore: remove oot-platforms package
1 parent a59ad5f commit 32bc437

File tree

11 files changed

+52
-115
lines changed

11 files changed

+52
-115
lines changed

packages/out-of-tree-platforms/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/out-of-tree-platforms/README.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

packages/out-of-tree-platforms/index.js.flow

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/out-of-tree-platforms/package.json

Lines changed: 0 additions & 27 deletions
This file was deleted.

packages/out-of-tree-platforms/src/getPlatformResolver.js

Lines changed: 0 additions & 43 deletions
This file was deleted.

packages/out-of-tree-platforms/src/index.flow.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/out-of-tree-platforms/src/index.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/react-native/README.md

Lines changed: 50 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,52 @@
1-
# Where is the template?
2-
The React Native Template has moved from being shipping inside the [react-native](https://www.npmjs.com/package/react-native) package to it's own package: [@react-native-community/template](https://github.com/react-native-community/template).
1+
<h1 align="center">
2+
<a href="https://callstack.github.io/react-native-visionos-docs">
3+
React Native visionOS
4+
</a>
5+
</h1>
36

4-
## Why has it moved?
5-
The [React Native Frameworks RFC0759](https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0759-react-native-frameworks.md#evolving-the-react-native-community-template--cli) provides background information.
7+
<p align="center">
8+
<strong>Learn once, write anywhere:</strong><br>
9+
Build spatial apps with React.
10+
</p>
611

7-
## When was it moved?
8-
The 0.75 release.
12+
React Native visionOS allows you to write visionOS with full support for platform SDK. This is a full fork of the main repository with changes needed to support visionOS.
13+
14+
![Screenshot](https://github.com/callstack/react-native-visionos/assets/52801365/0fcd5e5f-628c-49ef-84ab-d1d4675a011a)
15+
16+
## 🎉 Building your first spatial React Native app
17+
Follow the [Getting Started](https://callstack.github.io/react-native-visionos-docs/category/getting-started) guide. If you wish to get started quickly, you can utilize this command:
18+
19+
```sh
20+
npx @callstack/react-native-visionos@latest init YourApp
21+
```
22+
23+
24+
## 📖 Documentation
25+
26+
The full documentation for React Native visionOS can be found on our [website](https://callstack.github.io/react-native-visionos-docs).
27+
28+
The source for the React Native visionOS documentation and website is hosted on a separate repo, @callstack/react-native-visionos-docs.
29+
30+
## Contributing
31+
32+
Prerequisites:
33+
- Download the latest Xcode (at least 15.2)
34+
- Install the latest version of CMake (at least v3.29.0)
35+
36+
Check out `rn-tester` [README.md](./packages/rn-tester/README.md) to build React Native from the source.
37+
38+
Remember to use `RNTester-visionOS` target
39+
40+
If `RNTester-visionOS` scheme is not showing up, click "New Scheme", which should be pre-populated with `RNTester-visionOS`. Build the app using Xcode.
41+
42+
## Release process
43+
44+
We use a script called `oot-release.js` which automatically releases `visionos` packages and aligns versions of dependencies with React Native core.
45+
46+
Usage:
47+
48+
```sh
49+
node ./scripts/oot-release.js --new-version "<visionos-version>" --react-native-version "<react-native-version>" --one-time-password "<otp>"
50+
```
51+
52+
To test releases and template we use [Verdaccio](https://verdaccio.org/).

packages/react-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,4 @@
171171
}
172172
]
173173
}
174-
}
174+
}

packages/rn-tester/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
"@react-native/popup-menu-android": "0.77.0-main",
3232
"flow-enums-runtime": "^0.0.6",
3333
"invariant": "^2.2.4",
34-
"nullthrows": "^1.1.1",
35-
"@callstack/out-of-tree-platforms": "0.77.0-main"
34+
"nullthrows": "^1.1.1"
3635
},
3736
"peerDependencies": {
3837
"react": "19.0.0",

0 commit comments

Comments
 (0)