* Update to RN 0.73
* Change files
* RN 73 requires node 18
* Add 72 profile
* Update wdio/appium etc to get it running on node 18
* fix
* fix
* Update podfile locks
* fix
* fix
* fix
* see if building fixes resolution of focus-zone by e2e tests
* Try specifying reports dir with full path
* Try debug level reporting to identify error creating logs
* try enabling more logs
* alternate way to specify logfile.
* downgrade @wdio/appium-service to move before https://github.com/webdriverio/webdriverio/pull/12095
* Test no-packager
* yarn init-test-app (With cleanup)
* Try install Java18
* fix
* fix
* Android E2E fixes
* fix?
* fix
* fix
* Add more logging for E2E android test failure
* more logs
* more log
* Use actual scroll region, to avoid OS swipe gestures
* Increase android time out to navigate to page
* fix
* remove extra try/catch and logging
* Fix windows build
* test windows PR without node install
---------
Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
* Add tokens-global.ios.ts
* Bump design tokens package to include colors
* Fix tester error (copied Android fix)
* Change files
* Update theme-tokens package.json
* Fixed Badge tint-severe colors
* Attempt to use win32 as platform
* Bump @rnx-kit/jest-preset package
* yarn test -u (snapshots update from windows to win32)
* Remove console.log statements
* Change files
* Split buttonTokens into platform specific files + fix bad merge
* Make badge tests run on win32 instead of ios
* Change files
* Revert "Change files"
This reverts commit 364d33f5ba.
* Revert "Make badge tests run on win32 instead of ios"
This reverts commit fe55c0120f.
* Update snapshots (changes are the differences between ios and windows tokens)
* Change files
Co-authored-by: Valentyna Kozlova <vkozlova@microsoft.com>
### Platforms Impacted
- [x] iOS
- [x] macOS
- [x] win32 (Office)
- [x] windows
- [x] android
Waiting to merge until Office bumps to 0.68.
### Description of changes
- Bump react-native from 0.66 to 0.68
- Add rnx-kit config sections for all packages to help with dependency management (see https://microsoft.github.io/rnx-kit/docs/guides/dependency-management)
- For reference, almost all packages I added an rnx-config section to have this:
```
"rnx-kit": {
"reactNativeVersion": "^0.68",
"reactNativeDevVersion": "^0.68",
"kitType": "library",
"capabilities": [
"core",
"core-android",
"core-ios",
"react"
]
}
- Ran `yarn rnx-dep-check --write` at root to fix dependencies for RN 0.68
### Verification
- iOS: Not yet tested *
- macOS: Not yet tested *
- win32 (Office): Need to re-test for new changes
- windows: Need to re-test for new changes
- android: Not yet tested *
*hoping someone could help me out with testing these platforms
### Pull request checklist
This PR has considered (when applicable):
- [x] Automated Tests
- [ ] Documentation and examples
- [ ] Keyboard Accessibility
- [ ] Voiceover
- [ ] Internationalization and Right-to-left Layouts
* Update rnx-kit configurations
* `yarn rnx-dep-check --write`
* Remove workspace resolutions
* Update React / React Native / React Native macOS/Windows/Win32 dependencies
* Fix yarn build fallout
* Fix test fallout
* Update podfile locks
* Remove unnecessary dependency
* Change files
* Remove alpha cli resolution
* rnx-dep-check --write
* update lock
* update rex
* update lock
* update ios podfile
* update macos podfile
* upgrade RN types to version 0.66
* updated some components to 0.66 and renamed TurboModuleRegistry in getThemingModule
* resolved type errors
* bumped react dom
* bumped rn svg
* updated rn svg to latest version
* updated win32 rn to 0.66 for checkbox and interactive hooks
* updated component rn versions
* updated some packages and apps to 0.66
* updated all package types except for themes
* updated scripts rn types to 0.66
* updated fluent tester to rn 0.66
* updated RN types to 0.66 for win32 app
* updated theming to rn types 0.66
* updated yarn
* updated all >=17.0.1 react versions to >=17.0.2
* resolved podfile conflict
* updated podfiles
* Change files
* moved testID in Header to the first text element in the fluent tester
* removed 0-0 in rn versions
* updated yarn.lock
* removed resolutions, was causing windows tester to not load
* updated @react-native-community/cli
* added onPressIn and onPressOut for win32/windows/android and removed getTheming comments
* added onPressIn/Out to base adapters
* added onPressIn/Out for macos adapters
* removed notification test, just so the rn 0.66 pr can go through, and updated react for notification
* removed comment in fluenttester
* added jpeg-js and moment back to package.json resolutions
* updated react test renderer
* reverted some accidental changes to react-native-test-app version and svg versions
* fixed error on package.json for macos
Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
Co-authored-by: Saad Najmi <saadnajmi2@gmail.com>
* Fix metro config
* Update to latest @rnx-kit package versions.
* Update rnx-kit packages. Turn typechecking and duplicate package detection failures off, as they reveal errors that already exist in the monorepo.
* Change files
* Fix change file
* Update to TypeScript 4.5.4.
* Change files
* Caught values are now treated as unknown instead of Error. Add appropriate type checking/casting to fix build errors.
* Update tslib
* Change files
* Update to react-native 0.64
* Cleanup after merge
* cleanup unused dependency
* fix dependencies, undo whitespace-only change
* fix dependencies. remove unneeded tslint/eslint suppression.
* revert unneeded change
* Update test snapshots
* Update callout test: border width picker must use values that can be converted between string and number. Picker requires strings, but the target borderWidth value is a number.
* SyntheticEvent: dispatchConfig prop is not present in react-native NativeSyntheticEvent. To compensate for its absence, make SyntheticEvent.dispatchConfig optional.
* Change files
* Remove forced resolution of react-native and react packages.
* Update react-native-test-app and ios pod versions
* Update CLI to 5.0.1 and use cli-platform-ios 5.0.2 since it has a critical fix for RNTA.
* Apply RNTA's published workaround for ios/android issues.
* take 2
* Update @react-native-community/slider, and removing pods which are autolinked.
* explicitly set jdk
* undo java version and remove ndk install
* Update RNTA
`@rnx-kit/jest-preset` embeds a significant portion of what
`configureJest` does, including configuring `jest-haste-map` to pick up
the correct platform extensions, remapping `react-native`, and
transpiling TypeScript.
- @types/jest was bumped to 26 because 27 doesn't exist
- jest-diff had to be explicitly added so that Yarn would hoist it.
Tests would crash otherwise.
- Removed unused babel-plugin-module-resolver
- Removed unused jest-enzyme (which pulled in Jest 24)
- Removed option `haste.providesModuleNodeModules` as it is no longer
valid
- Cleans up duplicate ESLint installations
- Cleans up duplicate ESLint presets
- Bumps `eslint` to 7.3.1
- Cleans up all linter violations where possible; added suppressions
elsewhere
* Fix prettier tooling
* Enable on Fluent Tester directory and run
* Apply prettier to other platforms, run
* Apply prettier to components, run
* Apply prettier to experimental, run
* Apply prettier to framework, run
* Apply prettier to libraries core and theming, run
* Apply prettier to utils, run
* Change files
* Change lage.config
* Remove metro logic from FURN, replacing it with calls to the @rnx-kit CLI. Use rnx-bundle for bundling, and rnx-start for running a bundle server.
* Change files
* Fix type in win32 test app bundle config
* Fix win32 platform designation in bundle config
* Update bundle name in wdio config
* Fix start command
* use-slots sample
* add samples for use-styling package
* update jest versions to avoid typing issues
* light up snapshot tests for styling samples
* add some more samples to use-styles
* get enzyme working for RN testing
* update slots examples
* add HOC example for use slots
* Add samples and some README text to use-slots and use-styling packages
* Change files
* move scripts to be building via TypeScript
* convert scripts to build using typescript
* move babel up to scripts root for direct inclusion
* remove unused use of depcheck task from build-tools
* add depcheck command to repo
* fix more dependencies
* fix dependency errors
* fix last few dependency issues
* more dependency fixes and integrate into buildci
* workaround depcheck bad report
* Change files
* add prettier and extension updates to (hopefully) ensure consistency
* fix bad merge
* Change files
* initial lage init
* hook up build and test scripts via lage
* add full build support
* update new packages to use the new task runner
* update README with instructions on using Lage
* update commands executed in CI
* switch to using Lage for build sequencing
* Change files
* enable tests for FocusTrapZone
* turn on Link tests
* enable Stack tests
* add verbose output to full build task in CI
* add the verbose flag to the actual command this time
* split up build and bundle to handle resource failures
* rename full-build to buildci to be consistent with fabric, up memory limit in CI
* update README for buildci command
* try limiting concurrent processes for CI
* remove lerna dependency, leaving config file
* break up publish tasks to avoid failures
* try again to fix the CI
* fix lerna reference in README
* fix bad capitalization and try with full buildci command
* fix missing dep in contextual menu
* move projects up a dir and opt apple platforms into lerna/yarn
* Don't need to modify these anymore with our projects moved up a level
* try to fix some out of tree platform issues for apple
* Fix build error of wrong platform
* Add parity to win32/windows with our index.js and index.tsx mapping.
* split ios/macos, stand up ios tester
* Remove bundles
* Update CI with our new project locations
* More CI updates
* Pushing up changes the CI says it needs in yarn.lock
* delete unused app.js file
Co-authored-by: Jason Morse <jasonmo@microsoft.com>
* bump beachball version to one with prepublish fix
* update beachball hook to use new prepublish strategy
* bump react native win32 version to 0.62 and pull in matching tester
* update filter mask for 0.62 win32
* unify jest and babel-jest versions
* move to cli for bundling
* consume cli based execution and new rex version
* Change files
* bump RN-win32 version one more time to preview.3
* bump beachball version to one with prepublish fix
* update beachball hook to use new prepublish strategy
* add 0.62 version of windows code
* ignore build artifacts
* remove ios and android files from windows directory
* remove expo playground
* lockfile update after expo removal
* pare down packages in scripts
* remove bundle from core library
* remove metro config for unused bundle
* separate app and tester for win32
* remove bundle from fluent-tester
* remove some hard dependencies
* update RNW to 0.62 version
* bump react native to 0.62
* get a working windows bundle command
* expose watch folders routine for use in windows applet
* update react versions to match
* yarn upgrade results
* more package version updates
* fix windows bundle to point to tester
* fix build errors from version update
* rebuild yarn lock with yarnpkg.com instead of npmjs.org
* update yarn lock file
* remove last docs project from merge conflict
* remove unused packages
* remove dedent package, it was unused
* remove even more packages
* get just command that works with cli
* add apps/mobile to replace expo
* Change files
* align react versions to try to fix hooks issue in tests
* remove a few more unused files
* align jest versions in repo
* get rid of npmjs references in lockfile
* get windows tester up and running
* directly pin react and react-native versions
* update yarn lock file
* reference new version of beachball
* switch beachball to use a config and add prepublish hook
* publish with correct main/module references
* Change files
* remove unnecessary beachball reference in project
* move beachball to version with prepublish hook
* remove private registry reference from lockfile