Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"@callstack/rnef-config": "^0.0.1",
"@callstack/rnef-tools": "^0.0.1",
"@clack/prompts": "^0.8.1",
"@react-native-community/cli-config": "^15.1.2",
"@react-native-community/cli-config": "^16.0.2",
"commander": "^12.1.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@react-native-community/cli-types": "^15.1.2"
"@react-native-community/cli-types": "^16.0.2"
}
}
4 changes: 2 additions & 2 deletions packages/plugin-metro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
},
"dependencies": {
"@callstack/rnef-tools": "^0.0.1",
"@react-native-community/cli-server-api": "^15.1.2",
"@react-native/community-cli-plugin": "^0.76.0",
"@react-native-community/cli-server-api": "^16.0.2",
"@react-native/community-cli-plugin": "0.77.0-rc.2",
"tslib": "^2.3.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-metro/src/__tests__/pluginMetro.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const pluginApi = { registerCommand: vi.fn() };
test('plugin is called with correct arguments and returns its name and description', () => {
const plugin = pluginMetro({
root: '/',
reactNativeVersion: '0.76.0',
reactNativeVersion: '0.77.0-rc.2',
reactNativePath: '/path/to/react-native',
platforms: {
android: {},
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-metro/template/metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config');
* Metro configuration
* https://reactnative.dev/docs/metro
*
* @type {import('metro-config').MetroConfig}
* @type {import('@react-native/metro-config').MetroConfig}
*/
const config = {};

Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-metro/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "rnef-plugin-metro-template",
"devDependencies": {
"@callstack/rnef-plugin-metro": "^0.0.1",
"@react-native/metro-config": "0.76.1"
"@react-native/metro-config": "0.77.0-rc.2"
}
}
4 changes: 2 additions & 2 deletions packages/plugin-platform-android/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@
"dependencies": {
"@callstack/rnef-tools": "^0.0.1",
"@clack/prompts": "^0.8.1",
"@react-native-community/cli-config-android": "^15.1.2",
"@react-native-community/cli-config-android": "^16.0.2",
"chalk": "^5.3.0",
"nano-spawn": "^0.2.0",
"picocolors": "^1.1.1",
"tslib": "^2.3.0"
},
"devDependencies": {
"@callstack/rnef-config": "^0.0.1",
"@react-native-community/cli-types": "^15.1.2"
"@react-native-community/cli-types": "^16.0.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ buildscript {
minSdkVersion = 24
compileSdkVersion = 35
targetSdkVersion = 34
ndkVersion = "26.1.10909125"
kotlinVersion = "1.9.24"
ndkVersion = "27.1.12297006"
kotlinVersion = "2.0.21"
}
repositories {
google()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
plugins { id("com.facebook.react.settings") }
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand(['npx', 'rnef', 'config', '-p android']) }
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand(['rnef', 'config', '-p', 'android']) }
rootProject.name = 'HelloWorld'
include ':app'
includeBuild('../node_modules/@react-native/gradle-plugin')
2 changes: 1 addition & 1 deletion packages/plugin-platform-apple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"@callstack/rnef-tools": "^0.0.1",
"@clack/prompts": "^0.7.0",
"@react-native-community/cli-config-apple": "^15.1.2",
"@react-native-community/cli-config-apple": "^16.0.2",
"fast-glob": "^3.3.2",
"fast-xml-parser": "^4.5.0",
"nano-spawn": "^0.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-platform-ios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"publish:verdaccio": "npm publish --registry http://localhost:4873 --userconfig ../../.npmrc"
},
"dependencies": {
"@react-native-community/cli-config-apple": "^15.1.2",
"@react-native-community/cli-config-apple": "^16.0.2",
"tslib": "^2.3.0",
"@callstack/rnef-plugin-platform-apple": "^0.0.1"
},
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,6 @@
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
BuildableName = "HelloWorldTests.xctest"
BlueprintName = "HelloWorldTests"
ReferencedContainer = "container:HelloWorld.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import UIKit
import React
import React_RCTAppDelegate
import ReactAppDependencyProvider

@main
class AppDelegate: RCTAppDelegate {
override func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
self.moduleName = "HelloWorld"
self.dependencyProvider = RCTAppDependencyProvider()

// You can add your custom initial props in the dictionary below.
// They will be passed down to the ViewController used by React Native.
self.initialProps = [:]

return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}

override func sourceURL(for bridge: RCTBridge) -> URL? {
self.bundleURL()
}

override func bundleURL() -> URL? {
#if DEBUG
RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
#else
Bundle.main.url(forResource: "main", withExtension: "jsbundle")
#endif
}
}
10 changes: 0 additions & 10 deletions packages/plugin-platform-ios/template/ios/HelloWorld/main.m

This file was deleted.

This file was deleted.

This file was deleted.

5 changes: 0 additions & 5 deletions packages/plugin-platform-ios/template/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ target 'HelloWorld' do
:app_path => "#{Pod::Config.instance.installation_root}/.."
)

target 'HelloWorldTests' do
inherit! :complete
# Pods for testing
end

post_install do |installer|
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
react_native_post_install(
Expand Down
Loading
Loading