Skip to content

Commit

Permalink
chore: remove Charka workarounds, bump RNTA
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 committed Mar 14, 2024
1 parent 5c34e9c commit 753e051
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 28 deletions.
6 changes: 1 addition & 5 deletions apps/xplat-v9/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
module.exports = {
presets: ['@rnx-kit/babel-preset-metro-react-native'],
plugins: [
'@babel/plugin-transform-nullish-coalescing-operator', // required by Chakra
'@babel/plugin-transform-logical-assignment-operators', // required by Chakra
'@stylexjs/babel-plugin',
],
plugins: ['@stylexjs/babel-plugin'],
};
2 changes: 0 additions & 2 deletions apps/xplat-v9/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
* @format
*/

import 'core-js/features/array/flat'; // required by Chakra
import 'core-js/features/array/flat-map'; // required by Chakra
import { AppRegistry } from 'react-native';
import App from './App';
import { name as appName } from './app.json';
Expand Down
8 changes: 4 additions & 4 deletions apps/xplat-v9/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ PODS:
- React-RCTFabric
- ReactCommon/turbomodule/core
- Yoga
- ReactTestApp-DevSupport (3.2.15):
- ReactTestApp-DevSupport (3.3.1):
- React-Core
- React-jsi
- ReactTestApp-Resources (1.0.0-dev)
Expand Down Expand Up @@ -1280,11 +1280,11 @@ SPEC CHECKSUMS:
React-utils: 987a4526a2fc0acdfaf87888adfe0bf9d0452066
ReactCommon: dcc87812d79ce368cc41b7cf49fb624cf3c22b6b
ReactNativeHost: 46268e9273b0afaf9e9720d6cc81507d95d8dd7a
ReactTestApp-DevSupport: 8a69118a4beadc5c4426e35d4d38c3dc7357cb3d
ReactTestApp-Resources: da77347b3f02b5d79ba3fecb3ad328b2f6a7ef4d
ReactTestApp-DevSupport: d07f4ee3757454ccca60cc95b9d533a00ba41513
ReactTestApp-Resources: 857244f3a23f2b3157b364fa06cf3e8866deff9c
SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17
Yoga: a716eea57d0d3430219c0a5a233e1e93ee931eb7

PODFILE CHECKSUM: cadb274a002043a2a0ccc7f3d1f4c687c0004793

COCOAPODS: 1.14.2
COCOAPODS: 1.14.3
8 changes: 4 additions & 4 deletions apps/xplat-v9/macos/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ PODS:
- React-Core
- React-cxxreact
- ReactCommon/turbomodule/core
- ReactTestApp-DevSupport (3.2.15):
- ReactTestApp-DevSupport (3.3.1):
- React-Core
- React-jsi
- ReactTestApp-Resources (1.0.0-dev)
Expand Down Expand Up @@ -1237,11 +1237,11 @@ SPEC CHECKSUMS:
React-utils: b360b43f6554167a3d030d18d439e62872ee7eb1
ReactCommon: 4a9c46cbe8803df27da190b48f5c64cee33a483a
ReactNativeHost: 59d4565eee4fb44efb46d3bff7adbaf2cf29fa5f
ReactTestApp-DevSupport: 8a69118a4beadc5c4426e35d4d38c3dc7357cb3d
ReactTestApp-Resources: 8539dac0f8d2ef3821827a537e37812104c6ff78
ReactTestApp-DevSupport: d07f4ee3757454ccca60cc95b9d533a00ba41513
ReactTestApp-Resources: 9d83e280b173ba2ee053b8135730dff60f9ab674
SocketRocket: f6c6249082c011e6de2de60ed641ef8bbe0cfac9
Yoga: 3725908fb0d6c8d45b7e133940f5d603e588b7ce

PODFILE CHECKSUM: b33f0b7a7f695ecaa04ef3bb721e1a1a3f780ad6

