fluentui-react-native/.gitignore

118 строки
1.6 KiB
Plaintext
Исходник Постоянная ссылка Обычный вид История

2019-07-10 23:27:20 +03:00
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
**/reports/
**/errorShots/
**/allure-results/
**/allure-report/
2019-07-10 23:27:20 +03:00
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Xcode
*.xcuserstate
**/.DS_Store
Update Native Apple Code for better downstream integration (#710) ### Platforms Impacted - [x] iOS - [x] macOS - [ ] win32 (Office) - [ ] windows - [ ] android ### Description of changes This change refactors some of our native iOS and macOS code for better downstream integration into the office codebase. Namely: - Every native module's `<Component>-Bridging-Header.h` has been renamed to `<Component>ViewManager.h`. - These files were never bridging headers, and cocoa pods / swift never interpreted them as such. There is potential to improve the RN docs on how to write a native swift module here as well. - Adds the `BUILD_LIBRARY_FOR_DISTRIBUTION` flag to each native module's pod spec - This flag allows for ABI stability in our swift static libraries. Note that the main side effect of this flag is it produces a `.swiftinterface` file in the static libraries' swift module. I do not include the swift module in the NuGet to be included downstream in office. In my testing I found it was not needed to get iOS NativeButton to link, so I opted not to include the swif module. This may change in the future as I try to figure out why the macOS NativeButton static library won't link. - Adds the `OTHER_SWIFT_FLAGS=-gline-tables-only` flag to each native module's pod spec - This is a potential security risk that is fixed, as per the comment here https://github.com/microsoft/fluentui-react-native/pull/710#discussion_r688016727 . - removes the `CLANG_DEBUG_INFORMATION_LEVEL=line-tables-only` build flag - This caused issues with the previous `BUILD_LIBRARY_FOR_DISTRIBUTION` flag and build failures. I'm not sure why. - Sets the Swift version to 5.0 - I added this because I noticed that Azure pipelines would actually use the Swift 5.3.2 compiler, so I wanted to be explicit which version of swift we are compiling for. Prior to this change, we could not link the NativeButton component downstream into office due to some linker issues. This change updates a few parts of our native iOS and macOS code such that we can now link the iOS NativeButton. The macOS NativeButton static library still does not properly link, I'll leave that as a followup. ### Verification I had a local change downstream in office to consume an intermediate NuGet produced by this PR and test that linking worked. That's where I saw that iOS and not macOS works. Link for those who can see it: https://office.visualstudio.com/OE/_build/results?buildId=9621115&view=logs&j=4257c0a7-7659-5375-d6e0-cde9f28a3d36 ### Pull request checklist This PR has considered (when applicable): - [x] Automated Tests - [x] Documentation and examples - [ ] Keyboard Accessibility - [ ] Voiceover - [ ] Internationalization and Right-to-left Layouts
2021-08-13 11:48:32 +03:00
**/DerivedData/*
# CocoaPods
**/Pods/*
**/project.xcworkspace/contents.xcworkspacedata
**/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
**/*.xcuserdatad/xcschemes
2019-07-10 23:27:20 +03:00
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
2020-04-07 02:55:32 +03:00
# gatsby files
.cache/
public
2019-07-10 23:27:20 +03:00
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Build targets
lib
lib-commonjs
lib-amd
build
dist
temp
2019-07-10 23:27:20 +03:00
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
# document generation directory
Bundling, jest improvements, adding windows tester (#145) * add initial windows template * minor updates to configuration * rename tester package * update fluent-tester deps * pull experiments/tester out of the compilation * move tester sources to fluent-tester * more file changes * switch the bin name from just-script to fluent-scripts to disambiguate names * get bundling working in fluent-tester for win32 * unhoist RN to unblock win32 * move last few files from experiments/tester * Change files * add .DS_Store to root gitignore * more config and babel updates * fix build/bundling errors after syncing master * fixed metro bundling and start to build rn tools package * restore checkbox test * move checkbox test to match pattern from other components * clean up unused files in scripts * fix build errors from merge and script transfer * fix final bundling issues * Change files * more updates to fix configurations * remove demo and experimental web controls * add pressability from RN 0.63 and rework interactive hooks * remove win32 references from the tester * move metro task to build tools * rename file * fix windows and win32 bundles * improve overall bundling task workflow * fix some win32 build errors * add some configuration versatility * add server option to metro task * add postinstall script to update caches * attempts to make XAML version reference the right bundle * enable jest tests for Text and Separator * Change files * update yarn.lock * write windows bundle to dist
2020-04-03 23:21:30 +03:00
.docz
# macOS
.DS_Store
# Generated Nuget Package
*.nupkg
# VS Code debugging
.vscode/.react/
apps/*/.vscode/.react/
Picker Replacement (#1762) * Replaced all occurences of picker from react native library with picker from community library in the fluent tester * resolved argument type errors that occured after changing to the community picker control * replaced picker with menu for basic avatar * replaced picker for call out * structured things so that the MenuPicker is only defined once * replaced picker on AlignmentPicker with picker for win32 * moved MenuPicker to common folder * resolved alignment picker type errors * resolved alignment picker type errors and replaced standard usage and theme picker pickers with the menupicker * added macos files and added menu picker for standard usage on win32 for persona coin * added persona coins standard usage example to macos * fixed alignment picker not showing selected option * changed menu picker styles * added picker community package to ios * Change files * added platform checks for callout * removed dupe tests for basic avatar * removed macos/win32 platform files for alignment picker * removed dupe tests from personas * created menu picker specific for theme picker macos * replaced android picker props for community picker props * defined menu picker props * made menu picker control whether or not to use menu or community picker module * made MenuPicker styles const objs * moved styledpicker to common * removed MenuPicker platform check and added MenuPicker platform specific files * Added comment explaining why we have MenuPicker * correctly adjusted community Picker props * added community picker module to windows package.json * resolved merge conflict * revert adding picker module to windows package * resolved build error * removed merge conflict left behind in podfile * added picker module to windows tester app * Remove RNC-picker from windows test app * set windows picker to have a width * removed .vs * reverted changelog change * reverted yarn lock * added const styles for ThemePicker macos * removed rnc picker from ignoreMatches * reverted win32 changelog * removed set picker width for windows * put picker styles in common * removed unsused stylesheet Co-authored-by: Andrew Coates <30809111+acoates-ms@users.noreply.github.com>
2022-06-29 23:51:15 +03:00
# Visual Studio
.vs/
# Ignore Gradle build output directory
**/android/**/build
# Yarn
.pnp.*
**/.yarn/*
!**/.yarn/patches
!**/.yarn/plugins
!**/.yarn/releases
!**/.yarn/sdks
!**/.yarn/versions
# Ccache
.ccache