fast/.prettierignore

20 строки
179 B
Plaintext
Исходник Постоянная ссылка Обычный вид История

bug: update to fix windows failing ci validation (#4217) # Description Cross Platform Validation <!--- Describe your changes. --> Changed made to 1. modified prettier:diff to prettier check and write in the package.json file added run prepare workspace. 2. ON windows we have added this script to resolve the line ending run: | git config --global core.autocrlf false git config --global core.eol lf we have also specify the shell script as bash cmd in the workflow so the string can be treated as in Linux shel: bash 3. dangerouslySetInnerHTML={{ __html: FooterTemplate }} get replaced by dangerouslySetInnerHTML={{ __html: FooterTemplate() }} to resolve a units test that was failing. changed made in sites/fast-color-explorer/app/site-footer.tsx ## Motivation & context <!--- What problem does this change solve? --> This fix os validation on windows and mac closes #4058 <!--- Provide a link if you are addressing an open issue. --> ## Issue type checklist <!--- What type of change are you submitting? Put an x in the box that applies: --> - [ ] **Chore**: A change that does not impact distributed packages. - [x] **Bug**: A change that fixes an issue, link to the issue above. - [ ] **New feature**: A change that adds functionality. **Is this a breaking change?** - [ ] This change causes current functionality to break. <!--- If yes, describe the impact. --> **Adding or modifying component(s) in `@microsoft/fast-components` checklist** <!-- Do your changes add or modify components in the @microsoft/fast-components package? Put an x in the box that applies: --> - [ ] I have added a new component - [ ] I have modified an existing component - [ ] I have updated the [definition file](https://github.com/Microsoft/fast/blob/master/packages/web-components/fast-components/CONTRIBUTING.md#definition) - [ ] I have updated the [configuration file](https://github.com/Microsoft/fast/blob/master/packages/web-components/fast-components/CONTRIBUTING.md#configuration) ## Process & policy checklist <!--- Review the list and check the boxes that apply. --> - [x] I have added tests for my changes. - [x] I have tested my changes. - [x] I have updated the project documentation to reflect my changes. - [x] I have read the [CONTRIBUTING](https://github.com/Microsoft/fast/blob/master/CONTRIBUTING.md) documentation and followed the [standards](https://www.fast.design/docs/community/code-of-conduct/#our-standards) for this project. <!--- Formatting guidelines: Accepted peer review title format: <type>: <description> Example titles: chore: add unit tests for all components feat: add a border radius to button fix: update design system to use 3px border radius <type> is required to be one of the following: - chore: A change that does not impact distributed packages. - fix: A change which fixes an issue. - feat: A that adds functionality. <description> is required for the CHANGELOG and speaks to what the user gets from this PR: - Be concise. - Use all lowercase characters. - Use imperative, present tense (e.g. `add` not `adds`.) - Do not end your description with a period. - Avoid redundant words. For additional information regarding working on FAST, check out our documentation site: https://www.fast.design/docs/community/contributor-guide --> Co-authored-by: Ibrahimmaga <ibrahim.maga@yahoo.fr> Co-authored-by: John Kreitlow <john.kreitlow@microsoft.com> Co-authored-by: John Kreitlow <863023+radium-v@users.noreply.github.com>
2021-01-15 21:10:43 +03:00
*.spec.ts
Use Playwright with Storybook for component tests in fast-foundation (#6189) * add playwright and remove karma from fast-foundation * make ElementsFilter type arguments optional * convert utilities tests to playwright - Simplify whitespaceFilter and getDirection functions - Add getDirection tests * convert accordion tests to playwright * convert accordion-item tests to playwright * convert anchor tests to playwright * convert anchored-region tests to playwright * add slottedBreadcrumbItemFilter - Add prev and next to slottedBreadcrumbItemsChanged method - Add isBreadcrumbItem filter function * convert breadcrumb tests to playwright * convert breadcrumb-item tests to playwright * mark formnovalidate as boolean attribute in button template * convert breadcrumb-item tests to playwright * convert button tests to playwright * clean up extra spacing in checkbox template * convert checkbox tests to playwright * reset combobox value if no first selected option * convert combobox tests to playwright * allow cell templates to be SyntheticViewTemplate or string * use lookup for data-grid-cell template role and class * convert data-grid tests to playwright * convert data-grid-row tests to playwright * convert data-grid-cell tests to playwright * convert dialog tests to playwright * convert disclosure tests to playwright * convert divider tests to playwright * convert flipper tests to playwright * convert horizontal-scroll tests to playwright * convert listbox-option tests to playwright * convert listbox tests to playwright * menu should not navigate to hidden items when set after connection * convert menu tests to playwright * convert menu-item tests to playwright * convert number-field tests to playwright * convert progress tests to playwright * convert progress-ring tests to playwright * convert radiogroup tests to playwright * convert radio tests to playwright * convert search tests to playwright * convert select tests to playwright * ensure slider value is within min and max limits * convert slider tests to playwright * convert slider-label tests to playwright * use whitespaceFilter with switch template * convert switch tests to playwright * convert tab tests to playwright * convert tab-panel tests to playwright * convert tabs tests to playwright * convert text-area tests to playwright * convert text-field tests to playwright * convert toolbar tests to playwright * convert tooltip tests to playwright * add ARIA attributes to tree-item * convert tree-item tests to playwright * convert tree-view tests to playwright * update api-report.md * update lockfile * Change files * wip * update playwright * update api-report.md * update imports * menu tests * tooltip tests * text-area tests * progress tests * horizontal-scroll tests * toolbar tests * make dialog tests syncronous * finish converting all tests to be synchronous * remove attribute enumeration * remove positioningRegion from radio-group * fix flaky tree-item test * ensure aria-expanded is only set when the tree-item has children * simplify rewritten combobox form reset fix * revert breadcrumb and breadcrumb item changes * revert checkbox template changes * use regex for toHaveClass assertions * revert unrelated number-field changes * remove unused import from radio-group template * revert unrelated search template changes * revert unrelated switch template changes * revert unrelated text-area template changes * revert unrelated text-field class and template changes * revert unrelated tree-item and tree-view changes * make tree-view tests synchronous * revert unrelated radio-group changes * revert unrelated search template changes * revert unrelated text-field template changes * update api-report and READMEs * revert unrelated combobox changes * revert unrelated data-grid-row template changes * revert unrelated menu-item template changes
2022-09-19 20:40:48 +03:00
!*.pw.spec.ts
chore: update the exporting of services and web components in tooling and match the new pathing in sites (#4961) # Pull Request ## 📖 Description <!--- Provide some background and a description of your work. What problem does this change solve? Is this a breaking change, chore, fix, feature, etc? --> This change updates the export for `@alpha` web components and services from the `@microsoft/fast-tooling` package so they can be imported from the root location. It also corrects a few mis-typed const names that should be lowercase and it normalizes some file structures for easier exporting. This change affects the Creator site and Explorer site as the pathing has been updated to reflect that these services and web components can now be imported from the root of the package. Due to issues resulting from exporting web components from the root, jest test have been updated with mock files and the `jest-environment-jsdom-sixteen` package has been added to allow for more modern global methods assumed to be available in browsers. ## 👩‍💻 Reviewer Notes <!--- Provide some notes for reviewers to help them provide targeted feedback and testing. Do you recommend a smoke test for this PR? What steps should be followed? Are there particular areas of the code the reviewer should focus on? --> It should not be necessary to run the sites as the build gate should break if the pathing is incorrect. ## ✅ Checklist ### General <!--- Review the list and put an x in the boxes that apply. --> - [x] I have included a change request file using `$ yarn change` - [ ] I have added tests for my changes. - [x] I have tested my changes. - [x] I have updated the project documentation to reflect my changes. - [x] I have read the [CONTRIBUTING](https://github.com/Microsoft/fast/blob/master/CONTRIBUTING.md) documentation and followed the [standards](https://www.fast.design/docs/community/code-of-conduct/#our-standards) for this project.
2021-07-16 21:17:56 +03:00
*.spec.tsx
bug: update to fix windows failing ci validation (#4217) # Description Cross Platform Validation <!--- Describe your changes. --> Changed made to 1. modified prettier:diff to prettier check and write in the package.json file added run prepare workspace. 2. ON windows we have added this script to resolve the line ending run: | git config --global core.autocrlf false git config --global core.eol lf we have also specify the shell script as bash cmd in the workflow so the string can be treated as in Linux shel: bash 3. dangerouslySetInnerHTML={{ __html: FooterTemplate }} get replaced by dangerouslySetInnerHTML={{ __html: FooterTemplate() }} to resolve a units test that was failing. changed made in sites/fast-color-explorer/app/site-footer.tsx ## Motivation & context <!--- What problem does this change solve? --> This fix os validation on windows and mac closes #4058 <!--- Provide a link if you are addressing an open issue. --> ## Issue type checklist <!--- What type of change are you submitting? Put an x in the box that applies: --> - [ ] **Chore**: A change that does not impact distributed packages. - [x] **Bug**: A change that fixes an issue, link to the issue above. - [ ] **New feature**: A change that adds functionality. **Is this a breaking change?** - [ ] This change causes current functionality to break. <!--- If yes, describe the impact. --> **Adding or modifying component(s) in `@microsoft/fast-components` checklist** <!-- Do your changes add or modify components in the @microsoft/fast-components package? Put an x in the box that applies: --> - [ ] I have added a new component - [ ] I have modified an existing component - [ ] I have updated the [definition file](https://github.com/Microsoft/fast/blob/master/packages/web-components/fast-components/CONTRIBUTING.md#definition) - [ ] I have updated the [configuration file](https://github.com/Microsoft/fast/blob/master/packages/web-components/fast-components/CONTRIBUTING.md#configuration) ## Process & policy checklist <!--- Review the list and check the boxes that apply. --> - [x] I have added tests for my changes. - [x] I have tested my changes. - [x] I have updated the project documentation to reflect my changes. - [x] I have read the [CONTRIBUTING](https://github.com/Microsoft/fast/blob/master/CONTRIBUTING.md) documentation and followed the [standards](https://www.fast.design/docs/community/code-of-conduct/#our-standards) for this project. <!--- Formatting guidelines: Accepted peer review title format: <type>: <description> Example titles: chore: add unit tests for all components feat: add a border radius to button fix: update design system to use 3px border radius <type> is required to be one of the following: - chore: A change that does not impact distributed packages. - fix: A change which fixes an issue. - feat: A that adds functionality. <description> is required for the CHANGELOG and speaks to what the user gets from this PR: - Be concise. - Use all lowercase characters. - Use imperative, present tense (e.g. `add` not `adds`.) - Do not end your description with a period. - Avoid redundant words. For additional information regarding working on FAST, check out our documentation site: https://www.fast.design/docs/community/contributor-guide --> Co-authored-by: Ibrahimmaga <ibrahim.maga@yahoo.fr> Co-authored-by: John Kreitlow <john.kreitlow@microsoft.com> Co-authored-by: John Kreitlow <863023+radium-v@users.noreply.github.com>
2021-01-15 21:10:43 +03:00
**/__tests__
**/__test__
bug: update to fix windows failing ci validation (#4217) # Description Cross Platform Validation <!--- Describe your changes. --> Changed made to 1. modified prettier:diff to prettier check and write in the package.json file added run prepare workspace. 2. ON windows we have added this script to resolve the line ending run: | git config --global core.autocrlf false git config --global core.eol lf we have also specify the shell script as bash cmd in the workflow so the string can be treated as in Linux shel: bash 3. dangerouslySetInnerHTML={{ __html: FooterTemplate }} get replaced by dangerouslySetInnerHTML={{ __html: FooterTemplate() }} to resolve a units test that was failing. changed made in sites/fast-color-explorer/app/site-footer.tsx ## Motivation & context <!--- What problem does this change solve? --> This fix os validation on windows and mac closes #4058 <!--- Provide a link if you are addressing an open issue. --> ## Issue type checklist <!--- What type of change are you submitting? Put an x in the box that applies: --> - [ ] **Chore**: A change that does not impact distributed packages. - [x] **Bug**: A change that fixes an issue, link to the issue above. - [ ] **New feature**: A change that adds functionality. **Is this a breaking change?** - [ ] This change causes current functionality to break. <!--- If yes, describe the impact. --> **Adding or modifying component(s) in `@microsoft/fast-components` checklist** <!-- Do your changes add or modify components in the @microsoft/fast-components package? Put an x in the box that applies: --> - [ ] I have added a new component - [ ] I have modified an existing component - [ ] I have updated the [definition file](https://github.com/Microsoft/fast/blob/master/packages/web-components/fast-components/CONTRIBUTING.md#definition) - [ ] I have updated the [configuration file](https://github.com/Microsoft/fast/blob/master/packages/web-components/fast-components/CONTRIBUTING.md#configuration) ## Process & policy checklist <!--- Review the list and check the boxes that apply. --> - [x] I have added tests for my changes. - [x] I have tested my changes. - [x] I have updated the project documentation to reflect my changes. - [x] I have read the [CONTRIBUTING](https://github.com/Microsoft/fast/blob/master/CONTRIBUTING.md) documentation and followed the [standards](https://www.fast.design/docs/community/code-of-conduct/#our-standards) for this project. <!--- Formatting guidelines: Accepted peer review title format: <type>: <description> Example titles: chore: add unit tests for all components feat: add a border radius to button fix: update design system to use 3px border radius <type> is required to be one of the following: - chore: A change that does not impact distributed packages. - fix: A change which fixes an issue. - feat: A that adds functionality. <description> is required for the CHANGELOG and speaks to what the user gets from this PR: - Be concise. - Use all lowercase characters. - Use imperative, present tense (e.g. `add` not `adds`.) - Do not end your description with a period. - Avoid redundant words. For additional information regarding working on FAST, check out our documentation site: https://www.fast.design/docs/community/contributor-guide --> Co-authored-by: Ibrahimmaga <ibrahim.maga@yahoo.fr> Co-authored-by: John Kreitlow <john.kreitlow@microsoft.com> Co-authored-by: John Kreitlow <863023+radium-v@users.noreply.github.com>
2021-01-15 21:10:43 +03:00
**/.tmp
**/bootstrap
**/coverage
**/dist
**/temp
default-palette.ts
*.md
*.mdx
*.js
*.cjs
*.json
*.html
*.webapp
*.yml