From 304b11356ec743bc3dc5492c9687e259509d5f24 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Mon, 19 Oct 2020 10:51:02 -0700 Subject: [PATCH 01/16] Rename @uifabric/test-utilities to @fluentui/test-utilities --- .../@uifabric-test-utilities-2020-10-15-02-05-19-dep-fixes.json | 2 +- packages/date-time/package.json | 2 +- .../date-time/src/components/DatePicker/DatePicker.test.tsx | 2 +- .../src/components/WeeklyDayPicker/WeeklyDayPicker.test.tsx | 2 +- packages/react-hooks/package.json | 2 +- packages/react-hooks/src/useSetInterval.test.tsx | 2 +- packages/react-hooks/src/useSetTimeout.test.tsx | 2 +- packages/react-internal/package.json | 2 +- .../react-internal/src/compat/components/Button/Button.test.tsx | 2 +- packages/react-internal/src/components/Callout/Callout.test.tsx | 2 +- .../src/components/FocusTrapZone/FocusTrapZone.test.tsx | 2 +- packages/react-internal/src/components/Layer/Layer.test.tsx | 2 +- packages/react-internal/src/components/Modal/Modal.test.tsx | 2 +- packages/react-internal/src/components/Shimmer/Shimmer.test.tsx | 2 +- .../TextField/MaskedTextField/MaskedTextField.test.tsx | 2 +- .../react-internal/src/utilities/ButtonGrid/ButtonGrid.test.tsx | 2 +- packages/react-next/package.json | 2 +- packages/react-theme-provider/package.json | 2 +- packages/react-theme-provider/src/makeClasses.test.tsx | 2 +- packages/react-theme-provider/src/makeStyles.test.tsx | 2 +- packages/react-theme-provider/src/makeVariantClasses.test.tsx | 2 +- packages/react-window-provider/package.json | 2 +- packages/react-window-provider/src/WindowProvider.test.tsx | 2 +- packages/react/package.json | 2 +- packages/react/src/components/ComboBox/ComboBox.test.tsx | 2 +- packages/react/src/components/DetailsList/DetailsList.test.tsx | 2 +- packages/react/src/components/Dropdown/Dropdown.test.tsx | 2 +- packages/test-utilities/README.md | 2 +- packages/test-utilities/package.json | 2 +- packages/test-utilities/src/version.ts | 2 +- packages/utilities/package.json | 2 +- packages/utilities/src/customizations/Customizer.test.tsx | 2 +- packages/utilities/src/styled.test.tsx | 2 +- 33 files changed, 33 insertions(+), 33 deletions(-) diff --git a/change/@uifabric-test-utilities-2020-10-15-02-05-19-dep-fixes.json b/change/@uifabric-test-utilities-2020-10-15-02-05-19-dep-fixes.json index 0e04fcfb8d4eb4..2a07d314688361 100644 --- a/change/@uifabric-test-utilities-2020-10-15-02-05-19-dep-fixes.json +++ b/change/@uifabric-test-utilities-2020-10-15-02-05-19-dep-fixes.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Update npmignore", - "packageName": "@uifabric/test-utilities", + "packageName": "@fluentui/test-utilities", "email": "elcraig@microsoft.com", "dependentChangeType": "none", "date": "2020-10-15T09:04:27.383Z" diff --git a/packages/date-time/package.json b/packages/date-time/package.json index 99213ee8fa1108..fa0588be599ff4 100644 --- a/packages/date-time/package.json +++ b/packages/date-time/package.json @@ -39,7 +39,7 @@ "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", "@uifabric/jest-serializer-merge-styles": "^7.2.2", - "@uifabric/test-utilities": "^7.3.0", + "@fluentui/test-utilities": "^7.3.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/date-time/src/components/DatePicker/DatePicker.test.tsx b/packages/date-time/src/components/DatePicker/DatePicker.test.tsx index 03e6a5e1d45e35..d1e60f0fa52c47 100644 --- a/packages/date-time/src/components/DatePicker/DatePicker.test.tsx +++ b/packages/date-time/src/components/DatePicker/DatePicker.test.tsx @@ -7,7 +7,7 @@ import { FirstWeekOfYear } from '@fluentui/date-time-utilities'; import { shallow, mount, ReactWrapper } from 'enzyme'; import { resetIds } from '@uifabric/utilities'; import { Callout } from '@fluentui/react-internal/lib/Callout'; -import { safeCreate } from '@uifabric/test-utilities'; +import { safeCreate } from '@fluentui/test-utilities'; import { TextField } from '@fluentui/react-internal/lib/TextField'; import * as renderer from 'react-test-renderer'; import * as ReactDOM from 'react-dom'; diff --git a/packages/date-time/src/components/WeeklyDayPicker/WeeklyDayPicker.test.tsx b/packages/date-time/src/components/WeeklyDayPicker/WeeklyDayPicker.test.tsx index b38e9d361a298d..c2c496f1cd88ef 100644 --- a/packages/date-time/src/components/WeeklyDayPicker/WeeklyDayPicker.test.tsx +++ b/packages/date-time/src/components/WeeklyDayPicker/WeeklyDayPicker.test.tsx @@ -1,7 +1,7 @@ import * as React from 'react'; import { WeeklyDayPicker } from './WeeklyDayPicker'; import { resetIds } from '@uifabric/utilities'; -import { safeCreate } from '@uifabric/test-utilities'; +import { safeCreate } from '@fluentui/test-utilities'; import { DayOfWeek } from '@fluentui/date-time-utilities'; import { WeeklyDayPickerStrings } from './defaults'; import { isConformant } from '../../common/isConformant'; diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index c56308ce72bd35..fd1bfb7410937e 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -33,7 +33,7 @@ "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", - "@uifabric/test-utilities": "^7.3.0", + "@fluentui/test-utilities": "^7.3.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-hooks/src/useSetInterval.test.tsx b/packages/react-hooks/src/useSetInterval.test.tsx index 93a56e9921ee6f..e8ca37b9df28ca 100644 --- a/packages/react-hooks/src/useSetInterval.test.tsx +++ b/packages/react-hooks/src/useSetInterval.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { useSetInterval } from './useSetInterval'; -import { safeMount } from '@uifabric/test-utilities'; +import { safeMount } from '@fluentui/test-utilities'; import { validateHookValueNotChanged } from './testUtilities'; describe('useSetInterval', () => { diff --git a/packages/react-hooks/src/useSetTimeout.test.tsx b/packages/react-hooks/src/useSetTimeout.test.tsx index 51e3303ede9c84..65742201f18603 100644 --- a/packages/react-hooks/src/useSetTimeout.test.tsx +++ b/packages/react-hooks/src/useSetTimeout.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { useSetTimeout } from './useSetTimeout'; -import { safeMount } from '@uifabric/test-utilities'; +import { safeMount } from '@fluentui/test-utilities'; import { validateHookValueNotChanged } from './testUtilities'; describe('useSetTimeout', () => { diff --git a/packages/react-internal/package.json b/packages/react-internal/package.json index 687ff59f30dc50..6ca559aa974407 100644 --- a/packages/react-internal/package.json +++ b/packages/react-internal/package.json @@ -40,7 +40,7 @@ "@uifabric/build": "^7.0.0", "@uifabric/example-data": "^7.1.5", "@uifabric/jest-serializer-merge-styles": "^7.2.2", - "@uifabric/test-utilities": "^7.3.0", + "@fluentui/test-utilities": "^7.3.0", "@fluentui/react-conformance": "^0.1.5", "chalk": "^2.1.0", "enzyme": "~3.10.0", diff --git a/packages/react-internal/src/compat/components/Button/Button.test.tsx b/packages/react-internal/src/compat/components/Button/Button.test.tsx index ac7760262a6d88..31acda175ebab6 100644 --- a/packages/react-internal/src/compat/components/Button/Button.test.tsx +++ b/packages/react-internal/src/compat/components/Button/Button.test.tsx @@ -3,7 +3,7 @@ import * as ReactDOM from 'react-dom'; import * as ReactTestUtils from 'react-dom/test-utils'; import { create } from '@uifabric/utilities/lib/test'; -import { safeMount } from '@uifabric/test-utilities'; +import { safeMount } from '@fluentui/test-utilities'; import { DefaultButton } from './DefaultButton/DefaultButton'; import { IconButton } from './IconButton/IconButton'; diff --git a/packages/react-internal/src/components/Callout/Callout.test.tsx b/packages/react-internal/src/components/Callout/Callout.test.tsx index 8f6baa42c29225..0ee1169b0479a6 100644 --- a/packages/react-internal/src/components/Callout/Callout.test.tsx +++ b/packages/react-internal/src/components/Callout/Callout.test.tsx @@ -6,7 +6,7 @@ import { CalloutContent } from './CalloutContent'; import { DirectionalHint } from '../../common/DirectionalHint'; import * as Utilities from '../../Utilities'; import * as positioning from '../../Positioning'; -import { safeCreate } from '@uifabric/test-utilities'; +import { safeCreate } from '@fluentui/test-utilities'; import { isConformant } from '../../common/isConformant'; describe('Callout', () => { diff --git a/packages/react-internal/src/components/FocusTrapZone/FocusTrapZone.test.tsx b/packages/react-internal/src/components/FocusTrapZone/FocusTrapZone.test.tsx index 14e9bf2a43cad6..3764709f63444b 100644 --- a/packages/react-internal/src/components/FocusTrapZone/FocusTrapZone.test.tsx +++ b/packages/react-internal/src/components/FocusTrapZone/FocusTrapZone.test.tsx @@ -4,7 +4,7 @@ import { KeyCodes } from '../../Utilities'; import { FocusZone, FocusZoneDirection } from '../../FocusZone'; import { FocusTrapZone } from './FocusTrapZone'; import { IFocusTrapZoneProps } from './FocusTrapZone.types'; -import { safeMount } from '@uifabric/test-utilities'; +import { safeMount } from '@fluentui/test-utilities'; import { isConformant } from '../../common/isConformant'; // rAF does not exist in node - let's mock it diff --git a/packages/react-internal/src/components/Layer/Layer.test.tsx b/packages/react-internal/src/components/Layer/Layer.test.tsx index b793f2e0ace370..a9bcbc4fd6527a 100644 --- a/packages/react-internal/src/components/Layer/Layer.test.tsx +++ b/packages/react-internal/src/components/Layer/Layer.test.tsx @@ -3,7 +3,7 @@ import * as ReactTestUtils from 'react-dom/test-utils'; import { Layer } from './Layer'; import { LayerHost } from './LayerHost'; import { mount } from 'enzyme'; -import { safeCreate } from '@uifabric/test-utilities'; +import { safeCreate } from '@fluentui/test-utilities'; const ReactDOM = require('react-dom'); diff --git a/packages/react-internal/src/components/Modal/Modal.test.tsx b/packages/react-internal/src/components/Modal/Modal.test.tsx index 8d1dfa6096bf68..5a70d59fadfb50 100644 --- a/packages/react-internal/src/components/Modal/Modal.test.tsx +++ b/packages/react-internal/src/components/Modal/Modal.test.tsx @@ -3,7 +3,7 @@ import { Modal } from './Modal'; import { ContextualMenu } from '../../ContextualMenu'; import * as path from 'path'; import { isConformant } from '../../common/isConformant'; -import { safeCreate } from '@uifabric/test-utilities'; +import { safeCreate } from '@fluentui/test-utilities'; describe('Modal', () => { isConformant({ diff --git a/packages/react-internal/src/components/Shimmer/Shimmer.test.tsx b/packages/react-internal/src/components/Shimmer/Shimmer.test.tsx index c1cc23cbce7aaa..2776b0e40f9910 100644 --- a/packages/react-internal/src/components/Shimmer/Shimmer.test.tsx +++ b/packages/react-internal/src/components/Shimmer/Shimmer.test.tsx @@ -4,7 +4,7 @@ import * as ReactTestUtils from 'react-dom/test-utils'; import { Shimmer } from './Shimmer'; import { ShimmerElementType as ElemType } from './Shimmer.types'; import { ShimmerElementsGroup } from './ShimmerElementsGroup/ShimmerElementsGroup'; -import { safeMount } from '@uifabric/test-utilities'; +import { safeMount } from '@fluentui/test-utilities'; import { resetIds } from '@uifabric/utilities'; import { isConformant } from '../../common/isConformant'; diff --git a/packages/react-internal/src/components/TextField/MaskedTextField/MaskedTextField.test.tsx b/packages/react-internal/src/components/TextField/MaskedTextField/MaskedTextField.test.tsx index eb27717f384424..6de48c35e44ca2 100644 --- a/packages/react-internal/src/components/TextField/MaskedTextField/MaskedTextField.test.tsx +++ b/packages/react-internal/src/components/TextField/MaskedTextField/MaskedTextField.test.tsx @@ -4,7 +4,7 @@ import { KeyCodes } from '../../../Utilities'; import { mockEvent } from '../../../common/testUtilities'; import { act } from 'react-dom/test-utils'; import { MaskedTextField } from './MaskedTextField'; -import { safeCreate } from '@uifabric/test-utilities'; +import { safeCreate } from '@fluentui/test-utilities'; import { isConformant } from '../../../common/isConformant'; describe('MaskedTextField', () => { diff --git a/packages/react-internal/src/utilities/ButtonGrid/ButtonGrid.test.tsx b/packages/react-internal/src/utilities/ButtonGrid/ButtonGrid.test.tsx index ec851bf2068da4..765716a7a220c6 100644 --- a/packages/react-internal/src/utilities/ButtonGrid/ButtonGrid.test.tsx +++ b/packages/react-internal/src/utilities/ButtonGrid/ButtonGrid.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { ButtonGrid } from './ButtonGrid'; import { getStyles } from './ButtonGrid.styles'; import { isConformant } from '../../common/isConformant'; -import { safeMount } from '@uifabric/test-utilities'; +import { safeMount } from '@fluentui/test-utilities'; const DEFAULT_ITEMS: any[] = [ { id: 'a', text: '0,0' }, diff --git a/packages/react-next/package.json b/packages/react-next/package.json index 3db0b9a495a396..629ae159a76193 100644 --- a/packages/react-next/package.json +++ b/packages/react-next/package.json @@ -45,7 +45,7 @@ "@uifabric/build": "^7.0.0", "@uifabric/example-data": "^7.1.5", "@uifabric/jest-serializer-merge-styles": "^7.2.2", - "@uifabric/test-utilities": "^7.3.0", + "@fluentui/test-utilities": "^7.3.0", "@fluentui/react-conformance": "^0.1.5", "chalk": "^2.1.0", "enzyme": "~3.10.0", diff --git a/packages/react-theme-provider/package.json b/packages/react-theme-provider/package.json index b7d59076c3dab3..e5b273577cddfe 100644 --- a/packages/react-theme-provider/package.json +++ b/packages/react-theme-provider/package.json @@ -37,7 +37,7 @@ "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", "@fluentui/style-utilities": "^7.16.9", - "@uifabric/test-utilities": "^7.3.0", + "@fluentui/test-utilities": "^7.3.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-theme-provider/src/makeClasses.test.tsx b/packages/react-theme-provider/src/makeClasses.test.tsx index 897cf35b6f6ed5..90d5db94056af7 100644 --- a/packages/react-theme-provider/src/makeClasses.test.tsx +++ b/packages/react-theme-provider/src/makeClasses.test.tsx @@ -1,7 +1,7 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ import * as React from 'react'; import { makeClasses } from './makeClasses'; -import { safeMount } from '@uifabric/test-utilities'; +import { safeMount } from '@fluentui/test-utilities'; import { Stylesheet, InjectionMode } from '@uifabric/merge-styles'; import { MergeStylesProvider } from './styleRenderers/mergeStylesRenderer'; diff --git a/packages/react-theme-provider/src/makeStyles.test.tsx b/packages/react-theme-provider/src/makeStyles.test.tsx index 217ff5252c2186..6ff976060f9608 100644 --- a/packages/react-theme-provider/src/makeStyles.test.tsx +++ b/packages/react-theme-provider/src/makeStyles.test.tsx @@ -3,7 +3,7 @@ import { Customizer } from '@uifabric/utilities'; import { createTheme } from '@fluentui/theme'; import { loadTheme } from '@fluentui/style-utilities'; import { Stylesheet, InjectionMode } from '@uifabric/merge-styles'; -import { safeMount } from '@uifabric/test-utilities'; +import { safeMount } from '@fluentui/test-utilities'; import { mount, ReactWrapper } from 'enzyme'; import { act } from 'react-dom/test-utils'; import { makeStyles } from './makeStyles'; diff --git a/packages/react-theme-provider/src/makeVariantClasses.test.tsx b/packages/react-theme-provider/src/makeVariantClasses.test.tsx index c777767e79970d..919c9308712126 100644 --- a/packages/react-theme-provider/src/makeVariantClasses.test.tsx +++ b/packages/react-theme-provider/src/makeVariantClasses.test.tsx @@ -4,7 +4,7 @@ import { Stylesheet, InjectionMode } from '@uifabric/merge-styles'; import { ReactWrapper } from 'enzyme'; import { MergeStylesProvider } from './styleRenderers/mergeStylesRenderer'; import { ThemeContext } from './ThemeContext'; -import { safeMount } from '@uifabric/test-utilities'; +import { safeMount } from '@fluentui/test-utilities'; import { Theme } from './types'; describe('makeVariantClasses', () => { diff --git a/packages/react-window-provider/package.json b/packages/react-window-provider/package.json index 4781003d5f12c7..eba6104362f716 100644 --- a/packages/react-window-provider/package.json +++ b/packages/react-window-provider/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/test-utilities": "^7.3.0", + "@fluentui/test-utilities": "^7.3.0", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", diff --git a/packages/react-window-provider/src/WindowProvider.test.tsx b/packages/react-window-provider/src/WindowProvider.test.tsx index 6ff19d6eab2e63..b4276dfb793416 100644 --- a/packages/react-window-provider/src/WindowProvider.test.tsx +++ b/packages/react-window-provider/src/WindowProvider.test.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; import { useWindow, useDocument, WindowProvider } from './WindowProvider'; -import { safeMount } from '@uifabric/test-utilities'; +import { safeMount } from '@fluentui/test-utilities'; describe('WindowProvider', () => { let lastWindow: Window | undefined; diff --git a/packages/react/package.json b/packages/react/package.json index da53254a4349fd..ff291f53226e22 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -44,7 +44,7 @@ "@uifabric/build": "^7.0.0", "@uifabric/example-data": "^7.1.5", "@uifabric/jest-serializer-merge-styles": "^7.2.2", - "@uifabric/test-utilities": "^7.3.0", + "@fluentui/test-utilities": "^7.3.0", "@uifabric/webpack-utils": "^7.0.25", "@fluentui/react-conformance": "^0.1.5", "chalk": "^2.1.0", diff --git a/packages/react/src/components/ComboBox/ComboBox.test.tsx b/packages/react/src/components/ComboBox/ComboBox.test.tsx index ef318b5250e2f3..4986bf030d389f 100644 --- a/packages/react/src/components/ComboBox/ComboBox.test.tsx +++ b/packages/react/src/components/ComboBox/ComboBox.test.tsx @@ -6,7 +6,7 @@ import { ComboBox } from './ComboBox'; import { IComboBox, IComboBoxOption } from './ComboBox.types'; import { SelectableOptionMenuItemType } from '../../SelectableOption'; import { isConformant } from '../../common/isConformant'; -import { safeCreate } from '@uifabric/test-utilities'; +import { safeCreate } from '@fluentui/test-utilities'; import { useKeytipRef } from '../../Keytips'; import { mount } from 'enzyme'; diff --git a/packages/react/src/components/DetailsList/DetailsList.test.tsx b/packages/react/src/components/DetailsList/DetailsList.test.tsx index 44410f6184f6e8..7618bb10e91c48 100644 --- a/packages/react/src/components/DetailsList/DetailsList.test.tsx +++ b/packages/react/src/components/DetailsList/DetailsList.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import * as ReactDOM from 'react-dom'; import * as renderer from 'react-test-renderer'; import { ReactWrapper } from 'enzyme'; -import { safeMount } from '@uifabric/test-utilities'; +import { safeMount } from '@fluentui/test-utilities'; import { DetailsList } from './DetailsList'; import { DetailsListBase } from './DetailsList.base'; diff --git a/packages/react/src/components/Dropdown/Dropdown.test.tsx b/packages/react/src/components/Dropdown/Dropdown.test.tsx index ee714fc2016151..8c968ff8c53eec 100644 --- a/packages/react/src/components/Dropdown/Dropdown.test.tsx +++ b/packages/react/src/components/Dropdown/Dropdown.test.tsx @@ -10,7 +10,7 @@ import { KeyCodes, resetIds } from '../../Utilities'; import { Dropdown } from './Dropdown'; import { DropdownMenuItemType, IDropdownOption, IDropdown } from './Dropdown.types'; import { isConformant } from '../../common/isConformant'; -import { safeCreate } from '@uifabric/test-utilities'; +import { safeCreate } from '@fluentui/test-utilities'; const DEFAULT_OPTIONS: IDropdownOption[] = [ { key: 'Header1', text: 'Header 1', itemType: DropdownMenuItemType.Header }, diff --git a/packages/test-utilities/README.md b/packages/test-utilities/README.md index f277fad0b70583..128c7540b86b79 100644 --- a/packages/test-utilities/README.md +++ b/packages/test-utilities/README.md @@ -1,4 +1,4 @@ -# @uifabric/test-utilities +# @fluentui/test-utilities Provides a set of common test utilities for testing code within the Fluent UI React repo. diff --git a/packages/test-utilities/package.json b/packages/test-utilities/package.json index a9eae2252a1b52..c50026ab40618c 100644 --- a/packages/test-utilities/package.json +++ b/packages/test-utilities/package.json @@ -1,5 +1,5 @@ { - "name": "@uifabric/test-utilities", + "name": "@fluentui/test-utilities", "version": "7.3.0", "description": "Utilities used when testing components.", "main": "lib-commonjs/index.js", diff --git a/packages/test-utilities/src/version.ts b/packages/test-utilities/src/version.ts index bad7d422437424..1ef3cd35decd8f 100644 --- a/packages/test-utilities/src/version.ts +++ b/packages/test-utilities/src/version.ts @@ -1,4 +1,4 @@ // Do not modify this file; it is generated as part of publish. // The checked in version is a placeholder only and will not be updated. import { setVersion } from '@uifabric/set-version'; -setVersion('@uifabric/test-utilities', '0.0.0'); +setVersion('@fluentui/test-utilities', '0.0.0'); diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 32817affef7673..2e7045ad85f39a 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -38,7 +38,7 @@ "@types/sinon": "2.2.2", "@uifabric/build": "^7.0.0", "@uifabric/jest-serializer-merge-styles": "^7.2.2", - "@uifabric/test-utilities": "^7.3.0", + "@fluentui/test-utilities": "^7.3.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/utilities/src/customizations/Customizer.test.tsx b/packages/utilities/src/customizations/Customizer.test.tsx index 1434bd391dc592..51bb608bf184c9 100644 --- a/packages/utilities/src/customizations/Customizer.test.tsx +++ b/packages/utilities/src/customizations/Customizer.test.tsx @@ -2,7 +2,7 @@ import * as React from 'react'; import { customizable } from './customizable'; import { Customizer } from './Customizer'; import { Customizations } from './Customizations'; -import { safeMount } from '@uifabric/test-utilities'; +import { safeMount } from '@fluentui/test-utilities'; @customizable('Foo', ['field']) class Foo extends React.Component<{ field?: string }, {}> { diff --git a/packages/utilities/src/styled.test.tsx b/packages/utilities/src/styled.test.tsx index e3d71cb78f4ce7..8946f608adfe7e 100644 --- a/packages/utilities/src/styled.test.tsx +++ b/packages/utilities/src/styled.test.tsx @@ -12,7 +12,7 @@ import { } from '@uifabric/merge-styles'; import { classNamesFunction } from './classNamesFunction'; import { Customizations } from './customizations/Customizations'; -import { safeCreate } from '@uifabric/test-utilities'; +import { safeCreate } from '@fluentui/test-utilities'; import { mount } from 'enzyme'; interface ITestStyles { From 029463cfc17dff2e0b4da83229ad005948359775 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Mon, 19 Oct 2020 10:51:22 -0700 Subject: [PATCH 02/16] Rename @uifabric/webpack-utils to @fluentui/webpack-utilities --- packages/{webpack-utils => webpack-utilities}/.eslintrc.json | 0 packages/{webpack-utils => webpack-utilities}/.npmignore | 0 packages/{webpack-utils => webpack-utilities}/CHANGELOG.json | 0 packages/{webpack-utils => webpack-utilities}/CHANGELOG.md | 0 packages/{webpack-utils => webpack-utilities}/LICENSE | 0 packages/{webpack-utils => webpack-utilities}/README.md | 0 packages/{webpack-utils => webpack-utilities}/just.config.ts | 0 packages/{webpack-utils => webpack-utilities}/package.json | 0 .../src/ManifestServicePlugin.ts | 0 .../{webpack-utils => webpack-utilities}/src/fabricAsyncLoader.ts | 0 .../src/fabricAsyncLoaderInclude.ts | 0 packages/{webpack-utils => webpack-utilities}/src/index.ts | 0 packages/{webpack-utils => webpack-utilities}/tsconfig.json | 0 13 files changed, 0 insertions(+), 0 deletions(-) rename packages/{webpack-utils => webpack-utilities}/.eslintrc.json (100%) rename packages/{webpack-utils => webpack-utilities}/.npmignore (100%) rename packages/{webpack-utils => webpack-utilities}/CHANGELOG.json (100%) rename packages/{webpack-utils => webpack-utilities}/CHANGELOG.md (100%) rename packages/{webpack-utils => webpack-utilities}/LICENSE (100%) rename packages/{webpack-utils => webpack-utilities}/README.md (100%) rename packages/{webpack-utils => webpack-utilities}/just.config.ts (100%) rename packages/{webpack-utils => webpack-utilities}/package.json (100%) rename packages/{webpack-utils => webpack-utilities}/src/ManifestServicePlugin.ts (100%) rename packages/{webpack-utils => webpack-utilities}/src/fabricAsyncLoader.ts (100%) rename packages/{webpack-utils => webpack-utilities}/src/fabricAsyncLoaderInclude.ts (100%) rename packages/{webpack-utils => webpack-utilities}/src/index.ts (100%) rename packages/{webpack-utils => webpack-utilities}/tsconfig.json (100%) diff --git a/packages/webpack-utils/.eslintrc.json b/packages/webpack-utilities/.eslintrc.json similarity index 100% rename from packages/webpack-utils/.eslintrc.json rename to packages/webpack-utilities/.eslintrc.json diff --git a/packages/webpack-utils/.npmignore b/packages/webpack-utilities/.npmignore similarity index 100% rename from packages/webpack-utils/.npmignore rename to packages/webpack-utilities/.npmignore diff --git a/packages/webpack-utils/CHANGELOG.json b/packages/webpack-utilities/CHANGELOG.json similarity index 100% rename from packages/webpack-utils/CHANGELOG.json rename to packages/webpack-utilities/CHANGELOG.json diff --git a/packages/webpack-utils/CHANGELOG.md b/packages/webpack-utilities/CHANGELOG.md similarity index 100% rename from packages/webpack-utils/CHANGELOG.md rename to packages/webpack-utilities/CHANGELOG.md diff --git a/packages/webpack-utils/LICENSE b/packages/webpack-utilities/LICENSE similarity index 100% rename from packages/webpack-utils/LICENSE rename to packages/webpack-utilities/LICENSE diff --git a/packages/webpack-utils/README.md b/packages/webpack-utilities/README.md similarity index 100% rename from packages/webpack-utils/README.md rename to packages/webpack-utilities/README.md diff --git a/packages/webpack-utils/just.config.ts b/packages/webpack-utilities/just.config.ts similarity index 100% rename from packages/webpack-utils/just.config.ts rename to packages/webpack-utilities/just.config.ts diff --git a/packages/webpack-utils/package.json b/packages/webpack-utilities/package.json similarity index 100% rename from packages/webpack-utils/package.json rename to packages/webpack-utilities/package.json diff --git a/packages/webpack-utils/src/ManifestServicePlugin.ts b/packages/webpack-utilities/src/ManifestServicePlugin.ts similarity index 100% rename from packages/webpack-utils/src/ManifestServicePlugin.ts rename to packages/webpack-utilities/src/ManifestServicePlugin.ts diff --git a/packages/webpack-utils/src/fabricAsyncLoader.ts b/packages/webpack-utilities/src/fabricAsyncLoader.ts similarity index 100% rename from packages/webpack-utils/src/fabricAsyncLoader.ts rename to packages/webpack-utilities/src/fabricAsyncLoader.ts diff --git a/packages/webpack-utils/src/fabricAsyncLoaderInclude.ts b/packages/webpack-utilities/src/fabricAsyncLoaderInclude.ts similarity index 100% rename from packages/webpack-utils/src/fabricAsyncLoaderInclude.ts rename to packages/webpack-utilities/src/fabricAsyncLoaderInclude.ts diff --git a/packages/webpack-utils/src/index.ts b/packages/webpack-utilities/src/index.ts similarity index 100% rename from packages/webpack-utils/src/index.ts rename to packages/webpack-utilities/src/index.ts diff --git a/packages/webpack-utils/tsconfig.json b/packages/webpack-utilities/tsconfig.json similarity index 100% rename from packages/webpack-utils/tsconfig.json rename to packages/webpack-utilities/tsconfig.json From d2ef537d7eec47d5c0aabdf464b7124d03d5f30c Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Mon, 19 Oct 2020 10:51:53 -0700 Subject: [PATCH 03/16] Update references to webpack-utilities --- ...ebpack-utils-2020-09-30-13-43-32-merge-oufr-react.json | 2 +- ...abric-webpack-utils-2020-10-15-02-05-19-dep-fixes.json | 2 +- packages/react/package.json | 2 +- packages/react/webpack.config.js | 2 +- packages/webpack-utilities/README.md | 8 ++++---- packages/webpack-utilities/package.json | 2 +- scripts/webpack/getResolveAlias.js | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/change/@uifabric-webpack-utils-2020-09-30-13-43-32-merge-oufr-react.json b/change/@uifabric-webpack-utils-2020-09-30-13-43-32-merge-oufr-react.json index 17b9741c09e686..4de6016e8f1030 100644 --- a/change/@uifabric-webpack-utils-2020-09-30-13-43-32-merge-oufr-react.json +++ b/change/@uifabric-webpack-utils-2020-09-30-13-43-32-merge-oufr-react.json @@ -1,7 +1,7 @@ { "type": "minor", "comment": "Rename office-ui-fabric-react package and update references", - "packageName": "@uifabric/webpack-utils", + "packageName": "@fluentui/webpack-utilities", "email": "elcraig@microsoft.com", "dependentChangeType": "patch", "date": "2020-09-30T20:43:32.884Z" diff --git a/change/@uifabric-webpack-utils-2020-10-15-02-05-19-dep-fixes.json b/change/@uifabric-webpack-utils-2020-10-15-02-05-19-dep-fixes.json index be7aee2e698e77..5e2e9a5f12e976 100644 --- a/change/@uifabric-webpack-utils-2020-10-15-02-05-19-dep-fixes.json +++ b/change/@uifabric-webpack-utils-2020-10-15-02-05-19-dep-fixes.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Update npmignore", - "packageName": "@uifabric/webpack-utils", + "packageName": "@fluentui/webpack-utilities", "email": "elcraig@microsoft.com", "dependentChangeType": "none", "date": "2020-10-15T09:05:19.921Z" diff --git a/packages/react/package.json b/packages/react/package.json index ff291f53226e22..d9d5a6c98f6e2d 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -45,7 +45,7 @@ "@uifabric/example-data": "^7.1.5", "@uifabric/jest-serializer-merge-styles": "^7.2.2", "@fluentui/test-utilities": "^7.3.0", - "@uifabric/webpack-utils": "^7.0.25", + "@fluentui/webpack-utilities": "^7.0.25", "@fluentui/react-conformance": "^0.1.5", "chalk": "^2.1.0", "enzyme": "~3.10.0", diff --git a/packages/react/webpack.config.js b/packages/react/webpack.config.js index d0e247b4519815..dae5a70be56c6e 100644 --- a/packages/react/webpack.config.js +++ b/packages/react/webpack.config.js @@ -1,6 +1,6 @@ // @ts-check const resources = require('../../scripts/webpack/webpack-resources'); -const ManifestServicePlugin = require('@uifabric/webpack-utils/lib/ManifestServicePlugin'); +const ManifestServicePlugin = require('@fluentui/webpack-utilities/lib/ManifestServicePlugin'); const BUNDLE_NAME = 'fluentui-react'; diff --git a/packages/webpack-utilities/README.md b/packages/webpack-utilities/README.md index 5ee99b33324209..0e4d26537f7e4d 100644 --- a/packages/webpack-utilities/README.md +++ b/packages/webpack-utilities/README.md @@ -6,11 +6,11 @@ This package contains utilities for optimizing the use of Fluent UI React ([form To use any of these Webpack utilities, you must install it into your project: -`npm i -D @uifabric/webpack-utils` +`npm i -D @fluentui/webpack-utilities` or -`yarn add -D @uifabric/webpack-utils` +`yarn add -D @fluentui/webpack-utilities` ## Fabric Async Loader @@ -23,8 +23,8 @@ module.exports = { rules: [ { test: /\.(jsx?|tsx?)$/, - include: require('@uifabric/webpack-utils/lib/fabricAsyncLoaderInclude'), - loader: '@uifabric/webpack-utils/lib/fabricAsyncLoader.js', + include: require('@fluentui/webpack-utilities/lib/fabricAsyncLoaderInclude'), + loader: '@fluentui/webpack-utilities/lib/fabricAsyncLoader.js', options: { ... } diff --git a/packages/webpack-utilities/package.json b/packages/webpack-utilities/package.json index a014ecc8b90748..5439cd123cca36 100644 --- a/packages/webpack-utilities/package.json +++ b/packages/webpack-utilities/package.json @@ -1,5 +1,5 @@ { - "name": "@uifabric/webpack-utils", + "name": "@fluentui/webpack-utilities", "version": "7.0.25", "description": "Fluent UI React utilities for Webpack bundler.", "repository": { diff --git a/scripts/webpack/getResolveAlias.js b/scripts/webpack/getResolveAlias.js index 71fff9012f2447..9fbb61a59c5b92 100644 --- a/scripts/webpack/getResolveAlias.js +++ b/scripts/webpack/getResolveAlias.js @@ -23,7 +23,7 @@ function getResolveAlias(useLib, cwd) { '@fluentui/eslint-plugin', '@fluentui/api-docs', '@uifabric/build', - '@uifabric/webpack-utils', + '@fluentui/webpack-utilities', '@uifabric/jest-serializer-merge-styles', ]; From cdf0d6c2bdb087f30f5c813dd787f8fa6d56e343 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Mon, 19 Oct 2020 11:11:28 -0700 Subject: [PATCH 04/16] Update references to jest-serializer-merge-styles --- ...t-serializer-merge-styles-2020-10-15-02-05-19-dep-fixes.json | 2 +- packages/date-time/package.json | 2 +- packages/foundation-legacy/package.json | 2 +- packages/jest-serializer-merge-styles/README.md | 2 +- packages/jest-serializer-merge-styles/package.json | 2 +- packages/jest-serializer-merge-styles/src/version.ts | 2 +- packages/react-avatar/package.json | 2 +- packages/react-cards/package.json | 2 +- packages/react-charting/package.json | 2 +- packages/react-examples/package.json | 2 +- packages/react-examples/src/ComponentExamples.test.tsx | 2 +- packages/react-experiments/package.json | 2 +- packages/react-focus/package.json | 2 +- packages/react-internal/package.json | 2 +- packages/react-link/package.json | 2 +- packages/react-next/package.json | 2 +- packages/react-slider/package.json | 2 +- packages/react-stylesheets/package.json | 2 +- packages/react-utilities/package.json | 2 +- packages/react/package.json | 2 +- packages/test-utilities/package.json | 2 +- packages/utilities/package.json | 2 +- scripts/jest/jest-resources.js | 2 +- scripts/webpack/getResolveAlias.js | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/change/@uifabric-jest-serializer-merge-styles-2020-10-15-02-05-19-dep-fixes.json b/change/@uifabric-jest-serializer-merge-styles-2020-10-15-02-05-19-dep-fixes.json index f65c4349de7210..814182cd11c66d 100644 --- a/change/@uifabric-jest-serializer-merge-styles-2020-10-15-02-05-19-dep-fixes.json +++ b/change/@uifabric-jest-serializer-merge-styles-2020-10-15-02-05-19-dep-fixes.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Update npmignore", - "packageName": "@uifabric/jest-serializer-merge-styles", + "packageName": "@fluentui/jest-serializer-merge-styles", "email": "elcraig@microsoft.com", "dependentChangeType": "none", "date": "2020-10-15T08:59:53.896Z" diff --git a/packages/date-time/package.json b/packages/date-time/package.json index fa0588be599ff4..18bb9c671eb568 100644 --- a/packages/date-time/package.json +++ b/packages/date-time/package.json @@ -38,7 +38,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "@fluentui/test-utilities": "^7.3.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/foundation-legacy/package.json b/packages/foundation-legacy/package.json index 4e7eb0f198699a..54d93a7a41287d 100644 --- a/packages/foundation-legacy/package.json +++ b/packages/foundation-legacy/package.json @@ -35,7 +35,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/jest-serializer-merge-styles/README.md b/packages/jest-serializer-merge-styles/README.md index 0b8b8c516de929..46d68e411b8aa4 100644 --- a/packages/jest-serializer-merge-styles/README.md +++ b/packages/jest-serializer-merge-styles/README.md @@ -1,4 +1,4 @@ -# @uifabric/jest-serializer-merge-styles +# @fluentui/jest-serializer-merge-styles Provides a Jest serializer for `@uifabric/merge-styles` which expands class names into css rules. diff --git a/packages/jest-serializer-merge-styles/package.json b/packages/jest-serializer-merge-styles/package.json index 9fa1928e7c9007..1cca79bce0d02c 100644 --- a/packages/jest-serializer-merge-styles/package.json +++ b/packages/jest-serializer-merge-styles/package.json @@ -1,5 +1,5 @@ { - "name": "@uifabric/jest-serializer-merge-styles", + "name": "@fluentui/jest-serializer-merge-styles", "version": "7.2.2", "description": "Jest serializer for merge-styles.", "main": "lib-commonjs/index.js", diff --git a/packages/jest-serializer-merge-styles/src/version.ts b/packages/jest-serializer-merge-styles/src/version.ts index 4f5fdc3b70f0b9..ec1bd510664ecf 100644 --- a/packages/jest-serializer-merge-styles/src/version.ts +++ b/packages/jest-serializer-merge-styles/src/version.ts @@ -1,4 +1,4 @@ // Do not modify this file; it is generated as part of publish. // The checked in version is a placeholder only and will not be updated. import { setVersion } from '@uifabric/set-version'; -setVersion('@uifabric/jest-serializer-merge-styles', '0.0.0'); +setVersion('@fluentui/jest-serializer-merge-styles', '0.0.0'); diff --git a/packages/react-avatar/package.json b/packages/react-avatar/package.json index 06e8e98e2562bc..376fbfd84236a0 100644 --- a/packages/react-avatar/package.json +++ b/packages/react-avatar/package.json @@ -37,7 +37,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "es6-weak-map": "^2.0.2", diff --git a/packages/react-cards/package.json b/packages/react-cards/package.json index 5120864a0adfa3..2a64f577a4a2a7 100644 --- a/packages/react-cards/package.json +++ b/packages/react-cards/package.json @@ -37,7 +37,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-charting/package.json b/packages/react-charting/package.json index 506ced3c4199fa..3ecaaf0515837e 100644 --- a/packages/react-charting/package.json +++ b/packages/react-charting/package.json @@ -38,7 +38,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-examples/package.json b/packages/react-examples/package.json index 7dfee1dde1b3be..f178cb34d0d920 100644 --- a/packages/react-examples/package.json +++ b/packages/react-examples/package.json @@ -33,7 +33,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "chalk": "^2.1.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-examples/src/ComponentExamples.test.tsx b/packages/react-examples/src/ComponentExamples.test.tsx index 187c92ce07c2ab..3bbebc74a34f53 100644 --- a/packages/react-examples/src/ComponentExamples.test.tsx +++ b/packages/react-examples/src/ComponentExamples.test.tsx @@ -8,7 +8,7 @@ import * as path from 'path'; import { resetIds } from '@fluentui/react/lib/Utilities'; import * as ExampleData from '@uifabric/example-data'; -import * as mergeStylesSerializer from '@uifabric/jest-serializer-merge-styles'; +import * as mergeStylesSerializer from '@fluentui/jest-serializer-merge-styles'; const ReactDOM = require('react-dom'); diff --git a/packages/react-experiments/package.json b/packages/react-experiments/package.json index b08aeb66b249dd..a2442cd2e8ad39 100644 --- a/packages/react-experiments/package.json +++ b/packages/react-experiments/package.json @@ -41,7 +41,7 @@ "@types/sinon": "2.2.2", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-focus/package.json b/packages/react-focus/package.json index 109ef705c37011..fcdf725ca4a0b3 100644 --- a/packages/react-focus/package.json +++ b/packages/react-focus/package.json @@ -37,7 +37,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-internal/package.json b/packages/react-internal/package.json index 6ca559aa974407..f1a2320f8cab15 100644 --- a/packages/react-internal/package.json +++ b/packages/react-internal/package.json @@ -39,7 +39,7 @@ "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", "@uifabric/example-data": "^7.1.5", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "@fluentui/test-utilities": "^7.3.0", "@fluentui/react-conformance": "^0.1.5", "chalk": "^2.1.0", diff --git a/packages/react-link/package.json b/packages/react-link/package.json index 5b66ec1b8bfed5..e8efdeb2b3fa00 100644 --- a/packages/react-link/package.json +++ b/packages/react-link/package.json @@ -36,7 +36,7 @@ "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-next/package.json b/packages/react-next/package.json index 629ae159a76193..3089e4152feba4 100644 --- a/packages/react-next/package.json +++ b/packages/react-next/package.json @@ -44,7 +44,7 @@ "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", "@uifabric/example-data": "^7.1.5", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "@fluentui/test-utilities": "^7.3.0", "@fluentui/react-conformance": "^0.1.5", "chalk": "^2.1.0", diff --git a/packages/react-slider/package.json b/packages/react-slider/package.json index 0a0dfa00d953b0..e272bec368a9f2 100644 --- a/packages/react-slider/package.json +++ b/packages/react-slider/package.json @@ -36,7 +36,7 @@ "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-stylesheets/package.json b/packages/react-stylesheets/package.json index 1b877a2109bebe..30c2f9d4f56354 100644 --- a/packages/react-stylesheets/package.json +++ b/packages/react-stylesheets/package.json @@ -36,7 +36,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-utilities/package.json b/packages/react-utilities/package.json index aec7f05ed2d30c..c8ed743207d086 100644 --- a/packages/react-utilities/package.json +++ b/packages/react-utilities/package.json @@ -36,7 +36,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react/package.json b/packages/react/package.json index d9d5a6c98f6e2d..7978f3a499e23e 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -43,7 +43,7 @@ "@types/webpack-env": "1.15.1", "@uifabric/build": "^7.0.0", "@uifabric/example-data": "^7.1.5", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "@fluentui/test-utilities": "^7.3.0", "@fluentui/webpack-utilities": "^7.0.25", "@fluentui/react-conformance": "^0.1.5", diff --git a/packages/test-utilities/package.json b/packages/test-utilities/package.json index c50026ab40618c..71c970e50aa56a 100644 --- a/packages/test-utilities/package.json +++ b/packages/test-utilities/package.json @@ -33,7 +33,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 2e7045ad85f39a..802bba53a270df 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -37,7 +37,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", "@uifabric/build": "^7.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/jest-serializer-merge-styles": "^7.2.2", "@fluentui/test-utilities": "^7.3.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/scripts/jest/jest-resources.js b/scripts/jest/jest-resources.js index 1c7ac11ef3c595..eb24c5f8efe744 100644 --- a/scripts/jest/jest-resources.js +++ b/scripts/jest/jest-resources.js @@ -36,7 +36,7 @@ const jestAliases = () => { }; module.exports = { - resolveMergeStylesSerializer: () => resolveCwd('@uifabric/jest-serializer-merge-styles'), + resolveMergeStylesSerializer: () => resolveCwd('@fluentui/jest-serializer-merge-styles'), createRawConfig: () => ({ rootDir: 'lib', testRegex: '(/__tests__/.*|\\.(test|spec))\\.js$', diff --git a/scripts/webpack/getResolveAlias.js b/scripts/webpack/getResolveAlias.js index 9fbb61a59c5b92..62b757b623a883 100644 --- a/scripts/webpack/getResolveAlias.js +++ b/scripts/webpack/getResolveAlias.js @@ -24,7 +24,7 @@ function getResolveAlias(useLib, cwd) { '@fluentui/api-docs', '@uifabric/build', '@fluentui/webpack-utilities', - '@uifabric/jest-serializer-merge-styles', + '@fluentui/jest-serializer-merge-styles', ]; const packageJson = readConfig(path.join(cwd, 'package.json')); From 7b9ce2525664ebe5bc16bcc6831463f4cbd34a98 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Tue, 20 Oct 2020 09:50:52 -0700 Subject: [PATCH 05/16] Rename @uifabric/build to @fluentui/scripts --- .gulp.js | 2 +- apps/a11y-tests/jest.config.js | 2 +- apps/a11y-tests/just.config.ts | 3 +- apps/a11y-tests/package.json | 4 +- .../just.config.ts | 3 +- .../package.json | 2 +- .../just.config.ts | 3 +- .../package.json | 2 +- .../codesandbox-react-template/just.config.ts | 3 +- apps/codesandbox-react-template/package.json | 2 +- apps/dom-tests/jest.dom.config.js | 2 +- apps/dom-tests/just.config.ts | 7 +- apps/dom-tests/package.json | 2 +- apps/perf-test/just.config.ts | 7 +- apps/perf-test/package.json | 2 +- apps/perf-test/tasks/fluentPerfRegressions.ts | 2 +- apps/perf-test/tasks/perf-test.ts | 6 +- apps/pr-deploy-site/just.config.ts | 6 +- apps/pr-deploy-site/package.json | 2 +- apps/public-docsite-resources/just.config.ts | 2 +- apps/public-docsite-resources/package.json | 2 +- .../webpack.serve.config.js | 4 +- apps/public-docsite/just.config.ts | 7 +- apps/public-docsite/package.json | 2 +- .../scripts/createFlightConfig.js | 2 +- apps/server-rendered-app/just.config.ts | 2 +- apps/server-rendered-app/package.json | 2 +- apps/ssr-tests/just.config.ts | 5 +- apps/ssr-tests/package.json | 2 +- apps/test-bundles/just.config.ts | 5 +- apps/test-bundles/package.json | 2 +- apps/test-bundles/webpackUtils.js | 2 +- apps/theming-designer/just.config.ts | 2 +- apps/theming-designer/package.json | 2 +- apps/todo-app/just.config.ts | 2 +- apps/todo-app/package.json | 2 +- apps/vr-tests/.storybook/main.js | 2 +- apps/vr-tests/just.config.ts | 3 +- apps/vr-tests/package.json | 2 +- azure-pipelines.release.yml | 2 +- babel.config.js | 2 +- package.json | 6 +- packages/a11y-testing/just.config.ts | 3 +- packages/a11y-testing/package.json | 2 +- packages/api-docs/just.config.ts | 7 +- packages/api-docs/package.json | 2 +- ...enerateJsonTask.js => generateJsonTask.ts} | 9 +- packages/azure-themes/just.config.ts | 2 +- packages/azure-themes/package.json | 2 +- packages/codemods/jest.config.js | 2 +- packages/codemods/just.config.ts | 3 +- packages/codemods/package.json | 2 +- packages/common-styles/just.config.ts | 3 +- packages/common-styles/package.json | 2 +- .../config/api-extractor.json | 2 +- packages/date-time-utilities/jest.config.js | 2 +- packages/date-time-utilities/just.config.ts | 2 +- packages/date-time-utilities/package.json | 2 +- packages/date-time/config/api-extractor.json | 2 +- packages/date-time/jest.config.js | 2 +- packages/date-time/just.config.ts | 6 +- packages/date-time/package.json | 2 +- .../dom-utilities/config/api-extractor.json | 2 +- packages/dom-utilities/jest.config.js | 2 +- packages/dom-utilities/just.config.ts | 2 +- packages/dom-utilities/package.json | 2 +- .../example-data/config/api-extractor.json | 2 +- packages/example-data/just.config.ts | 3 +- packages/example-data/package.json | 2 +- packages/file-type-icons/just.config.ts | 2 +- packages/file-type-icons/package.json | 2 +- packages/fluentui/ability-attributes/.gulp.js | 2 +- .../ability-attributes/babel.config.js | 2 +- packages/fluentui/accessibility/.gulp.js | 2 +- .../fluentui/accessibility/babel.config.js | 2 +- .../fluentui/accessibility/jest.config.js | 4 +- packages/fluentui/accessibility/package.json | 2 +- packages/fluentui/circulars-test/.gulp.js | 2 +- packages/fluentui/circulars-test/package.json | 2 +- packages/fluentui/code-sandbox/.gulp.js | 2 +- .../fluentui/code-sandbox/babel.config.js | 2 +- packages/fluentui/code-sandbox/package.json | 2 +- packages/fluentui/docs-components/.gulp.js | 2 +- .../fluentui/docs-components/babel.config.js | 2 +- .../fluentui/docs-components/package.json | 2 +- packages/fluentui/docs/package.json | 2 +- ...AlertExampleDismissible.shorthand.steps.ts | 2 +- .../AlertExampleDanger.shorthand.steps.ts | 2 +- .../AlertExampleInfo.shorthand.steps.ts | 2 +- .../AlertExampleOofs.shorthand.steps.ts | 2 +- .../AlertExampleUrgent.shorthand.steps.ts | 2 +- .../components/Alert/commonScreenerSteps.ts | 2 +- ...AttachmentActionExample.shorthand.steps.ts | 2 +- ...chmentActionableExample.shorthand.steps.ts | 2 +- .../Attachment/commonScreenerSteps.ts | 2 +- ...tonGroupCircularExample.shorthand.steps.ts | 2 +- .../ButtonGroupExample.shorthand.steps.ts | 2 +- .../ButtonExampleDisabled.shorthand.steps.ts | 2 +- .../Types/ButtonExample.shorthand.steps.ts | 2 +- .../ButtonExampleText.shorthand.steps.ts | 2 +- ...onExampleContentAndIcon.shorthand.steps.ts | 2 +- ...uttonExampleWithTooltip.shorthand.steps.ts | 2 +- .../components/Button/commonScreenerSteps.ts | 2 +- .../Card/Usage/CardExampleFocusable.steps.ts | 2 +- .../Usage/CardExampleWithPreview.steps.ts | 2 +- .../ChatExampleActions.shorthand.steps.ts | 2 +- ...ReactionGroupMeReacting.shorthand.steps.ts | 2 +- .../Chat/Types/ChatExample.shorthand.steps.ts | 2 +- .../ChatExampleDetails.shorthand.steps.ts | 2 +- ...ChatMessageExampleBadge.shorthand.steps.ts | 2 +- ...ChatExampleInScrollable.shorthand.steps.ts | 2 +- .../Types/CheckboxExample.shorthand.steps.ts | 2 +- .../CheckboxExampleToggle.shorthand.steps.ts | 2 +- .../Checkbox/commonScreenerSteps.ts | 2 +- .../DatepickerCellExample.shorthand.steps.ts | 2 +- ...epickerExampleClearable.shorthand.steps.ts | 2 +- ...pickerHeaderCellExample.shorthand.steps.ts | 2 +- ...tepickerExampleRequired.shorthand.steps.ts | 2 +- .../DatepickerExampleToday.shorthand.steps.ts | 2 +- ...mpleLocalizationStrings.shorthand.steps.ts | 2 +- ...pickerExampleMinMaxDate.shorthand.steps.ts | 2 +- ...atepickerExampleNoInput.shorthand.steps.ts | 2 +- ...rExampleRestrictedDates.shorthand.steps.ts | 2 +- ...DatepickerFormatExample.shorthand.steps.ts | 2 +- ...tandaloneCalendarButton.shorthand.steps.ts | 2 +- .../DialogExampleContent.shorthand.steps.ts | 2 +- .../DialogExampleFooter.shorthand.steps.ts | 2 +- .../DialogExampleFullWidth.shorthand.steps.ts | 2 +- ...alogExampleHeaderAction.shorthand.steps.ts | 2 +- .../Dialog/Rtl/DialogExample.rtl.steps.ts | 2 +- .../DialogExampleBackdrop.shorthand.steps.ts | 2 +- .../DialogExampleScroll.shorthand.steps.ts | 2 +- .../components/Dialog/commonScreenerSteps.ts | 2 +- .../Divider/Rtl/DividerExample.rtl.steps.ts | 2 +- .../Types/DividerExample.shorthand.steps.ts | 2 +- .../DividerExampleContent.shorthand.steps.ts | 2 +- .../DividerExampleColor.shorthand.steps.ts | 2 +- .../DividerExampleFitted.shorthand.steps.ts | 2 +- ...DividerExampleImportant.shorthand.steps.ts | 2 +- .../DividerExampleSize.shorthand.steps.ts | 2 +- .../Visuals/DividerExampleRtlAndLtr.steps.ts | 2 +- .../Dropdown/Rtl/DropdownExample.rtl.steps.ts | 2 +- ...DropdownExampleDisabled.shorthand.steps.ts | 2 +- .../DropdownExampleLoading.shorthand.steps.ts | 2 +- .../Types/DropdownExample.shorthand.steps.ts | 2 +- ...ropdownExampleClearable.shorthand.steps.ts | 2 +- ...DropdownExampleMultiple.shorthand.steps.ts | 2 +- ...wnExampleSearchMultiple.shorthand.steps.ts | 2 +- .../DropdownExampleOffset.shorthand.steps.ts | 2 +- ...nExampleCustomClearable.shorthand.steps.ts | 2 +- .../InputExampleLabel.shorthand.steps.ts | 2 +- .../Types/InputExample.shorthand.steps.ts | 2 +- .../InputInvertedExample.shorthand.steps.ts | 2 +- .../InputExampleClearable.shorthand.steps.ts | 2 +- .../ListExampleNavigable.shorthand.steps.ts | 2 +- .../ListExampleSelectable.shorthand.steps.ts | 2 +- .../MenuExampleIconOnly.shorthand.steps.ts | 2 +- .../Slots/MenuExampleSlot.shorthand.steps.ts | 2 +- .../MenuExampleWithIcons.shorthand.steps.ts | 2 +- .../MenuExamplePointing.shorthand.steps.ts | 2 +- .../MenuExampleUnderlined.shorthand.steps.ts | 2 +- .../MenuExampleToolbar.shorthand.steps.ts | 2 +- .../MenuExampleWithSubmenu.shorthand.steps.ts | 2 +- ...ExampleWithSubmenuHover.shorthand.steps.ts | 2 +- .../MenuExampleWithTooltip.shorthand.steps.ts | 2 +- .../MenuExampleVertical.shorthand.steps.ts | 2 +- ...ExampleVerticalPointing.shorthand.steps.ts | 2 +- ...uExampleVerticalPrimary.shorthand.steps.ts | 2 +- .../MenuExamplePositioning.shorthand.steps.ts | 2 +- ...xamplePositioningUpdate.shorthand.steps.ts | 2 +- .../components/Menu/commonScreenerSteps.ts | 2 +- .../Rtl/MenuButtonExample.rtl.steps.ts | 2 +- .../Popup/Rtl/PopupExample.rtl.steps.ts | 2 +- .../PopupControlledExample.shorthand.steps.ts | 2 +- ...opupCustomTargetExample.shorthand.steps.ts | 2 +- .../Types/PopupExample.shorthand.steps.ts | 2 +- ...PopupExampleCloseButton.shorthand.steps.ts | 2 +- .../PopupExampleOffset.shorthand.steps.ts | 2 +- .../Popup/Visual/PopupScrollExample.steps.ts | 2 +- .../RadioGroupExample.shorthand.steps.ts | 2 +- .../Slider/Rtl/SliderExample.rtl.steps.ts | 2 +- .../Types/SliderExample.shorthand.steps.ts | 2 +- .../components/Slider/commonScreenerSteps.ts | 2 +- ...litButtonExamplePrimary.shorthand.steps.ts | 2 +- ...tioningExampleShorthand.shorthand.steps.ts | 2 +- .../SplitButtonExampleSmallContainer.steps.ts | 2 +- .../StatusTypeExample.shorthand.steps.ts | 2 +- .../SvgIconExampleDisabled.shorthand.steps.ts | 2 +- .../Types/SvgIconExample.shorthand.steps.ts | 2 +- .../SvgIconSetExample.shorthand.steps.ts | 2 +- .../SvgIconExampleBordered.shorthand.steps.ts | 2 +- .../SvgIconExampleCircular.shorthand.steps.ts | 2 +- .../SvgIconExampleColor.shorthand.steps.ts | 2 +- .../SvgIconExampleSize.shorthand.steps.ts | 2 +- .../SvgIconExampleSpace.shorthand.steps.ts | 2 +- .../TableExampleNavigable.shorthand.steps.ts | 2 +- .../Types/TextAreaExample.shorthand.steps.ts | 2 +- ...TextAreaExampleInverted.shorthand.steps.ts | 2 +- .../ToolbarExampleMenu.shorthand.steps.ts | 2 +- ...rExampleMenuWithSubmenu.shorthand.steps.ts | 2 +- .../ToolbarExampleOverflow.shorthand.steps.ts | 2 +- .../ToolbarExamplePopup.shorthand.steps.ts | 2 +- ...oolbarExampleRadioGroup.shorthand.steps.ts | 2 +- .../ToolbarExampleEditor.shorthand.steps.ts | 2 +- ...xampleActionPopupInMenu.shorthand.steps.ts | 2 +- ...olbarExamplePopupInMenu.shorthand.steps.ts | 2 +- ...olbarExampleWithTooltip.shorthand.steps.ts | 2 +- .../ToolbarExampleCompose.shorthand.steps.ts | 2 +- ...barExampleOverflowPositioning.rtl.steps.ts | 2 +- ...mpleOverflowPositioning.shorthand.steps.ts | 2 +- ...ToolbarExampleVariables.shorthand.steps.ts | 2 +- .../Tooltip/Rtl/TooltipExample.rtl.steps.ts | 2 +- .../Types/TooltipExample.shorthand.steps.ts | 2 +- .../TooltipExamplePointing.shorthand.steps.ts | 2 +- ...tipExampleDialogContent.shorthand.steps.ts | 2 +- .../TooltipExampleTarget.shorthand.steps.ts | 2 +- .../Tree/Types/TreeExample.shorthand.steps.ts | 2 +- ...MultiselectBasicExample.shorthand.steps.ts | 2 +- .../TreeMultiselectExample.shorthand.steps.ts | 2 +- ...tleCustomizationExample.shorthand.steps.ts | 2 +- packages/fluentui/e2e/.gulp.js | 2 +- packages/fluentui/e2e/babel.config.js | 2 +- packages/fluentui/e2e/e2eApi.ts | 2 +- packages/fluentui/e2e/jest.config.js | 4 +- packages/fluentui/e2e/package.json | 2 +- packages/fluentui/e2e/setup.test.ts | 2 +- .../fluentui/local-sandbox/babel.config.js | 2 +- packages/fluentui/perf-test/just.config.ts | 4 +- packages/fluentui/perf-test/tsconfig.json | 2 +- .../fluentui/projects-test/babel.config.js | 2 +- packages/fluentui/projects-test/package.json | 4 +- .../projects-test/src/createReactApp.ts | 4 +- packages/fluentui/projects-test/src/nextjs.ts | 4 +- .../projects-test/src/packPackages.ts | 4 +- .../projects-test/src/performBrowserTest.ts | 4 +- packages/fluentui/projects-test/src/rollup.ts | 4 +- .../fluentui/projects-test/src/typings.ts | 4 +- packages/fluentui/react-bindings/.gulp.js | 2 +- .../fluentui/react-bindings/babel.config.js | 2 +- .../fluentui/react-bindings/jest.config.js | 4 +- packages/fluentui/react-bindings/package.json | 2 +- packages/fluentui/react-builder/.gulp.js | 2 +- .../fluentui/react-builder/babel.config.js | 2 +- .../fluentui/react-builder/jest.config.js | 2 +- packages/fluentui/react-builder/package.json | 2 +- .../react-component-event-listener/.gulp.js | 2 +- .../babel.config.js | 2 +- .../jest.config.js | 4 +- .../package.json | 2 +- .../react-component-nesting-registry/.gulp.js | 2 +- .../babel.config.js | 2 +- .../jest.config.js | 4 +- .../package.json | 2 +- .../fluentui/react-component-ref/.gulp.js | 2 +- .../react-component-ref/babel.config.js | 2 +- .../react-component-ref/jest.config.js | 4 +- .../fluentui/react-component-ref/package.json | 2 +- .../fluentui/react-context-selector/.gulp.js | 2 +- .../react-context-selector/babel.config.js | 2 +- .../react-context-selector/jest.config.js | 4 +- .../react-context-selector/package.json | 2 +- .../fluentui/react-icons-northstar/.gulp.js | 2 +- .../react-icons-northstar/babel.config.js | 2 +- .../react-icons-northstar/jest.config.js | 2 +- .../react-icons-northstar/package.json | 2 +- .../react-northstar-emotion-renderer/.gulp.js | 2 +- .../babel.config.js | 2 +- .../jest.config.js | 4 +- .../package.json | 2 +- .../react-northstar-fela-renderer/.gulp.js | 2 +- .../babel.config.js | 2 +- .../jest.config.js | 4 +- .../package.json | 2 +- .../react-northstar-styles-renderer/.gulp.js | 2 +- .../babel.config.js | 2 +- .../package.json | 2 +- packages/fluentui/react-northstar/.gulp.js | 2 +- .../fluentui/react-northstar/babel.config.js | 2 +- .../fluentui/react-northstar/jest.config.js | 4 +- .../fluentui/react-northstar/package.json | 2 +- packages/fluentui/react-proptypes/.gulp.js | 2 +- .../fluentui/react-proptypes/babel.config.js | 2 +- .../fluentui/react-proptypes/jest.config.js | 4 +- .../fluentui/react-proptypes/package.json | 2 +- packages/fluentui/react-telemetry/.gulp.js | 2 +- .../fluentui/react-telemetry/babel.config.js | 2 +- .../fluentui/react-telemetry/package.json | 2 +- packages/fluentui/state/.gulp.js | 2 +- packages/fluentui/state/babel.config.js | 2 +- packages/fluentui/state/package.json | 2 +- packages/fluentui/styles/.gulp.js | 2 +- packages/fluentui/styles/babel.config.js | 2 +- packages/fluentui/styles/jest.config.js | 4 +- packages/fluentui/styles/package.json | 2 +- .../font-icons-mdl2/config/api-extractor.json | 2 +- packages/font-icons-mdl2/just.config.ts | 3 +- packages/font-icons-mdl2/package.json | 2 +- .../config/api-extractor.json | 2 +- packages/foundation-legacy/jest.config.js | 2 +- packages/foundation-legacy/just.config.ts | 3 +- packages/foundation-legacy/package.json | 2 +- .../jest.config.js | 2 +- .../just.config.ts | 2 +- .../jest-serializer-merge-styles/package.json | 2 +- .../keyboard-key/config/api-extractor.json | 2 +- packages/keyboard-key/jest.config.js | 2 +- packages/keyboard-key/just.config.ts | 2 +- packages/keyboard-key/package.json | 2 +- .../merge-styles/config/api-extractor.json | 2 +- packages/merge-styles/jest.config.js | 2 +- packages/merge-styles/just.config.ts | 3 +- packages/merge-styles/package.json | 2 +- packages/monaco-editor/just.config.ts | 16 ++- packages/monaco-editor/package.json | 2 +- .../scripts/addMonacoWebpackConfig.js | 2 +- packages/react-avatar/jest.config.js | 2 +- packages/react-avatar/just.config.ts | 2 +- packages/react-avatar/package.json | 2 +- .../react-button/config/api-extractor.json | 2 +- packages/react-button/jest.config.js | 2 +- packages/react-button/just.config.ts | 2 +- packages/react-button/package.json | 2 +- packages/react-button/webpack.serve.config.js | 2 +- .../react-cards/config/api-extractor.json | 2 +- packages/react-cards/jest.config.js | 2 +- packages/react-cards/just.config.ts | 3 +- packages/react-cards/package.json | 2 +- packages/react-charting/jest.config.js | 2 +- packages/react-charting/just.config.ts | 2 +- packages/react-charting/package.json | 2 +- .../react-checkbox/config/api-extractor.json | 2 +- packages/react-checkbox/jest.config.js | 2 +- packages/react-checkbox/just.config.ts | 2 +- packages/react-checkbox/package.json | 2 +- .../react-compose/config/api-extractor.json | 2 +- packages/react-compose/jest.config.js | 2 +- packages/react-compose/just.config.ts | 2 +- packages/react-compose/package.json | 2 +- packages/react-conformance/jest.config.js | 2 +- packages/react-conformance/just.config.ts | 3 +- packages/react-conformance/package.json | 2 +- .../react-docsite-components/jest.config.js | 2 +- .../react-docsite-components/just.config.ts | 2 +- .../react-docsite-components/package.json | 2 +- packages/react-examples/.storybook/main.js | 2 +- packages/react-examples/jest.config.js | 2 +- packages/react-examples/just.config.ts | 3 +- packages/react-examples/package.json | 2 +- packages/react-experiments/jest.config.js | 2 +- packages/react-experiments/just.config.ts | 2 +- packages/react-experiments/package.json | 2 +- packages/react-flex/just.config.ts | 2 +- packages/react-flex/package.json | 2 +- .../react-focus/config/api-extractor.json | 2 +- packages/react-focus/jest.config.js | 2 +- packages/react-focus/just.config.ts | 2 +- packages/react-focus/package.json | 2 +- .../react-hooks/config/api-extractor.json | 2 +- packages/react-hooks/jest.config.js | 2 +- packages/react-hooks/just.config.ts | 3 +- packages/react-hooks/package.json | 2 +- packages/react-icons-mdl2/jest.config.js | 2 +- packages/react-icons-mdl2/just.config.ts | 2 +- packages/react-icons-mdl2/package.json | 2 +- .../react-image/config/api-extractor.json | 2 +- packages/react-image/jest.config.js | 2 +- packages/react-image/just.config.ts | 2 +- packages/react-image/package.json | 2 +- .../react-internal/config/api-extractor.json | 2 +- packages/react-internal/jest.config.js | 2 +- packages/react-internal/just.config.ts | 2 +- packages/react-internal/package.json | 2 +- packages/react-link/config/api-extractor.json | 2 +- packages/react-link/jest.config.js | 2 +- packages/react-link/just.config.ts | 2 +- packages/react-link/package.json | 2 +- packages/react-monaco-editor/jest.config.js | 2 +- packages/react-monaco-editor/just.config.ts | 7 +- packages/react-monaco-editor/package.json | 2 +- .../scripts/{copyTypes.js => copyTypes.ts} | 24 ++-- packages/react-next/config/api-extractor.json | 2 +- packages/react-next/jest.config.js | 2 +- packages/react-next/just.config.ts | 2 +- packages/react-next/package.json | 2 +- .../react-slider/config/api-extractor.json | 2 +- packages/react-slider/jest.config.js | 2 +- packages/react-slider/just.config.ts | 2 +- packages/react-slider/package.json | 2 +- .../config/api-extractor.json | 2 +- packages/react-stylesheets/jest.config.js | 2 +- packages/react-stylesheets/just.config.ts | 2 +- packages/react-stylesheets/package.json | 2 +- packages/react-tabs/config/api-extractor.json | 2 +- packages/react-tabs/jest.config.js | 2 +- packages/react-tabs/just.config.ts | 2 +- packages/react-tabs/package.json | 2 +- packages/react-text/jest.config.js | 2 +- packages/react-text/just.config.ts | 2 +- packages/react-text/package.json | 2 +- .../config/api-extractor.json | 2 +- packages/react-theme-provider/jest.config.js | 2 +- packages/react-theme-provider/just.config.ts | 2 +- packages/react-theme-provider/package.json | 2 +- .../react-toggle/config/api-extractor.json | 2 +- packages/react-toggle/jest.config.js | 2 +- packages/react-toggle/just.config.ts | 2 +- packages/react-toggle/package.json | 2 +- .../react-utilities/config/api-extractor.json | 2 +- packages/react-utilities/jest.config.js | 2 +- packages/react-utilities/just.config.ts | 2 +- packages/react-utilities/package.json | 2 +- .../config/api-extractor.json | 2 +- packages/react-window-provider/jest.config.js | 2 +- packages/react-window-provider/just.config.ts | 2 +- packages/react-window-provider/package.json | 2 +- .../react/config/api-extractor-compat.json | 2 +- packages/react/config/api-extractor.json | 2 +- packages/react/jest.config.js | 2 +- packages/react/just.config.ts | 2 +- packages/react/package.json | 2 +- packages/scheme-utilities/just.config.ts | 2 +- packages/scheme-utilities/package.json | 2 +- packages/set-version/just.config.ts | 2 +- packages/set-version/package.json | 2 +- packages/storybook/just.config.ts | 2 +- packages/storybook/package.json | 2 +- .../style-utilities/config/api-extractor.json | 2 +- packages/style-utilities/jest.config.js | 2 +- packages/style-utilities/just.config.ts | 3 +- packages/style-utilities/package.json | 2 +- packages/test-utilities/just.config.ts | 3 +- packages/test-utilities/package.json | 2 +- packages/theme-samples/just.config.ts | 2 +- packages/theme-samples/package.json | 2 +- packages/theme/config/api-extractor.json | 2 +- packages/theme/jest.config.js | 2 +- packages/theme/just.config.ts | 2 +- packages/theme/package.json | 2 +- packages/utilities/config/api-extractor.json | 2 +- packages/utilities/jest.config.js | 2 +- packages/utilities/just.config.ts | 3 +- packages/utilities/package.json | 2 +- packages/webpack-utilities/just.config.ts | 3 +- packages/webpack-utilities/package.json | 2 +- .../plop-templates-node/jest.config.js | 2 +- .../plop-templates-node/just.config.ts | 3 +- .../plop-templates-node/package.json.hbs | 2 +- .../config/api-extractor.json | 2 +- .../plop-templates-react/jest.config.js | 2 +- .../plop-templates-react/just.config.ts | 2 +- .../plop-templates-react/package.json.hbs | 2 +- scripts/gulp/.gulp.js | 2 +- scripts/index.js | 8 -- scripts/index.ts | 2 + scripts/just.config.ts | 18 +-- scripts/package.json | 2 +- scripts/screener/screener.config.js | 2 +- .../{api-extractor.js => api-extractor.ts} | 14 +-- ...size-collect.js => bundle-size-collect.ts} | 10 +- ...d-files.js => check-for-modified-files.ts} | 10 +- scripts/tasks/{clean.js => clean.ts} | 15 ++- scripts/tasks/{copy.js => copy.ts} | 22 ++-- scripts/tasks/{eslint.js => eslint.ts} | 10 +- ...luentui-publish.js => fluentui-publish.ts} | 14 +-- scripts/tasks/generate-package-manifest.js | 10 -- scripts/tasks/generate-package-manifest.ts | 9 ++ ...ion-files.js => generate-version-files.ts} | 16 ++- scripts/tasks/{jest.js => jest.ts} | 12 +- .../{lint-imports.js => lint-imports.ts} | 116 +++++++----------- ...{postprocess-amd.js => postprocess-amd.ts} | 9 +- ...ss-commonjs.js => postprocess-commonjs.ts} | 13 +- .../tasks/{postprocess.js => postprocess.ts} | 17 ++- scripts/tasks/preset.ts | 2 - scripts/tasks/prettier.js | 7 -- scripts/tasks/prettier.ts | 5 + scripts/tasks/{sass.js => sass.ts} | 23 ++-- scripts/tasks/{storybook.js => storybook.ts} | 21 ++-- scripts/tasks/{ts.js => ts.ts} | 7 +- scripts/tasks/webpack.js | 63 ---------- scripts/tasks/webpack.ts | 64 ++++++++++ scripts/tsconfig.json | 4 +- scripts/typescript/tsconfig.fluentui.json | 2 +- scripts/webpack/getResolveAlias.js | 2 +- tsconfig.json | 4 + 484 files changed, 748 insertions(+), 844 deletions(-) rename packages/api-docs/tasks/{generateJsonTask.js => generateJsonTask.ts} (75%) rename packages/react-monaco-editor/scripts/{copyTypes.js => copyTypes.ts} (74%) delete mode 100644 scripts/index.js create mode 100644 scripts/index.ts rename scripts/tasks/{api-extractor.js => api-extractor.ts} (76%) rename scripts/tasks/{bundle-size-collect.js => bundle-size-collect.ts} (89%) rename scripts/tasks/{check-for-modified-files.js => check-for-modified-files.ts} (78%) rename scripts/tasks/{clean.js => clean.ts} (54%) rename scripts/tasks/{copy.js => copy.ts} (77%) rename scripts/tasks/{eslint.js => eslint.ts} (69%) rename scripts/tasks/{fluentui-publish.js => fluentui-publish.ts} (65%) delete mode 100644 scripts/tasks/generate-package-manifest.js create mode 100644 scripts/tasks/generate-package-manifest.ts rename scripts/tasks/{generate-version-files.js => generate-version-files.ts} (91%) rename scripts/tasks/{jest.js => jest.ts} (80%) rename scripts/tasks/{lint-imports.js => lint-imports.ts} (82%) rename scripts/tasks/{postprocess-amd.js => postprocess-amd.ts} (57%) rename scripts/tasks/{postprocess-commonjs.js => postprocess-commonjs.ts} (84%) rename scripts/tasks/{postprocess.js => postprocess.ts} (87%) delete mode 100644 scripts/tasks/preset.ts delete mode 100644 scripts/tasks/prettier.js create mode 100644 scripts/tasks/prettier.ts rename scripts/tasks/{sass.js => sass.ts} (73%) rename scripts/tasks/{storybook.js => storybook.ts} (73%) rename scripts/tasks/{ts.js => ts.ts} (92%) delete mode 100644 scripts/tasks/webpack.js create mode 100644 scripts/tasks/webpack.ts create mode 100644 tsconfig.json diff --git a/.gulp.js b/.gulp.js index 74de788d1f12e6..92421f5eba985f 100644 --- a/.gulp.js +++ b/.gulp.js @@ -1,6 +1,6 @@ // https://github.com/gulpjs/gulp-cli#configuration module.exports = { flags: { - require: '@uifabric/build/babel/register', + require: '@fluentui/scripts/babel/register', }, }; diff --git a/apps/a11y-tests/jest.config.js b/apps/a11y-tests/jest.config.js index 78d42e9af44675..88bd4b318f41fb 100644 --- a/apps/a11y-tests/jest.config.js +++ b/apps/a11y-tests/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig } = require('@uifabric/build/jest/jest-resources'); +let { createConfig } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/apps/a11y-tests/just.config.ts b/apps/a11y-tests/just.config.ts index 0724cdcfb483ee..5bb4b89b5079b5 100644 --- a/apps/a11y-tests/just.config.ts +++ b/apps/a11y-tests/just.config.ts @@ -1,5 +1,4 @@ -const { preset, just } = require('@uifabric/build'); -const { task } = just; +import { preset, task } from '@fluentui/scripts'; preset(); diff --git a/apps/a11y-tests/package.json b/apps/a11y-tests/package.json index 0ad3c60d9946e4..b6689aba14db19 100644 --- a/apps/a11y-tests/package.json +++ b/apps/a11y-tests/package.json @@ -34,7 +34,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/sarif": "^2.1.1", - "@uifabric/build": "^7.0.0", - "@fluentui/font-icons-mdl2": "^7.5.8" + "@fluentui/font-icons-mdl2": "^7.5.8", + "@fluentui/scripts": "^7.0.0" } } diff --git a/apps/codesandbox-react-next-template/just.config.ts b/apps/codesandbox-react-next-template/just.config.ts index 927e265c0b61ae..38ec31a0cddad0 100644 --- a/apps/codesandbox-react-next-template/just.config.ts +++ b/apps/codesandbox-react-next-template/just.config.ts @@ -1,5 +1,4 @@ -const { preset, just } = require('@uifabric/build'); -const { task } = just; +import { preset, task } from '@fluentui/scripts'; preset(); diff --git a/apps/codesandbox-react-next-template/package.json b/apps/codesandbox-react-next-template/package.json index 11bc9cf5f6d85d..29eed206b7b3c4 100644 --- a/apps/codesandbox-react-next-template/package.json +++ b/apps/codesandbox-react-next-template/package.json @@ -14,7 +14,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "typescript": "3.7.2" }, "dependencies": { diff --git a/apps/codesandbox-react-northstar-template/just.config.ts b/apps/codesandbox-react-northstar-template/just.config.ts index 927e265c0b61ae..38ec31a0cddad0 100644 --- a/apps/codesandbox-react-northstar-template/just.config.ts +++ b/apps/codesandbox-react-northstar-template/just.config.ts @@ -1,5 +1,4 @@ -const { preset, just } = require('@uifabric/build'); -const { task } = just; +import { preset, task } from '@fluentui/scripts'; preset(); diff --git a/apps/codesandbox-react-northstar-template/package.json b/apps/codesandbox-react-northstar-template/package.json index 9eaffc5694290a..fc0f39cb1802a9 100644 --- a/apps/codesandbox-react-northstar-template/package.json +++ b/apps/codesandbox-react-northstar-template/package.json @@ -14,7 +14,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "typescript": "3.7.2" }, "dependencies": { diff --git a/apps/codesandbox-react-template/just.config.ts b/apps/codesandbox-react-template/just.config.ts index 927e265c0b61ae..38ec31a0cddad0 100644 --- a/apps/codesandbox-react-template/just.config.ts +++ b/apps/codesandbox-react-template/just.config.ts @@ -1,5 +1,4 @@ -const { preset, just } = require('@uifabric/build'); -const { task } = just; +import { preset, task } from '@fluentui/scripts'; preset(); diff --git a/apps/codesandbox-react-template/package.json b/apps/codesandbox-react-template/package.json index efea455092d843..6b3782bd2b8da6 100644 --- a/apps/codesandbox-react-template/package.json +++ b/apps/codesandbox-react-template/package.json @@ -14,7 +14,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "typescript": "3.7.2" }, "dependencies": { diff --git a/apps/dom-tests/jest.dom.config.js b/apps/dom-tests/jest.dom.config.js index 0eb6c6316450aa..abb42b5a4fb80e 100644 --- a/apps/dom-tests/jest.dom.config.js +++ b/apps/dom-tests/jest.dom.config.js @@ -1,4 +1,4 @@ -let { createConfig } = require('@uifabric/build/jest/jest-resources'); +let { createConfig } = require('@fluentui/scripts/jest/jest-resources'); const config = createConfig({ testRegex: '(/__tests__/.*|\\.(test|spec))\\.dom\\.(ts|tsx)$', diff --git a/apps/dom-tests/just.config.ts b/apps/dom-tests/just.config.ts index ef446cc39b814c..3a67ec99ef2c89 100644 --- a/apps/dom-tests/just.config.ts +++ b/apps/dom-tests/just.config.ts @@ -1,7 +1,6 @@ -const { preset, just } = require('@uifabric/build'); -const { jestDom } = require('@uifabric/build/tasks/jest'); -const { webpackDevServerWithCompileResolution } = require('@uifabric/build/tasks/webpack'); -const { task, series } = just; +import { preset, task, series } from '@fluentui/scripts'; +import { jestDom } from '@fluentui/scripts/tasks/jest'; +import { webpackDevServerWithCompileResolution } from '@fluentui/scripts/tasks/webpack'; preset(); diff --git a/apps/dom-tests/package.json b/apps/dom-tests/package.json index 97d1e0fb9a6e71..8481567d7549dd 100644 --- a/apps/dom-tests/package.json +++ b/apps/dom-tests/package.json @@ -20,7 +20,7 @@ "@types/react-dom": "16.8.4", "@types/react": "16.8.25", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/react-docsite-components": "^7.15.18", "expect-puppeteer": "4.1.0", "jest-environment-node": "~24.9.0", diff --git a/apps/perf-test/just.config.ts b/apps/perf-test/just.config.ts index e32bd47866bfca..5929fd3ee0fc5c 100644 --- a/apps/perf-test/just.config.ts +++ b/apps/perf-test/just.config.ts @@ -1,8 +1,7 @@ -const perfTest = require('./tasks/perf-test'); -const { preset, just } = require('@uifabric/build'); -const { task, series } = just; +import { getPerfRegressions } from './tasks/perf-test'; +import { preset, task, series } from '@fluentui/scripts'; preset(); -task('run-perf-test', perfTest); +task('run-perf-test', getPerfRegressions); task('perf-test', series('build', 'bundle', 'run-perf-test')); diff --git a/apps/perf-test/package.json b/apps/perf-test/package.json index 0768b10e5b27a3..a106bcb8d52205 100644 --- a/apps/perf-test/package.json +++ b/apps/perf-test/package.json @@ -20,7 +20,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@uifabric/set-version": "^7.0.23", "flamegrill": "0.2.0", "lodash": "^4.17.15", diff --git a/apps/perf-test/tasks/fluentPerfRegressions.ts b/apps/perf-test/tasks/fluentPerfRegressions.ts index 153ffc8df90501..f2fa9d69b1edb5 100644 --- a/apps/perf-test/tasks/fluentPerfRegressions.ts +++ b/apps/perf-test/tasks/fluentPerfRegressions.ts @@ -1,7 +1,7 @@ import * as _ from 'lodash'; import * as path from 'path'; -import config from '@uifabric/build/config'; +import config from '@fluentui/scripts/config'; // TODO: check false positive potential regression reports in fluent ui repo and fix diff --git a/apps/perf-test/tasks/perf-test.ts b/apps/perf-test/tasks/perf-test.ts index 5c5058cb9e1c56..6add6c81030405 100644 --- a/apps/perf-test/tasks/perf-test.ts +++ b/apps/perf-test/tasks/perf-test.ts @@ -3,7 +3,7 @@ import path from 'path'; import flamegrill, { CookResults, Scenarios, ScenarioConfig } from 'flamegrill'; import scenarioIterations from '../src/scenarioIterations'; import { scenarioRenderTypes, DefaultRenderTypes } from '../src/scenarioRenderTypes'; -import { just } from '@uifabric/build'; +import { just } from '@fluentui/scripts'; const { argv } = just; import { getFluentPerfRegressions } from './fluentPerfRegressions'; @@ -120,7 +120,7 @@ const urlForMaster = process.env.SYSTEM_PULLREQUEST_TARGETBRANCH const outDir = path.join(__dirname, '../dist'); const tempDir = path.join(__dirname, '../logfiles'); -module.exports = async function getPerfRegressions() { +export async function getPerfRegressions() { const iterationsArgv: number = argv().iterations; const iterationsArg = Number.isInteger(iterationsArgv) && iterationsArgv; @@ -211,7 +211,7 @@ module.exports = async function getPerfRegressions() { console.log(`##vso[task.setvariable variable=PerfCommentFilePath;]apps/perf-test/dist/perfCounts.html`); console.log(`##vso[task.setvariable variable=PerfCommentStatus;]${status}`); -}; +} /** * Create test summary based on test results. diff --git a/apps/pr-deploy-site/just.config.ts b/apps/pr-deploy-site/just.config.ts index dd51ff2a3f2ffd..81b4ec37b7a4f0 100644 --- a/apps/pr-deploy-site/just.config.ts +++ b/apps/pr-deploy-site/just.config.ts @@ -1,9 +1,7 @@ import fs from 'fs'; import path from 'path'; -import { preset, just } from '@uifabric/build'; -import { findGitRoot, getAllPackageInfo } from '@uifabric/build/monorepo/index'; - -const { series, task, copyInstructionsTask, copyInstructions } = just; +import { preset, series, task, copyInstructionsTask, copyInstructions } from '@fluentui/scripts'; +import { findGitRoot, getAllPackageInfo } from '@fluentui/scripts/monorepo/index'; const gitRoot = findGitRoot(); let instructions = copyInstructions.copyFilesToDestinationDirectory( diff --git a/apps/pr-deploy-site/package.json b/apps/pr-deploy-site/package.json index fc9419b9c92bfd..8597b464030b5b 100644 --- a/apps/pr-deploy-site/package.json +++ b/apps/pr-deploy-site/package.json @@ -10,6 +10,6 @@ }, "license": "MIT", "devDependencies": { - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" } } diff --git a/apps/public-docsite-resources/just.config.ts b/apps/public-docsite-resources/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/apps/public-docsite-resources/just.config.ts +++ b/apps/public-docsite-resources/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/apps/public-docsite-resources/package.json b/apps/public-docsite-resources/package.json index a4fd483d7e6e4a..9446b3f91e5fb2 100644 --- a/apps/public-docsite-resources/package.json +++ b/apps/public-docsite-resources/package.json @@ -31,7 +31,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6" diff --git a/apps/public-docsite-resources/webpack.serve.config.js b/apps/public-docsite-resources/webpack.serve.config.js index 26dd7285dc5ac2..067470a58f3727 100644 --- a/apps/public-docsite-resources/webpack.serve.config.js +++ b/apps/public-docsite-resources/webpack.serve.config.js @@ -1,5 +1,5 @@ -const getResolveAlias = require('@uifabric/build/webpack/getResolveAlias'); -const resources = require('@uifabric/build/webpack/webpack-resources'); +const getResolveAlias = require('@fluentui/scripts/webpack/getResolveAlias'); +const resources = require('@fluentui/scripts/webpack/webpack-resources'); const { addMonacoWebpackConfig } = require('@fluentui/react-monaco-editor/scripts/addMonacoWebpackConfig'); const BUNDLE_NAME = 'demo-app'; diff --git a/apps/public-docsite/just.config.ts b/apps/public-docsite/just.config.ts index cbd6e31bc9d2e7..253dd4f608a790 100644 --- a/apps/public-docsite/just.config.ts +++ b/apps/public-docsite/just.config.ts @@ -1,10 +1,9 @@ -const { preset, just } = require('@uifabric/build'); -const { task, option } = just; -const { createInternalFlightConfigTask, createPublicFlightConfigTask } = require('./scripts/createFlightConfig'); +import { preset, task, option } from '@fluentui/scripts'; +import { createInternalFlightConfigTask, createPublicFlightConfigTask } from './scripts/createFlightConfig'; preset(); -option('baseCDNUrl', { default: './dist' }); +option('baseCDNUrl', { default: './dist' } as any); task('create-internal-flight-config', createInternalFlightConfigTask()); diff --git a/apps/public-docsite/package.json b/apps/public-docsite/package.json index 9e3900be02a4a7..d900404960113f 100644 --- a/apps/public-docsite/package.json +++ b/apps/public-docsite/package.json @@ -33,7 +33,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/react-monaco-editor": "^0.13.18", "react": "16.8.6", "react-app-polyfill": "~1.0.1", diff --git a/apps/public-docsite/scripts/createFlightConfig.js b/apps/public-docsite/scripts/createFlightConfig.js index 9c1a51d2a24b8f..0f97764c230c1b 100644 --- a/apps/public-docsite/scripts/createFlightConfig.js +++ b/apps/public-docsite/scripts/createFlightConfig.js @@ -4,7 +4,7 @@ const fs = require('fs'); const path = require('path'); -const { argv, logger } = require('@uifabric/build').just; +const { argv, logger } = require('@fluentui/scripts').just; /** * Task function for the Fluent UI website that generates a manifest for the non-UHF "internal" site diff --git a/apps/server-rendered-app/just.config.ts b/apps/server-rendered-app/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/apps/server-rendered-app/just.config.ts +++ b/apps/server-rendered-app/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/apps/server-rendered-app/package.json b/apps/server-rendered-app/package.json index 2692dff71334f6..b5a48928f69ad4 100644 --- a/apps/server-rendered-app/package.json +++ b/apps/server-rendered-app/package.json @@ -23,7 +23,7 @@ "@types/webpack-env": "1.15.1", "express": "^4.15.4", "compression": "^1.7.2", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@microsoft/load-themed-styles": "^1.10.26", diff --git a/apps/ssr-tests/just.config.ts b/apps/ssr-tests/just.config.ts index 7f8bb1b957750e..28849b127a98a9 100644 --- a/apps/ssr-tests/just.config.ts +++ b/apps/ssr-tests/just.config.ts @@ -1,6 +1,5 @@ -const { preset, just } = require('@uifabric/build'); -const { task, series, logger } = just; -const { spawn } = require('just-scripts-utils'); +import { preset, task, logger } from '@fluentui/scripts'; +import { spawn } from 'just-scripts-utils'; preset(); diff --git a/apps/ssr-tests/package.json b/apps/ssr-tests/package.json index a980a375f92ef8..aee5967e496bc8 100644 --- a/apps/ssr-tests/package.json +++ b/apps/ssr-tests/package.json @@ -17,7 +17,7 @@ "@microsoft/load-themed-styles": "^1.10.26", "@types/mocha": "^7.0.2", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/public-docsite-resources": "^7.8.18", "just-scripts-utils": "^0.8.3", "mocha": "^3.3.0", diff --git a/apps/test-bundles/just.config.ts b/apps/test-bundles/just.config.ts index 0f17ad8c77da3d..be99897615360d 100644 --- a/apps/test-bundles/just.config.ts +++ b/apps/test-bundles/just.config.ts @@ -1,6 +1,5 @@ -const { preset, just } = require('@uifabric/build'); -const { task, resolveCwd } = just; -const { run } = require('parallel-webpack'); +import { preset, task, resolveCwd } from '@fluentui/scripts'; +import { run } from 'parallel-webpack'; preset(); diff --git a/apps/test-bundles/package.json b/apps/test-bundles/package.json index 5a8b76c7935954..983a410e8de011 100644 --- a/apps/test-bundles/package.json +++ b/apps/test-bundles/package.json @@ -16,7 +16,7 @@ "@fluentui/react": "^7.142.0", "@fluentui/react-button": "^0.14.3", "@fluentui/react-compose": "^0.19.4", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "parallel-webpack": "^2.4.0", "webpack-bundle-analyzer": "^3.6.0" } diff --git a/apps/test-bundles/webpackUtils.js b/apps/test-bundles/webpackUtils.js index 19889046295a3a..edb304779f32df 100644 --- a/apps/test-bundles/webpackUtils.js +++ b/apps/test-bundles/webpackUtils.js @@ -1,7 +1,7 @@ // @ts-check const path = require('path'); const fs = require('fs'); -const resources = require('@uifabric/build/webpack/webpack-resources'); +const resources = require('@fluentui/scripts/webpack/webpack-resources'); const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; function createWebpackConfig(entries) { diff --git a/apps/theming-designer/just.config.ts b/apps/theming-designer/just.config.ts index 2e594dfd511dca..bcc7d9d264037c 100644 --- a/apps/theming-designer/just.config.ts +++ b/apps/theming-designer/just.config.ts @@ -1,3 +1,3 @@ -const { preset, just } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/apps/theming-designer/package.json b/apps/theming-designer/package.json index a4a2eb1a2e679d..734be4439e9628 100644 --- a/apps/theming-designer/package.json +++ b/apps/theming-designer/package.json @@ -18,7 +18,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@fluentui/react": "^7.142.0", diff --git a/apps/todo-app/just.config.ts b/apps/todo-app/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/apps/todo-app/just.config.ts +++ b/apps/todo-app/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/apps/todo-app/package.json b/apps/todo-app/package.json index cce6c7a2d48443..22d13bbb8c376e 100644 --- a/apps/todo-app/package.json +++ b/apps/todo-app/package.json @@ -17,7 +17,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@fluentui/react": "^7.142.0", diff --git a/apps/vr-tests/.storybook/main.js b/apps/vr-tests/.storybook/main.js index cfda2c2e3b2ae0..99c5f77d0e159a 100644 --- a/apps/vr-tests/.storybook/main.js +++ b/apps/vr-tests/.storybook/main.js @@ -1,5 +1,5 @@ // your app's webpack.config.js -const custom = require('@uifabric/build/storybook/webpack.config'); +const custom = require('@fluentui/scripts/storybook/webpack.config'); module.exports = { webpackFinal: config => custom(config), diff --git a/apps/vr-tests/just.config.ts b/apps/vr-tests/just.config.ts index 4382fd55bf3697..6ba74c8de1f030 100644 --- a/apps/vr-tests/just.config.ts +++ b/apps/vr-tests/just.config.ts @@ -1,5 +1,4 @@ -const { preset, just } = require('@uifabric/build'); -const { task } = just; +import { preset, task } from '@fluentui/scripts'; preset(); diff --git a/apps/vr-tests/package.json b/apps/vr-tests/package.json index 0e2e7d5acc075a..5f88e53f26eb4a 100644 --- a/apps/vr-tests/package.json +++ b/apps/vr-tests/package.json @@ -28,7 +28,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@uifabric/date-time": "^7.17.16", "@uifabric/example-data": "^7.1.5", "@fluentui/react-experiments": "^7.33.1", diff --git a/azure-pipelines.release.yml b/azure-pipelines.release.yml index cb508b3b57c5e3..145b85d739be83 100644 --- a/azure-pipelines.release.yml +++ b/azure-pipelines.release.yml @@ -135,7 +135,7 @@ steps: displayName: 'Publish Artifact: Fabric Website Resources' - script: | - yarn workspace @uifabric/build just generate-package-manifest + yarn workspace @fluentui/scripts just generate-package-manifest displayName: 'Generates a package manifest' - task: AzureUpload@2 diff --git a/babel.config.js b/babel.config.js index 6036a5cde80eff..26a7b035116071 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,4 +1,4 @@ module.exports = api => ({ - ...require('@uifabric/build/babel')(api), + ...require('@fluentui/scripts/babel')(api), babelrcRoots: ['./packages/*'], }); diff --git a/package.json b/package.json index 634059fd0a2308..df7ba52de4eca2 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "create-package": "plop --plopfile ./scripts/create-package/plopfile.ts --dest . --require ./scripts/ts-node-register", "change": "beachball change --scope \"!packages/fluentui/*\"", "dom-test": "cd apps/dom-tests && just-scripts jest-dom-with-webpack", - "generate-version-files": "yarn workspace @uifabric/build just generate-version-files", + "generate-version-files": "yarn workspace @fluentui/scripts just generate-version-files", "lint": "lage lint --verbose", "lint:log": "FORCE_COLOR=0 yarn lint > lint.log 2>&1", "lint:log:lerna": "FORCE_COLOR=0 lerna run lint --stream --no-bail > lint.log 2>&1", @@ -43,8 +43,8 @@ "postinstall": "node ./scripts/postinstall.js", "prettier": "node scripts/prettier.js", "rebuild": "node ./scripts/invalidate-just-cache.js && yarn build --reset-cache", - "release:fluentui:minor": "yarn workspace @uifabric/build just fluentui:publish:minor", - "release:fluentui:patch": "yarn workspace @uifabric/build just fluentui:publish:patch", + "release:fluentui:minor": "yarn workspace @fluentui/scripts just fluentui:publish:minor", + "release:fluentui:patch": "yarn workspace @fluentui/scripts just fluentui:publish:patch", "rename-package": "node -r ./scripts/ts-node-register ./scripts/rename-package.ts", "runto:lerna": "node ./scripts/monorepo/runTo.js", "run:published": "node ./scripts/monorepo/runPublished.js", diff --git a/packages/a11y-testing/just.config.ts b/packages/a11y-testing/just.config.ts index 4382fd55bf3697..6ba74c8de1f030 100644 --- a/packages/a11y-testing/just.config.ts +++ b/packages/a11y-testing/just.config.ts @@ -1,5 +1,4 @@ -const { preset, just } = require('@uifabric/build'); -const { task } = just; +import { preset, task } from '@fluentui/scripts'; preset(); diff --git a/packages/a11y-testing/package.json b/packages/a11y-testing/package.json index b0cdd9437aa195..e9e0b41ad1863b 100644 --- a/packages/a11y-testing/package.json +++ b/packages/a11y-testing/package.json @@ -22,7 +22,7 @@ "@types/enzyme": "3.10.3", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@types/jest": "~24.9.0", "jest": "~24.9.0", "enzyme": "~3.10.0", diff --git a/packages/api-docs/just.config.ts b/packages/api-docs/just.config.ts index 409dcbd5d2c3ba..aa366d09357f54 100644 --- a/packages/api-docs/just.config.ts +++ b/packages/api-docs/just.config.ts @@ -1,8 +1,5 @@ -const { - preset, - just: { task, series }, -} = require('@uifabric/build'); -const generateJsonTask = require('./tasks/generateJsonTask'); +import { preset, task, series } from '@fluentui/scripts'; +import { generateJsonTask } from './tasks/generateJsonTask'; preset(); diff --git a/packages/api-docs/package.json b/packages/api-docs/package.json index 46679f17cdd06a..346b243af59bec 100644 --- a/packages/api-docs/package.json +++ b/packages/api-docs/package.json @@ -22,7 +22,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/fs-extra": "^8.0.1", "@types/node": "^10.3.2", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@fluentui/date-time-utilities": "^7.9.0", diff --git a/packages/api-docs/tasks/generateJsonTask.js b/packages/api-docs/tasks/generateJsonTask.ts similarity index 75% rename from packages/api-docs/tasks/generateJsonTask.js rename to packages/api-docs/tasks/generateJsonTask.ts index 20578d0532ddcb..877c37309d03fb 100644 --- a/packages/api-docs/tasks/generateJsonTask.js +++ b/packages/api-docs/tasks/generateJsonTask.ts @@ -1,8 +1,7 @@ -// @ts-check -const fs = require('fs'); -const path = require('path'); +import * as fs from 'fs'; +import * as path from 'path'; -function generateJsonTask() { +export function generateJsonTask() { const configPath = path.join(process.cwd(), 'config/api-docs.js'); if (fs.existsSync(configPath)) { const config = require(configPath); @@ -12,5 +11,3 @@ function generateJsonTask() { console.log('Skipping page JSON generation because config not found'); } } - -module.exports = generateJsonTask; diff --git a/packages/azure-themes/just.config.ts b/packages/azure-themes/just.config.ts index 2e594dfd511dca..8a6d01b7a3b2dd 100644 --- a/packages/azure-themes/just.config.ts +++ b/packages/azure-themes/just.config.ts @@ -1,3 +1,3 @@ -const { preset, just } = require('@uifabric/build'); +import { preset, just } from '@fluentui/scripts'; preset(); diff --git a/packages/azure-themes/package.json b/packages/azure-themes/package.json index 6e6aa0a684942b..58a85ef07e1674 100644 --- a/packages/azure-themes/package.json +++ b/packages/azure-themes/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "react": "16.8.6" }, "dependencies": { diff --git a/packages/codemods/jest.config.js b/packages/codemods/jest.config.js index 38601aa205bbcd..ddecc5348fd564 100644 --- a/packages/codemods/jest.config.js +++ b/packages/codemods/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig } = require('@uifabric/build/jest/jest-resources'); +const { createConfig } = require('@fluentui/scripts/jest/jest-resources'); const config = createConfig({}); diff --git a/packages/codemods/just.config.ts b/packages/codemods/just.config.ts index 4382fd55bf3697..6ba74c8de1f030 100644 --- a/packages/codemods/just.config.ts +++ b/packages/codemods/just.config.ts @@ -1,5 +1,4 @@ -const { preset, just } = require('@uifabric/build'); -const { task } = just; +import { preset, task } from '@fluentui/scripts'; preset(); diff --git a/packages/codemods/package.json b/packages/codemods/package.json index 7c3017dd0d39d4..aa91022db31188 100644 --- a/packages/codemods/package.json +++ b/packages/codemods/package.json @@ -26,7 +26,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", "@types/node": "^10.3.2", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@types/react": "16.8.25", "@types/semver": "^5.5.0" }, diff --git a/packages/common-styles/just.config.ts b/packages/common-styles/just.config.ts index af96050f86b256..138f861a32e969 100644 --- a/packages/common-styles/just.config.ts +++ b/packages/common-styles/just.config.ts @@ -1,5 +1,4 @@ -const { preset, just } = require('@uifabric/build'); -const { task, series } = just; +import { preset, task, series } from '@fluentui/scripts'; preset(); diff --git a/packages/common-styles/package.json b/packages/common-styles/package.json index 860ed6696098bb..1c46163092be8f 100644 --- a/packages/common-styles/package.json +++ b/packages/common-styles/package.json @@ -18,7 +18,7 @@ "office-ui-fabric-core": "^11.0.0" }, "devDependencies": { - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/style-utilities": "^7.16.9" } } diff --git a/packages/date-time-utilities/config/api-extractor.json b/packages/date-time-utilities/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/date-time-utilities/config/api-extractor.json +++ b/packages/date-time-utilities/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/date-time-utilities/jest.config.js b/packages/date-time-utilities/jest.config.js index 0eaa852e6697ed..59ef63de1eb54c 100644 --- a/packages/date-time-utilities/jest.config.js +++ b/packages/date-time-utilities/jest.config.js @@ -1,4 +1,4 @@ // @ts-check -const { createConfig } = require('@uifabric/build/jest/jest-resources'); +const { createConfig } = require('@fluentui/scripts/jest/jest-resources'); module.exports = createConfig({}); diff --git a/packages/date-time-utilities/just.config.ts b/packages/date-time-utilities/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/date-time-utilities/just.config.ts +++ b/packages/date-time-utilities/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/date-time-utilities/package.json b/packages/date-time-utilities/package.json index ad426a2ce44ff8..a8866b9de6bcc1 100644 --- a/packages/date-time-utilities/package.json +++ b/packages/date-time-utilities/package.json @@ -27,7 +27,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@uifabric/set-version": "^7.0.23", diff --git a/packages/date-time/config/api-extractor.json b/packages/date-time/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/date-time/config/api-extractor.json +++ b/packages/date-time/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/date-time/jest.config.js b/packages/date-time/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/date-time/jest.config.js +++ b/packages/date-time/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/date-time/just.config.ts b/packages/date-time/just.config.ts index 4cccddf8dcade7..bcc7d9d264037c 100644 --- a/packages/date-time/just.config.ts +++ b/packages/date-time/just.config.ts @@ -1,5 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; -module.exports = () => { - preset(); -}; +preset(); diff --git a/packages/date-time/package.json b/packages/date-time/package.json index 18bb9c671eb568..ae0cf4436743b2 100644 --- a/packages/date-time/package.json +++ b/packages/date-time/package.json @@ -37,7 +37,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "@fluentui/test-utilities": "^7.3.0", "enzyme": "~3.10.0", diff --git a/packages/dom-utilities/config/api-extractor.json b/packages/dom-utilities/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/dom-utilities/config/api-extractor.json +++ b/packages/dom-utilities/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/dom-utilities/jest.config.js b/packages/dom-utilities/jest.config.js index d72a0506c6c4b0..a9211bad7acdd2 100644 --- a/packages/dom-utilities/jest.config.js +++ b/packages/dom-utilities/jest.config.js @@ -1,2 +1,2 @@ -let { createConfig } = require('@uifabric/build/jest/jest-resources'); +let { createConfig } = require('@fluentui/scripts/jest/jest-resources'); module.exports = createConfig({}); diff --git a/packages/dom-utilities/just.config.ts b/packages/dom-utilities/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/dom-utilities/just.config.ts +++ b/packages/dom-utilities/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/dom-utilities/package.json b/packages/dom-utilities/package.json index 2739b60a2b27ad..9b9fbaed0717ec 100644 --- a/packages/dom-utilities/package.json +++ b/packages/dom-utilities/package.json @@ -28,7 +28,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@uifabric/set-version": "^7.0.23", diff --git a/packages/example-data/config/api-extractor.json b/packages/example-data/config/api-extractor.json index f753bb3ca470cd..98cdfd4a0aaaeb 100644 --- a/packages/example-data/config/api-extractor.json +++ b/packages/example-data/config/api-extractor.json @@ -1,5 +1,5 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json", + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json", "messages": { "extractorMessageReporting": { "ae-internal-missing-underscore": { diff --git a/packages/example-data/just.config.ts b/packages/example-data/just.config.ts index 6bf9c93f747ab8..bcc7d9d264037c 100644 --- a/packages/example-data/just.config.ts +++ b/packages/example-data/just.config.ts @@ -1,4 +1,3 @@ -const { preset, just } = require('@uifabric/build'); -const { chain } = just; +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/example-data/package.json b/packages/example-data/package.json index a1d5e77c3997f7..b2a02d279d2fe7 100644 --- a/packages/example-data/package.json +++ b/packages/example-data/package.json @@ -22,7 +22,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "tslib": "^1.10.0" diff --git a/packages/file-type-icons/just.config.ts b/packages/file-type-icons/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/file-type-icons/just.config.ts +++ b/packages/file-type-icons/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/file-type-icons/package.json b/packages/file-type-icons/package.json index 7c9d3564f750d1..803e14c49724a3 100644 --- a/packages/file-type-icons/package.json +++ b/packages/file-type-icons/package.json @@ -27,7 +27,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6" diff --git a/packages/fluentui/ability-attributes/.gulp.js b/packages/fluentui/ability-attributes/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/ability-attributes/.gulp.js +++ b/packages/fluentui/ability-attributes/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/ability-attributes/babel.config.js b/packages/fluentui/ability-attributes/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/ability-attributes/babel.config.js +++ b/packages/fluentui/ability-attributes/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/accessibility/.gulp.js b/packages/fluentui/accessibility/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/accessibility/.gulp.js +++ b/packages/fluentui/accessibility/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/accessibility/babel.config.js b/packages/fluentui/accessibility/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/accessibility/babel.config.js +++ b/packages/fluentui/accessibility/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/accessibility/jest.config.js b/packages/fluentui/accessibility/jest.config.js index 82fde7c3345f71..d7102bb877889f 100644 --- a/packages/fluentui/accessibility/jest.config.js +++ b/packages/fluentui/accessibility/jest.config.js @@ -1,7 +1,7 @@ module.exports = { - ...require('@uifabric/build/jest'), + ...require('@fluentui/scripts/jest'), name: 'accessibility', moduleNameMapper: require('lerna-alias').jest({ - directory: require('@uifabric/build/monorepo/findGitRoot')(), + directory: require('@fluentui/scripts/monorepo/findGitRoot')(), }), }; diff --git a/packages/fluentui/accessibility/package.json b/packages/fluentui/accessibility/package.json index 9d44137d7e3d8c..84dffd9110b24a 100644 --- a/packages/fluentui/accessibility/package.json +++ b/packages/fluentui/accessibility/package.json @@ -13,7 +13,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/gulp": "^4.0.6", "@types/react": "16.8.25", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "gulp": "^4.0.2", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" diff --git a/packages/fluentui/circulars-test/.gulp.js b/packages/fluentui/circulars-test/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/circulars-test/.gulp.js +++ b/packages/fluentui/circulars-test/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/circulars-test/package.json b/packages/fluentui/circulars-test/package.json index fe48ef7044277b..03db64422b57e7 100644 --- a/packages/fluentui/circulars-test/package.json +++ b/packages/fluentui/circulars-test/package.json @@ -7,7 +7,7 @@ "@fluentui/react-northstar": "^0.51.0" }, "devDependencies": { - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "gulp": "^4.0.2", "typescript": "3.7.2" }, diff --git a/packages/fluentui/code-sandbox/.gulp.js b/packages/fluentui/code-sandbox/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/code-sandbox/.gulp.js +++ b/packages/fluentui/code-sandbox/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/code-sandbox/babel.config.js b/packages/fluentui/code-sandbox/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/code-sandbox/babel.config.js +++ b/packages/fluentui/code-sandbox/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/code-sandbox/package.json b/packages/fluentui/code-sandbox/package.json index 920fae5fd387c0..4b49c5bdc97b93 100644 --- a/packages/fluentui/code-sandbox/package.json +++ b/packages/fluentui/code-sandbox/package.json @@ -11,7 +11,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@fluentui/react-northstar": "^0.51.0", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "react": "16.8.6", "typescript": "3.7.2" }, diff --git a/packages/fluentui/docs-components/.gulp.js b/packages/fluentui/docs-components/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/docs-components/.gulp.js +++ b/packages/fluentui/docs-components/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/docs-components/babel.config.js b/packages/fluentui/docs-components/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/docs-components/babel.config.js +++ b/packages/fluentui/docs-components/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/docs-components/package.json b/packages/fluentui/docs-components/package.json index 8bdfbb846000b0..69216e2264b841 100644 --- a/packages/fluentui/docs-components/package.json +++ b/packages/fluentui/docs-components/package.json @@ -19,7 +19,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/gulp": "^4.0.6", "@types/react": "16.8.25", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "gulp": "^4.0.2", "prettier": "~1.19.1", "react": "16.8.6", diff --git a/packages/fluentui/docs/package.json b/packages/fluentui/docs/package.json index 34da0febed530e..a14b22981b23f0 100644 --- a/packages/fluentui/docs/package.json +++ b/packages/fluentui/docs/package.json @@ -59,7 +59,7 @@ "@types/react-router-dom": "^5.1.5", "@types/react-virtualized": "^9.21.8", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "gulp": "^4.0.2", "typescript": "3.7.2" }, diff --git a/packages/fluentui/docs/src/examples/components/Alert/Types/AlertExampleDismissible.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Alert/Types/AlertExampleDismissible.shorthand.steps.ts index 58d8c298d8b68d..46a94ab44280a9 100644 --- a/packages/fluentui/docs/src/examples/components/Alert/Types/AlertExampleDismissible.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Alert/Types/AlertExampleDismissible.shorthand.steps.ts @@ -1,5 +1,5 @@ import { getScreenerSteps } from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleDanger.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleDanger.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleDanger.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleDanger.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleInfo.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleInfo.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleInfo.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleInfo.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleOofs.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleOofs.shorthand.steps.ts index 646939a3f3477f..fd0a2f59814b0f 100644 --- a/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleOofs.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleOofs.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { getHoverScreenerSteps } from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleUrgent.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleUrgent.shorthand.steps.ts index dbd2e280c51cf8..f2c5914834ff0f 100644 --- a/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleUrgent.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Alert/Variations/AlertExampleUrgent.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { getFocusScreenerSteps } from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Alert/commonScreenerSteps.ts b/packages/fluentui/docs/src/examples/components/Alert/commonScreenerSteps.ts index 0ec6f70e85d773..386d5012be66b8 100644 --- a/packages/fluentui/docs/src/examples/components/Alert/commonScreenerSteps.ts +++ b/packages/fluentui/docs/src/examples/components/Alert/commonScreenerSteps.ts @@ -1,4 +1,4 @@ -import { ScreenerStep, ScreenerSteps } from '@uifabric/build/screener'; +import { ScreenerStep, ScreenerSteps } from '@fluentui/scripts/screener'; import { alertDismissActionClassName } from '@fluentui/react-northstar'; const selectors = { diff --git a/packages/fluentui/docs/src/examples/components/Attachment/Slots/AttachmentActionExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Attachment/Slots/AttachmentActionExample.shorthand.steps.ts index bd4f31cb8399ca..656ae9e33dac3a 100644 --- a/packages/fluentui/docs/src/examples/components/Attachment/Slots/AttachmentActionExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Attachment/Slots/AttachmentActionExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Attachment/Variations/AttachmentActionableExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Attachment/Variations/AttachmentActionableExample.shorthand.steps.ts index bd4f31cb8399ca..656ae9e33dac3a 100644 --- a/packages/fluentui/docs/src/examples/components/Attachment/Variations/AttachmentActionableExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Attachment/Variations/AttachmentActionableExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Attachment/commonScreenerSteps.ts b/packages/fluentui/docs/src/examples/components/Attachment/commonScreenerSteps.ts index 4fba7822eba346..ad605e74fe3f7c 100644 --- a/packages/fluentui/docs/src/examples/components/Attachment/commonScreenerSteps.ts +++ b/packages/fluentui/docs/src/examples/components/Attachment/commonScreenerSteps.ts @@ -1,5 +1,5 @@ import { attachmentClassName, attachmentActionClassName } from '@fluentui/react-northstar'; -import { ScreenerSteps } from '@uifabric/build/screener'; +import { ScreenerSteps } from '@fluentui/scripts/screener'; const selectors = { root: `.${attachmentClassName}`, diff --git a/packages/fluentui/docs/src/examples/components/Button/Groups/ButtonGroupCircularExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Button/Groups/ButtonGroupCircularExample.shorthand.steps.ts index bd4f31cb8399ca..656ae9e33dac3a 100644 --- a/packages/fluentui/docs/src/examples/components/Button/Groups/ButtonGroupCircularExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Button/Groups/ButtonGroupCircularExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Button/Groups/ButtonGroupExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Button/Groups/ButtonGroupExample.shorthand.steps.ts index bd4f31cb8399ca..656ae9e33dac3a 100644 --- a/packages/fluentui/docs/src/examples/components/Button/Groups/ButtonGroupExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Button/Groups/ButtonGroupExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Button/States/ButtonExampleDisabled.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Button/States/ButtonExampleDisabled.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Button/States/ButtonExampleDisabled.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Button/States/ButtonExampleDisabled.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Button/Types/ButtonExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Button/Types/ButtonExample.shorthand.steps.ts index bd4f31cb8399ca..656ae9e33dac3a 100644 --- a/packages/fluentui/docs/src/examples/components/Button/Types/ButtonExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Button/Types/ButtonExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Button/Types/ButtonExampleText.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Button/Types/ButtonExampleText.shorthand.steps.ts index bd4f31cb8399ca..656ae9e33dac3a 100644 --- a/packages/fluentui/docs/src/examples/components/Button/Types/ButtonExampleText.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Button/Types/ButtonExampleText.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Button/Usage/ButtonExampleContentAndIcon.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Button/Usage/ButtonExampleContentAndIcon.shorthand.steps.ts index bd4f31cb8399ca..656ae9e33dac3a 100644 --- a/packages/fluentui/docs/src/examples/components/Button/Usage/ButtonExampleContentAndIcon.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Button/Usage/ButtonExampleContentAndIcon.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Button/Usage/ButtonExampleWithTooltip.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Button/Usage/ButtonExampleWithTooltip.shorthand.steps.ts index d53eccb012167e..79d9c3545d081f 100644 --- a/packages/fluentui/docs/src/examples/components/Button/Usage/ButtonExampleWithTooltip.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Button/Usage/ButtonExampleWithTooltip.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { buttonClassName } from '@fluentui/react-northstar'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Button/commonScreenerSteps.ts b/packages/fluentui/docs/src/examples/components/Button/commonScreenerSteps.ts index 8b924a6d6d2297..54ceabafe9ce8e 100644 --- a/packages/fluentui/docs/src/examples/components/Button/commonScreenerSteps.ts +++ b/packages/fluentui/docs/src/examples/components/Button/commonScreenerSteps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerSteps } from '@uifabric/build/screener'; +import { ScreenerSteps } from '@fluentui/scripts/screener'; const button = `.${buttonClassName}`; diff --git a/packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleFocusable.steps.ts b/packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleFocusable.steps.ts index 7c223df29f6571..aa6a5bf9bcab44 100644 --- a/packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleFocusable.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleFocusable.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [(builder, keys) => builder.keys('body', keys.tab).snapshot('Focus on a card')], diff --git a/packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleWithPreview.steps.ts b/packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleWithPreview.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleWithPreview.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Card/Usage/CardExampleWithPreview.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Chat/Content/ChatExampleActions.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Chat/Content/ChatExampleActions.shorthand.steps.ts index 031e6c3f1f6add..139712eda5f821 100644 --- a/packages/fluentui/docs/src/examples/components/Chat/Content/ChatExampleActions.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Chat/Content/ChatExampleActions.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { chatMessageClassName } from '@fluentui/react-northstar'; const selectors = { diff --git a/packages/fluentui/docs/src/examples/components/Chat/Content/ChatExampleReactionGroupMeReacting.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Chat/Content/ChatExampleReactionGroupMeReacting.shorthand.steps.ts index 9ffa4138addd06..c5e34817128db6 100644 --- a/packages/fluentui/docs/src/examples/components/Chat/Content/ChatExampleReactionGroupMeReacting.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Chat/Content/ChatExampleReactionGroupMeReacting.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { reactionClassName, chatMessageSlotClassNames } from '@fluentui/react-northstar'; const selectors = { diff --git a/packages/fluentui/docs/src/examples/components/Chat/Types/ChatExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Chat/Types/ChatExample.shorthand.steps.ts index 8fef3ab0c7c967..5da14387983607 100644 --- a/packages/fluentui/docs/src/examples/components/Chat/Types/ChatExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Chat/Types/ChatExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { chatMessageClassName } from '@fluentui/react-northstar'; const selectors = { diff --git a/packages/fluentui/docs/src/examples/components/Chat/Types/ChatExampleDetails.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Chat/Types/ChatExampleDetails.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Chat/Types/ChatExampleDetails.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Chat/Types/ChatExampleDetails.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Chat/Types/ChatMessageExampleBadge.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Chat/Types/ChatMessageExampleBadge.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Chat/Types/ChatMessageExampleBadge.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Chat/Types/ChatMessageExampleBadge.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Chat/Usage/ChatExampleInScrollable.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Chat/Usage/ChatExampleInScrollable.shorthand.steps.ts index 4a01ecc3f38121..9aea50dbef9624 100644 --- a/packages/fluentui/docs/src/examples/components/Chat/Usage/ChatExampleInScrollable.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Chat/Usage/ChatExampleInScrollable.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { chatClassName, chatItemClassName, diff --git a/packages/fluentui/docs/src/examples/components/Checkbox/Types/CheckboxExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Checkbox/Types/CheckboxExample.shorthand.steps.ts index d3e331d1fe0f1f..4f9a4285c5f028 100644 --- a/packages/fluentui/docs/src/examples/components/Checkbox/Types/CheckboxExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Checkbox/Types/CheckboxExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; export const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Checkbox/Types/CheckboxExampleToggle.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Checkbox/Types/CheckboxExampleToggle.shorthand.steps.ts index d3e331d1fe0f1f..4f9a4285c5f028 100644 --- a/packages/fluentui/docs/src/examples/components/Checkbox/Types/CheckboxExampleToggle.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Checkbox/Types/CheckboxExampleToggle.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; export const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Checkbox/commonScreenerSteps.ts b/packages/fluentui/docs/src/examples/components/Checkbox/commonScreenerSteps.ts index 1ad7b1d5971af6..b97b242af0ac7c 100644 --- a/packages/fluentui/docs/src/examples/components/Checkbox/commonScreenerSteps.ts +++ b/packages/fluentui/docs/src/examples/components/Checkbox/commonScreenerSteps.ts @@ -1,5 +1,5 @@ import { checkboxClassName } from '@fluentui/react-northstar'; -import { ScreenerSteps } from '@uifabric/build/screener'; +import { ScreenerSteps } from '@fluentui/scripts/screener'; const getScreenerSteps = (): ScreenerSteps => [ builder => builder.click(`.${checkboxClassName}`).snapshot('Checks checkbox'), diff --git a/packages/fluentui/docs/src/examples/components/Datepicker/Slots/DatepickerCellExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Datepicker/Slots/DatepickerCellExample.shorthand.steps.ts index ac45acfabeddbf..5795c46f3d3052 100644 --- a/packages/fluentui/docs/src/examples/components/Datepicker/Slots/DatepickerCellExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Datepicker/Slots/DatepickerCellExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { inputClassName } from '@fluentui/react-northstar'; import { datepickerCalendarCellSelector } from '../datepickerCalendarCellSelector'; diff --git a/packages/fluentui/docs/src/examples/components/Datepicker/Slots/DatepickerExampleClearable.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Datepicker/Slots/DatepickerExampleClearable.shorthand.steps.ts index 8215d3c6acac24..d5b8feb080e34e 100644 --- a/packages/fluentui/docs/src/examples/components/Datepicker/Slots/DatepickerExampleClearable.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Datepicker/Slots/DatepickerExampleClearable.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { inputClassName } from '@fluentui/react-northstar'; import { datepickerCalendarCellSelector } from '../datepickerCalendarCellSelector'; diff --git a/packages/fluentui/docs/src/examples/components/Datepicker/Slots/DatepickerHeaderCellExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Datepicker/Slots/DatepickerHeaderCellExample.shorthand.steps.ts index e07db49395de26..7606286688505d 100644 --- a/packages/fluentui/docs/src/examples/components/Datepicker/Slots/DatepickerHeaderCellExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Datepicker/Slots/DatepickerHeaderCellExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { inputClassName, datepickerCalendarHeaderCellClassName } from '@fluentui/react-northstar'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Datepicker/States/DatepickerExampleRequired.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Datepicker/States/DatepickerExampleRequired.shorthand.steps.ts index c8abf69a5a04bc..2afa6010c1de4b 100644 --- a/packages/fluentui/docs/src/examples/components/Datepicker/States/DatepickerExampleRequired.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Datepicker/States/DatepickerExampleRequired.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { buttonClassName } from '@fluentui/react-northstar'; import { datepickerCalendarCellSelector } from '../datepickerCalendarCellSelector'; diff --git a/packages/fluentui/docs/src/examples/components/Datepicker/States/DatepickerExampleToday.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Datepicker/States/DatepickerExampleToday.shorthand.steps.ts index abc81a32084640..abac33ee399fbb 100644 --- a/packages/fluentui/docs/src/examples/components/Datepicker/States/DatepickerExampleToday.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Datepicker/States/DatepickerExampleToday.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { buttonClassName } from '@fluentui/react-northstar'; import { datepickerCalendarCellSelector } from '../datepickerCalendarCellSelector'; diff --git a/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleLocalizationStrings.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleLocalizationStrings.shorthand.steps.ts index d360e4763de884..e46a7e28d1b246 100644 --- a/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleLocalizationStrings.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleLocalizationStrings.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { buttonClassName } from '@fluentui/react-northstar'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleMinMaxDate.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleMinMaxDate.shorthand.steps.ts index f2d16bf4d9fff1..e9ce2fddae947e 100644 --- a/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleMinMaxDate.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleMinMaxDate.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { buttonClassName, datepickerCalendarHeaderActionClassName } from '@fluentui/react-northstar'; import { datepickerCalendarCellSelector } from '../datepickerCalendarCellSelector'; diff --git a/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleNoInput.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleNoInput.shorthand.steps.ts index a594c9baea61fc..f582aa4e203bf7 100644 --- a/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleNoInput.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleNoInput.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { inputClassName, buttonClassName } from '@fluentui/react-northstar'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleRestrictedDates.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleRestrictedDates.shorthand.steps.ts index d3d421639ae661..53a6c7817a0a52 100644 --- a/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleRestrictedDates.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Datepicker/Types/DatepickerExampleRestrictedDates.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { buttonClassName } from '@fluentui/react-northstar'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Datepicker/Usage/DatepickerFormatExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Datepicker/Usage/DatepickerFormatExample.shorthand.steps.ts index 96bb7fe67740c0..4e0a855eac29bc 100644 --- a/packages/fluentui/docs/src/examples/components/Datepicker/Usage/DatepickerFormatExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Datepicker/Usage/DatepickerFormatExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { inputClassName } from '@fluentui/react-northstar'; import { datepickerCalendarCellSelector } from '../datepickerCalendarCellSelector'; diff --git a/packages/fluentui/docs/src/examples/components/Datepicker/Variations/DatepickerExampleStandaloneCalendarButton.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Datepicker/Variations/DatepickerExampleStandaloneCalendarButton.shorthand.steps.ts index 0e5a51eb3fb66a..91e165e6dfedd6 100644 --- a/packages/fluentui/docs/src/examples/components/Datepicker/Variations/DatepickerExampleStandaloneCalendarButton.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Datepicker/Variations/DatepickerExampleStandaloneCalendarButton.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { buttonClassName } from '@fluentui/react-northstar'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleContent.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleContent.shorthand.steps.ts index bd4f31cb8399ca..656ae9e33dac3a 100644 --- a/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleContent.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleContent.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleFooter.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleFooter.shorthand.steps.ts index c702bf51656c65..2e44a42488b133 100644 --- a/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleFooter.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleFooter.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleFullWidth.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleFullWidth.shorthand.steps.ts index 5f6460720a8d31..34cb9329458342 100644 --- a/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleFullWidth.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleFullWidth.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleHeaderAction.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleHeaderAction.shorthand.steps.ts index bd4f31cb8399ca..656ae9e33dac3a 100644 --- a/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleHeaderAction.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dialog/Content/DialogExampleHeaderAction.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Dialog/Rtl/DialogExample.rtl.steps.ts b/packages/fluentui/docs/src/examples/components/Dialog/Rtl/DialogExample.rtl.steps.ts index c702bf51656c65..2e44a42488b133 100644 --- a/packages/fluentui/docs/src/examples/components/Dialog/Rtl/DialogExample.rtl.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dialog/Rtl/DialogExample.rtl.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Dialog/Variations/DialogExampleBackdrop.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dialog/Variations/DialogExampleBackdrop.shorthand.steps.ts index bd4f31cb8399ca..656ae9e33dac3a 100644 --- a/packages/fluentui/docs/src/examples/components/Dialog/Variations/DialogExampleBackdrop.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dialog/Variations/DialogExampleBackdrop.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Dialog/Variations/DialogExampleScroll.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dialog/Variations/DialogExampleScroll.shorthand.steps.ts index bd4f31cb8399ca..656ae9e33dac3a 100644 --- a/packages/fluentui/docs/src/examples/components/Dialog/Variations/DialogExampleScroll.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dialog/Variations/DialogExampleScroll.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import getScreenerSteps from '../commonScreenerSteps'; const config: ScreenerTestsConfig = { diff --git a/packages/fluentui/docs/src/examples/components/Dialog/commonScreenerSteps.ts b/packages/fluentui/docs/src/examples/components/Dialog/commonScreenerSteps.ts index e3b02a587e2d30..4aa8f16cdc1370 100644 --- a/packages/fluentui/docs/src/examples/components/Dialog/commonScreenerSteps.ts +++ b/packages/fluentui/docs/src/examples/components/Dialog/commonScreenerSteps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerSteps } from '@uifabric/build/screener'; +import { ScreenerSteps } from '@fluentui/scripts/screener'; const button = `.${buttonClassName}`; diff --git a/packages/fluentui/docs/src/examples/components/Divider/Rtl/DividerExample.rtl.steps.ts b/packages/fluentui/docs/src/examples/components/Divider/Rtl/DividerExample.rtl.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Divider/Rtl/DividerExample.rtl.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Divider/Rtl/DividerExample.rtl.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Divider/Types/DividerExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Divider/Types/DividerExample.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Divider/Types/DividerExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Divider/Types/DividerExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Divider/Types/DividerExampleContent.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Divider/Types/DividerExampleContent.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Divider/Types/DividerExampleContent.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Divider/Types/DividerExampleContent.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleColor.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleColor.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleColor.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleColor.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleFitted.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleFitted.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleFitted.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleFitted.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleImportant.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleImportant.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleImportant.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleImportant.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleSize.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleSize.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleSize.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Divider/Variations/DividerExampleSize.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Divider/Visuals/DividerExampleRtlAndLtr.steps.ts b/packages/fluentui/docs/src/examples/components/Divider/Visuals/DividerExampleRtlAndLtr.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Divider/Visuals/DividerExampleRtlAndLtr.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Divider/Visuals/DividerExampleRtlAndLtr.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Dropdown/Rtl/DropdownExample.rtl.steps.ts b/packages/fluentui/docs/src/examples/components/Dropdown/Rtl/DropdownExample.rtl.steps.ts index c4c2cac8db55a9..70cab545678ee9 100644 --- a/packages/fluentui/docs/src/examples/components/Dropdown/Rtl/DropdownExample.rtl.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dropdown/Rtl/DropdownExample.rtl.steps.ts @@ -1,5 +1,5 @@ import { dropdownSlotClassNames } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { triggerButton: `.${dropdownSlotClassNames.triggerButton}`, diff --git a/packages/fluentui/docs/src/examples/components/Dropdown/State/DropdownExampleDisabled.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dropdown/State/DropdownExampleDisabled.shorthand.steps.ts index 54648ec93a7e64..12faf43206acb7 100644 --- a/packages/fluentui/docs/src/examples/components/Dropdown/State/DropdownExampleDisabled.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dropdown/State/DropdownExampleDisabled.shorthand.steps.ts @@ -1,5 +1,5 @@ import { dropdownSlotClassNames, dropdownSearchInputSlotClassNames } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { triggerButton: `.${dropdownSlotClassNames.triggerButton}`, diff --git a/packages/fluentui/docs/src/examples/components/Dropdown/State/DropdownExampleLoading.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dropdown/State/DropdownExampleLoading.shorthand.steps.ts index c58caa5e19a5c7..9521e82cfd5bf6 100644 --- a/packages/fluentui/docs/src/examples/components/Dropdown/State/DropdownExampleLoading.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dropdown/State/DropdownExampleLoading.shorthand.steps.ts @@ -1,5 +1,5 @@ import { dropdownSlotClassNames, dropdownSearchInputSlotClassNames } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { triggerButton: `.${dropdownSlotClassNames.toggleIndicator}`, diff --git a/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExample.shorthand.steps.ts index 09c7a550ab81c2..b46d7de51ef0b1 100644 --- a/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExample.shorthand.steps.ts @@ -1,5 +1,5 @@ import { dropdownSlotClassNames } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { triggerButton: `.${dropdownSlotClassNames.triggerButton}`, diff --git a/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExampleClearable.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExampleClearable.shorthand.steps.ts index 2dd775f99d7ddc..8bcd3667e7c592 100644 --- a/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExampleClearable.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExampleClearable.shorthand.steps.ts @@ -1,5 +1,5 @@ import { dropdownSlotClassNames } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { clearIndicator: `.${dropdownSlotClassNames.clearIndicator}`, diff --git a/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExampleMultiple.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExampleMultiple.shorthand.steps.ts index 9929e074fdb35b..17883facfd6cd6 100644 --- a/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExampleMultiple.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExampleMultiple.shorthand.steps.ts @@ -1,5 +1,5 @@ import { dropdownSlotClassNames, dropdownSelectedItemSlotClassNames } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { triggerButton: `.${dropdownSlotClassNames.triggerButton}`, diff --git a/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExampleSearchMultiple.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExampleSearchMultiple.shorthand.steps.ts index 11e73ac0e807ff..44132607631b84 100644 --- a/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExampleSearchMultiple.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dropdown/Types/DropdownExampleSearchMultiple.shorthand.steps.ts @@ -1,5 +1,5 @@ import { dropdownSearchInputSlotClassNames, dropdownSlotClassNames } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { toggleIndicator: `.${dropdownSlotClassNames.toggleIndicator}`, diff --git a/packages/fluentui/docs/src/examples/components/Dropdown/Variations/DropdownExampleOffset.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dropdown/Variations/DropdownExampleOffset.shorthand.steps.ts index db8fc90e824155..5bf5eca5ed809f 100644 --- a/packages/fluentui/docs/src/examples/components/Dropdown/Variations/DropdownExampleOffset.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dropdown/Variations/DropdownExampleOffset.shorthand.steps.ts @@ -1,5 +1,5 @@ import { dropdownSlotClassNames } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { trigger: `.${dropdownSlotClassNames.triggerButton}`, diff --git a/packages/fluentui/docs/src/examples/components/Dropdown/Visual/DropdownExampleCustomClearable.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Dropdown/Visual/DropdownExampleCustomClearable.shorthand.steps.ts index f0735c73093977..bf783dd8c0baa0 100644 --- a/packages/fluentui/docs/src/examples/components/Dropdown/Visual/DropdownExampleCustomClearable.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Dropdown/Visual/DropdownExampleCustomClearable.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Input/Slots/InputExampleLabel.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Input/Slots/InputExampleLabel.shorthand.steps.ts index 839f7810aa0461..e0669bdac33a1c 100644 --- a/packages/fluentui/docs/src/examples/components/Input/Slots/InputExampleLabel.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Input/Slots/InputExampleLabel.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [ diff --git a/packages/fluentui/docs/src/examples/components/Input/Types/InputExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Input/Types/InputExample.shorthand.steps.ts index 6bf8b71f9c0b45..9f7aa10869847d 100644 --- a/packages/fluentui/docs/src/examples/components/Input/Types/InputExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Input/Types/InputExample.shorthand.steps.ts @@ -1,5 +1,5 @@ import { inputClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [builder => builder.focus(`.${inputClassName} input`).snapshot('Can be focused')], diff --git a/packages/fluentui/docs/src/examples/components/Input/Types/InputInvertedExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Input/Types/InputInvertedExample.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Input/Types/InputInvertedExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Input/Types/InputInvertedExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Input/Variations/InputExampleClearable.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Input/Variations/InputExampleClearable.shorthand.steps.ts index 084ae9446cbebe..73275a8988fec3 100644 --- a/packages/fluentui/docs/src/examples/components/Input/Variations/InputExampleClearable.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Input/Variations/InputExampleClearable.shorthand.steps.ts @@ -1,5 +1,5 @@ import { inputClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [builder => builder.setValue(`.${inputClassName} input`, 'Some text...').snapshot('Can be clearable')], diff --git a/packages/fluentui/docs/src/examples/components/List/Types/ListExampleNavigable.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/List/Types/ListExampleNavigable.shorthand.steps.ts index 1139cbb7923644..6162357543380f 100644 --- a/packages/fluentui/docs/src/examples/components/List/Types/ListExampleNavigable.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/List/Types/ListExampleNavigable.shorthand.steps.ts @@ -1,5 +1,5 @@ import { listItemClassName, listClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { list: `.${listClassName}`, diff --git a/packages/fluentui/docs/src/examples/components/List/Types/ListExampleSelectable.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/List/Types/ListExampleSelectable.shorthand.steps.ts index a3c551ae3c5c11..620e590e001ad9 100644 --- a/packages/fluentui/docs/src/examples/components/List/Types/ListExampleSelectable.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/List/Types/ListExampleSelectable.shorthand.steps.ts @@ -1,5 +1,5 @@ import { listItemClassName, listClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { list: `.${listClassName}`, diff --git a/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleIconOnly.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleIconOnly.shorthand.steps.ts index 9d49c69bb252d2..e38e16ddd6ec16 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleIconOnly.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleIconOnly.shorthand.steps.ts @@ -1,5 +1,5 @@ import getScreenerSteps from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleSlot.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleSlot.shorthand.steps.ts index 9d49c69bb252d2..e38e16ddd6ec16 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleSlot.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleSlot.shorthand.steps.ts @@ -1,5 +1,5 @@ import getScreenerSteps from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleWithIcons.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleWithIcons.shorthand.steps.ts index f96372930a1ea4..15a9636ddf8c5d 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleWithIcons.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Slots/MenuExampleWithIcons.shorthand.steps.ts @@ -1,5 +1,5 @@ import getScreenerSteps from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: getScreenerSteps() }; diff --git a/packages/fluentui/docs/src/examples/components/Menu/Types/MenuExamplePointing.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Types/MenuExamplePointing.shorthand.steps.ts index 9d49c69bb252d2..e38e16ddd6ec16 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Types/MenuExamplePointing.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Types/MenuExamplePointing.shorthand.steps.ts @@ -1,5 +1,5 @@ import getScreenerSteps from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Menu/Types/MenuExampleUnderlined.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Types/MenuExampleUnderlined.shorthand.steps.ts index 9d49c69bb252d2..e38e16ddd6ec16 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Types/MenuExampleUnderlined.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Types/MenuExampleUnderlined.shorthand.steps.ts @@ -1,5 +1,5 @@ import getScreenerSteps from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleToolbar.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleToolbar.shorthand.steps.ts index 7482adc6b9d285..a5da7af5570ca7 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleToolbar.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleToolbar.shorthand.steps.ts @@ -1,6 +1,6 @@ import { menuClassName } from '@fluentui/react-northstar'; import getScreenerSteps from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { menu: `.${menuClassName}`, diff --git a/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithSubmenu.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithSubmenu.shorthand.steps.ts index f96372930a1ea4..15a9636ddf8c5d 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithSubmenu.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithSubmenu.shorthand.steps.ts @@ -1,5 +1,5 @@ import getScreenerSteps from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: getScreenerSteps() }; diff --git a/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithSubmenuHover.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithSubmenuHover.shorthand.steps.ts index 30f534c1d44795..8a5bdb1472244b 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithSubmenuHover.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithSubmenuHover.shorthand.steps.ts @@ -1,5 +1,5 @@ import { menuClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { item: (itemIndex: number) => `.${menuClassName} li:nth-child(${itemIndex}) a`, diff --git a/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithTooltip.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithTooltip.shorthand.steps.ts index dc8406e41015c1..553da68995dc32 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithTooltip.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Usage/MenuExampleWithTooltip.shorthand.steps.ts @@ -1,5 +1,5 @@ import { menuClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { menu: `.${menuClassName}`, diff --git a/packages/fluentui/docs/src/examples/components/Menu/Variations/MenuExampleVertical.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Variations/MenuExampleVertical.shorthand.steps.ts index 9a4c3659bb5b9b..7bf32d5aaccdfb 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Variations/MenuExampleVertical.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Variations/MenuExampleVertical.shorthand.steps.ts @@ -1,5 +1,5 @@ import { default as getScreenerSteps } from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Menu/Variations/MenuExampleVerticalPointing.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Variations/MenuExampleVerticalPointing.shorthand.steps.ts index 9be20c8ed239e4..df8ab41f26fd38 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Variations/MenuExampleVerticalPointing.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Variations/MenuExampleVerticalPointing.shorthand.steps.ts @@ -1,5 +1,5 @@ import getScreenerSteps from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: getScreenerSteps({ vertical: true }) }; diff --git a/packages/fluentui/docs/src/examples/components/Menu/Variations/MenuExampleVerticalPrimary.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Variations/MenuExampleVerticalPrimary.shorthand.steps.ts index 370ec47dc9ed63..1655075fa87fa8 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Variations/MenuExampleVerticalPrimary.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Variations/MenuExampleVerticalPrimary.shorthand.steps.ts @@ -1,5 +1,5 @@ import { selectors } from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Menu/Visual/MenuExamplePositioning.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Visual/MenuExamplePositioning.shorthand.steps.ts index aa43295f6dc4cf..a546f015ab51ca 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Visual/MenuExamplePositioning.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Visual/MenuExamplePositioning.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [ diff --git a/packages/fluentui/docs/src/examples/components/Menu/Visual/MenuExamplePositioningUpdate.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Menu/Visual/MenuExamplePositioningUpdate.shorthand.steps.ts index 12c594c2c35e4d..93b3dd350c80ce 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/Visual/MenuExamplePositioningUpdate.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/Visual/MenuExamplePositioningUpdate.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [ diff --git a/packages/fluentui/docs/src/examples/components/Menu/commonScreenerSteps.ts b/packages/fluentui/docs/src/examples/components/Menu/commonScreenerSteps.ts index 7cf40a7543c595..14570b3d21550c 100644 --- a/packages/fluentui/docs/src/examples/components/Menu/commonScreenerSteps.ts +++ b/packages/fluentui/docs/src/examples/components/Menu/commonScreenerSteps.ts @@ -1,5 +1,5 @@ import { menuClassName } from '@fluentui/react-northstar'; -import { ScreenerSteps } from '@uifabric/build/screener'; +import { ScreenerSteps } from '@fluentui/scripts/screener'; interface StepsOptions { vertical?: boolean; diff --git a/packages/fluentui/docs/src/examples/components/MenuButton/Rtl/MenuButtonExample.rtl.steps.ts b/packages/fluentui/docs/src/examples/components/MenuButton/Rtl/MenuButtonExample.rtl.steps.ts index dfc77a6fb42c1d..5d40b75915dc08 100644 --- a/packages/fluentui/docs/src/examples/components/MenuButton/Rtl/MenuButtonExample.rtl.steps.ts +++ b/packages/fluentui/docs/src/examples/components/MenuButton/Rtl/MenuButtonExample.rtl.steps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [builder => builder.click(`.${buttonClassName}`).snapshot('RTL: Shows menuButton')], diff --git a/packages/fluentui/docs/src/examples/components/Popup/Rtl/PopupExample.rtl.steps.ts b/packages/fluentui/docs/src/examples/components/Popup/Rtl/PopupExample.rtl.steps.ts index f0ff171767e3bd..0f72cd9c308c05 100644 --- a/packages/fluentui/docs/src/examples/components/Popup/Rtl/PopupExample.rtl.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Popup/Rtl/PopupExample.rtl.steps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [builder => builder.click(`.${buttonClassName}`).snapshot('RTL: Shows popup')], diff --git a/packages/fluentui/docs/src/examples/components/Popup/Types/PopupControlledExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Popup/Types/PopupControlledExample.shorthand.steps.ts index 18e53272ca6c76..4c2b131353535e 100644 --- a/packages/fluentui/docs/src/examples/components/Popup/Types/PopupControlledExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Popup/Types/PopupControlledExample.shorthand.steps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { triggerButton: `.${buttonClassName}[title*="Open popup"]`, diff --git a/packages/fluentui/docs/src/examples/components/Popup/Types/PopupCustomTargetExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Popup/Types/PopupCustomTargetExample.shorthand.steps.ts index 4095adb9737aeb..9197cfaabd3799 100644 --- a/packages/fluentui/docs/src/examples/components/Popup/Types/PopupCustomTargetExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Popup/Types/PopupCustomTargetExample.shorthand.steps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [builder => builder.click(`.${buttonClassName}`).snapshot('Shows popup')], diff --git a/packages/fluentui/docs/src/examples/components/Popup/Types/PopupExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Popup/Types/PopupExample.shorthand.steps.ts index e1a25d08fff156..6b22631a37338c 100644 --- a/packages/fluentui/docs/src/examples/components/Popup/Types/PopupExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Popup/Types/PopupExample.shorthand.steps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Popup/Usage/PopupExampleCloseButton.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Popup/Usage/PopupExampleCloseButton.shorthand.steps.ts index 1cb91114ee7eed..88170d2ed8acf9 100644 --- a/packages/fluentui/docs/src/examples/components/Popup/Usage/PopupExampleCloseButton.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Popup/Usage/PopupExampleCloseButton.shorthand.steps.ts @@ -1,5 +1,5 @@ import { dropdownSlotClassNames, buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { toggleIndicator: `.${dropdownSlotClassNames.toggleIndicator}`, diff --git a/packages/fluentui/docs/src/examples/components/Popup/Variations/PopupExampleOffset.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Popup/Variations/PopupExampleOffset.shorthand.steps.ts index 7bc334c6a119f5..5ec3e672d28238 100644 --- a/packages/fluentui/docs/src/examples/components/Popup/Variations/PopupExampleOffset.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Popup/Variations/PopupExampleOffset.shorthand.steps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { trigger: `.${buttonClassName}`, diff --git a/packages/fluentui/docs/src/examples/components/Popup/Visual/PopupScrollExample.steps.ts b/packages/fluentui/docs/src/examples/components/Popup/Visual/PopupScrollExample.steps.ts index 91b3cad6a12806..0fdbf44fffe619 100644 --- a/packages/fluentui/docs/src/examples/components/Popup/Visual/PopupScrollExample.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Popup/Visual/PopupScrollExample.steps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { triggerButtonPopupWithTrapFocus: `.${buttonClassName}[title*="PopupWithTrapFocus"]`, diff --git a/packages/fluentui/docs/src/examples/components/RadioGroup/Types/RadioGroupExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/RadioGroup/Types/RadioGroupExample.shorthand.steps.ts index 14a64bcca17978..3ea117244f09fc 100644 --- a/packages/fluentui/docs/src/examples/components/RadioGroup/Types/RadioGroupExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/RadioGroup/Types/RadioGroupExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Slider/Rtl/SliderExample.rtl.steps.ts b/packages/fluentui/docs/src/examples/components/Slider/Rtl/SliderExample.rtl.steps.ts index 9d49c69bb252d2..e38e16ddd6ec16 100644 --- a/packages/fluentui/docs/src/examples/components/Slider/Rtl/SliderExample.rtl.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Slider/Rtl/SliderExample.rtl.steps.ts @@ -1,5 +1,5 @@ import getScreenerSteps from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Slider/Types/SliderExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Slider/Types/SliderExample.shorthand.steps.ts index 9d49c69bb252d2..e38e16ddd6ec16 100644 --- a/packages/fluentui/docs/src/examples/components/Slider/Types/SliderExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Slider/Types/SliderExample.shorthand.steps.ts @@ -1,5 +1,5 @@ import getScreenerSteps from '../commonScreenerSteps'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Slider/commonScreenerSteps.ts b/packages/fluentui/docs/src/examples/components/Slider/commonScreenerSteps.ts index d9cd3e86a43df0..15d75c741a91fb 100644 --- a/packages/fluentui/docs/src/examples/components/Slider/commonScreenerSteps.ts +++ b/packages/fluentui/docs/src/examples/components/Slider/commonScreenerSteps.ts @@ -1,5 +1,5 @@ import { sliderSlotClassNames } from '@fluentui/react-northstar'; -import { ScreenerStep, ScreenerSteps } from '@uifabric/build/screener'; +import { ScreenerStep, ScreenerSteps } from '@fluentui/scripts/screener'; const selectors = { input: `.${sliderSlotClassNames.input}`, diff --git a/packages/fluentui/docs/src/examples/components/SplitButton/Types/SplitButtonExamplePrimary.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/SplitButton/Types/SplitButtonExamplePrimary.shorthand.steps.ts index 5d3409fc75a9ad..ec2d73509da2d9 100644 --- a/packages/fluentui/docs/src/examples/components/SplitButton/Types/SplitButtonExamplePrimary.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/SplitButton/Types/SplitButtonExamplePrimary.shorthand.steps.ts @@ -1,5 +1,5 @@ import { splitButtonToggleClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { triggerButton: `.${splitButtonToggleClassName}`, diff --git a/packages/fluentui/docs/src/examples/components/SplitButton/Usage/SplitButtonPositioningExampleShorthand.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/SplitButton/Usage/SplitButtonPositioningExampleShorthand.shorthand.steps.ts index d0eb6c543c1ae1..57dedf66f37903 100644 --- a/packages/fluentui/docs/src/examples/components/SplitButton/Usage/SplitButtonPositioningExampleShorthand.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/SplitButton/Usage/SplitButtonPositioningExampleShorthand.shorthand.steps.ts @@ -1,5 +1,5 @@ import { splitButtonToggleClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { triggerButton: `.${splitButtonToggleClassName}`, diff --git a/packages/fluentui/docs/src/examples/components/SplitButton/Visual/SplitButtonExampleSmallContainer.steps.ts b/packages/fluentui/docs/src/examples/components/SplitButton/Visual/SplitButtonExampleSmallContainer.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/SplitButton/Visual/SplitButtonExampleSmallContainer.steps.ts +++ b/packages/fluentui/docs/src/examples/components/SplitButton/Visual/SplitButtonExampleSmallContainer.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Status/Types/StatusTypeExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Status/Types/StatusTypeExample.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Status/Types/StatusTypeExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Status/Types/StatusTypeExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/SvgIcon/States/SvgIconExampleDisabled.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/SvgIcon/States/SvgIconExampleDisabled.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/SvgIcon/States/SvgIconExampleDisabled.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/SvgIcon/States/SvgIconExampleDisabled.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/SvgIcon/Types/SvgIconExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/SvgIcon/Types/SvgIconExample.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/SvgIcon/Types/SvgIconExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/SvgIcon/Types/SvgIconExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/SvgIcon/Usage/SvgIconSetExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/SvgIcon/Usage/SvgIconSetExample.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/SvgIcon/Usage/SvgIconSetExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/SvgIcon/Usage/SvgIconSetExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleBordered.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleBordered.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleBordered.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleBordered.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleCircular.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleCircular.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleCircular.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleCircular.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleColor.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleColor.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleColor.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleColor.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleSize.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleSize.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleSize.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleSize.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleSpace.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleSpace.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleSpace.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/SvgIcon/Variations/SvgIconExampleSpace.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Table/Usage/TableExampleNavigable.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Table/Usage/TableExampleNavigable.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Table/Usage/TableExampleNavigable.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Table/Usage/TableExampleNavigable.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/TextArea/Types/TextAreaExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/TextArea/Types/TextAreaExample.shorthand.steps.ts index a572ecff27a4fa..b6eaa99d542e1a 100644 --- a/packages/fluentui/docs/src/examples/components/TextArea/Types/TextAreaExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/TextArea/Types/TextAreaExample.shorthand.steps.ts @@ -1,5 +1,5 @@ import { textAreaClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [builder => builder.focus(`.${textAreaClassName}`).snapshot('Can be focused')], diff --git a/packages/fluentui/docs/src/examples/components/TextArea/Variations/TextAreaExampleInverted.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/TextArea/Variations/TextAreaExampleInverted.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/TextArea/Variations/TextAreaExampleInverted.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/TextArea/Variations/TextAreaExampleInverted.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleMenu.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleMenu.shorthand.steps.ts index 1b7aef1f02377a..6df130e349a849 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleMenu.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleMenu.shorthand.steps.ts @@ -1,5 +1,5 @@ import { toolbarItemWrapperClassName, toolbarMenuItemClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleMenuWithSubmenu.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleMenuWithSubmenu.shorthand.steps.ts index 9f802959061f6d..77d20320b78108 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleMenuWithSubmenu.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleMenuWithSubmenu.shorthand.steps.ts @@ -1,5 +1,5 @@ import { toolbarItemWrapperClassName, toolbarMenuItemClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleOverflow.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleOverflow.shorthand.steps.ts index f4bcecf3c9831e..1e5f76b0919abd 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleOverflow.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleOverflow.shorthand.steps.ts @@ -1,5 +1,5 @@ import { toolbarItemClassName, toolbarItemWrapperClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [ diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExamplePopup.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExamplePopup.shorthand.steps.ts index 2501bf7d4bff7d..12c93bbcf206c7 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExamplePopup.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExamplePopup.shorthand.steps.ts @@ -1,5 +1,5 @@ import { toolbarItemClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleRadioGroup.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleRadioGroup.shorthand.steps.ts index f5ac24db1a7b7f..21dd51863be31e 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleRadioGroup.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Content/ToolbarExampleRadioGroup.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'] }; diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Types/ToolbarExampleEditor.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Types/ToolbarExampleEditor.shorthand.steps.ts index 14a64bcca17978..3ea117244f09fc 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Types/ToolbarExampleEditor.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Types/ToolbarExampleEditor.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Usage/ToolbarExampleActionPopupInMenu.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Usage/ToolbarExampleActionPopupInMenu.shorthand.steps.ts index fb0db556a42b35..c5432e00c4d8aa 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Usage/ToolbarExampleActionPopupInMenu.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Usage/ToolbarExampleActionPopupInMenu.shorthand.steps.ts @@ -1,5 +1,5 @@ import { toolbarMenuItemClassName, toolbarItemWrapperClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Usage/ToolbarExamplePopupInMenu.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Usage/ToolbarExamplePopupInMenu.shorthand.steps.ts index 61db7a6a0cb06a..ae65ac726e391d 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Usage/ToolbarExamplePopupInMenu.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Usage/ToolbarExamplePopupInMenu.shorthand.steps.ts @@ -1,5 +1,5 @@ import { toolbarItemClassName, toolbarMenuItemClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Usage/ToolbarExampleWithTooltip.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Usage/ToolbarExampleWithTooltip.shorthand.steps.ts index c50150b203540c..138de5ae8c93ea 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Usage/ToolbarExampleWithTooltip.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Usage/ToolbarExampleWithTooltip.shorthand.steps.ts @@ -1,5 +1,5 @@ import { toolbarClassName, toolbarItemClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { item: (itemIndex: number) => `.${toolbarClassName} .${toolbarItemClassName}:nth-child(${itemIndex})`, diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleCompose.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleCompose.shorthand.steps.ts index 64ca232b27923e..718a544025cfe1 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleCompose.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleCompose.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [builder => builder.click('#open-menu').snapshot('Shows a menu')], diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleOverflowPositioning.rtl.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleOverflowPositioning.rtl.steps.ts index 3b8a838fe07918..1170ee27fc33b3 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleOverflowPositioning.rtl.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleOverflowPositioning.rtl.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [ diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleOverflowPositioning.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleOverflowPositioning.shorthand.steps.ts index e46a608ff067dd..90449d41aa618f 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleOverflowPositioning.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleOverflowPositioning.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [ diff --git a/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleVariables.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleVariables.shorthand.steps.ts index 18536d7a1aeaf9..92f2babe128d99 100644 --- a/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleVariables.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Toolbar/Visual/ToolbarExampleVariables.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [ diff --git a/packages/fluentui/docs/src/examples/components/Tooltip/Rtl/TooltipExample.rtl.steps.ts b/packages/fluentui/docs/src/examples/components/Tooltip/Rtl/TooltipExample.rtl.steps.ts index 03215ba01c5dd9..82be31947b1a65 100644 --- a/packages/fluentui/docs/src/examples/components/Tooltip/Rtl/TooltipExample.rtl.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Tooltip/Rtl/TooltipExample.rtl.steps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [builder => builder.hover(`.${buttonClassName}`).snapshot('RTL: Shows tooltip')], diff --git a/packages/fluentui/docs/src/examples/components/Tooltip/Types/TooltipExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Tooltip/Types/TooltipExample.shorthand.steps.ts index 73e8f547f5650b..a5840b9803e11e 100644 --- a/packages/fluentui/docs/src/examples/components/Tooltip/Types/TooltipExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Tooltip/Types/TooltipExample.shorthand.steps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { themes: ['teams', 'teamsDark', 'teamsHighContrast'], diff --git a/packages/fluentui/docs/src/examples/components/Tooltip/Types/TooltipExamplePointing.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Tooltip/Types/TooltipExamplePointing.shorthand.steps.ts index 9388d0d3d773a1..738202cb81cceb 100644 --- a/packages/fluentui/docs/src/examples/components/Tooltip/Types/TooltipExamplePointing.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Tooltip/Types/TooltipExamplePointing.shorthand.steps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [ diff --git a/packages/fluentui/docs/src/examples/components/Tooltip/Usage/TooltipExampleDialogContent.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Tooltip/Usage/TooltipExampleDialogContent.shorthand.steps.ts index 174a364121934f..39985914f4f247 100644 --- a/packages/fluentui/docs/src/examples/components/Tooltip/Usage/TooltipExampleDialogContent.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Tooltip/Usage/TooltipExampleDialogContent.shorthand.steps.ts @@ -1,5 +1,5 @@ import { buttonClassName, dialogSlotClassNames } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [ diff --git a/packages/fluentui/docs/src/examples/components/Tooltip/Usage/TooltipExampleTarget.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Tooltip/Usage/TooltipExampleTarget.shorthand.steps.ts index 155cea2d55e532..7c549717429221 100644 --- a/packages/fluentui/docs/src/examples/components/Tooltip/Usage/TooltipExampleTarget.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Tooltip/Usage/TooltipExampleTarget.shorthand.steps.ts @@ -1,5 +1,5 @@ import { buttonClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const config: ScreenerTestsConfig = { steps: [builder => builder.hover(`.${buttonClassName}`).snapshot('Custom target: Shows tooltip')], diff --git a/packages/fluentui/docs/src/examples/components/Tree/Types/TreeExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Tree/Types/TreeExample.shorthand.steps.ts index ebe8554ea88c46..11855c592e5973 100644 --- a/packages/fluentui/docs/src/examples/components/Tree/Types/TreeExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Tree/Types/TreeExample.shorthand.steps.ts @@ -1,5 +1,5 @@ import { treeTitleClassName, treeItemClassName } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { treeItem: (itemIndex: number) => `.${treeItemClassName}:nth-of-type(${itemIndex})`, diff --git a/packages/fluentui/docs/src/examples/components/Tree/Usage/TreeMultiselectBasicExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Tree/Usage/TreeMultiselectBasicExample.shorthand.steps.ts index 9c76040ef9d4e7..d47d2e38c32365 100644 --- a/packages/fluentui/docs/src/examples/components/Tree/Usage/TreeMultiselectBasicExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Tree/Usage/TreeMultiselectBasicExample.shorthand.steps.ts @@ -1,5 +1,5 @@ import { treeItemClassName, treeTitleClassName, treeTitleSlotClassNames } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { treeTitle: (itemIndex: number) => `.${treeItemClassName}:nth-of-type(${itemIndex}) .${treeTitleClassName}`, diff --git a/packages/fluentui/docs/src/examples/components/Tree/Usage/TreeMultiselectExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Tree/Usage/TreeMultiselectExample.shorthand.steps.ts index f0c12fa7318105..cd821e10e52394 100644 --- a/packages/fluentui/docs/src/examples/components/Tree/Usage/TreeMultiselectExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Tree/Usage/TreeMultiselectExample.shorthand.steps.ts @@ -1,5 +1,5 @@ import { treeItemClassName, treeTitleClassName, treeTitleSlotClassNames } from '@fluentui/react-northstar'; -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; const selectors = { treeTitle: (itemIndex: number) => `.${treeItemClassName}:nth-of-type(${itemIndex}) .${treeTitleClassName}`, diff --git a/packages/fluentui/docs/src/examples/components/Tree/Usage/TreeTitleCustomizationExample.shorthand.steps.ts b/packages/fluentui/docs/src/examples/components/Tree/Usage/TreeTitleCustomizationExample.shorthand.steps.ts index 832766f39b8b7c..95b8e3778cb4d1 100644 --- a/packages/fluentui/docs/src/examples/components/Tree/Usage/TreeTitleCustomizationExample.shorthand.steps.ts +++ b/packages/fluentui/docs/src/examples/components/Tree/Usage/TreeTitleCustomizationExample.shorthand.steps.ts @@ -1,4 +1,4 @@ -import { ScreenerTestsConfig } from '@uifabric/build/screener'; +import { ScreenerTestsConfig } from '@fluentui/scripts/screener'; import { treeItemClassName, treeTitleClassName } from '@fluentui/react-northstar'; const selectors = { diff --git a/packages/fluentui/e2e/.gulp.js b/packages/fluentui/e2e/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/e2e/.gulp.js +++ b/packages/fluentui/e2e/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/e2e/babel.config.js b/packages/fluentui/e2e/babel.config.js index f0d74aac1de0c0..8745a9acea9a47 100644 --- a/packages/fluentui/e2e/babel.config.js +++ b/packages/fluentui/e2e/babel.config.js @@ -1,4 +1,4 @@ module.exports = api => ({ - ...require('@uifabric/build/babel')(api), + ...require('@fluentui/scripts/babel')(api), babelrcRoots: ['../../*'], }); diff --git a/packages/fluentui/e2e/e2eApi.ts b/packages/fluentui/e2e/e2eApi.ts index b82678640f5bb8..a51cfc70f982b1 100644 --- a/packages/fluentui/e2e/e2eApi.ts +++ b/packages/fluentui/e2e/e2eApi.ts @@ -1,4 +1,4 @@ -import config from '@uifabric/build/config'; +import config from '@fluentui/scripts/config'; import { Page, Viewport } from 'puppeteer'; import * as path from 'path'; import * as _ from 'lodash'; diff --git a/packages/fluentui/e2e/jest.config.js b/packages/fluentui/e2e/jest.config.js index 5d3a8332162707..6e53e34a4206e7 100644 --- a/packages/fluentui/e2e/jest.config.js +++ b/packages/fluentui/e2e/jest.config.js @@ -1,9 +1,9 @@ -const commonConfig = require('@uifabric/build/jest'); +const commonConfig = require('@fluentui/scripts/jest'); module.exports = { ...commonConfig, moduleNameMapper: require('lerna-alias').jest({ - directory: require('@uifabric/build/monorepo/findGitRoot')(), + directory: require('@fluentui/scripts/monorepo/findGitRoot')(), }), name: 'e2e', testRegex: '.*-test\\.tsx?$', diff --git a/packages/fluentui/e2e/package.json b/packages/fluentui/e2e/package.json index a970080b38acc5..cf0431c2dd313e 100644 --- a/packages/fluentui/e2e/package.json +++ b/packages/fluentui/e2e/package.json @@ -14,7 +14,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/react-router-dom": "^5.1.5", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "lodash": "^4.17.15", "puppeteer": "^1.13.0", diff --git a/packages/fluentui/e2e/setup.test.ts b/packages/fluentui/e2e/setup.test.ts index d8540286be6ebf..fd295cf48c5ef3 100644 --- a/packages/fluentui/e2e/setup.test.ts +++ b/packages/fluentui/e2e/setup.test.ts @@ -1,6 +1,6 @@ import puppeteer from 'puppeteer'; -import { safeLaunchOptions } from '@uifabric/build/puppeteer/puppeteer.config'; +import { safeLaunchOptions } from '@fluentui/scripts/puppeteer/puppeteer.config'; import { E2EApi } from './e2eApi'; jest.setTimeout(30000); diff --git a/packages/fluentui/local-sandbox/babel.config.js b/packages/fluentui/local-sandbox/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/local-sandbox/babel.config.js +++ b/packages/fluentui/local-sandbox/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/perf-test/just.config.ts b/packages/fluentui/perf-test/just.config.ts index cfebca7d75b247..811c60f95fee7b 100644 --- a/packages/fluentui/perf-test/just.config.ts +++ b/packages/fluentui/perf-test/just.config.ts @@ -1,6 +1,6 @@ import path from 'path'; -import '@uifabric/build/tasks/preset'; -import { series, task, argv } from '@uifabric/build'; +import '@fluentui/scripts/tasks/preset'; +import { series, task, argv } from '@fluentui/scripts'; // TODO: FUR integration issues // - FUR build fails when it comes across these new packages inside of packages/ diff --git a/packages/fluentui/perf-test/tsconfig.json b/packages/fluentui/perf-test/tsconfig.json index b0de7f5496a09d..f99cd4602f451c 100644 --- a/packages/fluentui/perf-test/tsconfig.json +++ b/packages/fluentui/perf-test/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "@uifabric/build/typescript/tsconfig.common", + "extends": "@fluentui/scripts/typescript/tsconfig.common", "compilerOptions": { "rootDir": "src", "outDir": "lib", diff --git a/packages/fluentui/projects-test/babel.config.js b/packages/fluentui/projects-test/babel.config.js index f0d74aac1de0c0..8745a9acea9a47 100644 --- a/packages/fluentui/projects-test/babel.config.js +++ b/packages/fluentui/projects-test/babel.config.js @@ -1,4 +1,4 @@ module.exports = api => ({ - ...require('@uifabric/build/babel')(api), + ...require('@fluentui/scripts/babel')(api), babelrcRoots: ['../../*'], }); diff --git a/packages/fluentui/projects-test/package.json b/packages/fluentui/projects-test/package.json index 85b58ceaec6f05..25407b0c57d7b6 100644 --- a/packages/fluentui/projects-test/package.json +++ b/packages/fluentui/projects-test/package.json @@ -11,7 +11,7 @@ "@lerna/package-graph": "^3.14.0", "@types/express": "^4.16.1", "@types/fs-extra": "^8.0.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "express": "^4.15.4", "fs-extra": "^8.1.0", "portfinder": "^1.0.20", @@ -26,6 +26,6 @@ "build": "tsc --noEmit", "lint": "eslint --ext .js,.ts,.tsx .", "lint:fix": "yarn lint --fix", - "test": "node -r @uifabric/build/babel/register src/index.ts" + "test": "node -r @fluentui/scripts/babel/register src/index.ts" } } diff --git a/packages/fluentui/projects-test/src/createReactApp.ts b/packages/fluentui/projects-test/src/createReactApp.ts index ae5fcba2ebf7d8..4b12a7bf9cc489 100644 --- a/packages/fluentui/projects-test/src/createReactApp.ts +++ b/packages/fluentui/projects-test/src/createReactApp.ts @@ -1,5 +1,5 @@ -import config from '@uifabric/build/config'; -import sh from '@uifabric/build/gulp/sh'; +import config from '@fluentui/scripts/config'; +import sh from '@fluentui/scripts/gulp/sh'; import fs from 'fs-extra'; import path from 'path'; import portfinder from 'portfinder'; diff --git a/packages/fluentui/projects-test/src/nextjs.ts b/packages/fluentui/projects-test/src/nextjs.ts index 874ee8353a260f..9fb769a82dcb9c 100644 --- a/packages/fluentui/projects-test/src/nextjs.ts +++ b/packages/fluentui/projects-test/src/nextjs.ts @@ -1,5 +1,5 @@ -import config from '@uifabric/build/config'; -import sh from '@uifabric/build/gulp/sh'; +import config from '@fluentui/scripts/config'; +import sh from '@fluentui/scripts/gulp/sh'; import fs from 'fs-extra'; import path from 'path'; import portfinder from 'portfinder'; diff --git a/packages/fluentui/projects-test/src/packPackages.ts b/packages/fluentui/projects-test/src/packPackages.ts index 224c1386ad212d..15387f95ded041 100644 --- a/packages/fluentui/projects-test/src/packPackages.ts +++ b/packages/fluentui/projects-test/src/packPackages.ts @@ -1,7 +1,7 @@ import Project from '@lerna/project'; import PackageGraph from '@lerna/package-graph'; -import config from '@uifabric/build/config'; -import sh from '@uifabric/build/gulp/sh'; +import config from '@fluentui/scripts/config'; +import sh from '@fluentui/scripts/gulp/sh'; import fs from 'fs-extra'; import path from 'path'; diff --git a/packages/fluentui/projects-test/src/performBrowserTest.ts b/packages/fluentui/projects-test/src/performBrowserTest.ts index c3af0b13eb0034..26b39f67129a40 100644 --- a/packages/fluentui/projects-test/src/performBrowserTest.ts +++ b/packages/fluentui/projects-test/src/performBrowserTest.ts @@ -1,5 +1,5 @@ -import config from '@uifabric/build/config'; -import { safeLaunchOptions } from '@uifabric/build/puppeteer/puppeteer.config'; +import config from '@fluentui/scripts/config'; +import { safeLaunchOptions } from '@fluentui/scripts/puppeteer/puppeteer.config'; import express from 'express'; import http from 'http'; import puppeteer from 'puppeteer'; diff --git a/packages/fluentui/projects-test/src/rollup.ts b/packages/fluentui/projects-test/src/rollup.ts index b8aa2e1dbf975c..19db821dee2be7 100644 --- a/packages/fluentui/projects-test/src/rollup.ts +++ b/packages/fluentui/projects-test/src/rollup.ts @@ -1,5 +1,5 @@ -import config from '@uifabric/build/config'; -import sh from '@uifabric/build/gulp/sh'; +import config from '@fluentui/scripts/config'; +import sh from '@fluentui/scripts/gulp/sh'; import fs from 'fs-extra'; import path from 'path'; import portfinder from 'portfinder'; diff --git a/packages/fluentui/projects-test/src/typings.ts b/packages/fluentui/projects-test/src/typings.ts index 528f4ef6e7cfba..fabde9a1fbd630 100644 --- a/packages/fluentui/projects-test/src/typings.ts +++ b/packages/fluentui/projects-test/src/typings.ts @@ -1,5 +1,5 @@ -import config from '@uifabric/build/config'; -import sh from '@uifabric/build/gulp/sh'; +import config from '@fluentui/scripts/config'; +import sh from '@fluentui/scripts/gulp/sh'; import fs from 'fs-extra'; import path from 'path'; diff --git a/packages/fluentui/react-bindings/.gulp.js b/packages/fluentui/react-bindings/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-bindings/.gulp.js +++ b/packages/fluentui/react-bindings/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-bindings/babel.config.js b/packages/fluentui/react-bindings/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-bindings/babel.config.js +++ b/packages/fluentui/react-bindings/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-bindings/jest.config.js b/packages/fluentui/react-bindings/jest.config.js index a9f9951238511e..ea832e0ab7a64b 100644 --- a/packages/fluentui/react-bindings/jest.config.js +++ b/packages/fluentui/react-bindings/jest.config.js @@ -1,7 +1,7 @@ module.exports = { - ...require('@uifabric/build/jest'), + ...require('@fluentui/scripts/jest'), name: 'react-bindings', moduleNameMapper: require('lerna-alias').jest({ - directory: require('@uifabric/build/monorepo/findGitRoot')(), + directory: require('@fluentui/scripts/monorepo/findGitRoot')(), }), }; diff --git a/packages/fluentui/react-bindings/package.json b/packages/fluentui/react-bindings/package.json index 81fb66fc4dfcbe..cd22972f99e592 100644 --- a/packages/fluentui/react-bindings/package.json +++ b/packages/fluentui/react-bindings/package.json @@ -30,7 +30,7 @@ "@types/classnames": "^2.2.9", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-dom": "16.8.6", diff --git a/packages/fluentui/react-builder/.gulp.js b/packages/fluentui/react-builder/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-builder/.gulp.js +++ b/packages/fluentui/react-builder/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-builder/babel.config.js b/packages/fluentui/react-builder/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-builder/babel.config.js +++ b/packages/fluentui/react-builder/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-builder/jest.config.js b/packages/fluentui/react-builder/jest.config.js index 21391bc11816e4..2cbf78ef877bea 100644 --- a/packages/fluentui/react-builder/jest.config.js +++ b/packages/fluentui/react-builder/jest.config.js @@ -1,5 +1,5 @@ module.exports = { - ...require('@uifabric/build/jest'), + ...require('@fluentui/scripts/jest'), name: 'react-builder', moduleNameMapper: require('lerna-alias').jest(), }; diff --git a/packages/fluentui/react-builder/package.json b/packages/fluentui/react-builder/package.json index 4f6ca2c79e5361..eb24119998bc84 100644 --- a/packages/fluentui/react-builder/package.json +++ b/packages/fluentui/react-builder/package.json @@ -23,7 +23,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react-frame-component": "^4.1.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" }, diff --git a/packages/fluentui/react-component-event-listener/.gulp.js b/packages/fluentui/react-component-event-listener/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-component-event-listener/.gulp.js +++ b/packages/fluentui/react-component-event-listener/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-component-event-listener/babel.config.js b/packages/fluentui/react-component-event-listener/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-component-event-listener/babel.config.js +++ b/packages/fluentui/react-component-event-listener/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-component-event-listener/jest.config.js b/packages/fluentui/react-component-event-listener/jest.config.js index 25a5a6767c508d..efaba58abcc806 100644 --- a/packages/fluentui/react-component-event-listener/jest.config.js +++ b/packages/fluentui/react-component-event-listener/jest.config.js @@ -1,7 +1,7 @@ module.exports = { - ...require('@uifabric/build/jest'), + ...require('@fluentui/scripts/jest'), name: 'react-component-event-listener', moduleNameMapper: require('lerna-alias').jest({ - directory: require('@uifabric/build/monorepo/findGitRoot')(), + directory: require('@fluentui/scripts/monorepo/findGitRoot')(), }), }; diff --git a/packages/fluentui/react-component-event-listener/package.json b/packages/fluentui/react-component-event-listener/package.json index 56c0793a688127..640ebfb70044e2 100644 --- a/packages/fluentui/react-component-event-listener/package.json +++ b/packages/fluentui/react-component-event-listener/package.json @@ -11,7 +11,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", "@types/simulant": "^0.2.0", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "simulant": "^0.2.2", diff --git a/packages/fluentui/react-component-nesting-registry/.gulp.js b/packages/fluentui/react-component-nesting-registry/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-component-nesting-registry/.gulp.js +++ b/packages/fluentui/react-component-nesting-registry/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-component-nesting-registry/babel.config.js b/packages/fluentui/react-component-nesting-registry/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-component-nesting-registry/babel.config.js +++ b/packages/fluentui/react-component-nesting-registry/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-component-nesting-registry/jest.config.js b/packages/fluentui/react-component-nesting-registry/jest.config.js index 3abf407cb67dc8..e575661ac4d4ca 100644 --- a/packages/fluentui/react-component-nesting-registry/jest.config.js +++ b/packages/fluentui/react-component-nesting-registry/jest.config.js @@ -1,7 +1,7 @@ module.exports = { - ...require('@uifabric/build/jest'), + ...require('@fluentui/scripts/jest'), name: 'react-component-nesting-registry', moduleNameMapper: require('lerna-alias').jest({ - directory: require('@uifabric/build/monorepo/findGitRoot')(), + directory: require('@fluentui/scripts/monorepo/findGitRoot')(), }), }; diff --git a/packages/fluentui/react-component-nesting-registry/package.json b/packages/fluentui/react-component-nesting-registry/package.json index d97e96e09ef892..0889820011791c 100644 --- a/packages/fluentui/react-component-nesting-registry/package.json +++ b/packages/fluentui/react-component-nesting-registry/package.json @@ -11,7 +11,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "typescript": "3.7.2" diff --git a/packages/fluentui/react-component-ref/.gulp.js b/packages/fluentui/react-component-ref/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-component-ref/.gulp.js +++ b/packages/fluentui/react-component-ref/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-component-ref/babel.config.js b/packages/fluentui/react-component-ref/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-component-ref/babel.config.js +++ b/packages/fluentui/react-component-ref/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-component-ref/jest.config.js b/packages/fluentui/react-component-ref/jest.config.js index 532469a942c083..2c749b7f28e174 100644 --- a/packages/fluentui/react-component-ref/jest.config.js +++ b/packages/fluentui/react-component-ref/jest.config.js @@ -1,7 +1,7 @@ module.exports = { - ...require('@uifabric/build/jest'), + ...require('@fluentui/scripts/jest'), name: 'react-component-ref', moduleNameMapper: require('lerna-alias').jest({ - directory: require('@uifabric/build/monorepo/findGitRoot')(), + directory: require('@fluentui/scripts/monorepo/findGitRoot')(), }), }; diff --git a/packages/fluentui/react-component-ref/package.json b/packages/fluentui/react-component-ref/package.json index a07cabeff78faf..817d8cab729779 100644 --- a/packages/fluentui/react-component-ref/package.json +++ b/packages/fluentui/react-component-ref/package.json @@ -13,7 +13,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/react-is": "^16.7.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-dom": "16.8.6", diff --git a/packages/fluentui/react-context-selector/.gulp.js b/packages/fluentui/react-context-selector/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-context-selector/.gulp.js +++ b/packages/fluentui/react-context-selector/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-context-selector/babel.config.js b/packages/fluentui/react-context-selector/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-context-selector/babel.config.js +++ b/packages/fluentui/react-context-selector/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-context-selector/jest.config.js b/packages/fluentui/react-context-selector/jest.config.js index 7f71a50fc69b57..91fe1ccb5024ce 100644 --- a/packages/fluentui/react-context-selector/jest.config.js +++ b/packages/fluentui/react-context-selector/jest.config.js @@ -1,7 +1,7 @@ module.exports = { - ...require('@uifabric/build/jest'), + ...require('@fluentui/scripts/jest'), name: 'react-context-selector', moduleNameMapper: require('lerna-alias').jest({ - directory: require('@uifabric/build/monorepo/findGitRoot')(), + directory: require('@fluentui/scripts/monorepo/findGitRoot')(), }), }; diff --git a/packages/fluentui/react-context-selector/package.json b/packages/fluentui/react-context-selector/package.json index b1cda276f51c24..2364cc2994de40 100644 --- a/packages/fluentui/react-context-selector/package.json +++ b/packages/fluentui/react-context-selector/package.json @@ -11,7 +11,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", "@types/react-is": "^16.7.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-is": "^16.6.3", diff --git a/packages/fluentui/react-icons-northstar/.gulp.js b/packages/fluentui/react-icons-northstar/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-icons-northstar/.gulp.js +++ b/packages/fluentui/react-icons-northstar/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-icons-northstar/babel.config.js b/packages/fluentui/react-icons-northstar/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-icons-northstar/babel.config.js +++ b/packages/fluentui/react-icons-northstar/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-icons-northstar/jest.config.js b/packages/fluentui/react-icons-northstar/jest.config.js index f0a9b3fece8d2b..3a56fb3f83a1b6 100644 --- a/packages/fluentui/react-icons-northstar/jest.config.js +++ b/packages/fluentui/react-icons-northstar/jest.config.js @@ -1,5 +1,5 @@ module.exports = { - ...require('@uifabric/build/jest'), + ...require('@fluentui/scripts/jest'), name: 'react-icons-northstar', moduleNameMapper: require('lerna-alias').jest(), }; diff --git a/packages/fluentui/react-icons-northstar/package.json b/packages/fluentui/react-icons-northstar/package.json index 047ac66cd849b2..d2051bccb1c78f 100644 --- a/packages/fluentui/react-icons-northstar/package.json +++ b/packages/fluentui/react-icons-northstar/package.json @@ -16,7 +16,7 @@ "@types/node": "^10.3.2", "@types/react": "16.8.25", "@types/react-is": "^16.7.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-is": "^16.6.3", diff --git a/packages/fluentui/react-northstar-emotion-renderer/.gulp.js b/packages/fluentui/react-northstar-emotion-renderer/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-northstar-emotion-renderer/.gulp.js +++ b/packages/fluentui/react-northstar-emotion-renderer/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-northstar-emotion-renderer/babel.config.js b/packages/fluentui/react-northstar-emotion-renderer/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-northstar-emotion-renderer/babel.config.js +++ b/packages/fluentui/react-northstar-emotion-renderer/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-northstar-emotion-renderer/jest.config.js b/packages/fluentui/react-northstar-emotion-renderer/jest.config.js index 5a79abb5ccb2b4..866db9a67bcc97 100644 --- a/packages/fluentui/react-northstar-emotion-renderer/jest.config.js +++ b/packages/fluentui/react-northstar-emotion-renderer/jest.config.js @@ -1,7 +1,7 @@ module.exports = { - ...require('@uifabric/build/jest'), + ...require('@fluentui/scripts/jest'), name: 'react-northstar-emotion-renderer', moduleNameMapper: require('lerna-alias').jest({ - directory: require('@uifabric/build/monorepo/findGitRoot')(), + directory: require('@fluentui/scripts/monorepo/findGitRoot')(), }), }; diff --git a/packages/fluentui/react-northstar-emotion-renderer/package.json b/packages/fluentui/react-northstar-emotion-renderer/package.json index 94046430b631d7..ff4ba4efd3dc68 100644 --- a/packages/fluentui/react-northstar-emotion-renderer/package.json +++ b/packages/fluentui/react-northstar-emotion-renderer/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "typescript": "3.7.2" diff --git a/packages/fluentui/react-northstar-fela-renderer/.gulp.js b/packages/fluentui/react-northstar-fela-renderer/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-northstar-fela-renderer/.gulp.js +++ b/packages/fluentui/react-northstar-fela-renderer/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-northstar-fela-renderer/babel.config.js b/packages/fluentui/react-northstar-fela-renderer/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-northstar-fela-renderer/babel.config.js +++ b/packages/fluentui/react-northstar-fela-renderer/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-northstar-fela-renderer/jest.config.js b/packages/fluentui/react-northstar-fela-renderer/jest.config.js index aa607d025a382a..c6f3dd2a26cae8 100644 --- a/packages/fluentui/react-northstar-fela-renderer/jest.config.js +++ b/packages/fluentui/react-northstar-fela-renderer/jest.config.js @@ -1,7 +1,7 @@ module.exports = { - ...require('@uifabric/build/jest'), + ...require('@fluentui/scripts/jest'), name: 'react-northstar-fela-renderer', moduleNameMapper: require('lerna-alias').jest({ - directory: require('@uifabric/build/monorepo/findGitRoot')(), + directory: require('@fluentui/scripts/monorepo/findGitRoot')(), }), }; diff --git a/packages/fluentui/react-northstar-fela-renderer/package.json b/packages/fluentui/react-northstar-fela-renderer/package.json index 9d033d1614218f..871ed4b467946a 100644 --- a/packages/fluentui/react-northstar-fela-renderer/package.json +++ b/packages/fluentui/react-northstar-fela-renderer/package.json @@ -22,7 +22,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "typescript": "3.7.2" diff --git a/packages/fluentui/react-northstar-styles-renderer/.gulp.js b/packages/fluentui/react-northstar-styles-renderer/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-northstar-styles-renderer/.gulp.js +++ b/packages/fluentui/react-northstar-styles-renderer/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-northstar-styles-renderer/babel.config.js b/packages/fluentui/react-northstar-styles-renderer/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-northstar-styles-renderer/babel.config.js +++ b/packages/fluentui/react-northstar-styles-renderer/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-northstar-styles-renderer/package.json b/packages/fluentui/react-northstar-styles-renderer/package.json index 1cebde49afb3d5..cf9d4213ea9925 100644 --- a/packages/fluentui/react-northstar-styles-renderer/package.json +++ b/packages/fluentui/react-northstar-styles-renderer/package.json @@ -10,7 +10,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "typescript": "3.7.2" diff --git a/packages/fluentui/react-northstar/.gulp.js b/packages/fluentui/react-northstar/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-northstar/.gulp.js +++ b/packages/fluentui/react-northstar/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-northstar/babel.config.js b/packages/fluentui/react-northstar/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-northstar/babel.config.js +++ b/packages/fluentui/react-northstar/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-northstar/jest.config.js b/packages/fluentui/react-northstar/jest.config.js index 97a8b1cda59f7c..f51c1bc4e25b6b 100644 --- a/packages/fluentui/react-northstar/jest.config.js +++ b/packages/fluentui/react-northstar/jest.config.js @@ -1,11 +1,11 @@ -const commonConfig = require('@uifabric/build/jest'); +const commonConfig = require('@fluentui/scripts/jest'); module.exports = { ...commonConfig, name: 'react', moduleNameMapper: { ...require('lerna-alias').jest({ - directory: require('@uifabric/build/monorepo/findGitRoot')(), + directory: require('@fluentui/scripts/monorepo/findGitRoot')(), }), // Legacy aliases, they should not be used in new tests '^src/(.*)$': `/src/$1`, diff --git a/packages/fluentui/react-northstar/package.json b/packages/fluentui/react-northstar/package.json index d874de7381bc44..11a6fd8a33132d 100644 --- a/packages/fluentui/react-northstar/package.json +++ b/packages/fluentui/react-northstar/package.json @@ -42,7 +42,7 @@ "@types/react-dom": "16.8.4", "@types/react-is": "^16.7.1", "@types/simulant": "^0.2.0", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "csstype": "^2.6.7", "faker": "^4.1.0", "fela-tools": "^10.6.1", diff --git a/packages/fluentui/react-proptypes/.gulp.js b/packages/fluentui/react-proptypes/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-proptypes/.gulp.js +++ b/packages/fluentui/react-proptypes/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-proptypes/babel.config.js b/packages/fluentui/react-proptypes/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-proptypes/babel.config.js +++ b/packages/fluentui/react-proptypes/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-proptypes/jest.config.js b/packages/fluentui/react-proptypes/jest.config.js index 3abf407cb67dc8..e575661ac4d4ca 100644 --- a/packages/fluentui/react-proptypes/jest.config.js +++ b/packages/fluentui/react-proptypes/jest.config.js @@ -1,7 +1,7 @@ module.exports = { - ...require('@uifabric/build/jest'), + ...require('@fluentui/scripts/jest'), name: 'react-component-nesting-registry', moduleNameMapper: require('lerna-alias').jest({ - directory: require('@uifabric/build/monorepo/findGitRoot')(), + directory: require('@fluentui/scripts/monorepo/findGitRoot')(), }), }; diff --git a/packages/fluentui/react-proptypes/package.json b/packages/fluentui/react-proptypes/package.json index 85b50b1061ab19..3db504c6e876e9 100644 --- a/packages/fluentui/react-proptypes/package.json +++ b/packages/fluentui/react-proptypes/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" }, diff --git a/packages/fluentui/react-telemetry/.gulp.js b/packages/fluentui/react-telemetry/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/react-telemetry/.gulp.js +++ b/packages/fluentui/react-telemetry/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/react-telemetry/babel.config.js b/packages/fluentui/react-telemetry/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/react-telemetry/babel.config.js +++ b/packages/fluentui/react-telemetry/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/react-telemetry/package.json b/packages/fluentui/react-telemetry/package.json index 6658f263f7b3c3..4d194ec4615dfd 100644 --- a/packages/fluentui/react-telemetry/package.json +++ b/packages/fluentui/react-telemetry/package.json @@ -16,7 +16,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/react-table": "^7.0.19", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-dom": "16.8.6", diff --git a/packages/fluentui/state/.gulp.js b/packages/fluentui/state/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/state/.gulp.js +++ b/packages/fluentui/state/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/state/babel.config.js b/packages/fluentui/state/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/state/babel.config.js +++ b/packages/fluentui/state/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/state/package.json b/packages/fluentui/state/package.json index a314b60e670f5b..885f8de466be1f 100644 --- a/packages/fluentui/state/package.json +++ b/packages/fluentui/state/package.json @@ -9,7 +9,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" }, diff --git a/packages/fluentui/styles/.gulp.js b/packages/fluentui/styles/.gulp.js index fc15ae19f15311..4cdfc00d7fc9c9 100644 --- a/packages/fluentui/styles/.gulp.js +++ b/packages/fluentui/styles/.gulp.js @@ -1 +1 @@ -module.exports = require('@uifabric/build/gulp/.gulp'); +module.exports = require('@fluentui/scripts/gulp/.gulp'); diff --git a/packages/fluentui/styles/babel.config.js b/packages/fluentui/styles/babel.config.js index 12a35d5c90c44e..f79c71d484fd36 100644 --- a/packages/fluentui/styles/babel.config.js +++ b/packages/fluentui/styles/babel.config.js @@ -1 +1 @@ -module.exports = api => require('@uifabric/build/babel')(api); +module.exports = api => require('@fluentui/scripts/babel')(api); diff --git a/packages/fluentui/styles/jest.config.js b/packages/fluentui/styles/jest.config.js index d222bc8d5cd8a1..3fc3011feff24d 100644 --- a/packages/fluentui/styles/jest.config.js +++ b/packages/fluentui/styles/jest.config.js @@ -1,7 +1,7 @@ module.exports = { - ...require('@uifabric/build/jest'), + ...require('@fluentui/scripts/jest'), name: 'styles', moduleNameMapper: require('lerna-alias').jest({ - directory: require('@uifabric/build/monorepo/findGitRoot')(), + directory: require('@fluentui/scripts/monorepo/findGitRoot')(), }), }; diff --git a/packages/fluentui/styles/package.json b/packages/fluentui/styles/package.json index d41b42f3767853..7c39c80027456d 100644 --- a/packages/fluentui/styles/package.json +++ b/packages/fluentui/styles/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" }, diff --git a/packages/font-icons-mdl2/config/api-extractor.json b/packages/font-icons-mdl2/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/font-icons-mdl2/config/api-extractor.json +++ b/packages/font-icons-mdl2/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/font-icons-mdl2/just.config.ts b/packages/font-icons-mdl2/just.config.ts index 6bf9c93f747ab8..bcc7d9d264037c 100644 --- a/packages/font-icons-mdl2/just.config.ts +++ b/packages/font-icons-mdl2/just.config.ts @@ -1,4 +1,3 @@ -const { preset, just } = require('@uifabric/build'); -const { chain } = just; +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/font-icons-mdl2/package.json b/packages/font-icons-mdl2/package.json index cb9e9fc704a140..7ae2eb141ff701 100644 --- a/packages/font-icons-mdl2/package.json +++ b/packages/font-icons-mdl2/package.json @@ -25,7 +25,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@uifabric/set-version": "^7.0.23", diff --git a/packages/foundation-legacy/config/api-extractor.json b/packages/foundation-legacy/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/foundation-legacy/config/api-extractor.json +++ b/packages/foundation-legacy/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/foundation-legacy/jest.config.js b/packages/foundation-legacy/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/foundation-legacy/jest.config.js +++ b/packages/foundation-legacy/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/foundation-legacy/just.config.ts b/packages/foundation-legacy/just.config.ts index 6bf9c93f747ab8..bcc7d9d264037c 100644 --- a/packages/foundation-legacy/just.config.ts +++ b/packages/foundation-legacy/just.config.ts @@ -1,4 +1,3 @@ -const { preset, just } = require('@uifabric/build'); -const { chain } = just; +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/foundation-legacy/package.json b/packages/foundation-legacy/package.json index 54d93a7a41287d..d10c4df152927c 100644 --- a/packages/foundation-legacy/package.json +++ b/packages/foundation-legacy/package.json @@ -34,7 +34,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/jest-serializer-merge-styles/jest.config.js b/packages/jest-serializer-merge-styles/jest.config.js index ff9be3af6890f0..92ca80c1392c11 100644 --- a/packages/jest-serializer-merge-styles/jest.config.js +++ b/packages/jest-serializer-merge-styles/jest.config.js @@ -1,5 +1,5 @@ const path = require('path'); -const { createConfig } = require('@uifabric/build/jest/jest-resources'); +const { createConfig } = require('@fluentui/scripts/jest/jest-resources'); const config = createConfig({ snapshotSerializers: [path.resolve(__dirname)], diff --git a/packages/jest-serializer-merge-styles/just.config.ts b/packages/jest-serializer-merge-styles/just.config.ts index 2e594dfd511dca..bcc7d9d264037c 100644 --- a/packages/jest-serializer-merge-styles/just.config.ts +++ b/packages/jest-serializer-merge-styles/just.config.ts @@ -1,3 +1,3 @@ -const { preset, just } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/jest-serializer-merge-styles/package.json b/packages/jest-serializer-merge-styles/package.json index 1cca79bce0d02c..7619e44be4315b 100644 --- a/packages/jest-serializer-merge-styles/package.json +++ b/packages/jest-serializer-merge-styles/package.json @@ -33,7 +33,7 @@ "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6", "react-test-renderer": "^16.3.0", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@uifabric/set-version": "^7.0.23", diff --git a/packages/keyboard-key/config/api-extractor.json b/packages/keyboard-key/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/keyboard-key/config/api-extractor.json +++ b/packages/keyboard-key/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/keyboard-key/jest.config.js b/packages/keyboard-key/jest.config.js index 31f71441da17fa..8265d817ce6b2c 100644 --- a/packages/keyboard-key/jest.config.js +++ b/packages/keyboard-key/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig } = require('@uifabric/build/jest/jest-resources'); +let { createConfig } = require('@fluentui/scripts/jest/jest-resources'); const config = createConfig({ collectCoverage: true, diff --git a/packages/keyboard-key/just.config.ts b/packages/keyboard-key/just.config.ts index 6eb560aa66dba3..bcc7d9d264037c 100644 --- a/packages/keyboard-key/just.config.ts +++ b/packages/keyboard-key/just.config.ts @@ -1,3 +1,3 @@ -import { preset } from '@uifabric/build'; +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/keyboard-key/package.json b/packages/keyboard-key/package.json index 07c526c22e8273..c6a157944a5393 100644 --- a/packages/keyboard-key/package.json +++ b/packages/keyboard-key/package.json @@ -23,7 +23,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "tslib": "^1.10.0" diff --git a/packages/merge-styles/config/api-extractor.json b/packages/merge-styles/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/merge-styles/config/api-extractor.json +++ b/packages/merge-styles/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/merge-styles/jest.config.js b/packages/merge-styles/jest.config.js index db86a33591c440..95e4ae4f5e09d2 100644 --- a/packages/merge-styles/jest.config.js +++ b/packages/merge-styles/jest.config.js @@ -1,3 +1,3 @@ -let { createConfig } = require('@uifabric/build/jest/jest-resources'); +let { createConfig } = require('@fluentui/scripts/jest/jest-resources'); module.exports = createConfig(); diff --git a/packages/merge-styles/just.config.ts b/packages/merge-styles/just.config.ts index fc2a29ebbb2470..bcc7d9d264037c 100644 --- a/packages/merge-styles/just.config.ts +++ b/packages/merge-styles/just.config.ts @@ -1,4 +1,3 @@ -const { preset, just } = require('@uifabric/build'); -const { chain, task } = just; +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/merge-styles/package.json b/packages/merge-styles/package.json index e8fa0d7785152f..4c4e03f0ea5a12 100644 --- a/packages/merge-styles/package.json +++ b/packages/merge-styles/package.json @@ -27,7 +27,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@uifabric/set-version": "^7.0.23", diff --git a/packages/monaco-editor/just.config.ts b/packages/monaco-editor/just.config.ts index b7053afc37bcfa..1d59b849d12c90 100644 --- a/packages/monaco-editor/just.config.ts +++ b/packages/monaco-editor/just.config.ts @@ -1,12 +1,10 @@ -// @ts-check -const { just, preset } = require('@uifabric/build'); -const { task, series, parallel, copyInstructions, copyInstructionsTask, cleanTask } = just; -const { ts } = require('@uifabric/build/tasks/ts'); -const { postprocessTask, defaultLibPaths } = require('@uifabric/build/tasks/postprocess'); -const { eslint } = require('@uifabric/build/tasks/eslint'); -const path = require('path'); -const { transformCssTask } = require('./tasks/transformCssTask'); -const { transformDtsTask } = require('./tasks/transformDtsTask'); +import { preset, task, series, parallel, copyInstructions, copyInstructionsTask, cleanTask } from '@fluentui/scripts'; +import { ts } from '@fluentui/scripts/tasks/ts'; +import { postprocessTask, defaultLibPaths } from '@fluentui/scripts/tasks/postprocess'; +import { eslint } from '@fluentui/scripts/tasks/eslint'; +import * as path from 'path'; +import { transformCssTask } from './tasks/transformCssTask'; +import { transformDtsTask } from './tasks/transformDtsTask'; const monacoEditorPath = path.dirname(require.resolve('monaco-editor/package.json')); const monacoSrcPath = path.join(monacoEditorPath, 'esm'); diff --git a/packages/monaco-editor/package.json b/packages/monaco-editor/package.json index d684a22af6e1da..24d15fe8098680 100644 --- a/packages/monaco-editor/package.json +++ b/packages/monaco-editor/package.json @@ -17,7 +17,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "monaco-editor": "0.19.0", "monaco-typescript": "3.6.1" }, diff --git a/packages/monaco-editor/scripts/addMonacoWebpackConfig.js b/packages/monaco-editor/scripts/addMonacoWebpackConfig.js index 379588e6fd632f..b555ccbc6ac647 100644 --- a/packages/monaco-editor/scripts/addMonacoWebpackConfig.js +++ b/packages/monaco-editor/scripts/addMonacoWebpackConfig.js @@ -2,7 +2,7 @@ const path = require('path'); const webpack = require('webpack'); -// This script shouldn't depend on @uifabric/build since it's meant as a utility for other packages +// This script shouldn't depend on @fluentui/scripts since it's meant as a utility for other packages // (potentially outside our repo) /** diff --git a/packages/react-avatar/jest.config.js b/packages/react-avatar/jest.config.js index 02383b4925821c..8e6760391cdb8e 100644 --- a/packages/react-avatar/jest.config.js +++ b/packages/react-avatar/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig } = require('@uifabric/build/jest/jest-resources'); +const { createConfig } = require('@fluentui/scripts/jest/jest-resources'); const path = require('path'); const config = createConfig({ diff --git a/packages/react-avatar/just.config.ts b/packages/react-avatar/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-avatar/just.config.ts +++ b/packages/react-avatar/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-avatar/package.json b/packages/react-avatar/package.json index 376fbfd84236a0..b70f721324c93c 100644 --- a/packages/react-avatar/package.json +++ b/packages/react-avatar/package.json @@ -36,7 +36,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-button/config/api-extractor.json b/packages/react-button/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-button/config/api-extractor.json +++ b/packages/react-button/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-button/jest.config.js b/packages/react-button/jest.config.js index e5f10449e8a292..853bc75ce656cf 100644 --- a/packages/react-button/jest.config.js +++ b/packages/react-button/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +const { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); const path = require('path'); const config = createConfig({ diff --git a/packages/react-button/just.config.ts b/packages/react-button/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-button/just.config.ts +++ b/packages/react-button/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-button/package.json b/packages/react-button/package.json index e7f1914a7deb36..1b966920a33b5e 100644 --- a/packages/react-button/package.json +++ b/packages/react-button/package.json @@ -38,7 +38,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-button/webpack.serve.config.js b/packages/react-button/webpack.serve.config.js index 533a058d276c43..9531ef2bd184be 100644 --- a/packages/react-button/webpack.serve.config.js +++ b/packages/react-button/webpack.serve.config.js @@ -1,4 +1,4 @@ -const resources = require('@uifabric/build/webpack/webpack-resources'); +const resources = require('@fluentui/scripts/webpack/webpack-resources'); // react-button has a legacy demo app to help test the IE 11 polyfill (storybook doesn't work in IE). module.exports = resources.createLegacyDemoAppConfig(); diff --git a/packages/react-cards/config/api-extractor.json b/packages/react-cards/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-cards/config/api-extractor.json +++ b/packages/react-cards/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-cards/jest.config.js b/packages/react-cards/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/react-cards/jest.config.js +++ b/packages/react-cards/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-cards/just.config.ts b/packages/react-cards/just.config.ts index 6bf9c93f747ab8..bcc7d9d264037c 100644 --- a/packages/react-cards/just.config.ts +++ b/packages/react-cards/just.config.ts @@ -1,4 +1,3 @@ -const { preset, just } = require('@uifabric/build'); -const { chain } = just; +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-cards/package.json b/packages/react-cards/package.json index 2a64f577a4a2a7..02bbf6721ff673 100644 --- a/packages/react-cards/package.json +++ b/packages/react-cards/package.json @@ -36,7 +36,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-charting/jest.config.js b/packages/react-charting/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/react-charting/jest.config.js +++ b/packages/react-charting/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-charting/just.config.ts b/packages/react-charting/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-charting/just.config.ts +++ b/packages/react-charting/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-charting/package.json b/packages/react-charting/package.json index 3ecaaf0515837e..7b7b3be64a5156 100644 --- a/packages/react-charting/package.json +++ b/packages/react-charting/package.json @@ -37,7 +37,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-checkbox/config/api-extractor.json b/packages/react-checkbox/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-checkbox/config/api-extractor.json +++ b/packages/react-checkbox/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-checkbox/jest.config.js b/packages/react-checkbox/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/react-checkbox/jest.config.js +++ b/packages/react-checkbox/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-checkbox/just.config.ts b/packages/react-checkbox/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-checkbox/just.config.ts +++ b/packages/react-checkbox/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-checkbox/package.json b/packages/react-checkbox/package.json index 79b328779acd0e..1d02a5f5bd682c 100644 --- a/packages/react-checkbox/package.json +++ b/packages/react-checkbox/package.json @@ -37,7 +37,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-compose/config/api-extractor.json b/packages/react-compose/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-compose/config/api-extractor.json +++ b/packages/react-compose/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-compose/jest.config.js b/packages/react-compose/jest.config.js index e5253803493371..88ad64038d52cf 100644 --- a/packages/react-compose/jest.config.js +++ b/packages/react-compose/jest.config.js @@ -1,5 +1,5 @@ let path = require('path'); -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); module.exports = createConfig({ setupFiles: [path.resolve(path.join(__dirname, 'config', 'tests.js'))], }); diff --git a/packages/react-compose/just.config.ts b/packages/react-compose/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-compose/just.config.ts +++ b/packages/react-compose/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-compose/package.json b/packages/react-compose/package.json index b48b8f8e3623e9..7121562bc2cec8 100644 --- a/packages/react-compose/package.json +++ b/packages/react-compose/package.json @@ -30,7 +30,7 @@ "@types/jest": "~24.9.0", "@types/react": "16.8.25", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6" diff --git a/packages/react-conformance/jest.config.js b/packages/react-conformance/jest.config.js index 02383b4925821c..8e6760391cdb8e 100644 --- a/packages/react-conformance/jest.config.js +++ b/packages/react-conformance/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig } = require('@uifabric/build/jest/jest-resources'); +const { createConfig } = require('@fluentui/scripts/jest/jest-resources'); const path = require('path'); const config = createConfig({ diff --git a/packages/react-conformance/just.config.ts b/packages/react-conformance/just.config.ts index 4382fd55bf3697..6ba74c8de1f030 100644 --- a/packages/react-conformance/just.config.ts +++ b/packages/react-conformance/just.config.ts @@ -1,5 +1,4 @@ -const { preset, just } = require('@uifabric/build'); -const { task } = just; +import { preset, task } from '@fluentui/scripts'; preset(); diff --git a/packages/react-conformance/package.json b/packages/react-conformance/package.json index 211b0996c80e31..c5efd9cd436480 100644 --- a/packages/react-conformance/package.json +++ b/packages/react-conformance/package.json @@ -28,7 +28,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/react-is": "^16.7.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "jest": "~24.9.0", diff --git a/packages/react-docsite-components/jest.config.js b/packages/react-docsite-components/jest.config.js index 78d42e9af44675..88bd4b318f41fb 100644 --- a/packages/react-docsite-components/jest.config.js +++ b/packages/react-docsite-components/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig } = require('@uifabric/build/jest/jest-resources'); +let { createConfig } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-docsite-components/just.config.ts b/packages/react-docsite-components/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-docsite-components/just.config.ts +++ b/packages/react-docsite-components/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-docsite-components/package.json b/packages/react-docsite-components/package.json index 4605468cc5d4bc..9d0d7cf65a969a 100644 --- a/packages/react-docsite-components/package.json +++ b/packages/react-docsite-components/package.json @@ -29,7 +29,7 @@ "@types/react-custom-scrollbars": "^4.0.5", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6" diff --git a/packages/react-examples/.storybook/main.js b/packages/react-examples/.storybook/main.js index 4cd94cce68936e..2c4d7f2ec18ec3 100644 --- a/packages/react-examples/.storybook/main.js +++ b/packages/react-examples/.storybook/main.js @@ -1,5 +1,5 @@ // @ts-check -import custom from '@uifabric/build/storybook/webpack.config'; +import custom from '@fluentui/scripts/storybook/webpack.config'; import * as path from 'path'; import * as webpack from 'webpack'; diff --git a/packages/react-examples/jest.config.js b/packages/react-examples/jest.config.js index e5f10449e8a292..853bc75ce656cf 100644 --- a/packages/react-examples/jest.config.js +++ b/packages/react-examples/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +const { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); const path = require('path'); const config = createConfig({ diff --git a/packages/react-examples/just.config.ts b/packages/react-examples/just.config.ts index 6bf9c93f747ab8..bcc7d9d264037c 100644 --- a/packages/react-examples/just.config.ts +++ b/packages/react-examples/just.config.ts @@ -1,4 +1,3 @@ -const { preset, just } = require('@uifabric/build'); -const { chain } = just; +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-examples/package.json b/packages/react-examples/package.json index f178cb34d0d920..5277ec6eb1dde1 100644 --- a/packages/react-examples/package.json +++ b/packages/react-examples/package.json @@ -32,7 +32,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "chalk": "^2.1.0", "enzyme": "~3.10.0", diff --git a/packages/react-experiments/jest.config.js b/packages/react-experiments/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/react-experiments/jest.config.js +++ b/packages/react-experiments/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-experiments/just.config.ts b/packages/react-experiments/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-experiments/just.config.ts +++ b/packages/react-experiments/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-experiments/package.json b/packages/react-experiments/package.json index a2442cd2e8ad39..92b910e0ddbb03 100644 --- a/packages/react-experiments/package.json +++ b/packages/react-experiments/package.json @@ -40,7 +40,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-flex/just.config.ts b/packages/react-flex/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-flex/just.config.ts +++ b/packages/react-flex/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-flex/package.json b/packages/react-flex/package.json index f3c43706356d1f..579ad379f71571 100644 --- a/packages/react-flex/package.json +++ b/packages/react-flex/package.json @@ -27,7 +27,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/eslint-plugin": "^0.54.1", "react": "16.8.6", "react-app-polyfill": "~1.0.1", diff --git a/packages/react-focus/config/api-extractor.json b/packages/react-focus/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-focus/config/api-extractor.json +++ b/packages/react-focus/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-focus/jest.config.js b/packages/react-focus/jest.config.js index 57cd9fb2494d36..7f9aafe865f34b 100644 --- a/packages/react-focus/jest.config.js +++ b/packages/react-focus/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-focus/just.config.ts b/packages/react-focus/just.config.ts index 6eb560aa66dba3..bcc7d9d264037c 100644 --- a/packages/react-focus/just.config.ts +++ b/packages/react-focus/just.config.ts @@ -1,3 +1,3 @@ -import { preset } from '@uifabric/build'; +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-focus/package.json b/packages/react-focus/package.json index fcdf725ca4a0b3..b927c1bf0f59bb 100644 --- a/packages/react-focus/package.json +++ b/packages/react-focus/package.json @@ -36,7 +36,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-hooks/config/api-extractor.json b/packages/react-hooks/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-hooks/config/api-extractor.json +++ b/packages/react-hooks/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-hooks/jest.config.js b/packages/react-hooks/jest.config.js index 78d42e9af44675..88bd4b318f41fb 100644 --- a/packages/react-hooks/jest.config.js +++ b/packages/react-hooks/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig } = require('@uifabric/build/jest/jest-resources'); +let { createConfig } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-hooks/just.config.ts b/packages/react-hooks/just.config.ts index a858b7184a3a3d..bcc7d9d264037c 100644 --- a/packages/react-hooks/just.config.ts +++ b/packages/react-hooks/just.config.ts @@ -1,4 +1,3 @@ -const { just, preset } = require('@uifabric/build'); -const { chain } = just; +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index fd1bfb7410937e..9e1fe68d1477a3 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -32,7 +32,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/test-utilities": "^7.3.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-icons-mdl2/jest.config.js b/packages/react-icons-mdl2/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/react-icons-mdl2/jest.config.js +++ b/packages/react-icons-mdl2/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-icons-mdl2/just.config.ts b/packages/react-icons-mdl2/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-icons-mdl2/just.config.ts +++ b/packages/react-icons-mdl2/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-icons-mdl2/package.json b/packages/react-icons-mdl2/package.json index 9c161298d2e973..4b2f7fd8904186 100644 --- a/packages/react-icons-mdl2/package.json +++ b/packages/react-icons-mdl2/package.json @@ -35,7 +35,7 @@ "@types/react-is": "^16.7.1", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-image/config/api-extractor.json b/packages/react-image/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-image/config/api-extractor.json +++ b/packages/react-image/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-image/jest.config.js b/packages/react-image/jest.config.js index 02383b4925821c..8e6760391cdb8e 100644 --- a/packages/react-image/jest.config.js +++ b/packages/react-image/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig } = require('@uifabric/build/jest/jest-resources'); +const { createConfig } = require('@fluentui/scripts/jest/jest-resources'); const path = require('path'); const config = createConfig({ diff --git a/packages/react-image/just.config.ts b/packages/react-image/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-image/just.config.ts +++ b/packages/react-image/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-image/package.json b/packages/react-image/package.json index e5aa4a6a96b95e..5cfc633b3d17d6 100644 --- a/packages/react-image/package.json +++ b/packages/react-image/package.json @@ -37,7 +37,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", "@fluentui/react-conformance": "^0.1.5", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-internal/config/api-extractor.json b/packages/react-internal/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-internal/config/api-extractor.json +++ b/packages/react-internal/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-internal/jest.config.js b/packages/react-internal/jest.config.js index a80dfdd1984b8a..2160afa436a444 100644 --- a/packages/react-internal/jest.config.js +++ b/packages/react-internal/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +const { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); const path = require('path'); const config = createConfig({ diff --git a/packages/react-internal/just.config.ts b/packages/react-internal/just.config.ts index 2e594dfd511dca..bcc7d9d264037c 100644 --- a/packages/react-internal/just.config.ts +++ b/packages/react-internal/just.config.ts @@ -1,3 +1,3 @@ -const { preset, just } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-internal/package.json b/packages/react-internal/package.json index f1a2320f8cab15..aee3c0d5a12b8f 100644 --- a/packages/react-internal/package.json +++ b/packages/react-internal/package.json @@ -37,7 +37,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@uifabric/example-data": "^7.1.5", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "@fluentui/test-utilities": "^7.3.0", diff --git a/packages/react-link/config/api-extractor.json b/packages/react-link/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-link/config/api-extractor.json +++ b/packages/react-link/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-link/jest.config.js b/packages/react-link/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/react-link/jest.config.js +++ b/packages/react-link/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-link/just.config.ts b/packages/react-link/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-link/just.config.ts +++ b/packages/react-link/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-link/package.json b/packages/react-link/package.json index e8efdeb2b3fa00..c9473587d364d8 100644 --- a/packages/react-link/package.json +++ b/packages/react-link/package.json @@ -35,7 +35,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-monaco-editor/jest.config.js b/packages/react-monaco-editor/jest.config.js index 4901fd2b736792..25a62e38728b76 100644 --- a/packages/react-monaco-editor/jest.config.js +++ b/packages/react-monaco-editor/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig } = require('@uifabric/build/jest/jest-resources'); +const { createConfig } = require('@fluentui/scripts/jest/jest-resources'); const config = createConfig({ moduleNameMapper: { diff --git a/packages/react-monaco-editor/just.config.ts b/packages/react-monaco-editor/just.config.ts index f2efa3319cad9c..6eb8bb254c43a7 100644 --- a/packages/react-monaco-editor/just.config.ts +++ b/packages/react-monaco-editor/just.config.ts @@ -1,8 +1,5 @@ -// @ts-check - -const { preset, just } = require('@uifabric/build'); -const { task, series, parallel, argv, condition } = just; -const copyTypes = require('./scripts/copyTypes'); +import { preset, task, series } from '@fluentui/scripts'; +import { copyTypes } from './scripts/copyTypes'; preset(); diff --git a/packages/react-monaco-editor/package.json b/packages/react-monaco-editor/package.json index 42c2015a44155b..44b3f7fd2b31d7 100644 --- a/packages/react-monaco-editor/package.json +++ b/packages/react-monaco-editor/package.json @@ -30,7 +30,7 @@ "@types/react-dom": "16.8.4", "@types/react-syntax-highlighter": "^10.2.1", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6", diff --git a/packages/react-monaco-editor/scripts/copyTypes.js b/packages/react-monaco-editor/scripts/copyTypes.ts similarity index 74% rename from packages/react-monaco-editor/scripts/copyTypes.js rename to packages/react-monaco-editor/scripts/copyTypes.ts index 02cd49e1e36be2..7778212b83be2a 100644 --- a/packages/react-monaco-editor/scripts/copyTypes.js +++ b/packages/react-monaco-editor/scripts/copyTypes.ts @@ -1,24 +1,22 @@ -// @ts-check - -const { just } = require('@uifabric/build'); -const { copyTask } = just; -const { expandSourcePath } = require('@uifabric/build/tasks/copy'); -const fs = require('fs'); -const path = require('path'); +/* eslint-disable import/no-extraneous-dependencies */ +import { copyTask } from '@fluentui/scripts'; +import { expandSourcePath } from '@fluentui/scripts/tasks/copy'; +import * as fs from 'fs'; +import * as path from 'path'; // Copy react.d.ts and other .d.ts files it references to the dist folder, // so we can more easily load them into the editor later. -module.exports = function copyTypes() { +export function copyTypes() { const packagesToResolve = ['@fluentui/react', '@uifabric/react-hooks', '@uifabric/example-data']; const resolvedPackages = []; const pathsToCopy = []; while (packagesToResolve.length) { - const package = packagesToResolve.shift(); - resolvedPackages.push(package); + const pkg = packagesToResolve.shift(); + resolvedPackages.push(pkg); - const packageMatch = package.match(/^(@uifabric\/|@fluentui\/)?([\w-]+)/); - const dtsPath = expandSourcePath(`${package}/dist/${packageMatch[2]}.d.ts`); + const packageMatch = pkg.match(/^(@uifabric\/|@fluentui\/)?([\w-]+)/); + const dtsPath = expandSourcePath(`${pkg}/dist/${packageMatch[2]}.d.ts`); if (fs.existsSync(dtsPath)) { // copy this .d.ts @@ -45,4 +43,4 @@ module.exports = function copyTypes() { // so doing require.context() on the root of dist causes an infinite loop in watch mode)) dest: path.join(process.cwd(), 'dist/types'), }); -}; +} diff --git a/packages/react-next/config/api-extractor.json b/packages/react-next/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-next/config/api-extractor.json +++ b/packages/react-next/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-next/jest.config.js b/packages/react-next/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/react-next/jest.config.js +++ b/packages/react-next/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-next/just.config.ts b/packages/react-next/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-next/just.config.ts +++ b/packages/react-next/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-next/package.json b/packages/react-next/package.json index 3089e4152feba4..13accc8ca95a60 100644 --- a/packages/react-next/package.json +++ b/packages/react-next/package.json @@ -42,7 +42,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@uifabric/example-data": "^7.1.5", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "@fluentui/test-utilities": "^7.3.0", diff --git a/packages/react-slider/config/api-extractor.json b/packages/react-slider/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-slider/config/api-extractor.json +++ b/packages/react-slider/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-slider/jest.config.js b/packages/react-slider/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/react-slider/jest.config.js +++ b/packages/react-slider/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-slider/just.config.ts b/packages/react-slider/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-slider/just.config.ts +++ b/packages/react-slider/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-slider/package.json b/packages/react-slider/package.json index e272bec368a9f2..c216801f10c28e 100644 --- a/packages/react-slider/package.json +++ b/packages/react-slider/package.json @@ -35,7 +35,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-stylesheets/config/api-extractor.json b/packages/react-stylesheets/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-stylesheets/config/api-extractor.json +++ b/packages/react-stylesheets/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-stylesheets/jest.config.js b/packages/react-stylesheets/jest.config.js index 57cd9fb2494d36..7f9aafe865f34b 100644 --- a/packages/react-stylesheets/jest.config.js +++ b/packages/react-stylesheets/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-stylesheets/just.config.ts b/packages/react-stylesheets/just.config.ts index 6eb560aa66dba3..bcc7d9d264037c 100644 --- a/packages/react-stylesheets/just.config.ts +++ b/packages/react-stylesheets/just.config.ts @@ -1,3 +1,3 @@ -import { preset } from '@uifabric/build'; +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-stylesheets/package.json b/packages/react-stylesheets/package.json index 30c2f9d4f56354..e594a26b37c81f 100644 --- a/packages/react-stylesheets/package.json +++ b/packages/react-stylesheets/package.json @@ -35,7 +35,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-tabs/config/api-extractor.json b/packages/react-tabs/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-tabs/config/api-extractor.json +++ b/packages/react-tabs/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-tabs/jest.config.js b/packages/react-tabs/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/react-tabs/jest.config.js +++ b/packages/react-tabs/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-tabs/just.config.ts b/packages/react-tabs/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-tabs/just.config.ts +++ b/packages/react-tabs/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-tabs/package.json b/packages/react-tabs/package.json index 98014eba4aff94..fb3aba8f8047d6 100644 --- a/packages/react-tabs/package.json +++ b/packages/react-tabs/package.json @@ -37,7 +37,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "enzyme": "~3.10.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", diff --git a/packages/react-text/jest.config.js b/packages/react-text/jest.config.js index 02383b4925821c..8e6760391cdb8e 100644 --- a/packages/react-text/jest.config.js +++ b/packages/react-text/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig } = require('@uifabric/build/jest/jest-resources'); +const { createConfig } = require('@fluentui/scripts/jest/jest-resources'); const path = require('path'); const config = createConfig({ diff --git a/packages/react-text/just.config.ts b/packages/react-text/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-text/just.config.ts +++ b/packages/react-text/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-text/package.json b/packages/react-text/package.json index 1d9efb7f4b6d6f..2c3185715957a2 100644 --- a/packages/react-text/package.json +++ b/packages/react-text/package.json @@ -36,7 +36,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-theme-provider/config/api-extractor.json b/packages/react-theme-provider/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-theme-provider/config/api-extractor.json +++ b/packages/react-theme-provider/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-theme-provider/jest.config.js b/packages/react-theme-provider/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/react-theme-provider/jest.config.js +++ b/packages/react-theme-provider/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-theme-provider/just.config.ts b/packages/react-theme-provider/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-theme-provider/just.config.ts +++ b/packages/react-theme-provider/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-theme-provider/package.json b/packages/react-theme-provider/package.json index e5b273577cddfe..7506e95165aee5 100644 --- a/packages/react-theme-provider/package.json +++ b/packages/react-theme-provider/package.json @@ -35,7 +35,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/style-utilities": "^7.16.9", "@fluentui/test-utilities": "^7.3.0", "enzyme": "~3.10.0", diff --git a/packages/react-toggle/config/api-extractor.json b/packages/react-toggle/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-toggle/config/api-extractor.json +++ b/packages/react-toggle/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-toggle/jest.config.js b/packages/react-toggle/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/react-toggle/jest.config.js +++ b/packages/react-toggle/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-toggle/just.config.ts b/packages/react-toggle/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-toggle/just.config.ts +++ b/packages/react-toggle/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-toggle/package.json b/packages/react-toggle/package.json index a84ff88d2bc247..282ead2e8ae1fa 100644 --- a/packages/react-toggle/package.json +++ b/packages/react-toggle/package.json @@ -35,7 +35,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "enzyme": "~3.10.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", diff --git a/packages/react-utilities/config/api-extractor.json b/packages/react-utilities/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-utilities/config/api-extractor.json +++ b/packages/react-utilities/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-utilities/jest.config.js b/packages/react-utilities/jest.config.js index 78d42e9af44675..88bd4b318f41fb 100644 --- a/packages/react-utilities/jest.config.js +++ b/packages/react-utilities/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig } = require('@uifabric/build/jest/jest-resources'); +let { createConfig } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/react-utilities/just.config.ts b/packages/react-utilities/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-utilities/just.config.ts +++ b/packages/react-utilities/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-utilities/package.json b/packages/react-utilities/package.json index c8ed743207d086..7e029b06354c77 100644 --- a/packages/react-utilities/package.json +++ b/packages/react-utilities/package.json @@ -35,7 +35,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-window-provider/config/api-extractor.json b/packages/react-window-provider/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react-window-provider/config/api-extractor.json +++ b/packages/react-window-provider/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react-window-provider/jest.config.js b/packages/react-window-provider/jest.config.js index 02383b4925821c..8e6760391cdb8e 100644 --- a/packages/react-window-provider/jest.config.js +++ b/packages/react-window-provider/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig } = require('@uifabric/build/jest/jest-resources'); +const { createConfig } = require('@fluentui/scripts/jest/jest-resources'); const path = require('path'); const config = createConfig({ diff --git a/packages/react-window-provider/just.config.ts b/packages/react-window-provider/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react-window-provider/just.config.ts +++ b/packages/react-window-provider/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react-window-provider/package.json b/packages/react-window-provider/package.json index eba6104362f716..f181ada5b55698 100644 --- a/packages/react-window-provider/package.json +++ b/packages/react-window-provider/package.json @@ -32,7 +32,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6" diff --git a/packages/react/config/api-extractor-compat.json b/packages/react/config/api-extractor-compat.json index ff2b54d27a821d..3628eae45bca44 100644 --- a/packages/react/config/api-extractor-compat.json +++ b/packages/react/config/api-extractor-compat.json @@ -1,6 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@uifabric/build/api-extractor/api-extractor.common.json", + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json", "mainEntryPointFilePath": "/lib/compat/index.d.ts", "apiReport": { "enabled": true, diff --git a/packages/react/config/api-extractor.json b/packages/react/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/react/config/api-extractor.json +++ b/packages/react/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/react/jest.config.js b/packages/react/jest.config.js index a80dfdd1984b8a..2160afa436a444 100644 --- a/packages/react/jest.config.js +++ b/packages/react/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +const { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); const path = require('path'); const config = createConfig({ diff --git a/packages/react/just.config.ts b/packages/react/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/react/just.config.ts +++ b/packages/react/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/react/package.json b/packages/react/package.json index 7978f3a499e23e..88337b0205c68a 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -41,7 +41,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@uifabric/example-data": "^7.1.5", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "@fluentui/test-utilities": "^7.3.0", diff --git a/packages/scheme-utilities/just.config.ts b/packages/scheme-utilities/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/scheme-utilities/just.config.ts +++ b/packages/scheme-utilities/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/scheme-utilities/package.json b/packages/scheme-utilities/package.json index e0581c1b7ff3d2..04d04976146d2c 100644 --- a/packages/scheme-utilities/package.json +++ b/packages/scheme-utilities/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@fluentui/theme": "^1.2.1", diff --git a/packages/set-version/just.config.ts b/packages/set-version/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/set-version/just.config.ts +++ b/packages/set-version/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/set-version/package.json b/packages/set-version/package.json index ea2b0ec27d6568..00ed7c4de38548 100644 --- a/packages/set-version/package.json +++ b/packages/set-version/package.json @@ -21,7 +21,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "tslib": "^1.10.0" diff --git a/packages/storybook/just.config.ts b/packages/storybook/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/storybook/just.config.ts +++ b/packages/storybook/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/storybook/package.json b/packages/storybook/package.json index 5d3397d784a87a..cebde859614b5e 100644 --- a/packages/storybook/package.json +++ b/packages/storybook/package.json @@ -20,7 +20,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "react": "16.8.6", "react-dom": "16.8.6" }, diff --git a/packages/style-utilities/config/api-extractor.json b/packages/style-utilities/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/style-utilities/config/api-extractor.json +++ b/packages/style-utilities/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/style-utilities/jest.config.js b/packages/style-utilities/jest.config.js index db86a33591c440..95e4ae4f5e09d2 100644 --- a/packages/style-utilities/jest.config.js +++ b/packages/style-utilities/jest.config.js @@ -1,3 +1,3 @@ -let { createConfig } = require('@uifabric/build/jest/jest-resources'); +let { createConfig } = require('@fluentui/scripts/jest/jest-resources'); module.exports = createConfig(); diff --git a/packages/style-utilities/just.config.ts b/packages/style-utilities/just.config.ts index fc2a29ebbb2470..bcc7d9d264037c 100644 --- a/packages/style-utilities/just.config.ts +++ b/packages/style-utilities/just.config.ts @@ -1,4 +1,3 @@ -const { preset, just } = require('@uifabric/build'); -const { chain, task } = just; +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/style-utilities/package.json b/packages/style-utilities/package.json index ada632d088c52b..7f8206a436d02f 100644 --- a/packages/style-utilities/package.json +++ b/packages/style-utilities/package.json @@ -30,7 +30,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@microsoft/load-themed-styles": "^1.10.26", diff --git a/packages/test-utilities/just.config.ts b/packages/test-utilities/just.config.ts index d290721e39c4e1..c6cf37c858c826 100644 --- a/packages/test-utilities/just.config.ts +++ b/packages/test-utilities/just.config.ts @@ -1,5 +1,4 @@ -const { preset, just } = require('@uifabric/build'); -const { task, series } = just; +import { preset, task, series } from '@fluentui/scripts'; preset(); diff --git a/packages/test-utilities/package.json b/packages/test-utilities/package.json index 71c970e50aa56a..35f7ed731c6473 100644 --- a/packages/test-utilities/package.json +++ b/packages/test-utilities/package.json @@ -40,7 +40,7 @@ "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6", "react-test-renderer": "^16.3.0", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@uifabric/set-version": "^7.0.23" diff --git a/packages/theme-samples/just.config.ts b/packages/theme-samples/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/theme-samples/just.config.ts +++ b/packages/theme-samples/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/theme-samples/package.json b/packages/theme-samples/package.json index 2f30b15561db9e..41c42a39a7526f 100644 --- a/packages/theme-samples/package.json +++ b/packages/theme-samples/package.json @@ -23,7 +23,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^7.0.0" + "@fluentui/scripts": "^7.0.0" }, "dependencies": { "@fluentui/react": "^7.142.0", diff --git a/packages/theme/config/api-extractor.json b/packages/theme/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/theme/config/api-extractor.json +++ b/packages/theme/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/theme/jest.config.js b/packages/theme/jest.config.js index e76f458c88649f..7388104706e346 100644 --- a/packages/theme/jest.config.js +++ b/packages/theme/jest.config.js @@ -1,4 +1,4 @@ -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); let path = require('path'); const config = createConfig({ diff --git a/packages/theme/just.config.ts b/packages/theme/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/packages/theme/just.config.ts +++ b/packages/theme/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/theme/package.json b/packages/theme/package.json index ea035eb03e634f..22f594b29e29ec 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -34,7 +34,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/utilities/config/api-extractor.json b/packages/utilities/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/packages/utilities/config/api-extractor.json +++ b/packages/utilities/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/packages/utilities/jest.config.js b/packages/utilities/jest.config.js index f66a1808f2d2d3..8dc8ebea05812d 100644 --- a/packages/utilities/jest.config.js +++ b/packages/utilities/jest.config.js @@ -1,5 +1,5 @@ let path = require('path'); -let { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +let { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); module.exports = createConfig({ setupFiles: [path.resolve(path.join(__dirname, 'config', 'tests.js'))], snapshotSerializers: [resolveMergeStylesSerializer()], diff --git a/packages/utilities/just.config.ts b/packages/utilities/just.config.ts index 6bf9c93f747ab8..bcc7d9d264037c 100644 --- a/packages/utilities/just.config.ts +++ b/packages/utilities/just.config.ts @@ -1,4 +1,3 @@ -const { preset, just } = require('@uifabric/build'); -const { chain } = just; +import { preset } from '@fluentui/scripts'; preset(); diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 802bba53a270df..481196842cf2f1 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -36,7 +36,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "@fluentui/jest-serializer-merge-styles": "^7.2.2", "@fluentui/test-utilities": "^7.3.0", "enzyme": "~3.10.0", diff --git a/packages/webpack-utilities/just.config.ts b/packages/webpack-utilities/just.config.ts index af3c0b679a4e0e..ab644d198e0d42 100644 --- a/packages/webpack-utilities/just.config.ts +++ b/packages/webpack-utilities/just.config.ts @@ -1,5 +1,4 @@ -const { preset, just } = require('@uifabric/build'); -const { task } = just; +import { preset, task } from '@fluentui/scripts'; preset(); task('build', 'build:node-lib').cached(); diff --git a/packages/webpack-utilities/package.json b/packages/webpack-utilities/package.json index 5439cd123cca36..c64ba9ddd047d6 100644 --- a/packages/webpack-utilities/package.json +++ b/packages/webpack-utilities/package.json @@ -20,7 +20,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/loader-utils": "1.1.3", "@types/webpack": "4.4.0", - "@uifabric/build": "^7.0.0", + "@fluentui/scripts": "^7.0.0", "webpack": "4.43.0" }, "dependencies": { diff --git a/scripts/create-package/plop-templates-node/jest.config.js b/scripts/create-package/plop-templates-node/jest.config.js index 38601aa205bbcd..ddecc5348fd564 100644 --- a/scripts/create-package/plop-templates-node/jest.config.js +++ b/scripts/create-package/plop-templates-node/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig } = require('@uifabric/build/jest/jest-resources'); +const { createConfig } = require('@fluentui/scripts/jest/jest-resources'); const config = createConfig({}); diff --git a/scripts/create-package/plop-templates-node/just.config.ts b/scripts/create-package/plop-templates-node/just.config.ts index 4382fd55bf3697..6ba74c8de1f030 100644 --- a/scripts/create-package/plop-templates-node/just.config.ts +++ b/scripts/create-package/plop-templates-node/just.config.ts @@ -1,5 +1,4 @@ -const { preset, just } = require('@uifabric/build'); -const { task } = just; +import { preset, task } from '@fluentui/scripts'; preset(); diff --git a/scripts/create-package/plop-templates-node/package.json.hbs b/scripts/create-package/plop-templates-node/package.json.hbs index 189601ba8c565e..d9d55f10e0f0e3 100644 --- a/scripts/create-package/plop-templates-node/package.json.hbs +++ b/scripts/create-package/plop-templates-node/package.json.hbs @@ -24,7 +24,7 @@ "@fluentui/eslint-plugin": "", "@types/jest": "", "@types/node": "", - "@uifabric/build": "" + "@fluentui/scripts": "" }, "dependencies": { "tslib": "" diff --git a/scripts/create-package/plop-templates-react/config/api-extractor.json b/scripts/create-package/plop-templates-react/config/api-extractor.json index 69c892ee6067bc..c8406ab42ca3cc 100644 --- a/scripts/create-package/plop-templates-react/config/api-extractor.json +++ b/scripts/create-package/plop-templates-react/config/api-extractor.json @@ -1,3 +1,3 @@ { - "extends": "@uifabric/build/api-extractor/api-extractor.common.json" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json" } diff --git a/scripts/create-package/plop-templates-react/jest.config.js b/scripts/create-package/plop-templates-react/jest.config.js index a80dfdd1984b8a..2160afa436a444 100644 --- a/scripts/create-package/plop-templates-react/jest.config.js +++ b/scripts/create-package/plop-templates-react/jest.config.js @@ -1,4 +1,4 @@ -const { createConfig, resolveMergeStylesSerializer } = require('@uifabric/build/jest/jest-resources'); +const { createConfig, resolveMergeStylesSerializer } = require('@fluentui/scripts/jest/jest-resources'); const path = require('path'); const config = createConfig({ diff --git a/scripts/create-package/plop-templates-react/just.config.ts b/scripts/create-package/plop-templates-react/just.config.ts index 8e468e33d56c6e..bcc7d9d264037c 100644 --- a/scripts/create-package/plop-templates-react/just.config.ts +++ b/scripts/create-package/plop-templates-react/just.config.ts @@ -1,3 +1,3 @@ -const { preset } = require('@uifabric/build'); +import { preset } from '@fluentui/scripts'; preset(); diff --git a/scripts/create-package/plop-templates-react/package.json.hbs b/scripts/create-package/plop-templates-react/package.json.hbs index 856893a371c336..42474eb120267c 100644 --- a/scripts/create-package/plop-templates-react/package.json.hbs +++ b/scripts/create-package/plop-templates-react/package.json.hbs @@ -34,7 +34,7 @@ "@types/react-dom": "", "@types/react-test-renderer": "", "@types/webpack-env": "", - "@uifabric/build": "", + "@fluentui/scripts": "", "enzyme": "", "enzyme-adapter-react-16": "", "react": "", diff --git a/scripts/gulp/.gulp.js b/scripts/gulp/.gulp.js index 74de788d1f12e6..92421f5eba985f 100644 --- a/scripts/gulp/.gulp.js +++ b/scripts/gulp/.gulp.js @@ -1,6 +1,6 @@ // https://github.com/gulpjs/gulp-cli#configuration module.exports = { flags: { - require: '@uifabric/build/babel/register', + require: '@fluentui/scripts/babel/register', }, }; diff --git a/scripts/index.js b/scripts/index.js deleted file mode 100644 index 64c60907efb3dd..00000000000000 --- a/scripts/index.js +++ /dev/null @@ -1,8 +0,0 @@ -const just = require('just-scripts'); - -module.exports = { - preset: require('./just.config'), - // TODO (fui repo merge): re-export all the just exports at the root - just, - ...just, -}; diff --git a/scripts/index.ts b/scripts/index.ts new file mode 100644 index 00000000000000..85e934717ad0b7 --- /dev/null +++ b/scripts/index.ts @@ -0,0 +1,2 @@ +export { preset } from './just.config'; +export * from 'just-scripts'; diff --git a/scripts/just.config.ts b/scripts/just.config.ts index 2ab12874df7d68..20a6dddbf22998 100644 --- a/scripts/just.config.ts +++ b/scripts/just.config.ts @@ -1,4 +1,3 @@ -// @ts-check import { task, series, parallel, condition, option, argv, addResolvePath, resolveCwd } from 'just-scripts'; import path from 'path'; @@ -12,12 +11,12 @@ import { ts } from './tasks/ts'; import { eslint } from './tasks/eslint'; import { webpack, webpackDevServer } from './tasks/webpack'; import { verifyApiExtractor, updateApiExtractor } from './tasks/api-extractor'; -import lintImports from './tasks/lint-imports'; -import prettier from './tasks/prettier'; -import bundleSizeCollect from './tasks/bundle-size-collect'; -import checkForModifiedFiles from './tasks/check-for-modified-files'; -import generateVersionFiles from './tasks/generate-version-files'; -import generatePackageManifestTask from './tasks/generate-package-manifest'; +import { lintImports } from './tasks/lint-imports'; +import { prettier } from './tasks/prettier'; +import { bundleSizeCollect } from './tasks/bundle-size-collect'; +import { checkForModifiedFiles } from './tasks/check-for-modified-files'; +import { generateVersionFiles } from './tasks/generate-version-files'; +import { generatePackageManifestTask } from './tasks/generate-package-manifest'; import { postprocessTask } from './tasks/postprocess'; import { postprocessAmdTask } from './tasks/postprocess-amd'; import { postprocessCommonjsTask } from './tasks/postprocess-commonjs'; @@ -42,6 +41,8 @@ function basicPreset() { option('registry', { default: 'https://registry.npmjs.org' } as any); option('push', { default: true } as any); + + option('package', { alias: 'p' }); } /** Resolve whereas a storybook config + stories exist for a given path */ @@ -57,7 +58,7 @@ function checkForStorybookExistence() { ); } -function preset() { +export function preset() { basicPreset(); task('no-op', () => {}).cached(); @@ -138,4 +139,3 @@ function preset() { } preset.basic = basicPreset; -export = preset; diff --git a/scripts/package.json b/scripts/package.json index 1d8e8ddf3397a4..3a31ba4e29140b 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -1,5 +1,5 @@ { - "name": "@uifabric/build", + "name": "@fluentui/scripts", "version": "7.0.0", "private": true, "main": "./index.js", diff --git a/scripts/screener/screener.config.js b/scripts/screener/screener.config.js index 29e5da6e5f9047..e0ceb39aa6599b 100644 --- a/scripts/screener/screener.config.js +++ b/scripts/screener/screener.config.js @@ -1,6 +1,6 @@ // @ts-check -require('@uifabric/build/babel/register'); +require('@fluentui/scripts/babel/register'); const cp = require('child_process'); diff --git a/scripts/tasks/api-extractor.js b/scripts/tasks/api-extractor.ts similarity index 76% rename from scripts/tasks/api-extractor.js rename to scripts/tasks/api-extractor.ts index 35d35c3cbad708..e098abe41ae356 100644 --- a/scripts/tasks/api-extractor.js +++ b/scripts/tasks/api-extractor.ts @@ -1,8 +1,6 @@ -// @ts-check - -const glob = require('glob'); -const path = require('path'); -const { apiExtractorVerifyTask, apiExtractorUpdateTask, task, series } = require('just-scripts'); +import * as glob from 'glob'; +import * as path from 'path'; +import { apiExtractorVerifyTask, apiExtractorUpdateTask, task, series } from 'just-scripts'; const apiExtractorConfigs = glob .sync(path.join(process.cwd(), 'config/api-extractor*.json')) @@ -11,7 +9,7 @@ const apiExtractorConfigs = glob // Whether to update automatically on build const localBuild = !process.env.TF_BUILD; -function verifyApiExtractor() { +export function verifyApiExtractor() { return apiExtractorConfigs.length ? series( ...apiExtractorConfigs.map(([configPath, configName]) => { @@ -23,7 +21,7 @@ function verifyApiExtractor() { : 'no-op'; } -function updateApiExtractor() { +export function updateApiExtractor() { return apiExtractorConfigs.length ? series( ...apiExtractorConfigs.map(([configPath, configName]) => { @@ -34,5 +32,3 @@ function updateApiExtractor() { ) : 'no-op'; } - -module.exports = { verifyApiExtractor, updateApiExtractor }; diff --git a/scripts/tasks/bundle-size-collect.js b/scripts/tasks/bundle-size-collect.ts similarity index 89% rename from scripts/tasks/bundle-size-collect.js rename to scripts/tasks/bundle-size-collect.ts index 8d1e8b9ae3ee8a..c0d3521e07d486 100644 --- a/scripts/tasks/bundle-size-collect.js +++ b/scripts/tasks/bundle-size-collect.ts @@ -1,6 +1,7 @@ -// @ts-check +import * as fs from 'fs'; +import * as path from 'path'; -module.exports = function bundleSizeCollect() { +export function bundleSizeCollect() { // This script collates bundle size information from // minified files in apps/test-bundles/dist and writes to // apps/test-bundles/dist/bundlesizes.json. @@ -8,9 +9,6 @@ module.exports = function bundleSizeCollect() { // Azure Dev Ops and used to compare baseline and PR file size // information which gets reported by Size Auditor - const fs = require('fs'); - const path = require('path'); - const distRoot = path.join(__dirname, '../../apps/test-bundles/dist'); const sizes = {}; const outputFilename = 'bundlesizes.json'; @@ -34,4 +32,4 @@ module.exports = function bundleSizeCollect() { function getComponentName(fileName) { return path.basename(fileName, '.min.js'); } -}; +} diff --git a/scripts/tasks/check-for-modified-files.js b/scripts/tasks/check-for-modified-files.ts similarity index 78% rename from scripts/tasks/check-for-modified-files.js rename to scripts/tasks/check-for-modified-files.ts index 61904e643b4dbc..dc7d06ee0d4e03 100644 --- a/scripts/tasks/check-for-modified-files.js +++ b/scripts/tasks/check-for-modified-files.ts @@ -1,8 +1,8 @@ -const { logger } = require('just-scripts'); +import { logger } from 'just-scripts'; +import { EOL } from 'os'; +import { execSync } from 'child_process'; -module.exports = function checkForModifiedFiles() { - const EOL = require('os').EOL; - const execSync = require('child_process').execSync; +export function checkForModifiedFiles() { const notEmpty = value => value.trim() !== ''; const gitStatusOutput = execSync('git status -s --untracked-files=no').toString('utf8'); @@ -18,4 +18,4 @@ module.exports = function checkForModifiedFiles() { throw new Error('change file is required'); } -}; +} diff --git a/scripts/tasks/clean.js b/scripts/tasks/clean.ts similarity index 54% rename from scripts/tasks/clean.js rename to scripts/tasks/clean.ts index c4a31a6509648a..f2d2016e9f7094 100644 --- a/scripts/tasks/clean.js +++ b/scripts/tasks/clean.ts @@ -1,14 +1,13 @@ -// @ts-check +import * as path from 'path'; +import { cleanTask } from 'just-scripts'; +import * as glob from 'glob'; -const path = require('path'); -const { cleanTask } = require('just-scripts'); -const glob = require('glob'); - -exports.clean = cleanTask( - [ +export const clean = cleanTask({ + paths: [ 'lib', 'temp', 'dist', + 'dist-storybook', // Keep this in clean for actually cleaning up legacy content. 'lib-amd', 'lib-commonjs', 'lib-es2015', // Keep this in clean for actually cleaning up legacy content. @@ -16,4 +15,4 @@ exports.clean = cleanTask( 'src/**/*.scss.ts', ...glob.sync('*.tsbuildinfo', { dot: true }), ].map(p => path.join(process.cwd(), p)), -); +}); diff --git a/scripts/tasks/copy.js b/scripts/tasks/copy.ts similarity index 77% rename from scripts/tasks/copy.js rename to scripts/tasks/copy.ts index dcc4d23f31c2b5..6e1c6efc163273 100644 --- a/scripts/tasks/copy.js +++ b/scripts/tasks/copy.ts @@ -1,10 +1,8 @@ -// @ts-check +import * as fs from 'fs'; +import * as path from 'path'; +import { series, resolveCwd, copyTask } from 'just-scripts'; -const fs = require('fs'); -const path = require('path'); -const { series, resolveCwd, copyTask } = require('just-scripts'); - -function expandSourcePath(pattern) { +export function expandSourcePath(pattern) { if (!pattern) { return null; } @@ -32,7 +30,7 @@ function expandSourcePath(pattern) { } } -function copy() { +export function copy() { let tasks = []; let configPath = path.resolve(process.cwd(), 'config/pre-copy.json'); @@ -47,15 +45,13 @@ function copy() { const sources = config.copyTo[destination]; destination = path.resolve(process.cwd(), destination); tasks.push( - copyTask( - sources.map(src => expandSourcePath(src)), - destination, - ), + copyTask({ + paths: sources.map(src => expandSourcePath(src)), + dest: destination, + }), ); } } return series.apply(null, tasks); } - -module.exports = { expandSourcePath, copy }; diff --git a/scripts/tasks/eslint.js b/scripts/tasks/eslint.ts similarity index 69% rename from scripts/tasks/eslint.js rename to scripts/tasks/eslint.ts index 119821c6a9c253..eb263fe88c8fc2 100644 --- a/scripts/tasks/eslint.js +++ b/scripts/tasks/eslint.ts @@ -1,10 +1,8 @@ -// @ts-check +import { eslintTask } from 'just-scripts'; +import * as configHelpers from '@fluentui/eslint-plugin/src/utils/configHelpers'; +import * as path from 'path'; -const { eslintTask } = require('just-scripts'); -const configHelpers = require('@fluentui/eslint-plugin/src/utils/configHelpers'); -const path = require('path'); - -exports.eslint = eslintTask({ +export const eslint = eslintTask({ // TODO: also lint config files? files: [path.join(process.cwd(), 'src')], extensions: configHelpers.extensions.join(','), diff --git a/scripts/tasks/fluentui-publish.js b/scripts/tasks/fluentui-publish.ts similarity index 65% rename from scripts/tasks/fluentui-publish.js rename to scripts/tasks/fluentui-publish.ts index 19da9f48b0213a..3aebc06f602a1e 100644 --- a/scripts/tasks/fluentui-publish.js +++ b/scripts/tasks/fluentui-publish.ts @@ -1,10 +1,10 @@ -const { argv, logger } = require('just-scripts'); -const { spawnSync } = require('child_process'); -const path = require('path'); +import { argv, logger } from 'just-scripts'; +import { spawnSync } from 'child_process'; +import * as path from 'path'; -const findGitRoot = require('../monorepo/findGitRoot'); +import { findGitRoot } from '../monorepo/index'; -module.exports.fluentuiLernaPublish = function(bumpType) { +export function fluentuiLernaPublish(bumpType) { return function() { const fluentRoot = path.resolve(findGitRoot(), 'packages', 'fluentui'); const lernaPublishArgs = [ @@ -26,7 +26,7 @@ module.exports.fluentuiLernaPublish = function(bumpType) { }); if (result.status) { - throw new Error(result.error || `lerna publish failed with status ${result.status}`); + throw new Error(result.error?.stack || `lerna publish failed with status ${result.status}`); } }; -}; +} diff --git a/scripts/tasks/generate-package-manifest.js b/scripts/tasks/generate-package-manifest.js deleted file mode 100644 index ca8073fc6a6fe2..00000000000000 --- a/scripts/tasks/generate-package-manifest.js +++ /dev/null @@ -1,10 +0,0 @@ -const path = require('path'); -const fs = require('fs'); -const getAllPackageInfo = require('../monorepo/getAllPackageInfo'); -const findGitRoot = require('../monorepo/findGitRoot'); - -module.exports = function generatePackageManifestTask() { - const allPackageInfo = getAllPackageInfo(); - const root = findGitRoot(); - fs.writeFileSync(path.join(root, 'package-manifest.json'), JSON.stringify(allPackageInfo, null, 2)); -}; diff --git a/scripts/tasks/generate-package-manifest.ts b/scripts/tasks/generate-package-manifest.ts new file mode 100644 index 00000000000000..3b641118c2bc83 --- /dev/null +++ b/scripts/tasks/generate-package-manifest.ts @@ -0,0 +1,9 @@ +import * as path from 'path'; +import * as fs from 'fs'; +import { getAllPackageInfo, findGitRoot } from '../monorepo/index'; + +export function generatePackageManifestTask() { + const allPackageInfo = getAllPackageInfo(); + const root = findGitRoot(); + fs.writeFileSync(path.join(root, 'package-manifest.json'), JSON.stringify(allPackageInfo, null, 2)); +} diff --git a/scripts/tasks/generate-version-files.js b/scripts/tasks/generate-version-files.ts similarity index 91% rename from scripts/tasks/generate-version-files.js rename to scripts/tasks/generate-version-files.ts index 46df22f1e92957..5874afdb6e7fa7 100644 --- a/scripts/tasks/generate-version-files.js +++ b/scripts/tasks/generate-version-files.ts @@ -1,14 +1,12 @@ -// @ts-check - -const { spawnSync } = require('child_process'); -const path = require('path'); -const fs = require('fs-extra'); -const glob = require('glob'); +import { spawnSync } from 'child_process'; +import * as path from 'path'; +import * as fs from 'fs-extra'; +import * as glob from 'glob'; +import { findGitRoot } from '../monorepo/index'; const generateOnly = process.argv.includes('-g'); const beachballBin = require.resolve('beachball/bin/beachball.js'); const bumpCmd = [process.execPath, beachballBin, 'bump']; -const findGitRoot = require('../monorepo/findGitRoot'); const gitRoot = findGitRoot(); function run(args) { @@ -51,7 +49,7 @@ function revertLocalChanges() { * * "generateOnly" mode takes existing versions and write them out to version files (do this when out of sync) */ -module.exports = function generateVersionFiles() { +export function generateVersionFiles() { const gitRoot = findGitRoot(); if (!generateOnly) { @@ -104,4 +102,4 @@ ${setCurrentVersion}`; fs.writeFileSync(versionFile, updatedVersionContents[versionFile]); }); } -}; +} diff --git a/scripts/tasks/jest.js b/scripts/tasks/jest.ts similarity index 80% rename from scripts/tasks/jest.js rename to scripts/tasks/jest.ts index 46ef64a7f5a4bf..15a0053a1cb062 100644 --- a/scripts/tasks/jest.js +++ b/scripts/tasks/jest.ts @@ -1,7 +1,5 @@ -// @ts-check - -const { jestTask, argv } = require('just-scripts'); -const path = require('path'); +import { jestTask, argv } from 'just-scripts'; +import * as path from 'path'; const commonArgs = () => { return { @@ -10,7 +8,7 @@ const commonArgs = () => { }; }; -exports.jest = () => +export const jest = () => jestTask({ ...commonArgs(), env: { @@ -20,13 +18,13 @@ exports.jest = () => }, }); -exports.jestDom = () => +export const jestDom = () => jestTask({ runInBand: true, config: path.join(process.cwd(), 'jest.dom.config.js'), }); -exports.jestWatch = () => { +export const jestWatch = () => { return jestTask({ ...commonArgs(), watch: true, diff --git a/scripts/tasks/lint-imports.js b/scripts/tasks/lint-imports.ts similarity index 82% rename from scripts/tasks/lint-imports.js rename to scripts/tasks/lint-imports.ts index cb59191a609b15..6bd25b9e2bfb90 100644 --- a/scripts/tasks/lint-imports.js +++ b/scripts/tasks/lint-imports.ts @@ -1,33 +1,27 @@ -// @ts-check - -/** - * @typedef {{ - * count: number; - * matches: { [filePath: string]: { importPath: string; alternative?: string; }[] }; - * }} ImportErrorGroup - * - * @typedef {{ - * pathAbsolute: ImportErrorGroup; - * pathNotFile: ImportErrorGroup; - * pathRelative: ImportErrorGroup; - * pathDeep: ImportErrorGroup; - * pathReExported: ImportErrorGroup; - * importStar: ImportErrorGroup; - * exportMulti: ImportErrorGroup; - * exportDefault: ImportErrorGroup; - * }} ImportErrors - */ - -const getAllPackageInfo = require('../monorepo/getAllPackageInfo'); -const findConfig = require('../find-config'); -const { readConfig } = require('../read-config'); - -function lintImports() { - const path = require('path'); - const fs = require('fs'); - const chalk = require('chalk').default; - const findGitRoot = require('../monorepo/findGitRoot'); +import { getAllPackageInfo, findGitRoot } from '../monorepo/index'; +import findConfig from '../find-config'; +import { readConfig } from '../read-config'; +import * as path from 'path'; +import * as fs from 'fs'; +import chalk from 'chalk'; + +interface ImportErrorGroup { + count: number; + matches: { [filePath: string]: { importPath: string; alternative?: string }[] }; +} + +interface ImportErrors { + pathAbsolute: ImportErrorGroup; + pathNotFile: ImportErrorGroup; + pathRelative: ImportErrorGroup; + pathDeep: ImportErrorGroup; + pathReExported: ImportErrorGroup; + importStar: ImportErrorGroup; + exportMulti: ImportErrorGroup; + exportDefault: ImportErrorGroup; +} +export function lintImports() { const gitRoot = findGitRoot(); const sourcePath = path.resolve(process.cwd(), 'src'); const cwdNodeModulesPath = path.resolve(process.cwd(), 'node_modules'); @@ -72,8 +66,7 @@ function lintImports() { function lintSource() { const files = _getFiles(sourcePath, /\.(ts|tsx)$/i); - /** @type {ImportErrors} */ - const importErrors = { + const importErrors: ImportErrors = { pathAbsolute: { count: 0, matches: {} }, pathNotFile: { count: 0, matches: {} }, pathRelative: { count: 0, matches: {} }, @@ -100,15 +93,14 @@ function lintImports() { } /** - * Recurses through a given folder path and adds files to an array which - * match the extension pattern. Returns array. + * Recurses through a given folder path and adds files to an array which match the extension pattern. * - * @param {string} dir - starting folder path. - * @param {RegExp} extentionPattern - extension regex to match. - * @param {string[]} [fileList] - cumulative array of files + * @param dir - starting folder path. + * @param extentionPattern - extension regex to match. + * @param fileList - cumulative array of files * @returns array of matching files. */ - function _getFiles(dir, extentionPattern, fileList) { + function _getFiles(dir: string, extentionPattern: RegExp, fileList?: string[]): string[] { fileList = fileList || []; const files = fs.readdirSync(dir); @@ -128,12 +120,7 @@ function lintImports() { return fileList; } - /** - * @param {string} filePath - * @param {ImportErrors} importErrors - * @param {boolean} isExample - */ - function _evaluateFile(filePath, importErrors, isExample) { + function _evaluateFile(filePath: string, importErrors: ImportErrors, isExample: boolean) { // !! be careful !! changing the regex can affect matched parts below. const importStatementRegex = /^(import|export) [^'"]*(?:from )?['"]([^'"]+)['"];.*$/; @@ -175,20 +162,22 @@ function lintImports() { } /** - * @param {string} filePath - * @param {RegExpMatchArray} importMatch - Result of running `importStatementRegex` against a single import + * @param importMatch - Result of running `importStatementRegex` against a single import * (`[1]` will be the import path) - * @param {ImportErrors} importErrors - * @param {boolean} isExample */ - function _evaluateImport(filePath, importMatch, importErrors, isExample) { + function _evaluateImport( + filePath: string, + importMatch: RegExpMatchArray, + importErrors: ImportErrors, + isExample?: boolean, + ) { const importPath = importMatch[2]; const packageRootPath = importPath.split('/')[0]; const relativePath = path.relative(sourcePath, filePath); - let fullImportPath; + let fullImportPath: string; let pathIsRelative = false; let pathIsDeep = false; - let pkgName; + let pkgName: string; if (importPath[0] === '.') { // import is a file path. is this a file? @@ -267,11 +256,7 @@ function lintImports() { } } - /** - * @param {string} filePath - * @param {string} importPath - */ - function _evaluateImportPath(filePath, importPath) { + function _evaluateImportPath(filePath: string, importPath: string) { const fullImportPath = path.resolve(filePath, importPath); const extensions = ['.ts', '.tsx', '.js', '']; @@ -286,24 +271,14 @@ function lintImports() { return undefined; } - /** - * @param {ImportErrorGroup} errorGroup - * @param {string} relativePath - * @param {string} importPath - * @param {string} [alternative] - */ - function _addError(errorGroup, relativePath, importPath, alternative) { + function _addError(errorGroup: ImportErrorGroup, relativePath: string, importPath: string, alternative?: string) { errorGroup.count++; errorGroup.matches[relativePath] = errorGroup.matches[relativePath] || []; errorGroup.matches[relativePath].push({ importPath, alternative }); } - /** - * @param {ImportErrors} importErrors - */ - function reportFilePathErrors(importErrors) { - /** @type {{ [k in keyof ImportErrors]: string }} */ - const errorMessages = { + function reportFilePathErrors(importErrors: ImportErrors) { + const errorMessages: { [k in keyof ImportErrors]: string } = { pathAbsolute: 'files are using absolute imports. Please update the following imports to use relative paths instead:', pathNotFile: @@ -326,8 +301,7 @@ function lintImports() { let hasError = false; for (const groupName of Object.keys(importErrors)) { - /** @type {ImportErrorGroup} */ - const errorGroup = importErrors[groupName]; + const errorGroup: ImportErrorGroup = importErrors[groupName]; if (errorGroup.count) { hasError = true; console.error(`${chalk.red('ERROR')}: ${errorGroup.count} ${errorMessages[groupName]}`); @@ -347,8 +321,6 @@ function lintImports() { } } -module.exports = lintImports; - // @ts-ignore if (require.main === module) { lintImports(); diff --git a/scripts/tasks/postprocess-amd.js b/scripts/tasks/postprocess-amd.ts similarity index 57% rename from scripts/tasks/postprocess-amd.js rename to scripts/tasks/postprocess-amd.ts index 5e6ca5506c2f1c..3fd022a815216c 100644 --- a/scripts/tasks/postprocess-amd.js +++ b/scripts/tasks/postprocess-amd.ts @@ -1,6 +1,7 @@ -module.exports.postprocessAmdTask = function() { - const { mod } = require('riceburn'); - const ts = require('typescript'); +export async function postprocessAmdTask() { + // Delay load these + const { mod } = await import('riceburn'); + const ts = await import('typescript'); mod('lib-amd/**/*.js').asTypescript((node, modder) => { if (ts.isIfStatement(node)) { @@ -9,4 +10,4 @@ module.exports.postprocessAmdTask = function() { } } }); -}; +} diff --git a/scripts/tasks/postprocess-commonjs.js b/scripts/tasks/postprocess-commonjs.ts similarity index 84% rename from scripts/tasks/postprocess-commonjs.js rename to scripts/tasks/postprocess-commonjs.ts index e54f5b171c8e17..9be11e43d588ae 100644 --- a/scripts/tasks/postprocess-commonjs.js +++ b/scripts/tasks/postprocess-commonjs.ts @@ -1,7 +1,10 @@ -module.exports.postprocessCommonjsTask = function() { - const { mod } = require('riceburn'); - const ts = require('typescript'); - const getAllPackageInfo = require('../monorepo/getAllPackageInfo'); +import { getAllPackageInfo } from '../monorepo/index'; + +export async function postprocessCommonjsTask() { + // Delay load these + const { mod } = await import('riceburn'); + const ts = await import('typescript'); + const allPackages = Object.keys(getAllPackageInfo()); mod('lib-commonjs/**/*.{ts,js}').asTypescript((node, modder) => { @@ -36,4 +39,4 @@ module.exports.postprocessCommonjsTask = function() { return false; } -}; +} diff --git a/scripts/tasks/postprocess.js b/scripts/tasks/postprocess.ts similarity index 87% rename from scripts/tasks/postprocess.js rename to scripts/tasks/postprocess.ts index 9d9ea553dbc6e2..31041754005e04 100644 --- a/scripts/tasks/postprocess.js +++ b/scripts/tasks/postprocess.ts @@ -1,14 +1,13 @@ -// @ts-check - -const defaultLibPaths = ['lib/**/*.d.ts', 'lib-commonjs/**/*.d.ts', 'lib-amd/**/*.d.ts']; +export const defaultLibPaths = ['lib/**/*.d.ts', 'lib-commonjs/**/*.d.ts', 'lib-amd/**/*.d.ts']; /** - * @param {string[]} [libPaths] Globs to .d.ts files which need postprocessing + * @param libPaths - Globs to .d.ts files which need postprocessing */ -function postprocessTask(libPaths = defaultLibPaths) { - return function() { - const ts = require('typescript'); - const { mod } = require('riceburn'); +export function postprocessTask(libPaths: string[] = defaultLibPaths) { + return async function() { + // Delay load these + const { mod } = await import('riceburn'); + const ts = await import('typescript'); libPaths.forEach(path => { mod(path).asTypescript((node, modder) => { @@ -73,5 +72,3 @@ function postprocessTask(libPaths = defaultLibPaths) { }); }; } - -module.exports = { defaultLibPaths, postprocessTask }; diff --git a/scripts/tasks/preset.ts b/scripts/tasks/preset.ts deleted file mode 100644 index b110a69479d2d1..00000000000000 --- a/scripts/tasks/preset.ts +++ /dev/null @@ -1,2 +0,0 @@ -const preset = require('../just.config'); -preset(); diff --git a/scripts/tasks/prettier.js b/scripts/tasks/prettier.js deleted file mode 100644 index 9d8997a5b5965c..00000000000000 --- a/scripts/tasks/prettier.js +++ /dev/null @@ -1,7 +0,0 @@ -// @ts-check - -const { runPrettierForFolder } = require('../prettier/prettier-helpers'); - -module.exports = function() { - runPrettierForFolder(process.cwd(), true); -}; diff --git a/scripts/tasks/prettier.ts b/scripts/tasks/prettier.ts new file mode 100644 index 00000000000000..f341c5a90b188a --- /dev/null +++ b/scripts/tasks/prettier.ts @@ -0,0 +1,5 @@ +import { runPrettierForFolder } from '../prettier/prettier-helpers'; + +export function prettier() { + runPrettierForFolder(process.cwd(), true); +} diff --git a/scripts/tasks/sass.js b/scripts/tasks/sass.ts similarity index 73% rename from scripts/tasks/sass.js rename to scripts/tasks/sass.ts index 72001958d57501..6f1c626a9746fb 100644 --- a/scripts/tasks/sass.js +++ b/scripts/tasks/sass.ts @@ -1,12 +1,7 @@ -// @ts-check - -const path = require('path'); -const { sassTask } = require('just-scripts'); -const modules = require('postcss-modules')({ - getJSON, - generateScopedName, -}); -const CleanCSS = require('clean-css'); +import * as path from 'path'; +import { sassTask } from 'just-scripts'; +import postcssModules from 'postcss-modules'; +import * as CleanCSS from 'clean-css'; const _fileNameToClassMap = {}; @@ -47,4 +42,12 @@ function getJSON(cssFileName, json) { _fileNameToClassMap[path.resolve(cssFileName)] = json; } -exports.sass = sassTask(createTypeScriptModule, [modules]); +export const sass = sassTask({ + createSourceModule: createTypeScriptModule, + postcssPlugins: [ + postcssModules({ + getJSON, + generateScopedName, + }), + ], +}); diff --git a/scripts/tasks/storybook.js b/scripts/tasks/storybook.ts similarity index 73% rename from scripts/tasks/storybook.js rename to scripts/tasks/storybook.ts index 4532288c040daa..7a2b2edb824959 100644 --- a/scripts/tasks/storybook.js +++ b/scripts/tasks/storybook.ts @@ -1,12 +1,11 @@ -// @ts-check -const { argv } = require('just-scripts'); -const fs = require('fs'); -const path = require('path'); -const findGitRoot = require('../monorepo/findGitRoot'); +import { argv } from 'just-scripts'; +import * as fs from 'fs'; +import * as path from 'path'; +import { findGitRoot } from '../monorepo/index'; -const storybook = require('@storybook/react/standalone'); +import * as storybook from '@storybook/react/standalone'; -function startStorybookTask(options) { +export function startStorybookTask(options?: { port?: number; quiet?: boolean; ci?: boolean }) { options = options || {}; // This shouldn't be necessary but is needed due to strange logic in // storybook lib/core/src/server/config/utils.js @@ -34,11 +33,7 @@ function startStorybookTask(options) { }; } -/** - * @param {object} [options] - * @param {boolean} [options.quiet] - */ -function buildStorybookTask(options) { +export function buildStorybookTask(options?: { quiet?: boolean }) { options = options || {}; return async function() { const localConfigDir = path.join(process.cwd(), '.storybook'); @@ -54,5 +49,3 @@ function buildStorybookTask(options) { }); }; } - -module.exports = { buildStorybookTask, startStorybookTask }; diff --git a/scripts/tasks/ts.js b/scripts/tasks/ts.ts similarity index 92% rename from scripts/tasks/ts.js rename to scripts/tasks/ts.ts index c1eebb0548f0ec..e3294a742be221 100644 --- a/scripts/tasks/ts.js +++ b/scripts/tasks/ts.ts @@ -1,7 +1,6 @@ -// @ts-check +import * as path from 'path'; +import { tscTask, argv } from 'just-scripts'; -const path = require('path'); -const { tscTask, argv } = require('just-scripts'); const libPath = path.resolve(process.cwd(), 'lib'); const srcPath = path.resolve(process.cwd(), 'src'); // Temporary hack: only use tsbuildinfo file for things under packages/fluentui @@ -17,7 +16,7 @@ function getExtraTscParams(args) { }; } -module.exports.ts = { +export const ts = { commonjs: () => { const extraOptions = getExtraTscParams(argv()); return tscTask({ diff --git a/scripts/tasks/webpack.js b/scripts/tasks/webpack.js deleted file mode 100644 index d200f989d3a676..00000000000000 --- a/scripts/tasks/webpack.js +++ /dev/null @@ -1,63 +0,0 @@ -// @ts-check - -const { webpackCliTask, argv, logger } = require('just-scripts'); -const path = require('path'); -const fs = require('fs'); - -exports.webpack = function() { - const args = argv(); - return webpackCliTask({ - webpackCliArgs: args.production ? ['--production'] : [], - nodeArgs: ['--max-old-space-size=4096'], - }); -}; -exports.webpackDevServer = async function() { - const fp = require('find-free-port'); - const webpackConfigFilePath = argv().webpackConfig || 'webpack.serve.config.js'; - const configPath = path.resolve(process.cwd(), webpackConfigFilePath); - const port = await fp(4322, 4400); - - if (fs.existsSync(configPath)) { - const webpackDevServerPath = require.resolve('webpack-dev-server/bin/webpack-dev-server.js'); - const execSync = require('../exec-sync'); - const cmd = `node ${webpackDevServerPath} --config ${configPath} --port ${port} --open`; - - logger.info(`Caching enabled: ${argv().cached}`); - logger.info('Running: ', cmd); - - process.env.cached = argv().cached; - - execSync(cmd); - } -}; - -let server; -exports.webpackDevServerWithCompileResolution = async function() { - return new Promise((resolve, reject) => { - const webpack = require('webpack'); - const webpackDevServer = require('webpack-dev-server'); - const webpackConfig = require(path.resolve(process.cwd(), 'webpack.serve.config.js')); - - const compiler = webpack(webpackConfig); - compiler.plugin('done', () => { - resolve(); - }); - - const devServerOptions = Object.assign({}, webpackConfig.devServer, { - stats: 'minimal', - }); - server = new webpackDevServer(compiler, devServerOptions); - const port = webpackConfig.devServer.port; - server.listen(port, '127.0.0.1', () => { - console.log(`started server on http://localhost:${port}`); - }); - }); -}; - -exports.webpackDevServerWithCompileResolution.done = async function() { - return new Promise((resolve, reject) => { - server.close(() => { - resolve(); - }); - }); -}; diff --git a/scripts/tasks/webpack.ts b/scripts/tasks/webpack.ts new file mode 100644 index 00000000000000..d8e1cbb6cc641c --- /dev/null +++ b/scripts/tasks/webpack.ts @@ -0,0 +1,64 @@ +import { webpackCliTask, argv, logger } from 'just-scripts'; +import * as path from 'path'; +import * as fs from 'fs'; +import execSync from '../exec-sync'; + +export function webpack() { + const args = argv(); + return webpackCliTask({ + webpackCliArgs: args.production ? ['--production'] : [], + nodeArgs: ['--max-old-space-size=4096'], + }); +} + +export async function webpackDevServer() { + const fp = await import('find-free-port'); + const webpackConfigFilePath = argv().webpackConfig || 'webpack.serve.config.js'; + const configPath = path.resolve(process.cwd(), webpackConfigFilePath); + const port = await fp(4322, 4400); + + if (fs.existsSync(configPath)) { + const webpackDevServerPath = require.resolve('webpack-dev-server/bin/webpack-dev-server.js'); + const cmd = `node ${webpackDevServerPath} --config ${configPath} --port ${port} --open`; + + logger.info(`Caching enabled: ${argv().cached}`); + logger.info('Running: ', cmd); + + process.env.cached = argv().cached; + + execSync(cmd); + } +} + +let server; +export async function webpackDevServerWithCompileResolution() { + return async function() { + const webpack = (await import('webpack')).default; + const webpackDevServer = await import('webpack-dev-server'); + return new Promise((resolve, reject) => { + const webpackConfig = require(path.resolve(process.cwd(), 'webpack.serve.config.js')); + + const compiler = webpack(webpackConfig); + compiler.plugin('done', () => { + resolve(); + }); + + const devServerOptions = Object.assign({}, webpackConfig.devServer, { + stats: 'minimal', + }); + server = new webpackDevServer(compiler, devServerOptions); + const port = webpackConfig.devServer.port; + server.listen(port, '127.0.0.1', () => { + console.log(`started server on http://localhost:${port}`); + }); + }); + }; +} + +webpackDevServerWithCompileResolution.done = async function() { + return new Promise((resolve, reject) => { + server.close(() => { + resolve(); + }); + }); +}; diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index b7c19a68c694fd..7238f82176cced 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -11,5 +11,7 @@ "strictNullChecks": false, "typeRoots": ["../typings", "../node_modules/@types"], "types": ["node", "webpack-env"] - } + }, + "include": ["."], + "exclude": ["./create-package/plop-templates*"] } diff --git a/scripts/typescript/tsconfig.fluentui.json b/scripts/typescript/tsconfig.fluentui.json index 0a82a56fb39bfe..6c8601577560e7 100644 --- a/scripts/typescript/tsconfig.fluentui.json +++ b/scripts/typescript/tsconfig.fluentui.json @@ -5,7 +5,7 @@ "lib": ["es2015", "dom"], "baseUrl": "../../", "paths": { - "@uifabric/build": ["scripts"], + "@fluentui/scripts": ["scripts"], "@fluentui/*": ["packages/fluentui/*/src"] }, "types": ["node", "jest"], diff --git a/scripts/webpack/getResolveAlias.js b/scripts/webpack/getResolveAlias.js index 62b757b623a883..12301c0b807981 100644 --- a/scripts/webpack/getResolveAlias.js +++ b/scripts/webpack/getResolveAlias.js @@ -22,7 +22,7 @@ function getResolveAlias(useLib, cwd) { const excludedPackages = [ '@fluentui/eslint-plugin', '@fluentui/api-docs', - '@uifabric/build', + '@fluentui/scripts', '@fluentui/webpack-utilities', '@fluentui/jest-serializer-merge-styles', ]; diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 00000000000000..70bb0142698634 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": "./scripts/tsconfig.json", + "include": ["./{apps,packages}/*/just.config.ts"] +} From af58ab40c185bb08ab5ee9c9b7800653c8766cb6 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Tue, 20 Oct 2020 14:11:14 -0700 Subject: [PATCH 06/16] Change files --- ...tui-azure-themes-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...luentui-codemods-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...ui-common-styles-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...e-time-utilities-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...ui-dom-utilities-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...oundation-legacy-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...zer-merge-styles-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...tui-keyboard-key-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ .../@fluentui-react-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...tui-react-avatar-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...tui-react-button-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...ntui-react-cards-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...i-react-charting-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...i-react-checkbox-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...ui-react-compose-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...eact-conformance-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...eact-experiments-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...entui-react-flex-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...ntui-react-focus-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...ntui-react-icons-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...ntui-react-image-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...i-react-internal-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...entui-react-link-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...entui-react-next-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...tui-react-slider-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...eact-stylesheets-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...entui-react-tabs-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...entui-react-text-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...t-theme-provider-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...tui-react-toggle-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...-react-utilities-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...-window-provider-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...scheme-utilities-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...uentui-storybook-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...-style-utilities-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...i-test-utilities-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ .../@fluentui-theme-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...ui-theme-samples-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...ebpack-utilities-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...fabric-date-time-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...example-app-base-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...ric-example-data-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...-file-type-icons-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...ifabric-foundation-2020-10-11-10-30-57-keco-slots.json | 2 +- .../@uifabric-icons-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...c-mdl2-theme-2020-09-30-13-43-32-merge-oufr-react.json | 8 -------- ...dl2-theme-2020-10-12-13-37-09-xgao-theme-packages.json | 8 -------- ...uifabric-mdl2-theme-2020-10-15-02-05-19-dep-fixes.json | 8 -------- ...ric-mdl2-theme-2020-10-16-15-41-44-rename-styling.json | 8 -------- ...abric-mdl2-theme-2020-10-17-22-07-19-buttonCompat.json | 8 -------- ...-2020-10-19-15-23-15-xgao-rename-variants-package.json | 8 -------- ...ric-merge-styles-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...ic-monaco-editor-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...bric-react-hooks-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...bric-set-version-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...abric-tsx-editor-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ ...fabric-utilities-2020-10-20-09-58-43-rename-build.json | 8 ++++++++ 57 files changed, 401 insertions(+), 49 deletions(-) create mode 100644 change/@fluentui-azure-themes-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-codemods-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-common-styles-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-date-time-utilities-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-dom-utilities-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-foundation-legacy-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-jest-serializer-merge-styles-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-keyboard-key-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-avatar-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-button-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-cards-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-charting-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-checkbox-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-compose-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-conformance-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-experiments-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-flex-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-focus-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-icons-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-image-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-internal-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-link-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-next-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-slider-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-stylesheets-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-tabs-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-text-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-theme-provider-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-toggle-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-utilities-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-react-window-provider-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-scheme-utilities-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-storybook-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-style-utilities-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-test-utilities-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-theme-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-theme-samples-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@fluentui-webpack-utilities-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@uifabric-date-time-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@uifabric-example-app-base-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@uifabric-example-data-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@uifabric-file-type-icons-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@uifabric-icons-2020-10-20-09-58-43-rename-build.json delete mode 100644 change/@uifabric-mdl2-theme-2020-09-30-13-43-32-merge-oufr-react.json delete mode 100644 change/@uifabric-mdl2-theme-2020-10-12-13-37-09-xgao-theme-packages.json delete mode 100644 change/@uifabric-mdl2-theme-2020-10-15-02-05-19-dep-fixes.json delete mode 100644 change/@uifabric-mdl2-theme-2020-10-16-15-41-44-rename-styling.json delete mode 100644 change/@uifabric-mdl2-theme-2020-10-17-22-07-19-buttonCompat.json delete mode 100644 change/@uifabric-mdl2-theme-2020-10-19-15-23-15-xgao-rename-variants-package.json create mode 100644 change/@uifabric-merge-styles-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@uifabric-monaco-editor-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@uifabric-react-hooks-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@uifabric-set-version-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@uifabric-tsx-editor-2020-10-20-09-58-43-rename-build.json create mode 100644 change/@uifabric-utilities-2020-10-20-09-58-43-rename-build.json diff --git a/change/@fluentui-azure-themes-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-azure-themes-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..403b68df1df05a --- /dev/null +++ b/change/@fluentui-azure-themes-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/azure-themes", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:56:48.443Z" +} diff --git a/change/@fluentui-codemods-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-codemods-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..509f3ef1453923 --- /dev/null +++ b/change/@fluentui-codemods-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/codemods", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:56:50.071Z" +} diff --git a/change/@fluentui-common-styles-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-common-styles-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..4e8c68b1f4f32b --- /dev/null +++ b/change/@fluentui-common-styles-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/common-styles", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:56:51.671Z" +} diff --git a/change/@fluentui-date-time-utilities-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-date-time-utilities-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..49d121fbbd70e0 --- /dev/null +++ b/change/@fluentui-date-time-utilities-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/date-time-utilities", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:56:53.519Z" +} diff --git a/change/@fluentui-dom-utilities-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-dom-utilities-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..73ba5fe4ddcb29 --- /dev/null +++ b/change/@fluentui-dom-utilities-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/dom-utilities", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:56:58.434Z" +} diff --git a/change/@fluentui-foundation-legacy-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-foundation-legacy-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..d767df92ef47b2 --- /dev/null +++ b/change/@fluentui-foundation-legacy-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/foundation-legacy", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:06.066Z" +} diff --git a/change/@fluentui-jest-serializer-merge-styles-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-jest-serializer-merge-styles-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..6c39cef97c2e21 --- /dev/null +++ b/change/@fluentui-jest-serializer-merge-styles-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Rename @uifabric/jest-serializer-merge-styles to @fluentui/jest-serializer-merge-styles", + "packageName": "@fluentui/jest-serializer-merge-styles", + "email": "elcraig@microsoft.com", + "dependentChangeType": "patch", + "date": "2020-10-20T16:57:25.769Z" +} diff --git a/change/@fluentui-keyboard-key-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-keyboard-key-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..39d85bf8305e36 --- /dev/null +++ b/change/@fluentui-keyboard-key-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/keyboard-key", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:28.333Z" +} diff --git a/change/@fluentui-react-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..e86c6fffcb8036 --- /dev/null +++ b/change/@fluentui-react-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:08.177Z" +} diff --git a/change/@fluentui-react-avatar-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-avatar-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..33a83edddafb97 --- /dev/null +++ b/change/@fluentui-react-avatar-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-avatar", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:33.623Z" +} diff --git a/change/@fluentui-react-button-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-button-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..14b6800af3caff --- /dev/null +++ b/change/@fluentui-react-button-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-button", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:34.920Z" +} diff --git a/change/@fluentui-react-cards-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-cards-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..57f911d9da25ec --- /dev/null +++ b/change/@fluentui-react-cards-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-cards", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:36.064Z" +} diff --git a/change/@fluentui-react-charting-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-charting-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..92b9c2da5ec1ae --- /dev/null +++ b/change/@fluentui-react-charting-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-charting", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:37.144Z" +} diff --git a/change/@fluentui-react-checkbox-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-checkbox-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..8924014e51809a --- /dev/null +++ b/change/@fluentui-react-checkbox-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-checkbox", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:39.439Z" +} diff --git a/change/@fluentui-react-compose-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-compose-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..4b3737702574c9 --- /dev/null +++ b/change/@fluentui-react-compose-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-compose", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:40.600Z" +} diff --git a/change/@fluentui-react-conformance-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-conformance-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..52664e968037c7 --- /dev/null +++ b/change/@fluentui-react-conformance-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-conformance", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:42.295Z" +} diff --git a/change/@fluentui-react-experiments-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-experiments-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..f033fb5fe6e14a --- /dev/null +++ b/change/@fluentui-react-experiments-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-experiments", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:44.207Z" +} diff --git a/change/@fluentui-react-flex-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-flex-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..e6e905a702949e --- /dev/null +++ b/change/@fluentui-react-flex-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-flex", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:45.319Z" +} diff --git a/change/@fluentui-react-focus-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-focus-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..8719fcbd52d38b --- /dev/null +++ b/change/@fluentui-react-focus-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-focus", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:46.489Z" +} diff --git a/change/@fluentui-react-icons-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-icons-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..5a0f03be79a414 --- /dev/null +++ b/change/@fluentui-react-icons-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-icons-mdl2", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:49.092Z" +} diff --git a/change/@fluentui-react-image-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-image-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..e5b68d8ef57e8a --- /dev/null +++ b/change/@fluentui-react-image-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-image", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:50.271Z" +} diff --git a/change/@fluentui-react-internal-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-internal-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..15b1358a2b36d7 --- /dev/null +++ b/change/@fluentui-react-internal-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-internal", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:51.586Z" +} diff --git a/change/@fluentui-react-link-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-link-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..f282f4141c2fba --- /dev/null +++ b/change/@fluentui-react-link-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-link", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:52.897Z" +} diff --git a/change/@fluentui-react-next-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-next-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..d551676980489b --- /dev/null +++ b/change/@fluentui-react-next-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-next", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:56.323Z" +} diff --git a/change/@fluentui-react-slider-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-slider-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..9b1a5d0b16881a --- /dev/null +++ b/change/@fluentui-react-slider-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-slider", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:57.732Z" +} diff --git a/change/@fluentui-react-stylesheets-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-stylesheets-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..f404b11f1ee471 --- /dev/null +++ b/change/@fluentui-react-stylesheets-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-stylesheets", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:59.041Z" +} diff --git a/change/@fluentui-react-tabs-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-tabs-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..e1832d04936ab1 --- /dev/null +++ b/change/@fluentui-react-tabs-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-tabs", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:00.163Z" +} diff --git a/change/@fluentui-react-text-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-text-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..9a9b8e98e8f35d --- /dev/null +++ b/change/@fluentui-react-text-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-text", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:01.221Z" +} diff --git a/change/@fluentui-react-theme-provider-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-theme-provider-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..259a42c3261dec --- /dev/null +++ b/change/@fluentui-react-theme-provider-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-theme-provider", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:02.338Z" +} diff --git a/change/@fluentui-react-toggle-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-toggle-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..c0ca5baa2f9f31 --- /dev/null +++ b/change/@fluentui-react-toggle-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-toggle", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:03.554Z" +} diff --git a/change/@fluentui-react-utilities-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-utilities-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..3bb0121b9e4465 --- /dev/null +++ b/change/@fluentui-react-utilities-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-utilities", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:05.467Z" +} diff --git a/change/@fluentui-react-window-provider-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-react-window-provider-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..69c08c394deef5 --- /dev/null +++ b/change/@fluentui-react-window-provider-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-window-provider", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:06.873Z" +} diff --git a/change/@fluentui-scheme-utilities-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-scheme-utilities-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..8bcd9e77958202 --- /dev/null +++ b/change/@fluentui-scheme-utilities-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/scheme-utilities", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:12.222Z" +} diff --git a/change/@fluentui-storybook-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-storybook-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..9e73f3114ba780 --- /dev/null +++ b/change/@fluentui-storybook-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/storybook", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:24.896Z" +} diff --git a/change/@fluentui-style-utilities-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-style-utilities-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..76b14af60f82aa --- /dev/null +++ b/change/@fluentui-style-utilities-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/style-utilities", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:26.559Z" +} diff --git a/change/@fluentui-test-utilities-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-test-utilities-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..f0c5691cd025ac --- /dev/null +++ b/change/@fluentui-test-utilities-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/test-utilities", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:29.173Z" +} diff --git a/change/@fluentui-theme-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-theme-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..d43d92c844ace2 --- /dev/null +++ b/change/@fluentui-theme-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/theme", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:31.680Z" +} diff --git a/change/@fluentui-theme-samples-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-theme-samples-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..04940cb019d0d4 --- /dev/null +++ b/change/@fluentui-theme-samples-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/theme-samples", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:30.464Z" +} diff --git a/change/@fluentui-webpack-utilities-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-webpack-utilities-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..3fa6cf02d49a34 --- /dev/null +++ b/change/@fluentui-webpack-utilities-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Rename @uifabric/webpack-utils to @fluentui/webpack-utilities", + "packageName": "@fluentui/webpack-utilities", + "email": "elcraig@microsoft.com", + "dependentChangeType": "patch", + "date": "2020-10-20T16:58:43.208Z" +} diff --git a/change/@uifabric-date-time-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-date-time-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..ccd6990c5ab238 --- /dev/null +++ b/change/@uifabric-date-time-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@uifabric/date-time", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:56:56.916Z" +} diff --git a/change/@uifabric-example-app-base-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-example-app-base-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..e7c40031bdfc52 --- /dev/null +++ b/change/@uifabric-example-app-base-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-docsite-components", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:56:59.915Z" +} diff --git a/change/@uifabric-example-data-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-example-data-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..9e58ccc07d97e1 --- /dev/null +++ b/change/@uifabric-example-data-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@uifabric/example-data", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:02.706Z" +} diff --git a/change/@uifabric-file-type-icons-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-file-type-icons-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..cea3e129fffcb0 --- /dev/null +++ b/change/@uifabric-file-type-icons-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@uifabric/file-type-icons", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:04.236Z" +} diff --git a/change/@uifabric-foundation-2020-10-11-10-30-57-keco-slots.json b/change/@uifabric-foundation-2020-10-11-10-30-57-keco-slots.json index d4df49d8b4c84c..33f8087affe182 100644 --- a/change/@uifabric-foundation-2020-10-11-10-30-57-keco-slots.json +++ b/change/@uifabric-foundation-2020-10-11-10-30-57-keco-slots.json @@ -1,7 +1,7 @@ { "type": "patch", "comment": "withSlots: avoid calling traverseAllChildren twice", - "packageName": "@uifabric/foundation", + "packageName": "@fluentui/foundation-legacy", "email": "KevinTCoughlin@users.noreply.github.com", "dependentChangeType": "patch", "date": "2020-10-11T17:30:57.102Z" diff --git a/change/@uifabric-icons-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-icons-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..e445255f2b4a2a --- /dev/null +++ b/change/@uifabric-icons-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/font-icons-mdl2", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:07.331Z" +} diff --git a/change/@uifabric-mdl2-theme-2020-09-30-13-43-32-merge-oufr-react.json b/change/@uifabric-mdl2-theme-2020-09-30-13-43-32-merge-oufr-react.json deleted file mode 100644 index ac6788087499f9..00000000000000 --- a/change/@uifabric-mdl2-theme-2020-09-30-13-43-32-merge-oufr-react.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "type": "minor", - "comment": "Rename office-ui-fabric-react package and update references", - "packageName": "@uifabric/mdl2-theme", - "email": "elcraig@microsoft.com", - "dependentChangeType": "patch", - "date": "2020-09-30T20:43:07.413Z" -} diff --git a/change/@uifabric-mdl2-theme-2020-10-12-13-37-09-xgao-theme-packages.json b/change/@uifabric-mdl2-theme-2020-10-12-13-37-09-xgao-theme-packages.json deleted file mode 100644 index f21879b9f85baf..00000000000000 --- a/change/@uifabric-mdl2-theme-2020-10-12-13-37-09-xgao-theme-packages.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "type": "patch", - "comment": "Update Theme instances to contain components/scopedSettings", - "packageName": "@uifabric/mdl2-theme", - "email": "xgao@microsoft.com", - "dependentChangeType": "patch", - "date": "2020-10-12T20:37:07.538Z" -} diff --git a/change/@uifabric-mdl2-theme-2020-10-15-02-05-19-dep-fixes.json b/change/@uifabric-mdl2-theme-2020-10-15-02-05-19-dep-fixes.json deleted file mode 100644 index 780bb027edd0a3..00000000000000 --- a/change/@uifabric-mdl2-theme-2020-10-15-02-05-19-dep-fixes.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "type": "none", - "comment": "Use webpack config helper and update npmignore", - "packageName": "@uifabric/mdl2-theme", - "email": "elcraig@microsoft.com", - "dependentChangeType": "none", - "date": "2020-10-15T09:00:02.568Z" -} diff --git a/change/@uifabric-mdl2-theme-2020-10-16-15-41-44-rename-styling.json b/change/@uifabric-mdl2-theme-2020-10-16-15-41-44-rename-styling.json deleted file mode 100644 index cc269d67471766..00000000000000 --- a/change/@uifabric-mdl2-theme-2020-10-16-15-41-44-rename-styling.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "type": "patch", - "comment": "Rename @uifabric/styling to @fluentui/style-utilities", - "packageName": "@uifabric/mdl2-theme", - "email": "elcraig@microsoft.com", - "dependentChangeType": "patch", - "date": "2020-10-16T22:41:17.383Z" -} diff --git a/change/@uifabric-mdl2-theme-2020-10-17-22-07-19-buttonCompat.json b/change/@uifabric-mdl2-theme-2020-10-17-22-07-19-buttonCompat.json deleted file mode 100644 index 91f980ff1ffa7e..00000000000000 --- a/change/@uifabric-mdl2-theme-2020-10-17-22-07-19-buttonCompat.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "type": "patch", - "comment": "Updating imports for Button component to import from the compat folder.", - "packageName": "@uifabric/mdl2-theme", - "email": "humbertomakotomorimoto@gmail.com", - "dependentChangeType": "patch", - "date": "2020-10-18T05:06:08.261Z" -} diff --git a/change/@uifabric-mdl2-theme-2020-10-19-15-23-15-xgao-rename-variants-package.json b/change/@uifabric-mdl2-theme-2020-10-19-15-23-15-xgao-rename-variants-package.json deleted file mode 100644 index b67b87f067f57e..00000000000000 --- a/change/@uifabric-mdl2-theme-2020-10-19-15-23-15-xgao-rename-variants-package.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "type": "patch", - "comment": "rename @uifabric/variants to @fluentui/scheme-utilities", - "packageName": "@uifabric/mdl2-theme", - "email": "xgao@microsoft.com", - "dependentChangeType": "patch", - "date": "2020-10-19T22:23:13.163Z" -} diff --git a/change/@uifabric-merge-styles-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-merge-styles-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..fe6fd0462f4b60 --- /dev/null +++ b/change/@uifabric-merge-styles-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@uifabric/merge-styles", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:30.027Z" +} diff --git a/change/@uifabric-monaco-editor-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-monaco-editor-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..0901ec0e454ffa --- /dev/null +++ b/change/@uifabric-monaco-editor-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/monaco-editor", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:32.409Z" +} diff --git a/change/@uifabric-react-hooks-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-react-hooks-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..044ee83bec8cc2 --- /dev/null +++ b/change/@uifabric-react-hooks-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@uifabric/react-hooks", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:57:47.968Z" +} diff --git a/change/@uifabric-set-version-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-set-version-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..9db617b3ca1f48 --- /dev/null +++ b/change/@uifabric-set-version-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "Rename @uifabric/set-version to @fluentui/set-version", + "packageName": "@uifabric/set-version", + "email": "elcraig@microsoft.com", + "dependentChangeType": "minor", + "date": "2020-10-20T16:58:14.038Z" +} diff --git a/change/@uifabric-tsx-editor-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-tsx-editor-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..695951d4cecf00 --- /dev/null +++ b/change/@uifabric-tsx-editor-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@fluentui/react-monaco-editor", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:35.446Z" +} diff --git a/change/@uifabric-utilities-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-utilities-2020-10-20-09-58-43-rename-build.json new file mode 100644 index 00000000000000..3a7228a3b2c151 --- /dev/null +++ b/change/@uifabric-utilities-2020-10-20-09-58-43-rename-build.json @@ -0,0 +1,8 @@ +{ + "type": "none", + "comment": "Rename build-related packages", + "packageName": "@uifabric/utilities", + "email": "elcraig@microsoft.com", + "dependentChangeType": "none", + "date": "2020-10-20T16:58:36.919Z" +} From 3cd7cb0c69df6d27178267362210a5a435480976 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Tue, 20 Oct 2020 14:13:56 -0700 Subject: [PATCH 07/16] fix tasks --- apps/perf-test/tasks/perf-test.ts | 3 +-- packages/react-internal/config/api-extractor-compat.json | 2 +- scripts/tasks/sass.ts | 2 +- scripts/tasks/storybook.ts | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/apps/perf-test/tasks/perf-test.ts b/apps/perf-test/tasks/perf-test.ts index 6add6c81030405..735d654762882b 100644 --- a/apps/perf-test/tasks/perf-test.ts +++ b/apps/perf-test/tasks/perf-test.ts @@ -3,8 +3,7 @@ import path from 'path'; import flamegrill, { CookResults, Scenarios, ScenarioConfig } from 'flamegrill'; import scenarioIterations from '../src/scenarioIterations'; import { scenarioRenderTypes, DefaultRenderTypes } from '../src/scenarioRenderTypes'; -import { just } from '@fluentui/scripts'; -const { argv } = just; +import { argv } from '@fluentui/scripts'; import { getFluentPerfRegressions } from './fluentPerfRegressions'; diff --git a/packages/react-internal/config/api-extractor-compat.json b/packages/react-internal/config/api-extractor-compat.json index ff2b54d27a821d..3628eae45bca44 100644 --- a/packages/react-internal/config/api-extractor-compat.json +++ b/packages/react-internal/config/api-extractor-compat.json @@ -1,6 +1,6 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@uifabric/build/api-extractor/api-extractor.common.json", + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.json", "mainEntryPointFilePath": "/lib/compat/index.d.ts", "apiReport": { "enabled": true, diff --git a/scripts/tasks/sass.ts b/scripts/tasks/sass.ts index 6f1c626a9746fb..adb3664dbbd16c 100644 --- a/scripts/tasks/sass.ts +++ b/scripts/tasks/sass.ts @@ -1,7 +1,7 @@ import * as path from 'path'; import { sassTask } from 'just-scripts'; import postcssModules from 'postcss-modules'; -import * as CleanCSS from 'clean-css'; +import CleanCSS from 'clean-css'; const _fileNameToClassMap = {}; diff --git a/scripts/tasks/storybook.ts b/scripts/tasks/storybook.ts index 7a2b2edb824959..af46de9d96843b 100644 --- a/scripts/tasks/storybook.ts +++ b/scripts/tasks/storybook.ts @@ -3,7 +3,7 @@ import * as fs from 'fs'; import * as path from 'path'; import { findGitRoot } from '../monorepo/index'; -import * as storybook from '@storybook/react/standalone'; +import storybook from '@storybook/react/standalone'; export function startStorybookTask(options?: { port?: number; quiet?: boolean; ci?: boolean }) { options = options || {}; From 56e53bc3282553e99e95849561fda3ad9d2a7108 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Tue, 20 Oct 2020 19:31:13 -0700 Subject: [PATCH 08/16] fix versions --- apps/perf-test/package.json | 2 +- apps/public-docsite-resources/package.json | 2 +- apps/public-docsite/package.json | 2 +- apps/server-rendered-app/package.json | 4 ++-- apps/theming-designer/package.json | 4 ++-- apps/todo-app/package.json | 2 +- apps/vr-tests/package.json | 2 +- packages/api-docs/package.json | 2 +- packages/azure-themes/package.json | 2 +- packages/date-time-utilities/package.json | 2 +- packages/date-time/package.json | 2 +- packages/dom-utilities/package.json | 2 +- packages/file-type-icons/package.json | 2 +- packages/font-icons-mdl2/package.json | 2 +- packages/foundation-legacy/package.json | 4 ++-- packages/jest-serializer-merge-styles/package.json | 4 ++-- packages/merge-styles/package.json | 4 ++-- packages/react-avatar/package.json | 2 +- packages/react-button/package.json | 2 +- packages/react-cards/package.json | 2 +- packages/react-charting/package.json | 2 +- packages/react-checkbox/package.json | 2 +- packages/react-compose/package.json | 2 +- packages/react-docsite-components/package.json | 2 +- packages/react-examples/package.json | 2 +- packages/react-experiments/package.json | 4 ++-- packages/react-flex/package.json | 2 +- packages/react-focus/package.json | 4 ++-- packages/react-hooks/package.json | 2 +- packages/react-icons-mdl2/package.json | 2 +- packages/react-image/package.json | 2 +- packages/react-internal/package.json | 4 ++-- packages/react-link/package.json | 2 +- packages/react-next/package.json | 2 +- packages/react-slider/package.json | 2 +- packages/react-stylesheets/package.json | 2 +- packages/react-tabs/package.json | 2 +- packages/react-text/package.json | 2 +- packages/react-theme-provider/package.json | 4 ++-- packages/react-toggle/package.json | 2 +- packages/react-utilities/package.json | 2 +- packages/react-window-provider/package.json | 2 +- packages/react/package.json | 2 +- packages/scheme-utilities/package.json | 2 +- packages/set-version/package.json | 2 +- packages/style-utilities/package.json | 4 ++-- packages/test-utilities/package.json | 2 +- packages/theme-samples/package.json | 2 +- packages/theme/package.json | 4 ++-- packages/utilities/package.json | 4 ++-- 50 files changed, 62 insertions(+), 62 deletions(-) diff --git a/apps/perf-test/package.json b/apps/perf-test/package.json index a106bcb8d52205..21e2ee918ee64f 100644 --- a/apps/perf-test/package.json +++ b/apps/perf-test/package.json @@ -21,7 +21,7 @@ "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", "@fluentui/scripts": "^7.0.0", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "flamegrill": "0.2.0", "lodash": "^4.17.15", "querystring": "^0.2.0", diff --git a/apps/public-docsite-resources/package.json b/apps/public-docsite-resources/package.json index 9446b3f91e5fb2..84856cd7061331 100644 --- a/apps/public-docsite-resources/package.json +++ b/apps/public-docsite-resources/package.json @@ -45,7 +45,7 @@ "@fluentui/azure-themes": "^7.5.18", "@fluentui/react-docsite-components": "^7.15.18", "@fluentui/font-icons-mdl2": "^7.5.8", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/theme-samples": "^7.1.21", "@fluentui/react-monaco-editor": "^0.13.18", "office-ui-fabric-core": "^11.0.0", diff --git a/apps/public-docsite/package.json b/apps/public-docsite/package.json index d900404960113f..4cb956c1044416 100644 --- a/apps/public-docsite/package.json +++ b/apps/public-docsite/package.json @@ -52,7 +52,7 @@ "@fluentui/public-docsite-resources": "^7.8.18", "@uifabric/file-type-icons": "^7.6.9", "@fluentui/font-icons-mdl2": "^7.5.8", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/theme-samples": "^7.1.21", "json-loader": "^0.5.7", "office-ui-fabric-core": "^11.0.0", diff --git a/apps/server-rendered-app/package.json b/apps/server-rendered-app/package.json index b5a48928f69ad4..49f17256659a50 100644 --- a/apps/server-rendered-app/package.json +++ b/apps/server-rendered-app/package.json @@ -28,8 +28,8 @@ "dependencies": { "@microsoft/load-themed-styles": "^1.10.26", "@fluentui/font-icons-mdl2": "^7.5.8", - "@uifabric/merge-styles": "^7.19.1", - "@uifabric/set-version": "^7.0.23", + "@fluentui/merge-styles": "^7.19.1", + "@fluentui/set-version": "^7.0.23", "@fluentui/react": "^7.142.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", diff --git a/apps/theming-designer/package.json b/apps/theming-designer/package.json index 734be4439e9628..81a453e012722d 100644 --- a/apps/theming-designer/package.json +++ b/apps/theming-designer/package.json @@ -22,11 +22,11 @@ }, "dependencies": { "@fluentui/react": "^7.142.0", - "@uifabric/merge-styles": "^7.19.1", + "@fluentui/merge-styles": "^7.19.1", "@fluentui/react-docsite-components": "^7.15.18", "@fluentui/foundation-legacy": "^7.9.9", "@fluentui/scheme-utilities": "^7.2.21", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/font-icons-mdl2": "^7.5.8", "@microsoft/load-themed-styles": "^1.10.26", "react": "16.8.6", diff --git a/apps/todo-app/package.json b/apps/todo-app/package.json index 22d13bbb8c376e..7aecfcd72c2a50 100644 --- a/apps/todo-app/package.json +++ b/apps/todo-app/package.json @@ -21,7 +21,7 @@ }, "dependencies": { "@fluentui/react": "^7.142.0", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@microsoft/load-themed-styles": "^1.10.26", "es6-promise": "^4.1.0", "immutability-helper": "~2.8.1", diff --git a/apps/vr-tests/package.json b/apps/vr-tests/package.json index 5f88e53f26eb4a..6257d95f0557c5 100644 --- a/apps/vr-tests/package.json +++ b/apps/vr-tests/package.json @@ -34,7 +34,7 @@ "@fluentui/react-experiments": "^7.33.1", "@fluentui/react-cards": "^0.113.3", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "awesome-typescript-loader": "^3.2.3", "babel-loader": "^8.0.6", "css-loader": "^3.5.3", diff --git a/packages/api-docs/package.json b/packages/api-docs/package.json index 346b243af59bec..54f50b26035455 100644 --- a/packages/api-docs/package.json +++ b/packages/api-docs/package.json @@ -38,7 +38,7 @@ "@fluentui/react-toggle": "^0.4.4", "@fluentui/theme": "^1.2.1", "@uifabric/date-time": "^7.17.16", - "@uifabric/merge-styles": "^7.19.1", + "@fluentui/merge-styles": "^7.19.1", "@fluentui/react-cards": "^0.113.3", "@fluentui/style-utilities": "^7.16.9", "@uifabric/utilities": "^7.32.3", diff --git a/packages/azure-themes/package.json b/packages/azure-themes/package.json index 58a85ef07e1674..4889840683f0e5 100644 --- a/packages/azure-themes/package.json +++ b/packages/azure-themes/package.json @@ -29,7 +29,7 @@ }, "dependencies": { "@fluentui/react": "^7.142.0", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "tslib": "^1.10.0" } } diff --git a/packages/date-time-utilities/package.json b/packages/date-time-utilities/package.json index a8866b9de6bcc1..971acd349f9a6e 100644 --- a/packages/date-time-utilities/package.json +++ b/packages/date-time-utilities/package.json @@ -30,7 +30,7 @@ "@fluentui/scripts": "^7.0.0" }, "dependencies": { - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "tslib": "^1.10.0" } } diff --git a/packages/date-time/package.json b/packages/date-time/package.json index ae0cf4436743b2..13b3c9db92a5c5 100644 --- a/packages/date-time/package.json +++ b/packages/date-time/package.json @@ -52,7 +52,7 @@ "@fluentui/react-internal": "^7.142.0", "@microsoft/load-themed-styles": "^1.10.26", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/style-utilities": "^7.16.9", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" diff --git a/packages/dom-utilities/package.json b/packages/dom-utilities/package.json index 9b9fbaed0717ec..693eeac9bee5dc 100644 --- a/packages/dom-utilities/package.json +++ b/packages/dom-utilities/package.json @@ -31,7 +31,7 @@ "@fluentui/scripts": "^7.0.0" }, "dependencies": { - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "tslib": "^1.10.0" } } diff --git a/packages/file-type-icons/package.json b/packages/file-type-icons/package.json index 803e14c49724a3..9f6b4b7b8e2fcc 100644 --- a/packages/file-type-icons/package.json +++ b/packages/file-type-icons/package.json @@ -33,7 +33,7 @@ "react-dom": "16.8.6" }, "dependencies": { - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/style-utilities": "^7.16.9", "tslib": "^1.10.0" }, diff --git a/packages/font-icons-mdl2/package.json b/packages/font-icons-mdl2/package.json index 7ae2eb141ff701..bf403866f67ed8 100644 --- a/packages/font-icons-mdl2/package.json +++ b/packages/font-icons-mdl2/package.json @@ -28,7 +28,7 @@ "@fluentui/scripts": "^7.0.0" }, "dependencies": { - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/style-utilities": "^7.16.9", "tslib": "^1.10.0" } diff --git a/packages/foundation-legacy/package.json b/packages/foundation-legacy/package.json index d10c4df152927c..724e5ab6bad7bc 100644 --- a/packages/foundation-legacy/package.json +++ b/packages/foundation-legacy/package.json @@ -45,8 +45,8 @@ "react-test-renderer": "^16.3.0" }, "dependencies": { - "@uifabric/merge-styles": "^7.19.1", - "@uifabric/set-version": "^7.0.23", + "@fluentui/merge-styles": "^7.19.1", + "@fluentui/set-version": "^7.0.23", "@fluentui/style-utilities": "^7.16.9", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" diff --git a/packages/jest-serializer-merge-styles/package.json b/packages/jest-serializer-merge-styles/package.json index 7619e44be4315b..829f1cbd1ee470 100644 --- a/packages/jest-serializer-merge-styles/package.json +++ b/packages/jest-serializer-merge-styles/package.json @@ -36,7 +36,7 @@ "@fluentui/scripts": "^7.0.0" }, "dependencies": { - "@uifabric/set-version": "^7.0.23", - "@uifabric/merge-styles": "^7.19.1" + "@fluentui/set-version": "^7.0.23", + "@fluentui/merge-styles": "^7.19.1" } } diff --git a/packages/merge-styles/package.json b/packages/merge-styles/package.json index 4c4e03f0ea5a12..256360ca46472d 100644 --- a/packages/merge-styles/package.json +++ b/packages/merge-styles/package.json @@ -1,5 +1,5 @@ { - "name": "@uifabric/merge-styles", + "name": "@fluentui/merge-styles", "version": "7.19.1", "description": "Style loading utilities.", "main": "lib-commonjs/index.js", @@ -30,7 +30,7 @@ "@fluentui/scripts": "^7.0.0" }, "dependencies": { - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "tslib": "^1.10.0" } } diff --git a/packages/react-avatar/package.json b/packages/react-avatar/package.json index b70f721324c93c..c96da2688cdbc9 100644 --- a/packages/react-avatar/package.json +++ b/packages/react-avatar/package.json @@ -51,7 +51,7 @@ "@fluentui/react-icons-mdl2": "^0.3.5", "@fluentui/react-theme-provider": "^0.14.2", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" }, diff --git a/packages/react-button/package.json b/packages/react-button/package.json index 1b966920a33b5e..65d4714f904e3d 100644 --- a/packages/react-button/package.json +++ b/packages/react-button/package.json @@ -54,7 +54,7 @@ "@fluentui/theme": "^1.2.1", "@microsoft/load-themed-styles": "^1.10.26", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/style-utilities": "^7.16.9", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" diff --git a/packages/react-cards/package.json b/packages/react-cards/package.json index 02bbf6721ff673..9087a8f53c072f 100644 --- a/packages/react-cards/package.json +++ b/packages/react-cards/package.json @@ -54,7 +54,7 @@ "@microsoft/load-themed-styles": "^1.10.26", "@fluentui/foundation-legacy": "^7.9.9", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" }, diff --git a/packages/react-charting/package.json b/packages/react-charting/package.json index 7b7b3be64a5156..9646a32824296c 100644 --- a/packages/react-charting/package.json +++ b/packages/react-charting/package.json @@ -56,7 +56,7 @@ "@types/d3-selection": "1.4.1", "@types/d3-shape": "^1.2.3", "@types/d3-time-format": "^2.1.0", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "d3-array": "1.2.1", "d3-axis": "1.0.8", "d3-format": "^1.4.4", diff --git a/packages/react-checkbox/package.json b/packages/react-checkbox/package.json index 1d02a5f5bd682c..e9b183b6f4f2ce 100644 --- a/packages/react-checkbox/package.json +++ b/packages/react-checkbox/package.json @@ -50,7 +50,7 @@ "@fluentui/react-icons-mdl2": "^0.3.5", "@fluentui/react-internal": "^7.142.0", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/style-utilities": "^7.16.9", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" diff --git a/packages/react-compose/package.json b/packages/react-compose/package.json index 7121562bc2cec8..71f9146234a352 100644 --- a/packages/react-compose/package.json +++ b/packages/react-compose/package.json @@ -37,7 +37,7 @@ }, "dependencies": { "@types/classnames": "^2.2.9", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0", "classnames": "^2.2.6" diff --git a/packages/react-docsite-components/package.json b/packages/react-docsite-components/package.json index 9d0d7cf65a969a..a6658f0329ebf5 100644 --- a/packages/react-docsite-components/package.json +++ b/packages/react-docsite-components/package.json @@ -48,7 +48,7 @@ "@uifabric/example-data": "^7.1.5", "@fluentui/foundation-legacy": "^7.9.9", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/react-monaco-editor": "^0.13.18", "color-check": "0.0.2", "markdown-to-jsx": "6.11.4", diff --git a/packages/react-examples/package.json b/packages/react-examples/package.json index 5277ec6eb1dde1..7446cd67b2ba6a 100644 --- a/packages/react-examples/package.json +++ b/packages/react-examples/package.json @@ -74,7 +74,7 @@ "@uifabric/file-type-icons": "^7.6.9", "@fluentui/foundation-legacy": "^7.9.9", "@fluentui/font-icons-mdl2": "^7.5.8", - "@uifabric/merge-styles": "^7.19.1", + "@fluentui/merge-styles": "^7.19.1", "@fluentui/react-cards": "^0.113.3", "@uifabric/react-hooks": "^7.13.5", "@fluentui/style-utilities": "^7.16.9", diff --git a/packages/react-experiments/package.json b/packages/react-experiments/package.json index 92b910e0ddbb03..c2be787f81ae9b 100644 --- a/packages/react-experiments/package.json +++ b/packages/react-experiments/package.json @@ -59,9 +59,9 @@ "@uifabric/example-data": "^7.1.5", "@fluentui/foundation-legacy": "^7.9.9", "@fluentui/font-icons-mdl2": "^7.5.8", - "@uifabric/merge-styles": "^7.19.1", + "@fluentui/merge-styles": "^7.19.1", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/style-utilities": "^7.16.9", "@uifabric/utilities": "^7.32.3", "deep-assign": "^2.0.0", diff --git a/packages/react-flex/package.json b/packages/react-flex/package.json index 579ad379f71571..fe4d84a9170468 100644 --- a/packages/react-flex/package.json +++ b/packages/react-flex/package.json @@ -37,7 +37,7 @@ "@fluentui/react-compose": "^0.19.4", "@fluentui/react-theme-provider": "^0.14.2", "@fluentui/theme": "^1.2.1", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "tslib": "^1.10.0" }, "peerDependencies": { diff --git a/packages/react-focus/package.json b/packages/react-focus/package.json index b927c1bf0f59bb..b57ceb51aa4db5 100644 --- a/packages/react-focus/package.json +++ b/packages/react-focus/package.json @@ -47,8 +47,8 @@ }, "dependencies": { "@fluentui/keyboard-key": "^0.2.12", - "@uifabric/merge-styles": "^7.19.1", - "@uifabric/set-version": "^7.0.23", + "@fluentui/merge-styles": "^7.19.1", + "@fluentui/set-version": "^7.0.23", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" }, diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index 9e1fe68d1477a3..2e78c810ca79ea 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -41,7 +41,7 @@ }, "dependencies": { "@fluentui/react-window-provider": "^0.3.3", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" }, diff --git a/packages/react-icons-mdl2/package.json b/packages/react-icons-mdl2/package.json index 4b2f7fd8904186..b6c0e4bb05ad1d 100644 --- a/packages/react-icons-mdl2/package.json +++ b/packages/react-icons-mdl2/package.json @@ -46,7 +46,7 @@ }, "dependencies": { "@microsoft/load-themed-styles": "^1.10.26", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" }, diff --git a/packages/react-image/package.json b/packages/react-image/package.json index 5cfc633b3d17d6..c67a5e76383404 100644 --- a/packages/react-image/package.json +++ b/packages/react-image/package.json @@ -50,7 +50,7 @@ "@fluentui/react-theme-provider": "^0.14.2", "@microsoft/load-themed-styles": "^1.10.26", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "object-fit-images": "^3.2.4", "tslib": "^1.10.0" }, diff --git a/packages/react-internal/package.json b/packages/react-internal/package.json index aee3c0d5a12b8f..501534446ddf43 100644 --- a/packages/react-internal/package.json +++ b/packages/react-internal/package.json @@ -62,9 +62,9 @@ "@fluentui/date-time-utilities": "^7.9.0", "@fluentui/foundation-legacy": "^7.9.9", "@fluentui/font-icons-mdl2": "^7.5.8", - "@uifabric/merge-styles": "^7.19.1", + "@fluentui/merge-styles": "^7.19.1", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/style-utilities": "^7.16.9", "@uifabric/utilities": "^7.32.3", "@fluentui/react-window-provider": "^0.3.3", diff --git a/packages/react-link/package.json b/packages/react-link/package.json index c9473587d364d8..f2f1bb015802ef 100644 --- a/packages/react-link/package.json +++ b/packages/react-link/package.json @@ -47,7 +47,7 @@ "@fluentui/react-compose": "^0.19.4", "@fluentui/react-internal": "^7.142.0", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/style-utilities": "^7.16.9", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" diff --git a/packages/react-next/package.json b/packages/react-next/package.json index 13accc8ca95a60..7c288b5e01c261 100644 --- a/packages/react-next/package.json +++ b/packages/react-next/package.json @@ -72,7 +72,7 @@ "@uifabric/date-time": "^7.17.16", "@fluentui/font-icons-mdl2": "^7.5.8", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" }, diff --git a/packages/react-slider/package.json b/packages/react-slider/package.json index c216801f10c28e..82b0a7be60bffd 100644 --- a/packages/react-slider/package.json +++ b/packages/react-slider/package.json @@ -46,7 +46,7 @@ "dependencies": { "@fluentui/react-internal": "^7.142.0", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/style-utilities": "^7.16.9", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" diff --git a/packages/react-stylesheets/package.json b/packages/react-stylesheets/package.json index e594a26b37c81f..cf09fbec03b036 100644 --- a/packages/react-stylesheets/package.json +++ b/packages/react-stylesheets/package.json @@ -45,7 +45,7 @@ "react-test-renderer": "^16.3.0" }, "dependencies": { - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "tslib": "^1.10.0" }, "peerDependencies": { diff --git a/packages/react-tabs/package.json b/packages/react-tabs/package.json index fb3aba8f8047d6..506fd07cf73bcc 100644 --- a/packages/react-tabs/package.json +++ b/packages/react-tabs/package.json @@ -47,7 +47,7 @@ "@fluentui/react-internal": "^7.142.0", "@fluentui/react-theme-provider": "^0.14.2", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/style-utilities": "^7.16.9", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" diff --git a/packages/react-text/package.json b/packages/react-text/package.json index 2c3185715957a2..e1bf4a12d1961d 100644 --- a/packages/react-text/package.json +++ b/packages/react-text/package.json @@ -49,7 +49,7 @@ "@fluentui/react-theme-provider": "^0.14.2", "@fluentui/theme": "^1.2.1", "@microsoft/load-themed-styles": "^1.10.26", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "tslib": "^1.10.0" }, "peerDependencies": { diff --git a/packages/react-theme-provider/package.json b/packages/react-theme-provider/package.json index 7506e95165aee5..30fe68c5b2d153 100644 --- a/packages/react-theme-provider/package.json +++ b/packages/react-theme-provider/package.json @@ -50,8 +50,8 @@ "@fluentui/theme": "^1.2.1", "@fluentui/react-window-provider": "^0.3.3", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", - "@uifabric/merge-styles": "^7.19.1", + "@fluentui/set-version": "^7.0.23", + "@fluentui/merge-styles": "^7.19.1", "@uifabric/utilities": "^7.32.3", "classnames": "^2.2.6", "tslib": "^1.10.0" diff --git a/packages/react-toggle/package.json b/packages/react-toggle/package.json index 282ead2e8ae1fa..7db23eed0b0141 100644 --- a/packages/react-toggle/package.json +++ b/packages/react-toggle/package.json @@ -46,7 +46,7 @@ "@fluentui/react-compose": "^0.19.4", "@fluentui/react-internal": "^7.142.0", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/style-utilities": "^7.16.9", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" diff --git a/packages/react-utilities/package.json b/packages/react-utilities/package.json index 7e029b06354c77..1ea5fa5da30527 100644 --- a/packages/react-utilities/package.json +++ b/packages/react-utilities/package.json @@ -45,7 +45,7 @@ "react-test-renderer": "^16.3.0" }, "dependencies": { - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "tslib": "^1.10.0" }, "peerDependencies": { diff --git a/packages/react-window-provider/package.json b/packages/react-window-provider/package.json index f181ada5b55698..ce1c71dcd7e6f8 100644 --- a/packages/react-window-provider/package.json +++ b/packages/react-window-provider/package.json @@ -38,7 +38,7 @@ "react-dom": "16.8.6" }, "dependencies": { - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "tslib": "^1.10.0" }, "peerDependencies": { diff --git a/packages/react/package.json b/packages/react/package.json index 88337b0205c68a..27a71fd170d26c 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -70,7 +70,7 @@ "@microsoft/load-themed-styles": "^1.10.26", "@fluentui/font-icons-mdl2": "^7.5.8", "@uifabric/react-hooks": "^7.13.5", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" }, diff --git a/packages/scheme-utilities/package.json b/packages/scheme-utilities/package.json index 04d04976146d2c..dfece21777b9b2 100644 --- a/packages/scheme-utilities/package.json +++ b/packages/scheme-utilities/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@fluentui/theme": "^1.2.1", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "tslib": "^1.10.0" } } diff --git a/packages/set-version/package.json b/packages/set-version/package.json index 00ed7c4de38548..45799b474e6314 100644 --- a/packages/set-version/package.json +++ b/packages/set-version/package.json @@ -1,5 +1,5 @@ { - "name": "@uifabric/set-version", + "name": "@fluentui/set-version", "version": "7.0.23", "description": "Non-Fabric-specific package version setter", "main": "lib-commonjs/index.js", diff --git a/packages/style-utilities/package.json b/packages/style-utilities/package.json index 7f8206a436d02f..cb1319fd42a2b9 100644 --- a/packages/style-utilities/package.json +++ b/packages/style-utilities/package.json @@ -35,8 +35,8 @@ "dependencies": { "@microsoft/load-themed-styles": "^1.10.26", "@fluentui/theme": "^1.2.1", - "@uifabric/merge-styles": "^7.19.1", - "@uifabric/set-version": "^7.0.23", + "@fluentui/merge-styles": "^7.19.1", + "@fluentui/set-version": "^7.0.23", "@uifabric/utilities": "^7.32.3", "tslib": "^1.10.0" } diff --git a/packages/test-utilities/package.json b/packages/test-utilities/package.json index 35f7ed731c6473..5acd1fd50e3846 100644 --- a/packages/test-utilities/package.json +++ b/packages/test-utilities/package.json @@ -43,7 +43,7 @@ "@fluentui/scripts": "^7.0.0" }, "dependencies": { - "@uifabric/set-version": "^7.0.23" + "@fluentui/set-version": "^7.0.23" }, "peerDependencies": { "@types/react": ">=16.8.0 <17.0.0", diff --git a/packages/theme-samples/package.json b/packages/theme-samples/package.json index 41c42a39a7526f..23a5c9c6ab64b1 100644 --- a/packages/theme-samples/package.json +++ b/packages/theme-samples/package.json @@ -27,7 +27,7 @@ }, "dependencies": { "@fluentui/react": "^7.142.0", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "@fluentui/scheme-utilities": "^7.2.21", "tslib": "^1.10.0" } diff --git a/packages/theme/package.json b/packages/theme/package.json index 22f594b29e29ec..e92ad70ffd54f1 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -42,9 +42,9 @@ "react-dom": "16.8.6" }, "dependencies": { - "@uifabric/merge-styles": "^7.19.1", + "@fluentui/merge-styles": "^7.19.1", "@uifabric/utilities": "^7.32.3", - "@uifabric/set-version": "^7.0.23", + "@fluentui/set-version": "^7.0.23", "tslib": "^1.10.0" }, "peerDependencies": { diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 481196842cf2f1..3d0d8a1cfbe87e 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -49,8 +49,8 @@ }, "dependencies": { "@fluentui/dom-utilities": "^1.1.1", - "@uifabric/merge-styles": "^7.19.1", - "@uifabric/set-version": "^7.0.23", + "@fluentui/merge-styles": "^7.19.1", + "@fluentui/set-version": "^7.0.23", "prop-types": "^15.7.2", "tslib": "^1.10.0" }, From f8c2535d4f965bc4083b357d535f49b8dbc40064 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Tue, 20 Oct 2020 19:35:22 -0700 Subject: [PATCH 09/16] update config --- packages/fluentui/perf-test/just.config.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/fluentui/perf-test/just.config.ts b/packages/fluentui/perf-test/just.config.ts index 811c60f95fee7b..b3998138d15e7d 100644 --- a/packages/fluentui/perf-test/just.config.ts +++ b/packages/fluentui/perf-test/just.config.ts @@ -1,6 +1,7 @@ import path from 'path'; -import '@fluentui/scripts/tasks/preset'; -import { series, task, argv } from '@fluentui/scripts'; +import { preset, series, task, argv } from '@fluentui/scripts'; + +preset(); // TODO: FUR integration issues // - FUR build fails when it comes across these new packages inside of packages/ From cd8317b49aaf8bc6078883b7d03edc2941697127 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Tue, 20 Oct 2020 20:54:55 -0700 Subject: [PATCH 10/16] fix change files --- ...@uifabric-example-data-2020-10-20-09-58-43-rename-build.json | 2 +- ...fabric-file-type-icons-2020-10-20-09-58-43-rename-build.json | 2 +- ...-file-type-icons-2020-10-20-10-54-27-set-version-rename.json | 2 +- ...@uifabric-merge-styles-2020-10-20-09-58-43-rename-build.json | 2 +- ...ric-merge-styles-2020-10-20-10-54-27-set-version-rename.json | 2 +- .../@uifabric-set-version-2020-10-20-09-58-43-rename-build.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/change/@uifabric-example-data-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-example-data-2020-10-20-09-58-43-rename-build.json index 9e58ccc07d97e1..1dedffd8a8bd15 100644 --- a/change/@uifabric-example-data-2020-10-20-09-58-43-rename-build.json +++ b/change/@uifabric-example-data-2020-10-20-09-58-43-rename-build.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Rename build-related packages", - "packageName": "@uifabric/example-data", + "packageName": "@fluentui/example-data", "email": "elcraig@microsoft.com", "dependentChangeType": "none", "date": "2020-10-20T16:57:02.706Z" diff --git a/change/@uifabric-file-type-icons-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-file-type-icons-2020-10-20-09-58-43-rename-build.json index cea3e129fffcb0..eab817f351d852 100644 --- a/change/@uifabric-file-type-icons-2020-10-20-09-58-43-rename-build.json +++ b/change/@uifabric-file-type-icons-2020-10-20-09-58-43-rename-build.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Rename build-related packages", - "packageName": "@uifabric/file-type-icons", + "packageName": "@fluentui/file-type-icons", "email": "elcraig@microsoft.com", "dependentChangeType": "none", "date": "2020-10-20T16:57:04.236Z" diff --git a/change/@uifabric-file-type-icons-2020-10-20-10-54-27-set-version-rename.json b/change/@uifabric-file-type-icons-2020-10-20-10-54-27-set-version-rename.json index d24a8aaba29c68..b594eaf6cf1785 100644 --- a/change/@uifabric-file-type-icons-2020-10-20-10-54-27-set-version-rename.json +++ b/change/@uifabric-file-type-icons-2020-10-20-10-54-27-set-version-rename.json @@ -1,7 +1,7 @@ { "type": "patch", "comment": "Rename @uifabric/set-version to @fluentui/set-version", - "packageName": "@uifabric/file-type-icons", + "packageName": "@fluentui/file-type-icons", "email": "ololubek@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-20T17:53:41.557Z" diff --git a/change/@uifabric-merge-styles-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-merge-styles-2020-10-20-09-58-43-rename-build.json index fe6fd0462f4b60..2fc0bc197cde03 100644 --- a/change/@uifabric-merge-styles-2020-10-20-09-58-43-rename-build.json +++ b/change/@uifabric-merge-styles-2020-10-20-09-58-43-rename-build.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Rename build-related packages", - "packageName": "@uifabric/merge-styles", + "packageName": "@fluentui/merge-styles", "email": "elcraig@microsoft.com", "dependentChangeType": "none", "date": "2020-10-20T16:57:30.027Z" diff --git a/change/@uifabric-merge-styles-2020-10-20-10-54-27-set-version-rename.json b/change/@uifabric-merge-styles-2020-10-20-10-54-27-set-version-rename.json index f6c3f2374070d1..d08cd9d09e8455 100644 --- a/change/@uifabric-merge-styles-2020-10-20-10-54-27-set-version-rename.json +++ b/change/@uifabric-merge-styles-2020-10-20-10-54-27-set-version-rename.json @@ -1,7 +1,7 @@ { "type": "patch", "comment": "Rename @uifabric/set-version to @fluentui/set-version", - "packageName": "@uifabric/merge-styles", + "packageName": "@fluentui/merge-styles", "email": "ololubek@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-20T17:53:46.662Z" diff --git a/change/@uifabric-set-version-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-set-version-2020-10-20-09-58-43-rename-build.json index 9db617b3ca1f48..c08930d6c148f2 100644 --- a/change/@uifabric-set-version-2020-10-20-09-58-43-rename-build.json +++ b/change/@uifabric-set-version-2020-10-20-09-58-43-rename-build.json @@ -1,7 +1,7 @@ { "type": "minor", "comment": "Rename @uifabric/set-version to @fluentui/set-version", - "packageName": "@uifabric/set-version", + "packageName": "@fluentui/set-version", "email": "elcraig@microsoft.com", "dependentChangeType": "minor", "date": "2020-10-20T16:58:14.038Z" From fd5eee087a81084f82b0e42782282cff772b9cd5 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Tue, 20 Oct 2020 20:55:58 -0700 Subject: [PATCH 11/16] fix script --- apps/public-docsite/scripts/createFlightConfig.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/public-docsite/scripts/createFlightConfig.js b/apps/public-docsite/scripts/createFlightConfig.js index 0f97764c230c1b..6d08254608d96f 100644 --- a/apps/public-docsite/scripts/createFlightConfig.js +++ b/apps/public-docsite/scripts/createFlightConfig.js @@ -4,7 +4,7 @@ const fs = require('fs'); const path = require('path'); -const { argv, logger } = require('@fluentui/scripts').just; +const { argv, logger } = require('@fluentui/scripts'); /** * Task function for the Fluent UI website that generates a manifest for the non-UHF "internal" site From bdc18cee632ae7eac69cc46d20f220c32d97a23e Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Wed, 21 Oct 2020 22:09:16 -0700 Subject: [PATCH 12/16] temporarily revert rename --- apps/a11y-tests/package.json | 2 +- apps/codesandbox-react-next-template/package.json | 2 +- apps/codesandbox-react-northstar-template/package.json | 2 +- apps/codesandbox-react-template/package.json | 2 +- apps/dom-tests/package.json | 2 +- apps/perf-test/package.json | 2 +- apps/pr-deploy-site/package.json | 2 +- apps/public-docsite-resources/package.json | 2 +- apps/public-docsite/package.json | 2 +- apps/server-rendered-app/package.json | 2 +- apps/ssr-tests/package.json | 2 +- apps/test-bundles/package.json | 2 +- apps/theming-designer/package.json | 2 +- apps/todo-app/package.json | 2 +- apps/vr-tests/package.json | 2 +- packages/a11y-testing/package.json | 2 +- packages/api-docs/package.json | 2 +- packages/azure-themes/package.json | 2 +- packages/codemods/package.json | 2 +- packages/common-styles/package.json | 2 +- packages/date-time-utilities/package.json | 2 +- packages/date-time/package.json | 6 +++--- packages/dom-utilities/package.json | 2 +- packages/example-data/package.json | 2 +- packages/file-type-icons/package.json | 2 +- packages/fluentui/accessibility/package.json | 2 +- packages/fluentui/circulars-test/package.json | 2 +- packages/fluentui/code-sandbox/package.json | 2 +- packages/fluentui/docs-components/package.json | 2 +- packages/fluentui/docs/package.json | 2 +- packages/fluentui/e2e/package.json | 2 +- packages/fluentui/projects-test/package.json | 2 +- packages/fluentui/react-bindings/package.json | 2 +- packages/fluentui/react-builder/package.json | 2 +- .../fluentui/react-component-event-listener/package.json | 2 +- .../react-component-nesting-registry/package.json | 2 +- packages/fluentui/react-component-ref/package.json | 2 +- packages/fluentui/react-context-selector/package.json | 2 +- packages/fluentui/react-icons-northstar/package.json | 2 +- .../react-northstar-emotion-renderer/package.json | 2 +- .../fluentui/react-northstar-fela-renderer/package.json | 2 +- .../fluentui/react-northstar-styles-renderer/package.json | 2 +- packages/fluentui/react-northstar/package.json | 2 +- packages/fluentui/react-proptypes/package.json | 2 +- packages/fluentui/react-telemetry/package.json | 2 +- packages/fluentui/state/package.json | 2 +- packages/fluentui/styles/package.json | 2 +- packages/font-icons-mdl2/package.json | 2 +- packages/foundation-legacy/package.json | 4 ++-- packages/jest-serializer-merge-styles/package.json | 4 ++-- packages/keyboard-key/package.json | 2 +- packages/merge-styles/package.json | 2 +- packages/monaco-editor/package.json | 2 +- packages/react-avatar/package.json | 4 ++-- packages/react-button/package.json | 2 +- packages/react-cards/package.json | 4 ++-- packages/react-charting/package.json | 4 ++-- packages/react-checkbox/package.json | 2 +- packages/react-compose/package.json | 2 +- packages/react-conformance/package.json | 2 +- packages/react-docsite-components/package.json | 2 +- packages/react-examples/package.json | 4 ++-- packages/react-experiments/package.json | 4 ++-- packages/react-flex/package.json | 2 +- packages/react-focus/package.json | 4 ++-- packages/react-hooks/package.json | 4 ++-- packages/react-icons-mdl2/package.json | 2 +- packages/react-image/package.json | 2 +- packages/react-internal/package.json | 6 +++--- packages/react-link/package.json | 4 ++-- packages/react-monaco-editor/package.json | 2 +- packages/react-next/package.json | 6 +++--- packages/react-slider/package.json | 4 ++-- packages/react-stylesheets/package.json | 4 ++-- packages/react-tabs/package.json | 2 +- packages/react-text/package.json | 2 +- packages/react-theme-provider/package.json | 4 ++-- packages/react-toggle/package.json | 2 +- packages/react-utilities/package.json | 4 ++-- packages/react-window-provider/package.json | 4 ++-- packages/react/package.json | 8 ++++---- packages/scheme-utilities/package.json | 2 +- packages/set-version/package.json | 2 +- packages/storybook/package.json | 2 +- packages/style-utilities/package.json | 2 +- packages/test-utilities/package.json | 6 +++--- packages/theme-samples/package.json | 2 +- packages/theme/package.json | 2 +- packages/utilities/package.json | 6 +++--- packages/webpack-utilities/package.json | 4 ++-- 90 files changed, 119 insertions(+), 119 deletions(-) diff --git a/apps/a11y-tests/package.json b/apps/a11y-tests/package.json index b6689aba14db19..23ed6357c1f8c8 100644 --- a/apps/a11y-tests/package.json +++ b/apps/a11y-tests/package.json @@ -35,6 +35,6 @@ "@types/react-dom": "16.8.4", "@types/sarif": "^2.1.1", "@fluentui/font-icons-mdl2": "^7.5.8", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" } } diff --git a/apps/codesandbox-react-next-template/package.json b/apps/codesandbox-react-next-template/package.json index 29eed206b7b3c4..dca0df7cecdb18 100644 --- a/apps/codesandbox-react-next-template/package.json +++ b/apps/codesandbox-react-next-template/package.json @@ -14,7 +14,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "typescript": "3.7.2" }, "dependencies": { diff --git a/apps/codesandbox-react-northstar-template/package.json b/apps/codesandbox-react-northstar-template/package.json index fc0f39cb1802a9..5daffe66f12019 100644 --- a/apps/codesandbox-react-northstar-template/package.json +++ b/apps/codesandbox-react-northstar-template/package.json @@ -14,7 +14,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "typescript": "3.7.2" }, "dependencies": { diff --git a/apps/codesandbox-react-template/package.json b/apps/codesandbox-react-template/package.json index 6b3782bd2b8da6..7a6e45d8b30acf 100644 --- a/apps/codesandbox-react-template/package.json +++ b/apps/codesandbox-react-template/package.json @@ -14,7 +14,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "typescript": "3.7.2" }, "dependencies": { diff --git a/apps/dom-tests/package.json b/apps/dom-tests/package.json index 8481567d7549dd..4a3ef4a7fb0770 100644 --- a/apps/dom-tests/package.json +++ b/apps/dom-tests/package.json @@ -20,7 +20,7 @@ "@types/react-dom": "16.8.4", "@types/react": "16.8.25", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@fluentui/react-docsite-components": "^7.15.18", "expect-puppeteer": "4.1.0", "jest-environment-node": "~24.9.0", diff --git a/apps/perf-test/package.json b/apps/perf-test/package.json index 21e2ee918ee64f..a23fd8b33bb836 100644 --- a/apps/perf-test/package.json +++ b/apps/perf-test/package.json @@ -20,7 +20,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@fluentui/set-version": "^7.0.23", "flamegrill": "0.2.0", "lodash": "^4.17.15", diff --git a/apps/pr-deploy-site/package.json b/apps/pr-deploy-site/package.json index 8597b464030b5b..89fa0a4476d630 100644 --- a/apps/pr-deploy-site/package.json +++ b/apps/pr-deploy-site/package.json @@ -10,6 +10,6 @@ }, "license": "MIT", "devDependencies": { - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" } } diff --git a/apps/public-docsite-resources/package.json b/apps/public-docsite-resources/package.json index 8fa152468df7d3..8e9700a8668cd2 100644 --- a/apps/public-docsite-resources/package.json +++ b/apps/public-docsite-resources/package.json @@ -29,7 +29,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6" }, diff --git a/apps/public-docsite/package.json b/apps/public-docsite/package.json index c47393aedf9acf..d70c9ef400698b 100644 --- a/apps/public-docsite/package.json +++ b/apps/public-docsite/package.json @@ -31,7 +31,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/node": "^10.3.2", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@fluentui/react-monaco-editor": "^0.13.18", "react-app-polyfill": "~1.0.1", "write-file-webpack-plugin": "^4.1.0" diff --git a/apps/server-rendered-app/package.json b/apps/server-rendered-app/package.json index 49f17256659a50..44e346051cdcca 100644 --- a/apps/server-rendered-app/package.json +++ b/apps/server-rendered-app/package.json @@ -23,7 +23,7 @@ "@types/webpack-env": "1.15.1", "express": "^4.15.4", "compression": "^1.7.2", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@microsoft/load-themed-styles": "^1.10.26", diff --git a/apps/ssr-tests/package.json b/apps/ssr-tests/package.json index aee5967e496bc8..feb226b883c34c 100644 --- a/apps/ssr-tests/package.json +++ b/apps/ssr-tests/package.json @@ -17,7 +17,7 @@ "@microsoft/load-themed-styles": "^1.10.26", "@types/mocha": "^7.0.2", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@fluentui/public-docsite-resources": "^7.8.18", "just-scripts-utils": "^0.8.3", "mocha": "^3.3.0", diff --git a/apps/test-bundles/package.json b/apps/test-bundles/package.json index 983a410e8de011..5b25cbf82e52c0 100644 --- a/apps/test-bundles/package.json +++ b/apps/test-bundles/package.json @@ -16,7 +16,7 @@ "@fluentui/react": "^7.142.0", "@fluentui/react-button": "^0.14.3", "@fluentui/react-compose": "^0.19.4", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "parallel-webpack": "^2.4.0", "webpack-bundle-analyzer": "^3.6.0" } diff --git a/apps/theming-designer/package.json b/apps/theming-designer/package.json index 81a453e012722d..245837d5ea7050 100644 --- a/apps/theming-designer/package.json +++ b/apps/theming-designer/package.json @@ -18,7 +18,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@fluentui/react": "^7.142.0", diff --git a/apps/todo-app/package.json b/apps/todo-app/package.json index 7aecfcd72c2a50..c8fc36372b08f3 100644 --- a/apps/todo-app/package.json +++ b/apps/todo-app/package.json @@ -17,7 +17,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@fluentui/react": "^7.142.0", diff --git a/apps/vr-tests/package.json b/apps/vr-tests/package.json index d42ad21a7e7979..4d0b200e02c920 100644 --- a/apps/vr-tests/package.json +++ b/apps/vr-tests/package.json @@ -28,7 +28,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@uifabric/date-time": "^7.17.16", "@fluentui/example-data": "^7.1.5", "@fluentui/react-experiments": "^7.33.1", diff --git a/packages/a11y-testing/package.json b/packages/a11y-testing/package.json index 122ededb4ec3c1..1cc78c3acd63fa 100644 --- a/packages/a11y-testing/package.json +++ b/packages/a11y-testing/package.json @@ -21,7 +21,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/enzyme": "3.10.3", "@types/react": "16.8.25", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@types/jest": "~24.9.0", "jest": "~24.9.0", "enzyme": "~3.10.0", diff --git a/packages/api-docs/package.json b/packages/api-docs/package.json index 54f50b26035455..628fcca5d4d1ee 100644 --- a/packages/api-docs/package.json +++ b/packages/api-docs/package.json @@ -22,7 +22,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/fs-extra": "^8.0.1", "@types/node": "^10.3.2", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@fluentui/date-time-utilities": "^7.9.0", diff --git a/packages/azure-themes/package.json b/packages/azure-themes/package.json index 4889840683f0e5..ca98968798e5f1 100644 --- a/packages/azure-themes/package.json +++ b/packages/azure-themes/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "react": "16.8.6" }, "dependencies": { diff --git a/packages/codemods/package.json b/packages/codemods/package.json index aa91022db31188..f597f39ba221b9 100644 --- a/packages/codemods/package.json +++ b/packages/codemods/package.json @@ -26,7 +26,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", "@types/node": "^10.3.2", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@types/react": "16.8.25", "@types/semver": "^5.5.0" }, diff --git a/packages/common-styles/package.json b/packages/common-styles/package.json index 1c46163092be8f..4d62b4acac5d41 100644 --- a/packages/common-styles/package.json +++ b/packages/common-styles/package.json @@ -18,7 +18,7 @@ "office-ui-fabric-core": "^11.0.0" }, "devDependencies": { - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@fluentui/style-utilities": "^7.16.9" } } diff --git a/packages/date-time-utilities/package.json b/packages/date-time-utilities/package.json index 971acd349f9a6e..b11f72879da8de 100644 --- a/packages/date-time-utilities/package.json +++ b/packages/date-time-utilities/package.json @@ -27,7 +27,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@fluentui/set-version": "^7.0.23", diff --git a/packages/date-time/package.json b/packages/date-time/package.json index 13b3c9db92a5c5..8534bc1101a8b7 100644 --- a/packages/date-time/package.json +++ b/packages/date-time/package.json @@ -37,9 +37,9 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", - "@fluentui/test-utilities": "^7.3.0", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/test-utilities": "^7.3.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/dom-utilities/package.json b/packages/dom-utilities/package.json index 693eeac9bee5dc..d16cd47b74c080 100644 --- a/packages/dom-utilities/package.json +++ b/packages/dom-utilities/package.json @@ -28,7 +28,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@fluentui/set-version": "^7.0.23", diff --git a/packages/example-data/package.json b/packages/example-data/package.json index f763181f10ea5a..3016171eb08741 100644 --- a/packages/example-data/package.json +++ b/packages/example-data/package.json @@ -22,7 +22,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "tslib": "^1.10.0" diff --git a/packages/file-type-icons/package.json b/packages/file-type-icons/package.json index 296c93761b2194..ac50070c4d7bd7 100644 --- a/packages/file-type-icons/package.json +++ b/packages/file-type-icons/package.json @@ -26,7 +26,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1" }, diff --git a/packages/fluentui/accessibility/package.json b/packages/fluentui/accessibility/package.json index 84dffd9110b24a..e4ad1cd28013b9 100644 --- a/packages/fluentui/accessibility/package.json +++ b/packages/fluentui/accessibility/package.json @@ -13,7 +13,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/gulp": "^4.0.6", "@types/react": "16.8.25", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "gulp": "^4.0.2", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" diff --git a/packages/fluentui/circulars-test/package.json b/packages/fluentui/circulars-test/package.json index 03db64422b57e7..1e26ab399fb0e5 100644 --- a/packages/fluentui/circulars-test/package.json +++ b/packages/fluentui/circulars-test/package.json @@ -7,7 +7,7 @@ "@fluentui/react-northstar": "^0.51.0" }, "devDependencies": { - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "gulp": "^4.0.2", "typescript": "3.7.2" }, diff --git a/packages/fluentui/code-sandbox/package.json b/packages/fluentui/code-sandbox/package.json index 4b49c5bdc97b93..442b8336252e7e 100644 --- a/packages/fluentui/code-sandbox/package.json +++ b/packages/fluentui/code-sandbox/package.json @@ -11,7 +11,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@fluentui/react-northstar": "^0.51.0", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "react": "16.8.6", "typescript": "3.7.2" }, diff --git a/packages/fluentui/docs-components/package.json b/packages/fluentui/docs-components/package.json index 69216e2264b841..26038f5fc99a07 100644 --- a/packages/fluentui/docs-components/package.json +++ b/packages/fluentui/docs-components/package.json @@ -19,7 +19,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/gulp": "^4.0.6", "@types/react": "16.8.25", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "gulp": "^4.0.2", "prettier": "~1.19.1", "react": "16.8.6", diff --git a/packages/fluentui/docs/package.json b/packages/fluentui/docs/package.json index a14b22981b23f0..3e01abfeca86af 100644 --- a/packages/fluentui/docs/package.json +++ b/packages/fluentui/docs/package.json @@ -59,7 +59,7 @@ "@types/react-router-dom": "^5.1.5", "@types/react-virtualized": "^9.21.8", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "gulp": "^4.0.2", "typescript": "3.7.2" }, diff --git a/packages/fluentui/e2e/package.json b/packages/fluentui/e2e/package.json index cf0431c2dd313e..4366264a0b9411 100644 --- a/packages/fluentui/e2e/package.json +++ b/packages/fluentui/e2e/package.json @@ -14,7 +14,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/react-router-dom": "^5.1.5", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "lodash": "^4.17.15", "puppeteer": "^1.13.0", diff --git a/packages/fluentui/projects-test/package.json b/packages/fluentui/projects-test/package.json index 25407b0c57d7b6..9daf36c6bba3b5 100644 --- a/packages/fluentui/projects-test/package.json +++ b/packages/fluentui/projects-test/package.json @@ -11,7 +11,7 @@ "@lerna/package-graph": "^3.14.0", "@types/express": "^4.16.1", "@types/fs-extra": "^8.0.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "express": "^4.15.4", "fs-extra": "^8.1.0", "portfinder": "^1.0.20", diff --git a/packages/fluentui/react-bindings/package.json b/packages/fluentui/react-bindings/package.json index cd22972f99e592..ccb4e498a26ba7 100644 --- a/packages/fluentui/react-bindings/package.json +++ b/packages/fluentui/react-bindings/package.json @@ -30,7 +30,7 @@ "@types/classnames": "^2.2.9", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-dom": "16.8.6", diff --git a/packages/fluentui/react-builder/package.json b/packages/fluentui/react-builder/package.json index eb24119998bc84..8b59669d35e516 100644 --- a/packages/fluentui/react-builder/package.json +++ b/packages/fluentui/react-builder/package.json @@ -23,7 +23,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react-frame-component": "^4.1.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" }, diff --git a/packages/fluentui/react-component-event-listener/package.json b/packages/fluentui/react-component-event-listener/package.json index 640ebfb70044e2..ce411a639e0e05 100644 --- a/packages/fluentui/react-component-event-listener/package.json +++ b/packages/fluentui/react-component-event-listener/package.json @@ -11,7 +11,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", "@types/simulant": "^0.2.0", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "simulant": "^0.2.2", diff --git a/packages/fluentui/react-component-nesting-registry/package.json b/packages/fluentui/react-component-nesting-registry/package.json index 0889820011791c..061554104eb6c5 100644 --- a/packages/fluentui/react-component-nesting-registry/package.json +++ b/packages/fluentui/react-component-nesting-registry/package.json @@ -11,7 +11,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "typescript": "3.7.2" diff --git a/packages/fluentui/react-component-ref/package.json b/packages/fluentui/react-component-ref/package.json index 817d8cab729779..b3859aa815af0f 100644 --- a/packages/fluentui/react-component-ref/package.json +++ b/packages/fluentui/react-component-ref/package.json @@ -13,7 +13,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/react-is": "^16.7.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-dom": "16.8.6", diff --git a/packages/fluentui/react-context-selector/package.json b/packages/fluentui/react-context-selector/package.json index 2364cc2994de40..208619aae16a94 100644 --- a/packages/fluentui/react-context-selector/package.json +++ b/packages/fluentui/react-context-selector/package.json @@ -11,7 +11,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", "@types/react-is": "^16.7.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-is": "^16.6.3", diff --git a/packages/fluentui/react-icons-northstar/package.json b/packages/fluentui/react-icons-northstar/package.json index d2051bccb1c78f..547b4818096a4f 100644 --- a/packages/fluentui/react-icons-northstar/package.json +++ b/packages/fluentui/react-icons-northstar/package.json @@ -16,7 +16,7 @@ "@types/node": "^10.3.2", "@types/react": "16.8.25", "@types/react-is": "^16.7.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-is": "^16.6.3", diff --git a/packages/fluentui/react-northstar-emotion-renderer/package.json b/packages/fluentui/react-northstar-emotion-renderer/package.json index ff4ba4efd3dc68..4bae2b3d937d7e 100644 --- a/packages/fluentui/react-northstar-emotion-renderer/package.json +++ b/packages/fluentui/react-northstar-emotion-renderer/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "typescript": "3.7.2" diff --git a/packages/fluentui/react-northstar-fela-renderer/package.json b/packages/fluentui/react-northstar-fela-renderer/package.json index 871ed4b467946a..06772ab9410466 100644 --- a/packages/fluentui/react-northstar-fela-renderer/package.json +++ b/packages/fluentui/react-northstar-fela-renderer/package.json @@ -22,7 +22,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "typescript": "3.7.2" diff --git a/packages/fluentui/react-northstar-styles-renderer/package.json b/packages/fluentui/react-northstar-styles-renderer/package.json index cf9d4213ea9925..093244abfb9b94 100644 --- a/packages/fluentui/react-northstar-styles-renderer/package.json +++ b/packages/fluentui/react-northstar-styles-renderer/package.json @@ -10,7 +10,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "typescript": "3.7.2" diff --git a/packages/fluentui/react-northstar/package.json b/packages/fluentui/react-northstar/package.json index 11a6fd8a33132d..41ebf0f9871bf2 100644 --- a/packages/fluentui/react-northstar/package.json +++ b/packages/fluentui/react-northstar/package.json @@ -42,7 +42,7 @@ "@types/react-dom": "16.8.4", "@types/react-is": "^16.7.1", "@types/simulant": "^0.2.0", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "csstype": "^2.6.7", "faker": "^4.1.0", "fela-tools": "^10.6.1", diff --git a/packages/fluentui/react-proptypes/package.json b/packages/fluentui/react-proptypes/package.json index 3db504c6e876e9..8f22d788069b60 100644 --- a/packages/fluentui/react-proptypes/package.json +++ b/packages/fluentui/react-proptypes/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" }, diff --git a/packages/fluentui/react-telemetry/package.json b/packages/fluentui/react-telemetry/package.json index 4d194ec4615dfd..8730f0ee6409b4 100644 --- a/packages/fluentui/react-telemetry/package.json +++ b/packages/fluentui/react-telemetry/package.json @@ -16,7 +16,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/react-table": "^7.0.19", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-dom": "16.8.6", diff --git a/packages/fluentui/state/package.json b/packages/fluentui/state/package.json index 885f8de466be1f..5a8f55e0436141 100644 --- a/packages/fluentui/state/package.json +++ b/packages/fluentui/state/package.json @@ -9,7 +9,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" }, diff --git a/packages/fluentui/styles/package.json b/packages/fluentui/styles/package.json index 7c39c80027456d..0b378be702e89d 100644 --- a/packages/fluentui/styles/package.json +++ b/packages/fluentui/styles/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" }, diff --git a/packages/font-icons-mdl2/package.json b/packages/font-icons-mdl2/package.json index bf403866f67ed8..ecf91d2553d465 100644 --- a/packages/font-icons-mdl2/package.json +++ b/packages/font-icons-mdl2/package.json @@ -25,7 +25,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@fluentui/set-version": "^7.0.23", diff --git a/packages/foundation-legacy/package.json b/packages/foundation-legacy/package.json index 3a1800f090ad1c..9672416b0ed9a0 100644 --- a/packages/foundation-legacy/package.json +++ b/packages/foundation-legacy/package.json @@ -33,8 +33,8 @@ "@types/jest": "~24.9.0", "@types/react": "16.8.25", "@types/react-test-renderer": "^16.0.0", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/jest-serializer-merge-styles/package.json b/packages/jest-serializer-merge-styles/package.json index 829f1cbd1ee470..23eba3e2238ac5 100644 --- a/packages/jest-serializer-merge-styles/package.json +++ b/packages/jest-serializer-merge-styles/package.json @@ -1,5 +1,5 @@ { - "name": "@fluentui/jest-serializer-merge-styles", + "name": "@uifabric/jest-serializer-merge-styles", "version": "7.2.2", "description": "Jest serializer for merge-styles.", "main": "lib-commonjs/index.js", @@ -33,7 +33,7 @@ "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6", "react-test-renderer": "^16.3.0", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@fluentui/set-version": "^7.0.23", diff --git a/packages/keyboard-key/package.json b/packages/keyboard-key/package.json index c6a157944a5393..b02a05c4b697ae 100644 --- a/packages/keyboard-key/package.json +++ b/packages/keyboard-key/package.json @@ -23,7 +23,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "tslib": "^1.10.0" diff --git a/packages/merge-styles/package.json b/packages/merge-styles/package.json index 256360ca46472d..c55f74eba99463 100644 --- a/packages/merge-styles/package.json +++ b/packages/merge-styles/package.json @@ -27,7 +27,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@fluentui/set-version": "^7.0.23", diff --git a/packages/monaco-editor/package.json b/packages/monaco-editor/package.json index 24d15fe8098680..98b191e419b487 100644 --- a/packages/monaco-editor/package.json +++ b/packages/monaco-editor/package.json @@ -17,7 +17,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "monaco-editor": "0.19.0", "monaco-typescript": "3.6.1" }, diff --git a/packages/react-avatar/package.json b/packages/react-avatar/package.json index c96da2688cdbc9..9764feff2c5c21 100644 --- a/packages/react-avatar/package.json +++ b/packages/react-avatar/package.json @@ -36,8 +36,8 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "es6-weak-map": "^2.0.2", diff --git a/packages/react-button/package.json b/packages/react-button/package.json index 65d4714f904e3d..b400b80d804616 100644 --- a/packages/react-button/package.json +++ b/packages/react-button/package.json @@ -38,7 +38,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-cards/package.json b/packages/react-cards/package.json index 9087a8f53c072f..6baa240ba552a8 100644 --- a/packages/react-cards/package.json +++ b/packages/react-cards/package.json @@ -36,8 +36,8 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-charting/package.json b/packages/react-charting/package.json index 9646a32824296c..17707d9981fac7 100644 --- a/packages/react-charting/package.json +++ b/packages/react-charting/package.json @@ -37,8 +37,8 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-checkbox/package.json b/packages/react-checkbox/package.json index e9b183b6f4f2ce..f6ea42c9b8bfcd 100644 --- a/packages/react-checkbox/package.json +++ b/packages/react-checkbox/package.json @@ -37,7 +37,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-compose/package.json b/packages/react-compose/package.json index 71f9146234a352..7dedb8f667f416 100644 --- a/packages/react-compose/package.json +++ b/packages/react-compose/package.json @@ -30,7 +30,7 @@ "@types/jest": "~24.9.0", "@types/react": "16.8.25", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6" diff --git a/packages/react-conformance/package.json b/packages/react-conformance/package.json index c5efd9cd436480..bee3bc74fe25e8 100644 --- a/packages/react-conformance/package.json +++ b/packages/react-conformance/package.json @@ -28,7 +28,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/react-is": "^16.7.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "jest": "~24.9.0", diff --git a/packages/react-docsite-components/package.json b/packages/react-docsite-components/package.json index f01eba6fb5306f..0519237d98622c 100644 --- a/packages/react-docsite-components/package.json +++ b/packages/react-docsite-components/package.json @@ -29,7 +29,7 @@ "@types/react-custom-scrollbars": "^4.0.5", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6" diff --git a/packages/react-examples/package.json b/packages/react-examples/package.json index baa9589f37aaf4..7e52449050d1b0 100644 --- a/packages/react-examples/package.json +++ b/packages/react-examples/package.json @@ -30,8 +30,8 @@ "@types/node": "^10.3.2", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", "chalk": "^2.1.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-experiments/package.json b/packages/react-experiments/package.json index 3a78357f1e1942..787f5775fdc482 100644 --- a/packages/react-experiments/package.json +++ b/packages/react-experiments/package.json @@ -40,8 +40,8 @@ "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-flex/package.json b/packages/react-flex/package.json index fe4d84a9170468..9f7158c6a356b4 100644 --- a/packages/react-flex/package.json +++ b/packages/react-flex/package.json @@ -27,7 +27,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@fluentui/eslint-plugin": "^0.54.1", "react": "16.8.6", "react-app-polyfill": "~1.0.1", diff --git a/packages/react-focus/package.json b/packages/react-focus/package.json index 3efc8eb8eb943a..889f248e019992 100644 --- a/packages/react-focus/package.json +++ b/packages/react-focus/package.json @@ -36,8 +36,8 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index 57337f05872114..11ab2d06a7ce63 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -32,8 +32,8 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", - "@fluentui/test-utilities": "^7.3.0", + "@uifabric/build": "^1.0.0", + "@uifabric/test-utilities": "^7.3.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-icons-mdl2/package.json b/packages/react-icons-mdl2/package.json index b845fec0771427..b69e50dc94f67c 100644 --- a/packages/react-icons-mdl2/package.json +++ b/packages/react-icons-mdl2/package.json @@ -34,7 +34,7 @@ "@types/react-is": "^16.7.1", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-image/package.json b/packages/react-image/package.json index c67a5e76383404..e804c4fc1e59f7 100644 --- a/packages/react-image/package.json +++ b/packages/react-image/package.json @@ -37,7 +37,7 @@ "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", "@fluentui/react-conformance": "^0.1.5", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-internal/package.json b/packages/react-internal/package.json index 0c34c702e3e66a..5846de3c4c8d28 100644 --- a/packages/react-internal/package.json +++ b/packages/react-internal/package.json @@ -37,10 +37,10 @@ "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@fluentui/example-data": "^7.1.5", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", - "@fluentui/test-utilities": "^7.3.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/test-utilities": "^7.3.0", "@fluentui/react-conformance": "^0.1.5", "chalk": "^2.1.0", "enzyme": "~3.10.0", diff --git a/packages/react-link/package.json b/packages/react-link/package.json index f2f1bb015802ef..69d6125791b536 100644 --- a/packages/react-link/package.json +++ b/packages/react-link/package.json @@ -35,8 +35,8 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-monaco-editor/package.json b/packages/react-monaco-editor/package.json index a3cdc0ff9a0785..415fe4c19c4249 100644 --- a/packages/react-monaco-editor/package.json +++ b/packages/react-monaco-editor/package.json @@ -30,7 +30,7 @@ "@types/react-dom": "16.8.4", "@types/react-syntax-highlighter": "^10.2.1", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6", diff --git a/packages/react-next/package.json b/packages/react-next/package.json index d6143605fe6ff0..eda20f881e6981 100644 --- a/packages/react-next/package.json +++ b/packages/react-next/package.json @@ -42,10 +42,10 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@fluentui/example-data": "^7.1.5", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", - "@fluentui/test-utilities": "^7.3.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/test-utilities": "^7.3.0", "@fluentui/react-conformance": "^0.1.5", "chalk": "^2.1.0", "enzyme": "~3.10.0", diff --git a/packages/react-slider/package.json b/packages/react-slider/package.json index 82b0a7be60bffd..d877921181ad9c 100644 --- a/packages/react-slider/package.json +++ b/packages/react-slider/package.json @@ -35,8 +35,8 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-stylesheets/package.json b/packages/react-stylesheets/package.json index 938e613350c558..85709a2e75fcab 100644 --- a/packages/react-stylesheets/package.json +++ b/packages/react-stylesheets/package.json @@ -34,8 +34,8 @@ "@types/react": "16.8.25", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-tabs/package.json b/packages/react-tabs/package.json index 506fd07cf73bcc..1c0ecc42a44165 100644 --- a/packages/react-tabs/package.json +++ b/packages/react-tabs/package.json @@ -37,7 +37,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "enzyme": "~3.10.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", diff --git a/packages/react-text/package.json b/packages/react-text/package.json index e1bf4a12d1961d..1e0b5ab0c7b571 100644 --- a/packages/react-text/package.json +++ b/packages/react-text/package.json @@ -36,7 +36,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-theme-provider/package.json b/packages/react-theme-provider/package.json index 29df23b9860b68..56af31bd421c05 100644 --- a/packages/react-theme-provider/package.json +++ b/packages/react-theme-provider/package.json @@ -35,9 +35,9 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@fluentui/style-utilities": "^7.16.9", - "@fluentui/test-utilities": "^7.3.0", + "@uifabric/test-utilities": "^7.3.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-toggle/package.json b/packages/react-toggle/package.json index 7db23eed0b0141..758460844e2ab8 100644 --- a/packages/react-toggle/package.json +++ b/packages/react-toggle/package.json @@ -35,7 +35,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "enzyme": "~3.10.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", diff --git a/packages/react-utilities/package.json b/packages/react-utilities/package.json index da95e45cdb3e72..f08101be312a66 100644 --- a/packages/react-utilities/package.json +++ b/packages/react-utilities/package.json @@ -34,8 +34,8 @@ "@types/react": "16.8.25", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-window-provider/package.json b/packages/react-window-provider/package.json index 54bf81468258bc..a267ff1a482f14 100644 --- a/packages/react-window-provider/package.json +++ b/packages/react-window-provider/package.json @@ -28,10 +28,10 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@fluentui/test-utilities": "^7.3.0", + "@uifabric/test-utilities": "^7.3.0", "@types/react": "16.8.25", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1" }, diff --git a/packages/react/package.json b/packages/react/package.json index eeee4852b51204..e6a95d6f0bad9e 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -41,11 +41,11 @@ "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "@fluentui/example-data": "^7.1.5", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", - "@fluentui/test-utilities": "^7.3.0", - "@fluentui/webpack-utilities": "^7.0.25", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/test-utilities": "^7.3.0", + "@uifabric/webpack-utils": "^7.0.25", "@fluentui/react-conformance": "^0.1.5", "chalk": "^2.1.0", "enzyme": "~3.10.0", diff --git a/packages/scheme-utilities/package.json b/packages/scheme-utilities/package.json index dfece21777b9b2..00d20331431f40 100644 --- a/packages/scheme-utilities/package.json +++ b/packages/scheme-utilities/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@fluentui/theme": "^1.2.1", diff --git a/packages/set-version/package.json b/packages/set-version/package.json index 45799b474e6314..677243675e569a 100644 --- a/packages/set-version/package.json +++ b/packages/set-version/package.json @@ -21,7 +21,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "tslib": "^1.10.0" diff --git a/packages/storybook/package.json b/packages/storybook/package.json index 55be615d15b7b8..1198dc32f5d320 100644 --- a/packages/storybook/package.json +++ b/packages/storybook/package.json @@ -19,7 +19,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", "@types/react": "16.8.25", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "react": "16.8.6" }, "dependencies": { diff --git a/packages/style-utilities/package.json b/packages/style-utilities/package.json index cb1319fd42a2b9..291c5be897b57a 100644 --- a/packages/style-utilities/package.json +++ b/packages/style-utilities/package.json @@ -30,7 +30,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/jest": "~24.9.0", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@microsoft/load-themed-styles": "^1.10.26", diff --git a/packages/test-utilities/package.json b/packages/test-utilities/package.json index a6856e94935b8e..0e0d809df2b4b6 100644 --- a/packages/test-utilities/package.json +++ b/packages/test-utilities/package.json @@ -1,5 +1,5 @@ { - "name": "@fluentui/test-utilities", + "name": "@uifabric/test-utilities", "version": "7.3.0", "description": "Utilities used when testing components.", "main": "lib-commonjs/index.js", @@ -32,13 +32,13 @@ "@types/react": "16.8.25", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", "react-test-renderer": "^16.3.0", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@fluentui/set-version": "^7.0.23" diff --git a/packages/theme-samples/package.json b/packages/theme-samples/package.json index 23a5c9c6ab64b1..5e9183ee60bddd 100644 --- a/packages/theme-samples/package.json +++ b/packages/theme-samples/package.json @@ -23,7 +23,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^0.54.1", - "@fluentui/scripts": "^7.0.0" + "@uifabric/build": "^1.0.0" }, "dependencies": { "@fluentui/react": "^7.142.0", diff --git a/packages/theme/package.json b/packages/theme/package.json index 06e3149ea06798..e39ecdbe37bb3d 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -33,7 +33,7 @@ "@types/jest": "~24.9.0", "@types/react": "16.8.25", "@types/webpack-env": "1.15.1", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 192dd2a0c57e45..1101bbf108c5cf 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -36,9 +36,9 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", - "@fluentui/scripts": "^7.0.0", - "@fluentui/jest-serializer-merge-styles": "^7.2.2", - "@fluentui/test-utilities": "^7.3.0", + "@uifabric/build": "^1.0.0", + "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@uifabric/test-utilities": "^7.3.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/webpack-utilities/package.json b/packages/webpack-utilities/package.json index c64ba9ddd047d6..9aed4533236af1 100644 --- a/packages/webpack-utilities/package.json +++ b/packages/webpack-utilities/package.json @@ -1,5 +1,5 @@ { - "name": "@fluentui/webpack-utilities", + "name": "@uifabric/webpack-utils", "version": "7.0.25", "description": "Fluent UI React utilities for Webpack bundler.", "repository": { @@ -20,7 +20,7 @@ "@fluentui/eslint-plugin": "^0.54.1", "@types/loader-utils": "1.1.3", "@types/webpack": "4.4.0", - "@fluentui/scripts": "^7.0.0", + "@uifabric/build": "^1.0.0", "webpack": "4.43.0" }, "dependencies": { From eed0f97d910abe178187b6838bd27d5578d30929 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Wed, 21 Oct 2020 22:19:30 -0700 Subject: [PATCH 13/16] re-rename --- apps/a11y-tests/package.json | 4 ++-- .../codesandbox-react-next-template/package.json | 2 +- .../package.json | 2 +- apps/codesandbox-react-template/package.json | 2 +- apps/dom-tests/package.json | 2 +- apps/perf-test/package.json | 2 +- apps/pr-deploy-site/package.json | 2 +- apps/public-docsite-resources/package.json | 2 +- apps/public-docsite/package.json | 2 +- apps/server-rendered-app/package.json | 2 +- apps/ssr-tests/package.json | 2 +- apps/test-bundles/package.json | 2 +- apps/theming-designer/package.json | 2 +- apps/todo-app/package.json | 2 +- apps/vr-tests/package.json | 2 +- ...-styles-2020-10-20-09-58-43-rename-build.json | 2 +- ...ilities-2020-10-20-09-58-43-rename-build.json | 2 +- ...s-2020-10-20-10-54-27-set-version-rename.json | 2 +- ...styles-2020-10-20-12-07-18-v8-major-bump.json | 2 +- ...-2020-10-20-17-22-49-merge-styles-rename.json | 2 +- ...s-2020-10-20-10-54-27-set-version-rename.json | 2 +- ...lities-2020-10-20-12-07-18-v8-major-bump.json | 2 +- ...lities-2020-10-21-14-49-09-react-dom-dep.json | 2 +- ...-utils-2020-10-20-12-07-18-v8-major-bump.json | 2 +- packages/a11y-testing/package.json | 2 +- packages/api-docs/package.json | 2 +- packages/azure-themes/package.json | 2 +- packages/codemods/package.json | 2 +- packages/common-styles/package.json | 4 ++-- packages/date-time-utilities/package.json | 2 +- packages/date-time/package.json | 6 +++--- packages/dom-utilities/package.json | 2 +- packages/example-data/package.json | 4 ++-- packages/file-type-icons/package.json | 2 +- packages/fluentui/accessibility/package.json | 2 +- packages/fluentui/circulars-test/package.json | 2 +- packages/fluentui/code-sandbox/package.json | 2 +- packages/fluentui/docs-components/package.json | 2 +- packages/fluentui/docs/package.json | 2 +- packages/fluentui/e2e/package.json | 2 +- packages/fluentui/projects-test/package.json | 2 +- packages/fluentui/react-bindings/package.json | 2 +- packages/fluentui/react-builder/package.json | 2 +- .../react-component-event-listener/package.json | 2 +- .../package.json | 2 +- .../fluentui/react-component-ref/package.json | 2 +- .../fluentui/react-context-selector/package.json | 2 +- .../fluentui/react-icons-northstar/package.json | 2 +- .../package.json | 2 +- .../react-northstar-fela-renderer/package.json | 2 +- .../react-northstar-styles-renderer/package.json | 2 +- packages/fluentui/react-northstar/package.json | 2 +- packages/fluentui/react-proptypes/package.json | 2 +- packages/fluentui/react-telemetry/package.json | 2 +- packages/fluentui/state/package.json | 4 ++-- packages/fluentui/styles/package.json | 2 +- packages/font-icons-mdl2/package.json | 4 ++-- packages/foundation-legacy/package.json | 4 ++-- .../jest-serializer-merge-styles/package.json | 4 ++-- packages/keyboard-key/package.json | 2 +- packages/merge-styles/package.json | 2 +- packages/monaco-editor/package.json | 4 ++-- packages/react-avatar/package.json | 4 ++-- packages/react-button/package.json | 2 +- packages/react-cards/package.json | 4 ++-- packages/react-charting/package.json | 4 ++-- packages/react-checkbox/package.json | 2 +- packages/react-compose/package.json | 2 +- packages/react-conformance/package.json | 2 +- packages/react-docsite-components/package.json | 2 +- packages/react-examples/package.json | 4 ++-- packages/react-experiments/package.json | 4 ++-- packages/react-flex/package.json | 4 ++-- packages/react-focus/package.json | 4 ++-- packages/react-hooks/package.json | 4 ++-- packages/react-icons-mdl2/package.json | 2 +- packages/react-image/package.json | 4 ++-- packages/react-internal/package.json | 10 +++++----- packages/react-link/package.json | 4 ++-- packages/react-monaco-editor/package.json | 2 +- packages/react-next/package.json | 10 +++++----- packages/react-slider/package.json | 4 ++-- packages/react-stylesheets/package.json | 4 ++-- packages/react-tabs/package.json | 2 +- packages/react-text/package.json | 2 +- packages/react-theme-provider/package.json | 6 +++--- packages/react-toggle/package.json | 2 +- packages/react-utilities/package.json | 4 ++-- packages/react-window-provider/package.json | 4 ++-- packages/react/package.json | 16 ++++------------ packages/scheme-utilities/package.json | 4 ++-- packages/set-version/package.json | 2 +- packages/storybook/package.json | 2 +- packages/style-utilities/package.json | 2 +- packages/test-utilities/package.json | 6 +++--- packages/theme-samples/package.json | 4 ++-- packages/theme/package.json | 2 +- packages/utilities/package.json | 6 +++--- packages/webpack-utilities/package.json | 4 ++-- 99 files changed, 143 insertions(+), 151 deletions(-) diff --git a/apps/a11y-tests/package.json b/apps/a11y-tests/package.json index 960dd9af628805..ad2a7df717a7db 100644 --- a/apps/a11y-tests/package.json +++ b/apps/a11y-tests/package.json @@ -34,7 +34,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/sarif": "^2.1.1", - "@fluentui/font-icons-mdl2": "^7.5.8", - "@uifabric/build": "^1.0.0" + "@fluentui/font-icons-mdl2": "^8.0.0-beta", + "@fluentui/scripts": "^1.0.0" } } diff --git a/apps/codesandbox-react-next-template/package.json b/apps/codesandbox-react-next-template/package.json index 9a012bb8769336..231a54eef91f88 100644 --- a/apps/codesandbox-react-next-template/package.json +++ b/apps/codesandbox-react-next-template/package.json @@ -14,7 +14,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "typescript": "3.7.2" }, "dependencies": { diff --git a/apps/codesandbox-react-northstar-template/package.json b/apps/codesandbox-react-northstar-template/package.json index 1bed8ec9585e90..42cbabe3f7951f 100644 --- a/apps/codesandbox-react-northstar-template/package.json +++ b/apps/codesandbox-react-northstar-template/package.json @@ -14,7 +14,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "typescript": "3.7.2" }, "dependencies": { diff --git a/apps/codesandbox-react-template/package.json b/apps/codesandbox-react-template/package.json index 6e264858c62da3..4e3499ff04a3b2 100644 --- a/apps/codesandbox-react-template/package.json +++ b/apps/codesandbox-react-template/package.json @@ -14,7 +14,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "typescript": "3.7.2" }, "dependencies": { diff --git a/apps/dom-tests/package.json b/apps/dom-tests/package.json index a1388c53af7d39..aac6c6c46698c2 100644 --- a/apps/dom-tests/package.json +++ b/apps/dom-tests/package.json @@ -20,7 +20,7 @@ "@types/react-dom": "16.8.4", "@types/react": "16.8.25", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "@fluentui/react-docsite-components": "^8.0.0-beta", "expect-puppeteer": "4.1.0", "jest-environment-node": "~24.9.0", diff --git a/apps/perf-test/package.json b/apps/perf-test/package.json index f07e479942d179..4eb5abc9425e40 100644 --- a/apps/perf-test/package.json +++ b/apps/perf-test/package.json @@ -20,7 +20,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "@fluentui/set-version": "^8.0.0-beta", "flamegrill": "0.2.0", "lodash": "^4.17.15", diff --git a/apps/pr-deploy-site/package.json b/apps/pr-deploy-site/package.json index 237d001bffe5a2..de9bcd7181e814 100644 --- a/apps/pr-deploy-site/package.json +++ b/apps/pr-deploy-site/package.json @@ -10,6 +10,6 @@ }, "license": "MIT", "devDependencies": { - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" } } diff --git a/apps/public-docsite-resources/package.json b/apps/public-docsite-resources/package.json index 350a32e8cbd649..464e5e4a97fea2 100644 --- a/apps/public-docsite-resources/package.json +++ b/apps/public-docsite-resources/package.json @@ -29,7 +29,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6" }, diff --git a/apps/public-docsite/package.json b/apps/public-docsite/package.json index 8dbd74fb4bfb82..d79449d4d54ba1 100644 --- a/apps/public-docsite/package.json +++ b/apps/public-docsite/package.json @@ -31,7 +31,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/node": "^10.3.2", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "@fluentui/react-monaco-editor": "^1.0.0-beta", "react-app-polyfill": "~1.0.1", "write-file-webpack-plugin": "^4.1.0" diff --git a/apps/server-rendered-app/package.json b/apps/server-rendered-app/package.json index 9b45c44b0c7b3b..8dd59aa5b0d50e 100644 --- a/apps/server-rendered-app/package.json +++ b/apps/server-rendered-app/package.json @@ -23,7 +23,7 @@ "@types/webpack-env": "1.15.1", "express": "^4.15.4", "compression": "^1.7.2", - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@microsoft/load-themed-styles": "^1.10.26", diff --git a/apps/ssr-tests/package.json b/apps/ssr-tests/package.json index af7470f5f966e4..71c7fdccd6120a 100644 --- a/apps/ssr-tests/package.json +++ b/apps/ssr-tests/package.json @@ -17,7 +17,7 @@ "@microsoft/load-themed-styles": "^1.10.26", "@types/mocha": "^7.0.2", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "@fluentui/public-docsite-resources": "1.0.0", "just-scripts-utils": "^0.8.3", "mocha": "^3.3.0", diff --git a/apps/test-bundles/package.json b/apps/test-bundles/package.json index e2e1db4c8d250b..bbbcf26f104c10 100644 --- a/apps/test-bundles/package.json +++ b/apps/test-bundles/package.json @@ -16,7 +16,7 @@ "@fluentui/react": "^8.0.0-beta", "@fluentui/react-button": "^1.0.0-beta", "@fluentui/react-compose": "^0.19.6", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "parallel-webpack": "^2.4.0", "webpack-bundle-analyzer": "^3.6.0" } diff --git a/apps/theming-designer/package.json b/apps/theming-designer/package.json index ef928c68d7c97f..7c70d11b059d79 100644 --- a/apps/theming-designer/package.json +++ b/apps/theming-designer/package.json @@ -18,7 +18,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@fluentui/react": "^8.0.0-beta", diff --git a/apps/todo-app/package.json b/apps/todo-app/package.json index 8ba92306f61a60..a5c6bf130d0848 100644 --- a/apps/todo-app/package.json +++ b/apps/todo-app/package.json @@ -17,7 +17,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@fluentui/react": "^8.0.0-beta", diff --git a/apps/vr-tests/package.json b/apps/vr-tests/package.json index b25e060fe7cd55..fb3f5c324de6bb 100644 --- a/apps/vr-tests/package.json +++ b/apps/vr-tests/package.json @@ -28,7 +28,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "@uifabric/date-time": "^8.0.0-beta", "@fluentui/example-data": "^8.0.0-beta", "@fluentui/react-experiments": "^8.0.0-beta", diff --git a/change/@fluentui-jest-serializer-merge-styles-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-jest-serializer-merge-styles-2020-10-20-09-58-43-rename-build.json index 6c39cef97c2e21..d9083deeec7ad0 100644 --- a/change/@fluentui-jest-serializer-merge-styles-2020-10-20-09-58-43-rename-build.json +++ b/change/@fluentui-jest-serializer-merge-styles-2020-10-20-09-58-43-rename-build.json @@ -1,6 +1,6 @@ { "type": "minor", - "comment": "Rename @uifabric/jest-serializer-merge-styles to @fluentui/jest-serializer-merge-styles", + "comment": "Rename @fluentui/jest-serializer-merge-styles to @fluentui/jest-serializer-merge-styles", "packageName": "@fluentui/jest-serializer-merge-styles", "email": "elcraig@microsoft.com", "dependentChangeType": "patch", diff --git a/change/@fluentui-webpack-utilities-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-webpack-utilities-2020-10-20-09-58-43-rename-build.json index 3fa6cf02d49a34..655f23c088aa94 100644 --- a/change/@fluentui-webpack-utilities-2020-10-20-09-58-43-rename-build.json +++ b/change/@fluentui-webpack-utilities-2020-10-20-09-58-43-rename-build.json @@ -1,6 +1,6 @@ { "type": "minor", - "comment": "Rename @uifabric/webpack-utils to @fluentui/webpack-utilities", + "comment": "Rename @fluentui/webpack-utilities to @fluentui/webpack-utilities", "packageName": "@fluentui/webpack-utilities", "email": "elcraig@microsoft.com", "dependentChangeType": "patch", diff --git a/change/@uifabric-jest-serializer-merge-styles-2020-10-20-10-54-27-set-version-rename.json b/change/@uifabric-jest-serializer-merge-styles-2020-10-20-10-54-27-set-version-rename.json index 966231ca497acf..26a43f3141e96e 100644 --- a/change/@uifabric-jest-serializer-merge-styles-2020-10-20-10-54-27-set-version-rename.json +++ b/change/@uifabric-jest-serializer-merge-styles-2020-10-20-10-54-27-set-version-rename.json @@ -1,7 +1,7 @@ { "type": "prerelease", "comment": "Rename @uifabric/set-version to @fluentui/set-version", - "packageName": "@uifabric/jest-serializer-merge-styles", + "packageName": "@fluentui/jest-serializer-merge-styles", "email": "ololubek@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-20T17:53:44.982Z" diff --git a/change/@uifabric-jest-serializer-merge-styles-2020-10-20-12-07-18-v8-major-bump.json b/change/@uifabric-jest-serializer-merge-styles-2020-10-20-12-07-18-v8-major-bump.json index 800625f31b46e1..908ea2c7f496f5 100644 --- a/change/@uifabric-jest-serializer-merge-styles-2020-10-20-12-07-18-v8-major-bump.json +++ b/change/@uifabric-jest-serializer-merge-styles-2020-10-20-12-07-18-v8-major-bump.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Update package version for @fluentui/react version 8 beta release.", - "packageName": "@uifabric/jest-serializer-merge-styles", + "packageName": "@fluentui/jest-serializer-merge-styles", "email": "xgao@microsoft.com", "dependentChangeType": "none", "date": "2020-10-20T19:06:00.040Z" diff --git a/change/@uifabric-jest-serializer-merge-styles-2020-10-20-17-22-49-merge-styles-rename.json b/change/@uifabric-jest-serializer-merge-styles-2020-10-20-17-22-49-merge-styles-rename.json index 8a6d6438eb2811..d01f8cc3ac2073 100644 --- a/change/@uifabric-jest-serializer-merge-styles-2020-10-20-17-22-49-merge-styles-rename.json +++ b/change/@uifabric-jest-serializer-merge-styles-2020-10-20-17-22-49-merge-styles-rename.json @@ -1,7 +1,7 @@ { "type": "prerelease", "comment": "Rename @uifabric/merge-styles to @fluentui/merge-styles", - "packageName": "@uifabric/jest-serializer-merge-styles", + "packageName": "@fluentui/jest-serializer-merge-styles", "email": "ololubek@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-21T00:22:31.819Z" diff --git a/change/@uifabric-test-utilities-2020-10-20-10-54-27-set-version-rename.json b/change/@uifabric-test-utilities-2020-10-20-10-54-27-set-version-rename.json index 109a7b316773c2..da710c6938f5aa 100644 --- a/change/@uifabric-test-utilities-2020-10-20-10-54-27-set-version-rename.json +++ b/change/@uifabric-test-utilities-2020-10-20-10-54-27-set-version-rename.json @@ -1,7 +1,7 @@ { "type": "prerelease", "comment": "Rename @uifabric/set-version to @fluentui/set-version", - "packageName": "@uifabric/test-utilities", + "packageName": "@fluentui/test-utilities", "email": "ololubek@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-20T17:54:21.646Z" diff --git a/change/@uifabric-test-utilities-2020-10-20-12-07-18-v8-major-bump.json b/change/@uifabric-test-utilities-2020-10-20-12-07-18-v8-major-bump.json index d55f08ac582ab5..0f4c21be35b600 100644 --- a/change/@uifabric-test-utilities-2020-10-20-12-07-18-v8-major-bump.json +++ b/change/@uifabric-test-utilities-2020-10-20-12-07-18-v8-major-bump.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Update package version for @fluentui/react version 8 beta release.", - "packageName": "@uifabric/test-utilities", + "packageName": "@fluentui/test-utilities", "email": "xgao@microsoft.com", "dependentChangeType": "none", "date": "2020-10-20T19:07:10.216Z" diff --git a/change/@uifabric-test-utilities-2020-10-21-14-49-09-react-dom-dep.json b/change/@uifabric-test-utilities-2020-10-21-14-49-09-react-dom-dep.json index 8ccb8be38da5a1..cb38ed7aa11ccf 100644 --- a/change/@uifabric-test-utilities-2020-10-21-14-49-09-react-dom-dep.json +++ b/change/@uifabric-test-utilities-2020-10-21-14-49-09-react-dom-dep.json @@ -1,7 +1,7 @@ { "type": "prerelease", "comment": "Remove react-dom from peerDependencies", - "packageName": "@uifabric/test-utilities", + "packageName": "@fluentui/test-utilities", "email": "elcraig@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-21T21:49:09.801Z" diff --git a/change/@uifabric-webpack-utils-2020-10-20-12-07-18-v8-major-bump.json b/change/@uifabric-webpack-utils-2020-10-20-12-07-18-v8-major-bump.json index 71c518670a754c..2def17157302b1 100644 --- a/change/@uifabric-webpack-utils-2020-10-20-12-07-18-v8-major-bump.json +++ b/change/@uifabric-webpack-utils-2020-10-20-12-07-18-v8-major-bump.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Update package version for @fluentui/react version 8 beta release.", - "packageName": "@uifabric/webpack-utils", + "packageName": "@fluentui/webpack-utilities", "email": "xgao@microsoft.com", "dependentChangeType": "none", "date": "2020-10-20T19:07:18.656Z" diff --git a/packages/a11y-testing/package.json b/packages/a11y-testing/package.json index 1ffe35d4175944..701b582e8400a1 100644 --- a/packages/a11y-testing/package.json +++ b/packages/a11y-testing/package.json @@ -21,7 +21,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/enzyme": "3.10.3", "@types/react": "16.8.25", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "@types/jest": "~24.9.0", "jest": "~24.9.0", "enzyme": "~3.10.0", diff --git a/packages/api-docs/package.json b/packages/api-docs/package.json index 56a94de3cd1fd3..49a12feffac77c 100644 --- a/packages/api-docs/package.json +++ b/packages/api-docs/package.json @@ -22,7 +22,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/fs-extra": "^8.0.1", "@types/node": "^10.3.2", - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@fluentui/date-time-utilities": "^8.0.0-beta", diff --git a/packages/azure-themes/package.json b/packages/azure-themes/package.json index 9a02b9a39880b3..623ccc24adfdfa 100644 --- a/packages/azure-themes/package.json +++ b/packages/azure-themes/package.json @@ -24,7 +24,7 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "react": "16.8.6" }, "dependencies": { diff --git a/packages/codemods/package.json b/packages/codemods/package.json index 2bf8785d57ec55..fc5cae982b1c76 100644 --- a/packages/codemods/package.json +++ b/packages/codemods/package.json @@ -26,7 +26,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/jest": "~24.9.0", "@types/node": "^10.3.2", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "@types/react": "16.8.25", "@types/semver": "^5.5.0" }, diff --git a/packages/common-styles/package.json b/packages/common-styles/package.json index 0215519e2086f9..e9c6903779b936 100644 --- a/packages/common-styles/package.json +++ b/packages/common-styles/package.json @@ -18,7 +18,7 @@ "office-ui-fabric-core": "^11.0.0" }, "devDependencies": { - "@uifabric/build": "^1.0.0", - "@fluentui/style-utilities": "^7.16.9" + "@fluentui/scripts": "^1.0.0", + "@fluentui/style-utilities": "^8.0.0-beta" } } diff --git a/packages/date-time-utilities/package.json b/packages/date-time-utilities/package.json index 5b5683589f1819..fa5665b7d42c68 100644 --- a/packages/date-time-utilities/package.json +++ b/packages/date-time-utilities/package.json @@ -27,7 +27,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/jest": "~24.9.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@fluentui/set-version": "^8.0.0-beta", diff --git a/packages/date-time/package.json b/packages/date-time/package.json index 686b47639ab2dc..cac026c5013dc4 100644 --- a/packages/date-time/package.json +++ b/packages/date-time/package.json @@ -37,9 +37,9 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", - "@uifabric/test-utilities": "^7.3.0", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", + "@fluentui/test-utilities": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/dom-utilities/package.json b/packages/dom-utilities/package.json index 8837eb84321dc0..3e4e123ad92c5f 100644 --- a/packages/dom-utilities/package.json +++ b/packages/dom-utilities/package.json @@ -28,7 +28,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/jest": "~24.9.0", - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@fluentui/set-version": "^8.0.0-beta", diff --git a/packages/example-data/package.json b/packages/example-data/package.json index e7d3e93ad1c29f..673d8aa903c952 100644 --- a/packages/example-data/package.json +++ b/packages/example-data/package.json @@ -21,8 +21,8 @@ "just": "just-scripts" }, "devDependencies": { - "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^1.0.0" + "@fluentui/eslint-plugin": "^1.0.0-beta", + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "tslib": "^1.10.0" diff --git a/packages/file-type-icons/package.json b/packages/file-type-icons/package.json index 2cc7d851af520e..a979f94a253009 100644 --- a/packages/file-type-icons/package.json +++ b/packages/file-type-icons/package.json @@ -26,7 +26,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1" }, diff --git a/packages/fluentui/accessibility/package.json b/packages/fluentui/accessibility/package.json index 97607930226642..aa27e97c1c981d 100644 --- a/packages/fluentui/accessibility/package.json +++ b/packages/fluentui/accessibility/package.json @@ -13,7 +13,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/gulp": "^4.0.6", "@types/react": "16.8.25", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "gulp": "^4.0.2", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" diff --git a/packages/fluentui/circulars-test/package.json b/packages/fluentui/circulars-test/package.json index 1e26ab399fb0e5..abf5fa62606468 100644 --- a/packages/fluentui/circulars-test/package.json +++ b/packages/fluentui/circulars-test/package.json @@ -7,7 +7,7 @@ "@fluentui/react-northstar": "^0.51.0" }, "devDependencies": { - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "gulp": "^4.0.2", "typescript": "3.7.2" }, diff --git a/packages/fluentui/code-sandbox/package.json b/packages/fluentui/code-sandbox/package.json index 90d6fa09185c22..1a69b9d6da87c6 100644 --- a/packages/fluentui/code-sandbox/package.json +++ b/packages/fluentui/code-sandbox/package.json @@ -11,7 +11,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@fluentui/react-northstar": "^0.51.0", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "react": "16.8.6", "typescript": "3.7.2" }, diff --git a/packages/fluentui/docs-components/package.json b/packages/fluentui/docs-components/package.json index d57f364d677569..b1505392848293 100644 --- a/packages/fluentui/docs-components/package.json +++ b/packages/fluentui/docs-components/package.json @@ -19,7 +19,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/gulp": "^4.0.6", "@types/react": "16.8.25", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "gulp": "^4.0.2", "prettier": "~1.19.1", "react": "16.8.6", diff --git a/packages/fluentui/docs/package.json b/packages/fluentui/docs/package.json index be63c86b3b89e0..a1072125655cec 100644 --- a/packages/fluentui/docs/package.json +++ b/packages/fluentui/docs/package.json @@ -59,7 +59,7 @@ "@types/react-router-dom": "^5.1.5", "@types/react-virtualized": "^9.21.8", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "gulp": "^4.0.2", "typescript": "3.7.2" }, diff --git a/packages/fluentui/e2e/package.json b/packages/fluentui/e2e/package.json index 1ac82c19b27bad..798b5d5c0d275e 100644 --- a/packages/fluentui/e2e/package.json +++ b/packages/fluentui/e2e/package.json @@ -20,7 +20,7 @@ "react-router-dom": "^5.2.0" }, "devDependencies": { - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "@fluentui/eslint-plugin": "^1.0.0-beta", "@fluentui/react": "^8.0.0-beta", "gulp": "^4.0.2", diff --git a/packages/fluentui/projects-test/package.json b/packages/fluentui/projects-test/package.json index 9daf36c6bba3b5..217ae6a3074ace 100644 --- a/packages/fluentui/projects-test/package.json +++ b/packages/fluentui/projects-test/package.json @@ -11,7 +11,7 @@ "@lerna/package-graph": "^3.14.0", "@types/express": "^4.16.1", "@types/fs-extra": "^8.0.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "express": "^4.15.4", "fs-extra": "^8.1.0", "portfinder": "^1.0.20", diff --git a/packages/fluentui/react-bindings/package.json b/packages/fluentui/react-bindings/package.json index b9a3b60255e06c..15cd3099ccc3e5 100644 --- a/packages/fluentui/react-bindings/package.json +++ b/packages/fluentui/react-bindings/package.json @@ -30,7 +30,7 @@ "@types/classnames": "^2.2.9", "@types/react": "16.8.25", "@types/react-dom": "16.8.4", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-dom": "16.8.6", diff --git a/packages/fluentui/react-builder/package.json b/packages/fluentui/react-builder/package.json index 7b012f012c021b..8a41bcecc5955d 100644 --- a/packages/fluentui/react-builder/package.json +++ b/packages/fluentui/react-builder/package.json @@ -23,7 +23,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react-frame-component": "^4.1.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" }, diff --git a/packages/fluentui/react-component-event-listener/package.json b/packages/fluentui/react-component-event-listener/package.json index d02479685747af..b73344588f7290 100644 --- a/packages/fluentui/react-component-event-listener/package.json +++ b/packages/fluentui/react-component-event-listener/package.json @@ -11,7 +11,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", "@types/simulant": "^0.2.0", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "simulant": "^0.2.2", diff --git a/packages/fluentui/react-component-nesting-registry/package.json b/packages/fluentui/react-component-nesting-registry/package.json index e5b604c69803ba..79b53d734ae2bf 100644 --- a/packages/fluentui/react-component-nesting-registry/package.json +++ b/packages/fluentui/react-component-nesting-registry/package.json @@ -11,7 +11,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "typescript": "3.7.2" diff --git a/packages/fluentui/react-component-ref/package.json b/packages/fluentui/react-component-ref/package.json index 4ba0799857be4a..7225373616486e 100644 --- a/packages/fluentui/react-component-ref/package.json +++ b/packages/fluentui/react-component-ref/package.json @@ -13,7 +13,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/react-is": "^16.7.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-dom": "16.8.6", diff --git a/packages/fluentui/react-context-selector/package.json b/packages/fluentui/react-context-selector/package.json index 9037b2d753fb8e..c45cd618ec0477 100644 --- a/packages/fluentui/react-context-selector/package.json +++ b/packages/fluentui/react-context-selector/package.json @@ -11,7 +11,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", "@types/react-is": "^16.7.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-is": "^16.6.3", diff --git a/packages/fluentui/react-icons-northstar/package.json b/packages/fluentui/react-icons-northstar/package.json index 41b4f103029c4d..08e1085f60d27b 100644 --- a/packages/fluentui/react-icons-northstar/package.json +++ b/packages/fluentui/react-icons-northstar/package.json @@ -16,7 +16,7 @@ "@types/node": "^10.3.2", "@types/react": "16.8.25", "@types/react-is": "^16.7.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-is": "^16.6.3", diff --git a/packages/fluentui/react-northstar-emotion-renderer/package.json b/packages/fluentui/react-northstar-emotion-renderer/package.json index 42e996068d049a..7b2fd6b3d8e5ca 100644 --- a/packages/fluentui/react-northstar-emotion-renderer/package.json +++ b/packages/fluentui/react-northstar-emotion-renderer/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "typescript": "3.7.2" diff --git a/packages/fluentui/react-northstar-fela-renderer/package.json b/packages/fluentui/react-northstar-fela-renderer/package.json index c7c90dceeea431..8546696972306d 100644 --- a/packages/fluentui/react-northstar-fela-renderer/package.json +++ b/packages/fluentui/react-northstar-fela-renderer/package.json @@ -22,7 +22,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "typescript": "3.7.2" diff --git a/packages/fluentui/react-northstar-styles-renderer/package.json b/packages/fluentui/react-northstar-styles-renderer/package.json index 0c91a6ee1516d6..6549c776d18ef4 100644 --- a/packages/fluentui/react-northstar-styles-renderer/package.json +++ b/packages/fluentui/react-northstar-styles-renderer/package.json @@ -10,7 +10,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "typescript": "3.7.2" diff --git a/packages/fluentui/react-northstar/package.json b/packages/fluentui/react-northstar/package.json index 4a2add992f4403..ae0169b4175ab1 100644 --- a/packages/fluentui/react-northstar/package.json +++ b/packages/fluentui/react-northstar/package.json @@ -42,7 +42,7 @@ "@types/react-dom": "16.8.4", "@types/react-is": "^16.7.1", "@types/simulant": "^0.2.0", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "csstype": "^2.6.7", "faker": "^4.1.0", "fela-tools": "^10.6.1", diff --git a/packages/fluentui/react-proptypes/package.json b/packages/fluentui/react-proptypes/package.json index 0881860488bc50..dbcd4f03e05783 100644 --- a/packages/fluentui/react-proptypes/package.json +++ b/packages/fluentui/react-proptypes/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" }, diff --git a/packages/fluentui/react-telemetry/package.json b/packages/fluentui/react-telemetry/package.json index 17dbc2b671ece4..9e47735cee9f04 100644 --- a/packages/fluentui/react-telemetry/package.json +++ b/packages/fluentui/react-telemetry/package.json @@ -16,7 +16,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/react-table": "^7.0.19", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "react": "16.8.6", "react-dom": "16.8.6", diff --git a/packages/fluentui/state/package.json b/packages/fluentui/state/package.json index 5a8f55e0436141..55985509bd2843 100644 --- a/packages/fluentui/state/package.json +++ b/packages/fluentui/state/package.json @@ -8,8 +8,8 @@ "@babel/runtime": "^7.10.4" }, "devDependencies": { - "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^1.0.0", + "@fluentui/eslint-plugin": "^1.0.0-beta", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" }, diff --git a/packages/fluentui/styles/package.json b/packages/fluentui/styles/package.json index 23f4941de30cfa..99ff49ae13de79 100644 --- a/packages/fluentui/styles/package.json +++ b/packages/fluentui/styles/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "lerna-alias": "^3.0.3-0", "typescript": "3.7.2" }, diff --git a/packages/font-icons-mdl2/package.json b/packages/font-icons-mdl2/package.json index cafacd72b7f3fb..466e22b12b4687 100644 --- a/packages/font-icons-mdl2/package.json +++ b/packages/font-icons-mdl2/package.json @@ -24,8 +24,8 @@ "update-api": "just-scripts update-api" }, "devDependencies": { - "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^1.0.0" + "@fluentui/eslint-plugin": "^1.0.0-beta", + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@fluentui/set-version": "^8.0.0-beta", diff --git a/packages/foundation-legacy/package.json b/packages/foundation-legacy/package.json index be6634ddf87e00..1bf3f66cb969bb 100644 --- a/packages/foundation-legacy/package.json +++ b/packages/foundation-legacy/package.json @@ -33,8 +33,8 @@ "@types/jest": "~24.9.0", "@types/react": "16.8.25", "@types/react-test-renderer": "^16.0.0", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/jest-serializer-merge-styles/package.json b/packages/jest-serializer-merge-styles/package.json index 2995aa815b4686..67abd14e33607f 100644 --- a/packages/jest-serializer-merge-styles/package.json +++ b/packages/jest-serializer-merge-styles/package.json @@ -1,5 +1,5 @@ { - "name": "@uifabric/jest-serializer-merge-styles", + "name": "@fluentui/jest-serializer-merge-styles", "version": "8.0.0-beta", "description": "Jest serializer for merge-styles.", "main": "lib-commonjs/index.js", @@ -33,7 +33,7 @@ "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6", "react-test-renderer": "^16.3.0", - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@fluentui/set-version": "^8.0.0-beta", diff --git a/packages/keyboard-key/package.json b/packages/keyboard-key/package.json index f2fe60f2a1339c..ee76d3904def01 100644 --- a/packages/keyboard-key/package.json +++ b/packages/keyboard-key/package.json @@ -23,7 +23,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/jest": "~24.9.0", - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "tslib": "^1.10.0" diff --git a/packages/merge-styles/package.json b/packages/merge-styles/package.json index caee5e5f550978..ec5ee4f33d63bf 100644 --- a/packages/merge-styles/package.json +++ b/packages/merge-styles/package.json @@ -27,7 +27,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/jest": "~24.9.0", - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@fluentui/set-version": "^8.0.0-beta", diff --git a/packages/monaco-editor/package.json b/packages/monaco-editor/package.json index 36925a9cb0804b..131ea737bc046a 100644 --- a/packages/monaco-editor/package.json +++ b/packages/monaco-editor/package.json @@ -16,8 +16,8 @@ "just": "just-scripts" }, "devDependencies": { - "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^1.0.0", + "@fluentui/eslint-plugin": "^1.0.0-beta", + "@fluentui/scripts": "^1.0.0", "monaco-editor": "0.19.0", "monaco-typescript": "3.6.1" }, diff --git a/packages/react-avatar/package.json b/packages/react-avatar/package.json index e355bcbd55c8e3..af431809e57820 100644 --- a/packages/react-avatar/package.json +++ b/packages/react-avatar/package.json @@ -36,8 +36,8 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "es6-weak-map": "^2.0.2", diff --git a/packages/react-button/package.json b/packages/react-button/package.json index 64652341129ea9..160d96ef1dab06 100644 --- a/packages/react-button/package.json +++ b/packages/react-button/package.json @@ -38,7 +38,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-cards/package.json b/packages/react-cards/package.json index 1be5c7c16c13ee..4ed00ae7b9c5bc 100644 --- a/packages/react-cards/package.json +++ b/packages/react-cards/package.json @@ -36,8 +36,8 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-charting/package.json b/packages/react-charting/package.json index 1b3abdc8be431f..cd8b1c26da8e0d 100644 --- a/packages/react-charting/package.json +++ b/packages/react-charting/package.json @@ -37,8 +37,8 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-checkbox/package.json b/packages/react-checkbox/package.json index 458a6781ab511a..d5196672abfa50 100644 --- a/packages/react-checkbox/package.json +++ b/packages/react-checkbox/package.json @@ -37,7 +37,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-compose/package.json b/packages/react-compose/package.json index bf810a58cb245e..91f8074fb712b3 100644 --- a/packages/react-compose/package.json +++ b/packages/react-compose/package.json @@ -30,7 +30,7 @@ "@types/jest": "~24.9.0", "@types/react": "16.8.25", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6" diff --git a/packages/react-conformance/package.json b/packages/react-conformance/package.json index 0fd736cc6f1643..98b0918466f6ef 100644 --- a/packages/react-conformance/package.json +++ b/packages/react-conformance/package.json @@ -29,7 +29,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/react-is": "^16.7.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "jest": "~24.9.0", diff --git a/packages/react-docsite-components/package.json b/packages/react-docsite-components/package.json index 6207657682ab86..ea357c3365feeb 100644 --- a/packages/react-docsite-components/package.json +++ b/packages/react-docsite-components/package.json @@ -29,7 +29,7 @@ "@types/react-custom-scrollbars": "^4.0.5", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6" diff --git a/packages/react-examples/package.json b/packages/react-examples/package.json index ca3381adbd40f4..bffee0698ecd50 100644 --- a/packages/react-examples/package.json +++ b/packages/react-examples/package.json @@ -30,8 +30,8 @@ "@types/node": "^10.3.2", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", "chalk": "^2.1.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-experiments/package.json b/packages/react-experiments/package.json index e05f347feca9a3..2d1fb280fd5d71 100644 --- a/packages/react-experiments/package.json +++ b/packages/react-experiments/package.json @@ -40,8 +40,8 @@ "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-flex/package.json b/packages/react-flex/package.json index 4f1f0465e8679d..3d3d325d237d49 100644 --- a/packages/react-flex/package.json +++ b/packages/react-flex/package.json @@ -27,8 +27,8 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@fluentui/eslint-plugin": "^0.54.1", + "@fluentui/scripts": "^1.0.0", + "@fluentui/eslint-plugin": "^1.0.0-beta", "react": "16.8.6", "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6" diff --git a/packages/react-focus/package.json b/packages/react-focus/package.json index f3d20bd5018acb..e6304b1682629e 100644 --- a/packages/react-focus/package.json +++ b/packages/react-focus/package.json @@ -36,8 +36,8 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-hooks/package.json b/packages/react-hooks/package.json index 6018139d1a8579..4abd8291be4872 100644 --- a/packages/react-hooks/package.json +++ b/packages/react-hooks/package.json @@ -32,8 +32,8 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@uifabric/test-utilities": "^7.3.0", + "@fluentui/scripts": "^1.0.0", + "@fluentui/test-utilities": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-icons-mdl2/package.json b/packages/react-icons-mdl2/package.json index 8bdb0d52284b75..8e23c2c723723a 100644 --- a/packages/react-icons-mdl2/package.json +++ b/packages/react-icons-mdl2/package.json @@ -34,7 +34,7 @@ "@types/react-is": "^16.7.1", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-image/package.json b/packages/react-image/package.json index 6a3ff579c5f737..fb7b47d8838a03 100644 --- a/packages/react-image/package.json +++ b/packages/react-image/package.json @@ -36,8 +36,8 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@fluentui/react-conformance": "^0.1.5", - "@uifabric/build": "^1.0.0", + "@fluentui/react-conformance": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-internal/package.json b/packages/react-internal/package.json index b1d0f169b12601..fde8b4cc717bbe 100644 --- a/packages/react-internal/package.json +++ b/packages/react-internal/package.json @@ -37,11 +37,11 @@ "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@fluentui/example-data": "^7.1.5", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", - "@uifabric/test-utilities": "^7.3.0", - "@fluentui/react-conformance": "^0.1.5", + "@fluentui/scripts": "^1.0.0", + "@fluentui/example-data": "^8.0.0-beta", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", + "@fluentui/test-utilities": "^8.0.0-beta", + "@fluentui/react-conformance": "^1.0.0", "chalk": "^2.1.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-link/package.json b/packages/react-link/package.json index acd25c8e31d31c..e7e896771ab6fc 100644 --- a/packages/react-link/package.json +++ b/packages/react-link/package.json @@ -35,8 +35,8 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-monaco-editor/package.json b/packages/react-monaco-editor/package.json index 9249f54bcef48b..6aae9003f0ce3d 100644 --- a/packages/react-monaco-editor/package.json +++ b/packages/react-monaco-editor/package.json @@ -30,7 +30,7 @@ "@types/react-dom": "16.8.4", "@types/react-syntax-highlighter": "^10.2.1", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", "react-dom": "16.8.6", diff --git a/packages/react-next/package.json b/packages/react-next/package.json index 0430182f94bc3b..25914eb5377f86 100644 --- a/packages/react-next/package.json +++ b/packages/react-next/package.json @@ -43,11 +43,11 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@fluentui/example-data": "^7.1.5", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", - "@uifabric/test-utilities": "^7.3.0", - "@fluentui/react-conformance": "^0.1.5", + "@fluentui/scripts": "^1.0.0", + "@fluentui/example-data": "^8.0.0-beta", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", + "@fluentui/test-utilities": "^8.0.0-beta", + "@fluentui/react-conformance": "^1.0.0", "chalk": "^2.1.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/react-slider/package.json b/packages/react-slider/package.json index 39fd7e1b86c3da..27e465f20175de 100644 --- a/packages/react-slider/package.json +++ b/packages/react-slider/package.json @@ -35,8 +35,8 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-stylesheets/package.json b/packages/react-stylesheets/package.json index 2ecc77a2abb606..19f1a74d31e95e 100644 --- a/packages/react-stylesheets/package.json +++ b/packages/react-stylesheets/package.json @@ -34,8 +34,8 @@ "@types/react": "16.8.25", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-tabs/package.json b/packages/react-tabs/package.json index 88c2e4d708ba2c..61d6025864e79c 100644 --- a/packages/react-tabs/package.json +++ b/packages/react-tabs/package.json @@ -37,7 +37,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "enzyme": "~3.10.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", diff --git a/packages/react-text/package.json b/packages/react-text/package.json index 2d75aaffe34029..f2f854e64fe456 100644 --- a/packages/react-text/package.json +++ b/packages/react-text/package.json @@ -36,7 +36,7 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-theme-provider/package.json b/packages/react-theme-provider/package.json index 0caf718e4e97bf..b109320cfbaf56 100644 --- a/packages/react-theme-provider/package.json +++ b/packages/react-theme-provider/package.json @@ -35,9 +35,9 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@fluentui/style-utilities": "^7.16.9", - "@uifabric/test-utilities": "^7.3.0", + "@fluentui/scripts": "^1.0.0", + "@fluentui/style-utilities": "^8.0.0-beta", + "@fluentui/test-utilities": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-toggle/package.json b/packages/react-toggle/package.json index 66ed60d2cc0502..5e20c0260e9e11 100644 --- a/packages/react-toggle/package.json +++ b/packages/react-toggle/package.json @@ -35,7 +35,7 @@ "@types/react": "16.8.25", "@types/react-dom": "16.8.4", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "enzyme": "~3.10.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", diff --git a/packages/react-utilities/package.json b/packages/react-utilities/package.json index cec0bd0fbb40e0..72d2060b4f1e8a 100644 --- a/packages/react-utilities/package.json +++ b/packages/react-utilities/package.json @@ -34,8 +34,8 @@ "@types/react": "16.8.25", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/react-window-provider/package.json b/packages/react-window-provider/package.json index 72ec2e3cd8d277..2aee9205c3d8cb 100644 --- a/packages/react-window-provider/package.json +++ b/packages/react-window-provider/package.json @@ -28,10 +28,10 @@ }, "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", - "@uifabric/test-utilities": "^8.0.0-beta", + "@fluentui/test-utilities": "^8.0.0-beta", "@types/react": "16.8.25", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1" }, diff --git a/packages/react/package.json b/packages/react/package.json index bddaf29ee15664..12d2ac32f5ff50 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -41,20 +41,12 @@ "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", -<<<<<<< HEAD - "@fluentui/example-data": "^7.1.5", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", - "@uifabric/test-utilities": "^7.3.0", - "@uifabric/webpack-utils": "^7.0.25", - "@fluentui/react-conformance": "^0.1.5", -======= + "@fluentui/scripts": "^1.0.0", "@fluentui/example-data": "^8.0.0-beta", - "@uifabric/jest-serializer-merge-styles": "^8.0.0-beta", - "@uifabric/test-utilities": "^8.0.0-beta", - "@uifabric/webpack-utils": "^8.0.0-beta", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", + "@fluentui/test-utilities": "^8.0.0-beta", + "@fluentui/webpack-utilities": "^8.0.0-beta", "@fluentui/react-conformance": "^1.0.0", ->>>>>>> upstream/master "chalk": "^2.1.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", diff --git a/packages/scheme-utilities/package.json b/packages/scheme-utilities/package.json index fe42b2c7d0bffa..28e325242efd23 100644 --- a/packages/scheme-utilities/package.json +++ b/packages/scheme-utilities/package.json @@ -23,8 +23,8 @@ "start-test": "just-scripts jest-watch" }, "devDependencies": { - "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^1.0.0" + "@fluentui/eslint-plugin": "^1.0.0-beta", + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@fluentui/theme": "^2.0.0-beta", diff --git a/packages/set-version/package.json b/packages/set-version/package.json index 63c366a662f3fe..91d6347bb3a2d1 100644 --- a/packages/set-version/package.json +++ b/packages/set-version/package.json @@ -21,7 +21,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/jest": "~24.9.0", - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "tslib": "^1.10.0" diff --git a/packages/storybook/package.json b/packages/storybook/package.json index e5e748b3f7d448..de2e89a68da875 100644 --- a/packages/storybook/package.json +++ b/packages/storybook/package.json @@ -20,7 +20,7 @@ "devDependencies": { "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/react": "16.8.25", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "react": "16.8.6" }, "dependencies": { diff --git a/packages/style-utilities/package.json b/packages/style-utilities/package.json index b08a07f5b5e778..fdc3132118062a 100644 --- a/packages/style-utilities/package.json +++ b/packages/style-utilities/package.json @@ -30,7 +30,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/jest": "~24.9.0", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@microsoft/load-themed-styles": "^1.10.26", diff --git a/packages/test-utilities/package.json b/packages/test-utilities/package.json index 6e6ed9b51b70e8..1e44fbdf1f8444 100644 --- a/packages/test-utilities/package.json +++ b/packages/test-utilities/package.json @@ -1,5 +1,5 @@ { - "name": "@uifabric/test-utilities", + "name": "@fluentui/test-utilities", "version": "8.0.0-beta", "description": "Utilities used when testing components.", "main": "lib-commonjs/index.js", @@ -32,13 +32,13 @@ "@types/react": "16.8.25", "@types/react-test-renderer": "^16.0.0", "@types/webpack-env": "1.15.1", - "@uifabric/jest-serializer-merge-styles": "^8.0.0-beta", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", "react-app-polyfill": "~1.0.1", "react-test-renderer": "^16.3.0", - "@uifabric/build": "^1.0.0" + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@fluentui/set-version": "^8.0.0-beta" diff --git a/packages/theme-samples/package.json b/packages/theme-samples/package.json index fd5162762fa0c7..763d402df2265f 100644 --- a/packages/theme-samples/package.json +++ b/packages/theme-samples/package.json @@ -22,8 +22,8 @@ "clean": "just-scripts clean" }, "devDependencies": { - "@fluentui/eslint-plugin": "^0.54.1", - "@uifabric/build": "^1.0.0" + "@fluentui/eslint-plugin": "^1.0.0-beta", + "@fluentui/scripts": "^1.0.0" }, "dependencies": { "@fluentui/react": "^8.0.0-beta", diff --git a/packages/theme/package.json b/packages/theme/package.json index 8c7f73d69fa171..eb5417426d80d3 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -33,7 +33,7 @@ "@types/jest": "~24.9.0", "@types/react": "16.8.25", "@types/webpack-env": "1.15.1", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/utilities/package.json b/packages/utilities/package.json index 4010f0870baba7..2d4d1ba989ba04 100644 --- a/packages/utilities/package.json +++ b/packages/utilities/package.json @@ -36,9 +36,9 @@ "@types/react-dom": "16.8.4", "@types/react-test-renderer": "^16.0.0", "@types/sinon": "2.2.2", - "@uifabric/build": "^1.0.0", - "@uifabric/jest-serializer-merge-styles": "^7.2.2", - "@uifabric/test-utilities": "^7.3.0", + "@fluentui/scripts": "^1.0.0", + "@fluentui/jest-serializer-merge-styles": "^8.0.0-beta", + "@fluentui/test-utilities": "^8.0.0-beta", "enzyme": "~3.10.0", "enzyme-adapter-react-16": "^1.15.0", "react": "16.8.6", diff --git a/packages/webpack-utilities/package.json b/packages/webpack-utilities/package.json index ea139e78f42d5f..406a78d32ab566 100644 --- a/packages/webpack-utilities/package.json +++ b/packages/webpack-utilities/package.json @@ -1,5 +1,5 @@ { - "name": "@uifabric/webpack-utils", + "name": "@fluentui/webpack-utilities", "version": "8.0.0-beta", "description": "Fluent UI React utilities for Webpack bundler.", "repository": { @@ -20,7 +20,7 @@ "@fluentui/eslint-plugin": "^1.0.0-beta", "@types/loader-utils": "1.1.3", "@types/webpack": "4.4.0", - "@uifabric/build": "^1.0.0", + "@fluentui/scripts": "^1.0.0", "webpack": "4.43.0" }, "dependencies": { From 6ed9006b0f959ef661181b2cada9542160e705ed Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Wed, 21 Oct 2020 22:35:47 -0700 Subject: [PATCH 14/16] fix change --- ...ializer-merge-styles-2020-10-20-09-58-43-rename-build.json | 2 +- ...ui-webpack-utilities-2020-10-20-09-58-43-rename-build.json | 2 +- ...rge-styles-2020-10-20-18-13-15-hooks-utilities-rename.json | 2 +- ...uifabric-react-hooks-2020-10-20-09-58-43-rename-build.json | 2 +- ...ic-react-hooks-2020-10-20-10-54-27-set-version-rename.json | 2 +- ...ifabric-react-hooks-2020-10-20-12-07-18-v8-major-bump.json | 2 +- ...ifabric-react-hooks-2020-10-21-14-49-09-react-dom-dep.json | 2 +- change/@uifabric-react-hooks-2020-10-22-01-00-51-master.json | 2 +- ...uifabric-set-version-2020-10-20-09-58-43-rename-build.json | 4 ++-- ...utilities-2020-10-15-20-49-39-xgao-theme-deprecations.json | 2 +- .../@uifabric-utilities-2020-10-20-09-58-43-rename-build.json | 2 +- ...bric-utilities-2020-10-20-10-54-27-set-version-rename.json | 2 +- ...@uifabric-utilities-2020-10-20-12-07-18-v8-major-bump.json | 2 +- ...ric-utilities-2020-10-20-17-22-49-merge-styles-rename.json | 2 +- ...@uifabric-utilities-2020-10-21-14-49-09-react-dom-dep.json | 2 +- 15 files changed, 16 insertions(+), 16 deletions(-) diff --git a/change/@fluentui-jest-serializer-merge-styles-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-jest-serializer-merge-styles-2020-10-20-09-58-43-rename-build.json index d9083deeec7ad0..4ece3bc0c9eb13 100644 --- a/change/@fluentui-jest-serializer-merge-styles-2020-10-20-09-58-43-rename-build.json +++ b/change/@fluentui-jest-serializer-merge-styles-2020-10-20-09-58-43-rename-build.json @@ -1,5 +1,5 @@ { - "type": "minor", + "type": "prerelease", "comment": "Rename @fluentui/jest-serializer-merge-styles to @fluentui/jest-serializer-merge-styles", "packageName": "@fluentui/jest-serializer-merge-styles", "email": "elcraig@microsoft.com", diff --git a/change/@fluentui-webpack-utilities-2020-10-20-09-58-43-rename-build.json b/change/@fluentui-webpack-utilities-2020-10-20-09-58-43-rename-build.json index 655f23c088aa94..af4e723fd226ef 100644 --- a/change/@fluentui-webpack-utilities-2020-10-20-09-58-43-rename-build.json +++ b/change/@fluentui-webpack-utilities-2020-10-20-09-58-43-rename-build.json @@ -1,5 +1,5 @@ { - "type": "minor", + "type": "prerelease", "comment": "Rename @fluentui/webpack-utilities to @fluentui/webpack-utilities", "packageName": "@fluentui/webpack-utilities", "email": "elcraig@microsoft.com", diff --git a/change/@uifabric-merge-styles-2020-10-20-18-13-15-hooks-utilities-rename.json b/change/@uifabric-merge-styles-2020-10-20-18-13-15-hooks-utilities-rename.json index 8ab3be95bba4aa..6bc456a95c3d4c 100644 --- a/change/@uifabric-merge-styles-2020-10-20-18-13-15-hooks-utilities-rename.json +++ b/change/@uifabric-merge-styles-2020-10-20-18-13-15-hooks-utilities-rename.json @@ -1,7 +1,7 @@ { "type": "prerelease", "comment": "Rename @uifabric/react-hooks to @fluentui/react-hooks & @uifabric/utilities to @fluentui/utilities", - "packageName": "@uifabric/merge-styles", + "packageName": "@fluentui/merge-styles", "email": "ololubek@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-21T01:12:44.217Z" diff --git a/change/@uifabric-react-hooks-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-react-hooks-2020-10-20-09-58-43-rename-build.json index 044ee83bec8cc2..9318bf5d557cea 100644 --- a/change/@uifabric-react-hooks-2020-10-20-09-58-43-rename-build.json +++ b/change/@uifabric-react-hooks-2020-10-20-09-58-43-rename-build.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Rename build-related packages", - "packageName": "@uifabric/react-hooks", + "packageName": "@fluentui/react-hooks", "email": "elcraig@microsoft.com", "dependentChangeType": "none", "date": "2020-10-20T16:57:47.968Z" diff --git a/change/@uifabric-react-hooks-2020-10-20-10-54-27-set-version-rename.json b/change/@uifabric-react-hooks-2020-10-20-10-54-27-set-version-rename.json index 37b0489862863d..3f79bc89fce95e 100644 --- a/change/@uifabric-react-hooks-2020-10-20-10-54-27-set-version-rename.json +++ b/change/@uifabric-react-hooks-2020-10-20-10-54-27-set-version-rename.json @@ -1,7 +1,7 @@ { "type": "prerelease", "comment": "Rename @uifabric/set-version to @fluentui/set-version", - "packageName": "@uifabric/react-hooks", + "packageName": "@fluentui/react-hooks", "email": "ololubek@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-20T17:53:57.250Z" diff --git a/change/@uifabric-react-hooks-2020-10-20-12-07-18-v8-major-bump.json b/change/@uifabric-react-hooks-2020-10-20-12-07-18-v8-major-bump.json index 72c2986ee23483..79dc8f8cd83cb6 100644 --- a/change/@uifabric-react-hooks-2020-10-20-12-07-18-v8-major-bump.json +++ b/change/@uifabric-react-hooks-2020-10-20-12-07-18-v8-major-bump.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Update package version for @fluentui/react version 8 beta release.", - "packageName": "@uifabric/react-hooks", + "packageName": "@fluentui/react-hooks", "email": "xgao@microsoft.com", "dependentChangeType": "none", "date": "2020-10-20T19:06:26.174Z" diff --git a/change/@uifabric-react-hooks-2020-10-21-14-49-09-react-dom-dep.json b/change/@uifabric-react-hooks-2020-10-21-14-49-09-react-dom-dep.json index ea5a9e91fad54e..c6e8fc79471eeb 100644 --- a/change/@uifabric-react-hooks-2020-10-21-14-49-09-react-dom-dep.json +++ b/change/@uifabric-react-hooks-2020-10-21-14-49-09-react-dom-dep.json @@ -1,7 +1,7 @@ { "type": "prerelease", "comment": "Remove react-dom from peerDependencies", - "packageName": "@uifabric/react-hooks", + "packageName": "@fluentui/react-hooks", "email": "elcraig@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-21T21:49:09.170Z" diff --git a/change/@uifabric-react-hooks-2020-10-22-01-00-51-master.json b/change/@uifabric-react-hooks-2020-10-22-01-00-51-master.json index 738a4a8157f8c8..815a5fe3012231 100644 --- a/change/@uifabric-react-hooks-2020-10-22-01-00-51-master.json +++ b/change/@uifabric-react-hooks-2020-10-22-01-00-51-master.json @@ -1,7 +1,7 @@ { "type": "prerelease", "comment": "Improvement for `useBoolean` hook", - "packageName": "@uifabric/react-hooks", + "packageName": "@fluentui/react-hooks", "email": "fu.juntao358@gmail.com", "dependentChangeType": "patch", "date": "2020-10-21T17:00:51.102Z" diff --git a/change/@uifabric-set-version-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-set-version-2020-10-20-09-58-43-rename-build.json index c08930d6c148f2..cfcf76dda509c7 100644 --- a/change/@uifabric-set-version-2020-10-20-09-58-43-rename-build.json +++ b/change/@uifabric-set-version-2020-10-20-09-58-43-rename-build.json @@ -1,8 +1,8 @@ { - "type": "minor", + "type": "prerelease", "comment": "Rename @uifabric/set-version to @fluentui/set-version", "packageName": "@fluentui/set-version", "email": "elcraig@microsoft.com", - "dependentChangeType": "minor", + "dependentChangeType": "patch", "date": "2020-10-20T16:58:14.038Z" } diff --git a/change/@uifabric-utilities-2020-10-15-20-49-39-xgao-theme-deprecations.json b/change/@uifabric-utilities-2020-10-15-20-49-39-xgao-theme-deprecations.json index 43ac80bf3fffd0..c0b90ab2bc4bb9 100644 --- a/change/@uifabric-utilities-2020-10-15-20-49-39-xgao-theme-deprecations.json +++ b/change/@uifabric-utilities-2020-10-15-20-49-39-xgao-theme-deprecations.json @@ -1,7 +1,7 @@ { "type": "prerelease", "comment": "Deprecate Customizer.", - "packageName": "@uifabric/utilities", + "packageName": "@fluentui/utilities", "email": "xgao@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-16T03:49:39.835Z" diff --git a/change/@uifabric-utilities-2020-10-20-09-58-43-rename-build.json b/change/@uifabric-utilities-2020-10-20-09-58-43-rename-build.json index 3a7228a3b2c151..fd668fdbf2d834 100644 --- a/change/@uifabric-utilities-2020-10-20-09-58-43-rename-build.json +++ b/change/@uifabric-utilities-2020-10-20-09-58-43-rename-build.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Rename build-related packages", - "packageName": "@uifabric/utilities", + "packageName": "@fluentui/utilities", "email": "elcraig@microsoft.com", "dependentChangeType": "none", "date": "2020-10-20T16:58:36.919Z" diff --git a/change/@uifabric-utilities-2020-10-20-10-54-27-set-version-rename.json b/change/@uifabric-utilities-2020-10-20-10-54-27-set-version-rename.json index 36652812cf3189..5c7cab878e4605 100644 --- a/change/@uifabric-utilities-2020-10-20-10-54-27-set-version-rename.json +++ b/change/@uifabric-utilities-2020-10-20-10-54-27-set-version-rename.json @@ -1,7 +1,7 @@ { "type": "prerelease", "comment": "Rename @uifabric/set-version to @fluentui/set-version", - "packageName": "@uifabric/utilities", + "packageName": "@fluentui/utilities", "email": "ololubek@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-20T17:54:27.880Z" diff --git a/change/@uifabric-utilities-2020-10-20-12-07-18-v8-major-bump.json b/change/@uifabric-utilities-2020-10-20-12-07-18-v8-major-bump.json index 86d76815ad66c6..b278b18f24f004 100644 --- a/change/@uifabric-utilities-2020-10-20-12-07-18-v8-major-bump.json +++ b/change/@uifabric-utilities-2020-10-20-12-07-18-v8-major-bump.json @@ -1,7 +1,7 @@ { "type": "none", "comment": "Update package version for @fluentui/react version 8 beta release.", - "packageName": "@uifabric/utilities", + "packageName": "@fluentui/utilities", "email": "xgao@microsoft.com", "dependentChangeType": "none", "date": "2020-10-20T19:07:16.986Z" diff --git a/change/@uifabric-utilities-2020-10-20-17-22-49-merge-styles-rename.json b/change/@uifabric-utilities-2020-10-20-17-22-49-merge-styles-rename.json index 4e38ac8251b9ed..2bd7339450c950 100644 --- a/change/@uifabric-utilities-2020-10-20-17-22-49-merge-styles-rename.json +++ b/change/@uifabric-utilities-2020-10-20-17-22-49-merge-styles-rename.json @@ -1,7 +1,7 @@ { "type": "prerelease", "comment": "Rename @uifabric/merge-styles to @fluentui/merge-styles", - "packageName": "@uifabric/utilities", + "packageName": "@fluentui/utilities", "email": "ololubek@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-21T00:22:49.079Z" diff --git a/change/@uifabric-utilities-2020-10-21-14-49-09-react-dom-dep.json b/change/@uifabric-utilities-2020-10-21-14-49-09-react-dom-dep.json index e0c1021fe81ade..f853c119297ae7 100644 --- a/change/@uifabric-utilities-2020-10-21-14-49-09-react-dom-dep.json +++ b/change/@uifabric-utilities-2020-10-21-14-49-09-react-dom-dep.json @@ -1,7 +1,7 @@ { "type": "prerelease", "comment": "Remove react-dom from peerDependencies", - "packageName": "@uifabric/utilities", + "packageName": "@fluentui/utilities", "email": "elcraig@microsoft.com", "dependentChangeType": "patch", "date": "2020-10-21T21:49:09.877Z" From 0620e34e7ebb2a987fb87408c68063ae7d41de49 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Wed, 21 Oct 2020 22:54:28 -0700 Subject: [PATCH 15/16] fix script --- packages/react-monaco-editor/scripts/copyTypes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-monaco-editor/scripts/copyTypes.ts b/packages/react-monaco-editor/scripts/copyTypes.ts index 4cf3648d27bccb..d3b1abf95a3e85 100644 --- a/packages/react-monaco-editor/scripts/copyTypes.ts +++ b/packages/react-monaco-editor/scripts/copyTypes.ts @@ -6,7 +6,7 @@ import * as path from 'path'; // Copy react.d.ts and other .d.ts files it references to the dist folder, // so we can more easily load them into the editor later. -module.exports = function copyTypes() { +export function copyTypes() { const packagesToResolve = ['@fluentui/react', '@fluentui/react-hooks', '@fluentui/example-data']; const resolvedPackages = []; const pathsToCopy = []; From 9ca5b3a9d70957fafcab90831367c0ecb8946803 Mon Sep 17 00:00:00 2001 From: Elizabeth Craig Date: Wed, 21 Oct 2020 23:43:56 -0700 Subject: [PATCH 16/16] fix bundlesizecollect --- package.json | 2 +- scripts/bundle-size-collect.js | 33 +++++++++++++++++++++++++++++++++ scripts/just.config.ts | 7 +++++-- 3 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 scripts/bundle-size-collect.js diff --git a/package.json b/package.json index cb75fb85e580c7..abfb96ac9e5d5d 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "bundle": "lage bundle --verbose", "bundle:prod": "yarn bundle --production", "bundlesize": "cd scripts && yarn bundlesize", - "bundlesizecollect": "cd scripts && just-scripts bundle-size-collect", + "bundlesizecollect": "node ./scripts/bundle-size-collect", "checkchange": "beachball check --scope \"!packages/fluentui/*\" --changehint \"Run 'yarn change' to generate a change file\"", "clean": "lage clean --verbose", "codepen": "cd packages/react && node ../../scripts/local-codepen.js", diff --git a/scripts/bundle-size-collect.js b/scripts/bundle-size-collect.js new file mode 100644 index 00000000000000..6da450dcd35ead --- /dev/null +++ b/scripts/bundle-size-collect.js @@ -0,0 +1,33 @@ +// @ts-check + +// This script collates bundle size information from minified files in apps/test-bundles/dist +// and writes to apps/test-bundles/dist/bundlesizes.json. +// It is uploaded as an artifact by the build definition in Azure DevOps and used to compare +// baseline and PR file size information which gets reported by Size Auditor. + +const fs = require('fs'); +const path = require('path'); + +const distRoot = path.resolve(__dirname, '../apps/test-bundles/dist'); +const sizes = {}; +const outputFilename = 'bundlesizes.json'; + +var items = fs.readdirSync(distRoot); +items.forEach(item => { + const file = path.join(distRoot, item); + + const isMinifiedJavascriptFile = item.match(/.min.js$/); + if (isMinifiedJavascriptFile) { + sizes[getComponentName(item)] = getFilesizeInBytes(file); + } +}); + +fs.writeFileSync(path.join(distRoot, outputFilename), JSON.stringify({ sizes })); + +function getFilesizeInBytes(fileName) { + return fs.statSync(fileName).size; +} + +function getComponentName(fileName) { + return path.basename(fileName, '.min.js'); +} diff --git a/scripts/just.config.ts b/scripts/just.config.ts index 20a6dddbf22998..3aa68ee367ac8a 100644 --- a/scripts/just.config.ts +++ b/scripts/just.config.ts @@ -13,7 +13,6 @@ import { webpack, webpackDevServer } from './tasks/webpack'; import { verifyApiExtractor, updateApiExtractor } from './tasks/api-extractor'; import { lintImports } from './tasks/lint-imports'; import { prettier } from './tasks/prettier'; -import { bundleSizeCollect } from './tasks/bundle-size-collect'; import { checkForModifiedFiles } from './tasks/check-for-modified-files'; import { generateVersionFiles } from './tasks/generate-version-files'; import { generatePackageManifestTask } from './tasks/generate-package-manifest'; @@ -81,7 +80,6 @@ export function preset() { task('api-extractor:update', updateApiExtractor()); task('lint-imports', lintImports); task('prettier', prettier); - task('bundle-size-collect', bundleSizeCollect); task('check-for-modified-files', checkForModifiedFiles); task('generate-version-files', generateVersionFiles); task('generate-package-manifest', generatePackageManifestTask); @@ -139,3 +137,8 @@ export function preset() { } preset.basic = basicPreset; + +if (process.cwd() === __dirname) { + // load the preset if this is being run within the scripts package + preset(); +}