COCOAPODS: 1.13.0
COCOAPODS: 1.14.3
6 changes: 1 addition & 5 deletions apps/xplat-v9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"@fluentui/react-provider": "*",
"@fluentui/react-theme": "*",
"@stylexjs/babel-plugin": "^0.5.1",
"@stylexjs/stylex": "^0.5.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "^0.73.5",
Expand All @@ -34,8 +33,6 @@
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/plugin-transform-logical-assignment-operators": "^7.20.0",
"@babel/plugin-transform-nullish-coalescing-operator": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/babel-preset": "^0.73.0",
Expand All @@ -49,11 +46,10 @@
"@types/react": "^18.0.24",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.2.1",
"core-js": "^3.8.2",
"eslint": "^8.19.0",
"jest": "^29.2.1",
"prettier": "^2.4.1",
"react-native-test-app": "^3.2.15",
"react-native-test-app": "^3.3.1",
"react-test-renderer": "18.2.0",
"typescript": "4.8.4"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
"@fluentui/scripts-tasks": "*",
"@stylexjs/stylex": "^0.5.1"
},
"dependencies": {
"@fluentui/react-shared-contexts": "^9.15.0",
Expand Down
19 changes: 12 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,7 @@
dependencies:
"@babel/helper-plugin-utils" "^7.22.5"

"@babel/plugin-transform-logical-assignment-operators@^7.20.0", "@babel/plugin-transform-logical-assignment-operators@^7.23.4":
"@babel/plugin-transform-logical-assignment-operators@^7.23.4":
version "7.23.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.23.4.tgz#e599f82c51d55fac725f62ce55d3a0886279ecb5"
integrity sha512-Mc/ALf1rmZTP4JKKEhUwiORU+vcfarFVLfcFiolKUo6sewoxSEgl36ak5t+4WamRsNr6nzjZXQjM35WsU+9vbg==
Expand Down Expand Up @@ -1085,7 +1085,7 @@
dependencies:
"@babel/helper-plugin-utils" "^7.22.5"

"@babel/plugin-transform-nullish-coalescing-operator@^7.20.0", "@babel/plugin-transform-nullish-coalescing-operator@^7.23.4":
"@babel/plugin-transform-nullish-coalescing-operator@^7.23.4":
version "7.23.4"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.23.4.tgz#45556aad123fc6e52189ea749e33ce090637346e"
integrity sha512-jHE9EVVqHKAQx+VePv5LLGHjmHSJR76vawFPTdlxR/LVJPfOEGxREQwQfjuZEOPTwG92X3LINSh3M40Rv4zpVA==
Expand Down Expand Up @@ -21859,19 +21859,19 @@ react-native-macos@^0.73.0:
ws "^6.2.2"
yargs "^17.6.2"

react-native-test-app@^3.2.15:
version "3.2.15"
resolved "https://registry.yarnpkg.com/react-native-test-app/-/react-native-test-app-3.2.15.tgz#db6d6a9e06db66b48196eaf9739993793b10d17f"
integrity sha512-bVvbDF5LvulB2j8DEkFXiNVqurQbGB2jSjqcCWd9Xfu+B5kB7LKO6g8dJKdkZpcNi+watSUMK8fMdJBtk56Zgg==
react-native-test-app@^3.3.1:
version "3.3.1"
resolved "https://registry.yarnpkg.com/react-native-test-app/-/react-native-test-app-3.3.1.tgz#8aa4af88e045676e101ecd4bf1724a8f22f65667"
integrity sha512-upMaqQmalxc7hsVvm0ioZ3b33gAC2DfA1MI6iqKr4paZKNNGxa5gbkD6fErVd1KN76z5HPDoBJyxIiD1f/SE9A==
dependencies:
"@rnx-kit/react-native-host" "^0.4.4"
ajv "^8.0.0"
chalk "^4.1.0"
cliui "^8.0.0"
fast-xml-parser "^4.0.0"
prompts "^2.4.0"
semver "^7.3.5"
uuid "^8.3.2"
yoctocolors "^2.0.0"

react-native-windows@^0.73.0:
version "0.73.4"
Expand Down Expand Up @@ -27229,6 +27229,11 @@ yocto-queue@^1.0.0:
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251"
integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g==

yoctocolors@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/yoctocolors/-/yoctocolors-2.0.0.tgz#f6cd83f1fd0b211594810a6de413202d6d177075"
integrity sha512-esbDnt0Z1zI1KgvOZU90hJbL6BkoUbrP9yy7ArNZ6TmxBxydMJTYMf9FZjmwwcA8ZgEQzriQ3hwZ0NYXhlFo8Q==

z-schema@~5.0.2:
version "5.0.2"
resolved "https://registry.yarnpkg.com/z-schema/-/z-schema-5.0.2.tgz#f410394b2c9fcb9edaf6a7511491c0bb4e89a504"
Expand Down

0 comments on commit 753e051

Please sign in to comment.