Граф коммитов

68 Коммитов

Автор SHA1 Сообщение Дата
Ruriko Araki 3e520915dd
More extensive deduping of dependencies (#3760)
* Update just-scripts, jsdom. Align wdio versions across repo

* Change files
2024-09-26 13:12:11 -07:00
Saad Najmi 055bddda6b
chore: Update react-native-svg to 15.1.0 (#3562) 2024-04-12 14:09:12 -05:00
Andrew Coates 6164473627
Update to RN 0.73 (#3543)
* 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>
2024-04-11 10:32:42 -07:00
Andrew Coates 194bbd6154
Add a bunch of missing peerDependencies (#3494)
* Add many missing peerDependencies

* Change files

* align rn-svg version across repo

* Make rn-platform packages optional

* Change files
2024-03-15 08:52:20 -07:00
Andrew Coates 4a6a9cd633
Update to react-native 0.72 (#3216)
* Update to react-native 0.72

* Change files

* fix metro config

* fix
2023-11-08 18:01:56 -08:00
Ruriko Araki 144e13724c
Update to Yarn3 (#2980)
* Initial yarn 3 commit

* Fix use yarn please

* Result of yarn

* Build fixes

* Some more fixes

* Cleanup

* Change files

* Fix yarn check

* Port disabling PnP patching

* Update tests

* Port podfile.lock change

* Change files

* Reapply some package updates

* Fix for win32?

* Change files

* Convert tester deps?

* Edit workspaces property in package.json

* Update RNTA

* Update setup
2023-08-08 11:50:38 -07:00
Saad Najmi 8c0f9d27e3
Update to React Native 0.71 (#2754)
* align-deps: Fix warnigns and issues

* Upgrade react-native-test-app

* Update align-deps to 0.71

* Fix JS build issues

* Try build apple

* Change files

* babel runtime classic

* resolve react-native-svg to 13.9.0

* Fix more bundling errors

* Change files

* tests

* update package versions

* Get jest tests working

* Change files

* Bump rnwin32 version and clean up imports

* fix issue which caused a ts-ignore to inserted

* Try using a specific image for windows PR

* Updated yml

* try OE-OfficePublic

* update pool

* another pipeline fix

* Update adapters

* Fix UWP tester app

* Fix android PR

* bump RNW version, and use AutomationProperties.AutomationId for mapping from AccessibilityLabel

* Revert back to name - and bump rn-macos

* bump RNW

* bump @office-iss/rex-win32 version

* Try a accessibilty fix for RNW...

* undo previous UWP fix attempt

* Update react-native-windows

* fix

* Change files

* align-deps on drawer

* Move new components to classic runtime

* Test

* Update iOS wdio config

* Revert change that broke windows e2e tests

* Use iOS 16.2

* Match iPhone simulators

* Fix ActivityIndicator

* Disable Drawer test

* Specify simulator in CI

* Fix yml

* Update snapshot

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

---------

Co-authored-by: Andrew Coates <30809111+acoates-ms@users.noreply.github.com>
Co-authored-by: Andrew Coates <acoates@microsoft.com>
2023-06-05 11:49:06 -07:00
Saad Najmi fd67dc8a7f
Fix align-deps warnings + upgrade react-native-test-app (#2753)
* align-deps: Fix warnigns and issues

* Upgrade react-native-test-app

* Change files
2023-04-10 11:42:56 -07:00
Andrew Coates 2d0138c80d
Enable @typescript-eslint/consistent-type-imports (#2581)
* Enable @typescript-eslint/consistent-type-imports

* Change files

* prettier

* cleanup dead code

* Undo addition of packages to win32 test app devDeps
2023-02-01 13:57:33 -08:00
Tommy Nguyen 4de4c2b37c
chore: migrate to `@rnx-kit/align-deps` (#2564) 2023-01-30 15:44:56 +01:00
lyzhan7 1e46feedf3
Use iOS global tokens from pipeline (#2242)
* 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>
2022-10-25 15:27:12 -07:00
Krystal Kramer de9ddf7530
React Native 0.68 Update (#1970)
### 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
2022-09-30 00:31:01 +00:00
Ruriko Araki 99b72e1553
Update workspace tools (#2047) 2022-08-26 14:02:07 -07:00
Nabil Khalil 155145b496
React Native 0.66 Update (#1809)
* 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>
2022-07-14 10:51:41 -07:00
Ruriko Araki 5594a5195c
Update workspace-tools (#1704) 2022-05-31 16:52:17 -07:00
Ruriko Araki 597b1e6bd7
Remove web endpoint & webpack (#1457)
* Remove web endpoint

* Change files
2022-02-18 15:13:57 -08:00
Ruriko Araki 616c894f75
Update react-native-svg-transformer & yarn.lock file (#1451)
* Update svg-transformer version

* Change files

* add accidentally removed line

* Update yarn.lock
2022-02-16 17:50:14 -08:00
Ruriko Araki fc506e0ea2
Update just-scripts to latest (#1446)
* Update just

* Fix tests

* Fix bundle

* Remove code-style

* Change files

* Remove code-style

* lint remove from windows

* Update just-task too

* Fix task

* Fix things some more...
2022-02-16 13:13:09 -08:00
Saad Najmi 163defba33
Remove references to uifabricshared (#1342)
* repalce uses of uifabricshared

* Change files
2022-01-13 18:29:21 -06:00
Ruriko Araki f4a5b4f5c9
Add repository property to our package.json files (#1280)
* Add repository property to all package.json files

* Change files

* Manually modufy change files

* Manually modufy change files
2021-12-20 13:51:29 -08:00
Adam Foxman caa9260512
@rnx-kit package updates (#1273)
* 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
2021-12-18 22:52:57 -06:00
Adam Foxman 38fe241a38
Update to TypeScript 4.5.4 (#1276)
* 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
2021-12-17 21:55:57 -06:00
Adam Foxman f16d742b5c
Update to react-native 0.64 (#1159)
* 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
2021-11-17 11:11:30 -08:00
Saad Najmi fd19db8752
Move CI to use Xcode 13.1 (#1123)
* remap some colors

* Move to Xcode 13

* Actually 13.1

* Try bumping our CLI dependency

* Add verbose flag

* fix typo

* pre boot simulator

* Update preboot script
2021-11-06 23:51:13 -05:00
Ruriko Araki e52c9b3d03
Prettier bump take 2 (#1015)
* Bump prettier

* Run prettier

* Change files

* Add .npmrc so we pull packages from the right registry
2021-09-21 11:55:23 -07:00
Ruriko Araki c3eefc2cd6
Revert the bump to prettier (#1006)
* Revert "Bump Prettier and run it (#997)"

This reverts commit 7ac71c6add.

* Change files

* Fix change file
2021-09-14 12:16:54 -07:00
Ruriko Araki 7ac71c6add
Bump Prettier and run it (#997)
* Update prettier

* Run the prettier

* Change files

* change semver syntax
2021-09-10 14:17:04 -07:00
Ruriko Araki 56ccce452d
Remove api extractor (#854)
* Remove api-extractor related files

* lockfile

* Change files

* Fix change file

* Put back folder I accidentally deleted, get build to work
2021-08-05 17:09:34 -07:00
Tommy Nguyen e26766e21d
chore: use @rnx-kit/jest-preset (#834)
`@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.
2021-07-30 19:55:46 +02:00
Tommy Nguyen 925cf4eb5f
chore: bump jest to 27.0.6 (#828)
- @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
2021-07-30 08:15:39 +02:00
Tommy Nguyen 07d04d166b
build: fix `lint` step failing due to picking up build artifacts (#821)
- 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
2021-07-27 20:43:49 +02:00
Tommy Nguyen 69c607cb93
chore: replace just-repo-utils with workspace-tools (#791)
* chore: replace just-repo-utils with workspace-tools

* Change files
2021-07-24 09:47:07 -07:00
Tommy Nguyen 99e6bc11d8
chore: use react-native-test-app for Windows (#755)
* chore: use react-native-test-app for Windows

* let dep-check manage fluent-tester's dependencies

* fix windows project config

* update app id

* bump @rnx-kit/* to latest

* align metro

* fix RedBox not appearing

* sync lock files

* fix Metro watching Visual Studio generated files

* rename before delete to avoid fs race conditions

* remove wdio results earlier

* don't delete non-existent logs

* up connection retries

* remove results before starting wdio

* use embedded bundle

* bump @rnx-kit/metro-config to 1.2.3

* recreate test output folders

* don't watch other test apps and build output

* restore App.js

* workaround for filesystem race condition

* don't bundle before build is done

* Change files

Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
2021-07-22 15:42:45 -05:00
Ruriko Araki 907fea5109
Fix prettier for FURN (#730)
* 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
2021-06-17 17:22:39 -07:00
Andrew Coates d35d3b45f1
Update to react-native 0.63 (#631)
### Platforms Impacted
- [x] iOS
- [x] macOS
- [x] win32 (Office)
- [x] windows
- [x] android

### Description of changes

Move react-native dependencies to react-native 0.63

### Verification

Ran through the test pages in win32 testapp.

### Pull request checklist

This PR has considered (when applicable):
- [ ] Automated Tests
- [ ] Documentation and examples
- [ ] Keyboard Accessibility
- [ ] Voiceover
- [ ] Internationalization and Right-to-left Layouts
2021-03-05 20:06:48 +00:00
Adam Foxman 5300d6216a
Use @rnx-kit/cli for metro bundling and serving (#614)
* 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
2021-03-01 09:18:12 -08:00
Jason Morse 2566347850
Samples for use-styling, use-slots, and enable enzyme testing in the repo (#456)
* 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
2020-09-11 13:15:01 -07:00
Jason Morse 328573ddeb
Check for private packages (#407)
* add task to check for publishing errors

* add task to check for publishing errors and hook it into depcheck
2020-08-25 13:59:27 -07:00
Jason Morse 5ac8e0159d
Merge build-tools package into scripts (#405)
* merge build-tools into scripts

* remove remnants of build-tools

* fix build breaks

* fix lockfile issues and outdated dependency
2020-08-25 13:56:29 -07:00
Jason Morse 580825d7ae
Make the scripts buildable to allow typescript within (#403)
* 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
2020-08-19 15:52:37 -07:00
Jason Morse 2216954b9e
Integrate dependency checker into CI and fix dependency errors (#392)
* 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
2020-08-17 14:54:38 -07:00
Jason Morse 79677c8f32
Switch to using Lage as a build sequencer (#357)
* 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
2020-07-29 15:26:39 -07:00
Gulnaz Sayed bac059cfd3
Web Tester (#282)
* new web project

* added packages

* added webpack

* tester errors

* added public files

* checkbox works

* react hack

* changed name

* readme

* fixed readme

* pressability and removed testing deps

* removed deps

* removed service worker

* deleted unnecessary files

* updated readme

* changes

* Change files

* Revert "Change files"

This reverts commit de3ea44aae.

revert changes

* Change files

Co-authored-by: Gulnaz Sayed <t-gusaye@microsoft.com>
2020-07-02 13:56:34 -07:00
Jason Morse 6260d6afa3
remove cycle in scripts/package.json (#280) 2020-06-16 19:48:48 -07:00
HeyImChris d154883db2
Move projects up a dir and opt apple platforms into lerna/yarn (#226)
* 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>
2020-05-28 18:41:21 -07:00
Jason Morse e0a1a7baa8
Move win32 RN to 0.62 and pull in updated tester (#199)
* 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
2020-05-11 13:07:07 -07:00
Jason Morse 1d2b333a0d
Update RN to 0.62 and make app folders platform specific (#181)
* 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
2020-04-24 12:32:32 -07:00
UI-Fabric-RN-Bot 508c3dcde9 📦 applying package updates ***NO_CI*** 2020-04-17 22:36:03 +00:00
Jason Morse 6709e9eed6
Fix package publishing (#163)
* 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
2020-04-16 16:23:44 -07:00
UI-Fabric-RN-Bot b7de180961 📦 applying package updates ***NO_CI*** 2020-04-09 18:39:15 +00:00