Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
458bb21
Add a custom SVG REPL so so you can paste or type in an svg and rende…
warren-ms Mar 24, 2023
a7006b1
I think testID needs to be on the first item
warren-ms Mar 24, 2023
c01c9df
Change files
warren-ms Mar 24, 2023
245ddf4
[Menu] Fix for keyboard focus is lost when hovering out of a menu (#2…
chiuam Mar 24, 2023
99263ad
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Mar 24, 2023
791817f
Bump prettier from 2.8.6 to 2.8.7 (#2730)
dependabot[bot] Mar 27, 2023
f339c3e
Bump react-native-test-app from 2.3.12 to 2.3.13 (#2729)
dependabot[bot] Mar 27, 2023
33c4253
RadioGroup Style Fixes (#2552)
gulnazsayed Mar 27, 2023
5e4b40b
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Mar 27, 2023
29068f0
auto-nits
warren-ms Mar 28, 2023
946bcff
Remove fancy svg test
warren-ms Mar 28, 2023
9fcc6e9
Fix plat bug (#2734)
ankraj12 Mar 28, 2023
066be54
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Mar 28, 2023
87e30e1
RadioGroup Style Fixes 2.0 (#2740)
gulnazsayed Mar 30, 2023
c7d023b
Use callback optimize style
warren-ms Mar 31, 2023
40946d7
Bump @types/react-native from 0.68.13 to 0.68.14 (#2735)
dependabot[bot] Mar 31, 2023
c5ab40b
Bump appium-uiautomator2-driver from 2.12.4 to 2.12.7 (#2737)
dependabot[bot] Mar 31, 2023
d71d0c8
Properly render switch on/off text when `labelPosition` prop = "befor…
lawrencewin Mar 31, 2023
faad458
[Avatar] Add more jest tests / Fix default avatar rendering for Andro…
ayush547 Apr 3, 2023
4d4decc
Bump @types/react from 17.0.53 to 17.0.56 (#2748)
dependabot[bot] Apr 4, 2023
00118f4
Update Switch Documentation + Comments (#2746)
lawrencewin Apr 4, 2023
e840c82
Update appium and node version (#2745)
ksiler Apr 6, 2023
fd0169a
Bump @babel/core from 7.21.3 to 7.21.4 (#2743)
dependabot[bot] Apr 7, 2023
de537fb
iOS FRNAppearanceAdditions: support for multiple trait collections (#…
lyzhan7 Apr 7, 2023
c54c613
Manually trigger package updates (#2751)
ksiler Apr 7, 2023
4143b04
Fix NPM publish pipeline (#2756)
ksiler Apr 10, 2023
7456a4c
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 10, 2023
6b3c7b4
Bump @fortawesome/fontawesome-svg-core from 6.3.0 to 6.4.0 (#2750)
dependabot[bot] Apr 10, 2023
eaa4852
Bump @babel/preset-env from 7.20.2 to 7.21.4 (#2744)
dependabot[bot] Apr 10, 2023
05bd73d
<Spinner win32> - Add TrackSvg and implement platform specific design…
lenahong Apr 10, 2023
fd67dc8
Fix align-deps warnings + upgrade react-native-test-app (#2753)
Saadnajmi Apr 10, 2023
9fbd5fe
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 10, 2023
b3508cb
[Text field] New component for Android (#2732)
ayush547 Apr 11, 2023
b986b5a
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 11, 2023
39c5a61
Bump @rnx-kit/cli from 0.16.4 to 0.16.6 (#2760)
dependabot[bot] Apr 11, 2023
8f8a8af
Update yarn.lock (#2763)
rurikoaraki Apr 11, 2023
ef4bdc8
[Button] Fix onLayout (#2762)
rurikoaraki Apr 11, 2023
ca65b7c
Bump markdown-link-check from 3.10.3 to 3.11.1 (#2761)
dependabot[bot] Apr 11, 2023
203af3c
Bump semver from 7.3.8 to 7.4.0 (#2759)
dependabot[bot] Apr 11, 2023
4e4be4c
Bump react-native-windows from 0.68.30 to 0.68.32 (#2758)
dependabot[bot] Apr 11, 2023
34d89fc
[Menu - Android] Implement Menu for Android (#2715)
rohanprasadofficial Apr 12, 2023
56db0df
Bump @babel/preset-typescript from 7.21.0 to 7.21.4 (#2749)
dependabot[bot] Apr 12, 2023
42f64dd
Fix pipeline (#2764)
rurikoaraki Apr 12, 2023
eafd388
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 12, 2023
3b9596a
[Menu] SPEC.md and Docs update (#2776)
rohanprasadofficial Apr 19, 2023
5072719
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 19, 2023
b4f4b99
Bump react-native-test-app from 2.3.16 to 2.4.0 (#2774)
dependabot[bot] Apr 19, 2023
a897b35
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 19, 2023
7ad4362
Bump eslint from 8.36.0 to 8.38.0 (#2767)
dependabot[bot] Apr 19, 2023
f5b6d5f
Bump react-native-macos from 0.68.68 to 0.68.70 (#2773)
dependabot[bot] Apr 19, 2023
3dff429
Bump appium-uiautomator2-driver from 2.12.4 to 2.15.0 (#2777)
dependabot[bot] Apr 19, 2023
b2c2e21
Addons on Text Input - Functionality / Docs / Tests (#2775)
ayush547 Apr 20, 2023
285d508
[Radio] A11y fix - Demonstrate radio announcing unselected on Android…
ayush547 Apr 20, 2023
844a8ec
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 20, 2023
310e8b4
Bump @react-native-picker/picker from 2.4.9 to 2.4.10 (#2783)
dependabot[bot] Apr 20, 2023
f935672
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 20, 2023
11930a7
[Menu] Enable pointer capture on MenuPopover to be overridden (#2785)
ksiler Apr 20, 2023
9509672
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 21, 2023
64bb648
Bump react-native-test-app from 2.4.0 to 2.5.0 (#2780)
dependabot[bot] Apr 21, 2023
7b47be0
Bump appium-uiautomator2-driver from 2.15.0 to 2.17.0 (#2781)
dependabot[bot] Apr 21, 2023
3b8502c
Bump @types/enzyme from 3.10.12 to 3.10.13 (#2782)
dependabot[bot] Apr 21, 2023
f4d293b
Add Menu "Home" and "End" key functionality (#2701)
lawrencewin Apr 21, 2023
c6a011e
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 21, 2023
47e52be
Bump @rnx-kit/cli from 0.16.6 to 0.16.8 (#2790)
dependabot[bot] Apr 21, 2023
8aac0ff
Bump semver from 7.4.0 to 7.5.0 (#2789)
dependabot[bot] Apr 21, 2023
e96bb45
Bump beachball from 2.31.12 to 2.31.13 (#2788)
dependabot[bot] Apr 21, 2023
b8c5ff5
Bump @fortawesome/free-solid-svg-icons from 6.3.0 to 6.4.0 (#2787)
dependabot[bot] Apr 21, 2023
db950e1
[Button] Fix win32 subtle button coloring (#2791)
rurikoaraki Apr 22, 2023
4007da3
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 22, 2023
a2bea87
Don't bundle in JS PR (#2792)
Saadnajmi Apr 23, 2023
8f6d0c2
Bump @types/react from 17.0.56 to 17.0.58 (#2771)
dependabot[bot] Apr 24, 2023
60bf7de
Bump prettier from 2.8.7 to 2.8.8 (#2794)
dependabot[bot] Apr 24, 2023
ffbdc9b
Conditionally set enableFocusRing when hovered and keyboarded focused…
lenahong Apr 25, 2023
f6e3d7c
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 25, 2023
a064018
fix: security alerts issues (#2802)
rohanprasadofficial Apr 26, 2023
8527eb2
Bug Fix - Enabling Voice Access for "Press to Alert" button in Pressa…
gulnazsayed Apr 26, 2023
fbdde36
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 26, 2023
2a6f1ad
Bump eslint from 8.38.0 to 8.39.0 (#2795)
dependabot[bot] Apr 26, 2023
3b8eb74
Bump appium-uiautomator2-driver from 2.17.0 to 2.19.0 (#2803)
dependabot[bot] Apr 26, 2023
331a777
[Menu] Implement N of M on submenu trigger (#2801)
ksiler Apr 27, 2023
6b67c7a
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 27, 2023
5d78365
[Menu] E2E test for Menu Android (#2786)
rohanprasadofficial Apr 28, 2023
4860005
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Apr 28, 2023
14b160f
Bump @rnx-kit/metro-config from 1.3.5 to 1.3.6 (#2796)
dependabot[bot] May 1, 2023
75a4520
Bump @rnx-kit/jest-preset from 0.1.13 to 0.1.14 (#2799)
dependabot[bot] May 1, 2023
ac0778d
Bump @rnx-kit/eslint-plugin from 0.4.1 to 0.4.2 (#2800)
dependabot[bot] May 1, 2023
d9dddd6
Bump react-native-test-app from 2.5.0 to 2.5.2 (#2808)
dependabot[bot] May 1, 2023
3e1699c
<Spinner>add spinner tail svg without native animation - win32 (#2809)
lenahong May 1, 2023
4464c26
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 1, 2023
fce2247
Add bundling in win32 publish (#2812)
ayush547 May 2, 2023
9948279
Fix repo link to unblock PR checks (#2818)
lyzhan7 May 3, 2023
16e6c5b
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 3, 2023
52a53e3
Bump design token packages to version 0.49.0 (#2766)
lyzhan7 May 3, 2023
83eeaaa
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 3, 2023
b5670fb
Use useCallback for some callbacks.
warren-ms May 3, 2023
4a77e91
Use Xcode 14.2 in ADO pipelines (#2811)
amgleitman May 3, 2023
641b380
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 3, 2023
6c95c2a
[Avatar] Fix anonymous icon svg rendered size (#2817)
ayush547 May 5, 2023
c1f10d9
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 5, 2023
6ca717a
Update iOS menu picker to use @react-native-menu/menu instead of @rea…
lyzhan7 May 5, 2023
4ea134f
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 5, 2023
c853579
[Input] Change default svg to component - Android (#2829)
ayush547 May 10, 2023
ea18146
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 10, 2023
9157f55
Bump markdown-link-check from 3.11.1 to 3.11.2 (#2815)
dependabot[bot] May 10, 2023
465e2c0
Bump appium-uiautomator2-driver from 2.19.0 to 2.24.0 (#2826)
dependabot[bot] May 11, 2023
548b310
[Avatar] A11y talkback fixes enabling status announcements (#2797)
rohanprasadofficial May 11, 2023
955089e
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 11, 2023
3685a37
[Tester] Fix picker - Android (#2830)
ayush547 May 11, 2023
fa091fa
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 11, 2023
dd47cab
[Drawer] Deprecating and removing non working Native Android Drawer (…
rohanprasadofficial May 11, 2023
608fc20
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 11, 2023
2b4a968
[RadioGroup] Removed horizontal layouts from win32 tester (#2805)
gulnazsayed May 16, 2023
474bf8e
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 16, 2023
be95baa
Migrate RadioGroupV1 from experimental to components folder (#2741)
gulnazsayed May 16, 2023
5640130
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 16, 2023
35ab9f7
fix: windows bump WindowsTargetPlatformMinVersion for Expander (#2827)
TatianaKapos May 17, 2023
b6065a6
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 17, 2023
604a9ed
macOS: Implement MenuGroup (#2824)
chiuam May 17, 2023
5ed2f2d
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 17, 2023
0d8e1df
[Drawer - Android] Implement Structure and Basic Working Drawer (#2834)
rohanprasadofficial May 19, 2023
68da6c0
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 19, 2023
9d7885a
Bump @babel/core from 7.21.4 to 7.21.8 (#2819)
dependabot[bot] May 24, 2023
09fa3b6
Update design-tokens to 0.50.0 - mobile accessible stroke tokens + ma…
lyzhan7 May 30, 2023
214d805
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot May 30, 2023
fd451a4
Bump eslint from 8.39.0 to 8.41.0 (#2837)
dependabot[bot] Jun 1, 2023
ccefc1a
Bump @babel/preset-react from 7.18.6 to 7.22.3 (#2848)
dependabot[bot] Jun 5, 2023
5b08eee
Bump @babel/preset-typescript from 7.21.4 to 7.21.5 (#2831)
dependabot[bot] Jun 5, 2023
5ccf902
Bump beachball from 2.31.13 to 2.33.3 (#2846)
dependabot[bot] Jun 5, 2023
b38277b
Execute focus before calling callback (#2849)
rurikoaraki Jun 5, 2023
8c0f9d2
Update to React Native 0.71 (#2754)
Saadnajmi Jun 5, 2023
4973b7a
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 5, 2023
ef55191
[Android] Reduce flaky tests (#2838)
ayush547 Jun 7, 2023
a8c29e8
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 7, 2023
580b996
Bump fast-xml-parser (#2862)
gulnazsayed Jun 8, 2023
89d5e3a
Bump @office-iss/react-native-win32 (#2865)
acoates-ms Jun 9, 2023
bc6e1c7
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 9, 2023
473b5ee
[E2E tests] Update Input/Checkbox test waiters (#2863)
ayush547 Jun 9, 2023
0da6118
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 9, 2023
f790d0b
fix: fix packages depending on `use-subscription` (#2868)
tido64 Jun 9, 2023
40ab31f
Bump react-native-macos from 0.71.8 to 0.71.11 (#2869)
dependabot[bot] Jun 9, 2023
1791790
Bump @types/jest from 29.5.1 to 29.5.2 (#2852)
dependabot[bot] Jun 9, 2023
7c41d64
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 9, 2023
2f08440
Bump react-native from 0.71.6 to 0.71.10 (#2864)
dependabot[bot] Jun 9, 2023
e8ad762
Bump react-native-windows from 0.71.14 to 0.71.16 (#2859)
dependabot[bot] Jun 9, 2023
a29cca2
Bump fast-xml-parser from 4.1.1 to 4.2.4 (#2858)
dependabot[bot] Jun 9, 2023
3229c24
[Callout][macOS] Implement setInitialFocus (#2866)
Saadnajmi Jun 9, 2023
aec910d
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 9, 2023
60d243e
[Tree shaking] Fix import and update ESlint rules (#2851)
ayush547 Jun 12, 2023
6530042
fix: some packages benefit from `"sideEffects": false` (#2874)
tido64 Jun 12, 2023
b050416
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 12, 2023
1842e7f
Update Lage and remove Lerna (#2876)
Saadnajmi Jun 14, 2023
10c316a
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 14, 2023
9898945
<Spinner> switch to RN Native Antive Container for animation (#2847)
lenahong Jun 15, 2023
ca1e1db
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 15, 2023
7778cc8
macOS: Tokenize MenuItemRadio (#2878)
chiuam Jun 15, 2023
153ac30
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 15, 2023
ccdeeea
Define TabList Package (#2861)
lawrencewin Jun 16, 2023
5662a78
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 16, 2023
41a38c8
Bump eslint from 8.41.0 to 8.42.0 (#2855)
dependabot[bot] Jun 16, 2023
30d5533
[macOS] Components don't focus on click (#2879)
Saadnajmi Jun 16, 2023
8556494
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 17, 2023
9175423
Bump @babel/core from 7.21.8 to 7.22.5 (#2873)
dependabot[bot] Jun 17, 2023
30e3eb6
Bump @babel/preset-typescript from 7.21.5 to 7.22.5 (#2871)
dependabot[bot] Jun 17, 2023
2c8b692
Bump semver from 7.5.0 to 7.5.2 (#2882)
dependabot[bot] Jun 19, 2023
8dcc32d
Bump metro-config from 0.73.9 to 0.73.10 (#2883)
dependabot[bot] Jun 19, 2023
5045e20
Bump lage from 2.7.1 to 2.7.2 (#2884)
dependabot[bot] Jun 19, 2023
8fb16fe
[KeyCallback] Make event parameter non optional (#2880)
Saadnajmi Jun 19, 2023
7f469b3
📦 applying package updates ***NO_CI***
UI-Fabric-RN-Bot Jun 19, 2023
b359118
Bump metro-react-native-babel-preset from 0.73.9 to 0.73.10 (#2870)
dependabot[bot] Jun 19, 2023
2a6b674
Add a custom SVG REPL so so you can paste or type in an svg and rende…
warren-ms Mar 24, 2023
2d960d2
I think testID needs to be on the first item
warren-ms Mar 24, 2023
19fdd04
Change files
warren-ms Mar 24, 2023
d3d2cb6
auto-nits
warren-ms Mar 28, 2023
15245f6
Remove fancy svg test
warren-ms Mar 28, 2023
2f10421
Use callback optimize style
warren-ms Mar 31, 2023
f6428c7
Use useCallback for some callbacks.
warren-ms May 3, 2023
49d8a5f
Merge branch 'svg-test-repl2' of https://github.com/microsoft/fluentu…
warren-ms Jun 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .ado/azure-pipelines.publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,17 @@ jobs:
displayName: NPM Publish
pool: Azure-Pipelines-EO-Ubuntu20.04-Office
steps:
- task: NodeTool@0
inputs:
versionSpec: '14.x'
displayName: 'Install Node.js'
- template: templates/setup-repo.yml

- script: |
git config user.name "UI-Fabric-RN-Bot"
git config user.email "uifrnbot@microsoft.com"
git remote set-url origin https://$(githubUser):$(githubPAT)@github.com/microsoft/ui-fabric-react-native.git
displayName: Git Authentication
- template: templates/yarn-install.yml

- script: |
yarn
displayName: 'yarn install'

- script: |
yarn buildci
Expand Down
46 changes: 38 additions & 8 deletions .ado/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ variables:
CI: true

jobs:
# Dedicated task to build and bundle JS code, including jest tests, snapshot testing, and linting, because these things can be super
# Dedicated task to build JS code, including jest tests, snapshot testing, and linting, because these things can be super
# time consuming they don't need to run on every CI pass, instead do a dedicated JS loop to make the platform specific tests start quicker
- job: JSPR
displayName: JS PR
Expand Down Expand Up @@ -69,6 +69,8 @@ jobs:
pool:
vmImage: 'internal-macos12'
demands: ['xcode', 'sh', 'npm']
variables:
platform: 'macos'
timeoutInMinutes: 60 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them

Expand All @@ -94,9 +96,17 @@ jobs:
# Select proper Xcode version
- template: templates/apple-xcode-select.yml

- template: templates/apple-yarn-build.yml
parameters:
platform: 'macos'
- bash: |
echo "pod install $(platform)"
pod install
workingDirectory: apps/fluent-tester/$(platform)
displayName: 'pod install $(platform)'

- bash: |
echo "yarn $(platform)"
yarn $(platform)
workingDirectory: apps/fluent-tester
displayName: 'yarn $(platform)'

- template: templates/e2e-testing-macos.yml

Expand All @@ -105,6 +115,8 @@ jobs:
pool:
vmImage: 'internal-macos12'
demands: ['xcode', 'sh', 'npm']
variables:
platform: 'ios'
timeoutInMinutes: 60 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them

Expand All @@ -130,16 +142,34 @@ jobs:
# Select proper Xcode version
- template: templates/apple-xcode-select.yml

- template: templates/apple-yarn-build.yml
parameters:
platform: 'ios'
- bash: |
echo "pod install $(platform)"
pod install
workingDirectory: apps/fluent-tester/$(platform)
displayName: 'pod install $(platform)'

- bash: |
echo "Pre boot simulator"
UDID=$(xcrun simctl create test-iphone com.apple.CoreSimulator.SimDeviceType.iPhone-14 com.apple.CoreSimulator.SimRuntime.iOS-16-2)
xcrun simctl boot $UDID
workingDirectory: apps/fluent-tester
displayName: 'Boot simulator'

- bash: |
echo "yarn $(platform)"
yarn $(platform) --simulator "iPhone 14"
workingDirectory: apps/fluent-tester
displayName: 'yarn $(platform)x'

- template: templates/e2e-testing-ios.yml

# Windows bundling and end to end testing
- job: WindowsPR
displayName: Windows PR
pool: rnw-pool-4
pool:
name: rnw-pool-4
demands:
- ImageOverride -equals rnw-img-vs2022
timeoutInMinutes: 60 # how long to run the job before automatically cancelling
cancelTimeoutInMinutes: 5 # how much time to give 'run always even if cancelled tasks' before killing them

Expand Down
2 changes: 1 addition & 1 deletion .ado/scripts/xcode_select_current_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
if [ -n "$XCODE_PATH_OVERRIDE" ]; then # If someone calls this with the XCODE_PATH_OVERRIDE variable set to a path to a developer dir, use it instead
XCODE_PATH="$XCODE_PATH_OVERRIDE"
else
XCODE_PATH='/Applications/Xcode_14.0.1.app/Contents/Developer'
XCODE_PATH='/Applications/Xcode_14.2.app/Contents/Developer'
fi

echo "Running command: sudo xcode-select --switch $XCODE_PATH"
Expand Down
24 changes: 0 additions & 24 deletions .ado/templates/apple-yarn-build.yml

This file was deleted.

10 changes: 1 addition & 9 deletions .ado/templates/e2e-dependency-nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,7 @@ steps:
- checkout: self
persistCredentials: true

- task: NodeTool@0
inputs:
versionSpec: "14.x"
displayName: "Install Node.js"

- task: NuGetToolInstaller@0
inputs:
versionSpec: "5.6.0"
displayName: "Install Nuget"
- template: setup-repo.yml

- script: |
yarn
Expand Down
12 changes: 12 additions & 0 deletions .ado/templates/e2e-testing-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ steps:
condition: succeeded()
displayName: 'Create success build variable'

- script: |
yarn appium driver install uiautomator2
workingDirectory: apps/E2E
displayName: 'Install appium driver'
condition: succeeded()

- script: |
yarn e2etest:android
workingDirectory: apps/E2E
Expand All @@ -39,3 +45,9 @@ steps:
platform: 'android'
buildArtifacts: variables['task.Build.status']
directory: $(Build.SourcesDirectory)/apps/E2E

- script: |
yarn appium driver uninstall uiautomator2
workingDirectory: apps/E2E
displayName: 'Uninstall appium driver'
condition: succeeded()
12 changes: 12 additions & 0 deletions .ado/templates/e2e-testing-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ steps:
condition: succeeded()
displayName: 'Create success build variable'

- script: |
yarn appium driver install xcuitest
workingDirectory: apps/E2E
displayName: 'Install appium driver'
condition: succeeded()

- script: |
yarn e2etest:ios
workingDirectory: apps/E2E
Expand All @@ -23,3 +29,9 @@ steps:
platform: 'ios'
buildArtifacts: variables['task.Build.status']
directory: $(Build.SourcesDirectory)/apps/E2E

- script: |
yarn appium driver uninstall xcuitest
workingDirectory: apps/E2E
displayName: 'Uninstall appium driver'
condition: succeeded()
14 changes: 13 additions & 1 deletion .ado/templates/e2e-testing-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ steps:
condition: succeeded()
displayName: 'Create success build variable'

- script: |
yarn appium driver install mac2
workingDirectory: apps/E2E
displayName: 'Install appium driver'
condition: succeeded()

- script: |
yarn e2etest:macos
workingDirectory: apps/E2E
Expand All @@ -22,4 +28,10 @@ steps:
applicationType: macos
platform: 'macos'
buildArtifacts: variables['task.Build.status']
directory: $(Build.SourcesDirectory)/apps/E2E
directory: $(Build.SourcesDirectory)/apps/E2E

- script: |
yarn appium driver uninstall mac2
workingDirectory: apps/E2E
displayName: 'Uninstall appium driver'
condition: succeeded()
6 changes: 6 additions & 0 deletions .ado/templates/e2e-testing-uwp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ steps:
condition: succeeded()
displayName: 'Create success build variable'

- script: |
yarn appium driver install --source=npm appium-windows-driver
workingDirectory: apps/E2E
displayName: 'Install appium driver'
condition: succeeded()

- script: |
yarn e2etest:windows
workingDirectory: apps\E2E
Expand Down
12 changes: 12 additions & 0 deletions .ado/templates/e2e-testing-win32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ steps:
condition: succeeded()
displayName: 'Create success build variable'

- script: |
yarn appium driver install --source=npm appium-windows-driver
workingDirectory: apps/win32
displayName: 'Install appium driver'
condition: succeeded()

- script: |
yarn e2etest
workingDirectory: apps/win32
Expand All @@ -37,3 +43,9 @@ steps:
platform: 'win32'
buildArtifacts: variables['task.Build.status']
directory: $(Build.SourcesDirectory)/apps/win32

- script: |
yarn appium driver uninstall windows
workingDirectory: apps/win32
displayName: 'Uninstall appium driver'
condition: succeeded()
12 changes: 7 additions & 5 deletions .ado/templates/setup-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
steps:
- task: NodeTool@0
inputs:
versionSpec: "14.x"
displayName: "Install Node.js"
versionSource: 'fromFile'
versionFilePath: '.node-version'

- task: NuGetToolInstaller@0
inputs:
versionSpec: "5.6.0"
displayName: "Install Nuget"
versionSpec: '5.6.0'
displayName: 'Install Nuget'

- template: yarn-install.yml
- script: |
yarn install --frozen-lockfile
displayName: 'yarn install'
13 changes: 9 additions & 4 deletions .ado/templates/win32-nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@ steps:
yarn buildci
displayName: 'Building the repo'

- script: |
yarn bundle
workingDirectory: apps/win32
displayName: 'Bundling FluentTester Win32 app'

# Pack the NuGet package
- task: CmdLine@1
displayName: 'Create NuGet package for FluentTester Win32 bundle.'
inputs:
filename: nuget
arguments: 'pack Microsoft.FluentUI.FluentTesterWin32.nuspec -OutputDirectory $(Build.ArtifactStagingDirectory) -OutputFileNamesWithoutVersion -Verbosity detailed -Version $(Build.BuildNumber) -properties CommitId=$(Build.SourceVersion)'
workingFolder: 'apps/win32/nuget'
filename: nuget
arguments: 'pack Microsoft.FluentUI.FluentTesterWin32.nuspec -OutputDirectory $(Build.ArtifactStagingDirectory) -OutputFileNamesWithoutVersion -Verbosity detailed -Version $(Build.BuildNumber) -properties CommitId=$(Build.SourceVersion)'
workingFolder: 'apps/win32/nuget'

# Pack the NuGet package
- task: CmdLine@1
Expand Down Expand Up @@ -58,4 +63,4 @@ steps:
inputs:
command: push
packagesToPush: '$(Build.ArtifactStagingDirectory)/Microsoft.FluentUI.E2E.Testing.Data.nupkg'
publishVstsFeed: Office
publishVstsFeed: Office
6 changes: 0 additions & 6 deletions .ado/templates/yarn-install.yml

This file was deleted.

1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
16
Empty file added .npmignore
Empty file.
9 changes: 4 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ Reach out to Samuel Freiberg with any questions related to E2E testing.

1. `index.ts`
- This is the file listed as `main` inside your package.json and simply exports other files.
1. `<new-component>.tsx`
- This is the file that will actually define your function component, and compose it into a higher order component with slots, theming, and design tokens.
- Note that we need the comment `/** @jsx withSlots */` at the top of this file. An explanation can be found in the comment at `packages/experimental/use-slots/src/withSlots.tsx`
1. `<new-component>.tsx` - This is the file that will actually define your function component, and compose it into a higher order component with slots, theming, and design tokens. - Note that we need the comment `/** @jsxRuntime classic */
/** @jsx withSlots */` at the top of this file. An explanation can be found in the comment at `packages/experimental/use-slots/src/withSlots.tsx`
1. `<new-component>.<types | settings | platform | blah>.tsx` (Optional)
- Optional extra files to subdivide your code however you see fit. You can also add platform specific files as you see fit.

Expand Down Expand Up @@ -212,9 +211,9 @@ To add a native module that wraps a FluentUI Android control:

b. Include dependencies for android build environment

- Edit the generated build.gradle file (Example: packages/experimental/Drawer/android/build.gradle)
- Edit the generated build.gradle file
- Add dependencies for kotlin, maven, react-native, etc
- Add dependency for FluentUIAndroid
- Add dependency for FluentUIAndroid

c. Add @fluentui-react-native/<new-component> package under "dependencies" and "depcheck"/"ignoreMatches" in apps/fluent-tester/package.json in order for our Fluent Tester app to build and use your new Android component module

Expand Down
Loading