react-nitro-cli 0.0.1-alpha.6 → 0.0.1-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # React Nitro CLI
2
2
 
3
- Prepare, build, and run React Nitro apps. This package owns the native host and build integration. Application components and `registerApp` come from `@hannojg/react-nitro-renderer`. This alpha requires an Apple Silicon Mac, Bun 1.4.2 or newer, and Xcode 27. Apps target iOS 16 or newer.
3
+ Prepare, build, and run React Nitro apps. This package owns the native host and build integration. Application components and `registerApp` come from `react-nitro-renderer`. This alpha requires an Apple Silicon Mac, Bun 1.4.2 or newer, and Xcode 27. Apps target iOS 16 or newer.
4
4
 
5
5
  ```sh
6
6
  bunx create-react-nitro MyApp
@@ -22,7 +22,7 @@ The native host, Swift packages, Xcode settings, and bundle build phase are gene
22
22
  ## Upgrade
23
23
 
24
24
  ```sh
25
- bun add react-nitro-cli@latest @hannojg/react-nitro-renderer@alpha
25
+ bun add react-nitro-cli@latest react-nitro-renderer@latest
26
26
  ```
27
27
 
28
28
  Update the CLI and renderer together. The app's `postinstall` runs `react-nitro prepare`, which refreshes the generated native integration while preserving your app files. All framework packages use matching exact versions, including the pinned upstream `nitro-core` dependency used for both JavaScript and native code. There are no source symlinks to maintain.
@@ -42,4 +42,4 @@ Debug builds bundle JavaScript source. Release builds compile it to bytecode wit
42
42
 
43
43
  This alpha loads the bundled JavaScript file. It does not provide Fast Refresh or Android support yet.
44
44
 
45
- Import components, rendering functions, and `registerApp` from `@hannojg/react-nitro-renderer`. Import navigation from `@hannojg/react-nitro-navigation`. The CLI has no application API exports.
45
+ Import components, rendering functions, and `registerApp` from `react-nitro-renderer`. Import navigation from `react-nitro-navigation`. The CLI has no application API exports.
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "react-nitro-cli",
3
- "version": "0.0.1-alpha.6",
3
+ "version": "0.0.1-alpha.7",
4
4
  "dependencies": {
5
- "@hannojg/react-nitro-bundler": "0.0.1-alpha.6",
6
- "@hannojg/react-nitro-core": "0.0.1-alpha.6",
7
- "@hannojg/react-nitro-hermes": "0.0.1-alpha.6",
8
- "@hannojg/react-nitro-navigation": "0.0.1-alpha.6",
9
- "@hannojg/react-nitro-networking": "0.0.1-alpha.6",
10
- "@hannojg/react-nitro-renderer": "0.0.1-alpha.6",
11
- "@hannojg/react-nitro-runtime": "0.0.1-alpha.6",
12
- "@hannojg/react-nitro-yoga": "0.0.1-alpha.6",
5
+ "react-nitro-bundler": "0.0.1-alpha.7",
6
+ "react-nitro-core": "0.0.1-alpha.7",
7
+ "react-nitro-hermes": "0.0.1-alpha.7",
8
+ "react-nitro-navigation": "0.0.1-alpha.7",
9
+ "react-nitro-networking": "0.0.1-alpha.7",
10
+ "react-nitro-renderer": "0.0.1-alpha.7",
11
+ "react-nitro-runtime": "0.0.1-alpha.7",
12
+ "react-nitro-yoga": "0.0.1-alpha.7",
13
13
  "nitro-core": "1.0.0-alpha.nightly.105.g69d365fc9b18",
14
14
  "zod": "4.6.7"
15
15
  },
package/src/bundleApp.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { join, resolve } from 'node:path'
2
- import { bundle } from '@hannojg/react-nitro-bundler'
3
- import { bundleRelease } from '@hannojg/react-nitro-bundler/release'
2
+ import { bundle } from 'react-nitro-bundler'
3
+ import { bundleRelease } from 'react-nitro-bundler/release'
4
4
  import { readAppConfig } from './appConfig'
5
5
 
6
6
  export async function bundleApp(options: {
package/src/prepare.ts CHANGED
@@ -15,7 +15,7 @@ export async function prepare(root: string, clean: boolean): Promise<void> {
15
15
  const nativeDirectory = join(directory, 'native')
16
16
  const versions: Record<string, string> = {}
17
17
  const packageNames = ['react-nitro-cli', 'nitro-core']
18
- for (const item of nativePackages) packageNames.push(`@hannojg/${item.name}`)
18
+ for (const item of nativePackages) packageNames.push(item.name)
19
19
  for (const name of packageNames) {
20
20
  const source = packageDirectory(name)
21
21
  const path = join(source, 'package.json')
@@ -35,7 +35,7 @@ export async function prepare(root: string, clean: boolean): Promise<void> {
35
35
  await rm(nativeDirectory, { recursive: true, force: true })
36
36
  await mkdir(nativeDirectory, { recursive: true })
37
37
  for (const item of nativePackages) {
38
- const source = packageDirectory(`@hannojg/${item.name}`)
38
+ const source = packageDirectory(item.name)
39
39
  for (const file of item.files) {
40
40
  const sourcePath = join(source, file)
41
41
  const destination = join(nativeDirectory, item.name, file)