Skip to content

Commit

Permalink
Revert "feat: add Windows New Arch Support" (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naturalclar authored Dec 24, 2024
1 parent 16b0a4a commit fbbae4c
Show file tree
Hide file tree
Showing 23 changed files with 1,179 additions and 774 deletions.
11 changes: 0 additions & 11 deletions NuGet.config

This file was deleted.

79 changes: 39 additions & 40 deletions example/package.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,41 @@
{
"name": "Example",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"build:android": "npm run mkdist && react-native bundle --entry-file index.js --platform android --dev true --bundle-output dist/main.android.jsbundle --assets-dest dist/res",
"build:ios": "npm run mkdist && react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.ios.jsbundle --assets-dest dist",
"ios": "react-native run-ios",
"mkdist": "node -e \"require('node:fs').mkdirSync('dist', { recursive: true, mode: 0o755 })\"",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"@react-native-clipboard/clipboard": "1.15.0",
"react": "18.3.1",
"react-native": "^0.76.3",
"react-native-windows": "0.76.1"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@react-native-community/cli": "^15.0.1",
"@react-native-community/cli-platform-android": "^15.0.1",
"@react-native-community/cli-platform-ios": "^15.0.1",
"@react-native/babel-preset": "^0.76.3",
"@react-native/metro-config": "^0.76.3",
"@react-native/typescript-config": "^0.76.3",
"@rnx-kit/metro-config": "^2.0.0",
"@types/react": "^18.2.6",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.6.3",
"jest": "^29.6.3",
"react-native-test-app": "^4.0.5",
"react-test-renderer": "^18.3.1",
"typescript": "5.0.4"
},
"engines": {
"node": ">=18"
}
"name": "Example",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"build:android": "npm run mkdist && react-native bundle --entry-file index.js --platform android --dev true --bundle-output dist/main.android.jsbundle --assets-dest dist/res",
"build:ios": "npm run mkdist && react-native bundle --entry-file index.js --platform ios --dev true --bundle-output dist/main.ios.jsbundle --assets-dest dist",
"ios": "react-native run-ios",
"mkdist": "node -e \"require('node:fs').mkdirSync('dist', { recursive: true, mode: 0o755 })\"",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"@react-native-clipboard/clipboard": "1.15.0",
"react": "18.3.1",
"react-native": "0.76.3"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@react-native-community/cli": "15.0.1",
"@react-native-community/cli-platform-android": "15.0.1",
"@react-native-community/cli-platform-ios": "15.0.1",
"@react-native/babel-preset": "0.76.3",
"@react-native/metro-config": "0.76.3",
"@react-native/typescript-config": "0.76.3",
"@rnx-kit/metro-config": "^2.0.0",
"@types/react": "^18.2.6",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.6.3",
"jest": "^29.6.3",
"react-native-test-app": "^4.0.4",
"react-test-renderer": "18.3.1",
"typescript": "5.0.4"
},
"engines": {
"node": ">=18"
}
}
25 changes: 5 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"android": "react-native run-android --root example",
"windows": "cd example && react-native run-windows",
"start:windows": "install-windows-test-app -p example/windows && react-native run-windows --root example --logging",
"start:windows:fabric": "install-windows-test-app -p example/windows --use-fabric && react-native run-windows --root example --logging",
"start": "react-native start",
"build": "tsc",
"format": "biome format --write .",
Expand All @@ -48,10 +47,6 @@
"jest": {
"preset": "react-native"
},
"dependencies": {
"react-native": "^0.76.3",
"react-native-windows": "0.76.1"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@biomejs/biome": "1.9.4",
Expand All @@ -64,9 +59,11 @@
"@typescript-eslint/eslint-plugin": "^8.16.0",
"babel-jest": "^26.1.0",
"jest": "^29.2.1",
"react": "^18.3.1",
"react": "18.2.0",
"react-native": "^0.76.0",
"react-native-macos": "0.76.0",
"react-native-test-app": "^4.0.5",
"react-native-test-app": "^4.0.1",
"react-native-windows": "^0.76.0",
"react-test-renderer": "^18.2.0",
"typescript": "^4.4.3"
},
Expand All @@ -93,22 +90,10 @@
"jsSrcsDir": "./src",
"android": {
"javaPackageName": "com.reactnativecommunity.clipboard"
},
"windows": {
"namespace": "ClipboardCodegen",
"outputDirectory": "windows/Clipboard/codegen",
"separateDataTypes": true
}
},
"packageManager": "[email protected]",
"workspaces": [
"example"
],
"react-native-windows": {
"init-windows": {
"name": "Clipboard",
"namespace": "Clipboard",
"template": "cpp-app"
}
}
]
}
2 changes: 1 addition & 1 deletion react-native.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
platforms: {
windows: {
sourceDir: "windows",
solutionFile: "Clipboard.sln",
solutionFile: "windows.sln",
projects: [
{
projectFile: "Clipboard/Clipboard.vcxproj",
Expand Down
Loading

0 comments on commit fbbae4c

Please sign in to comment.