From 7b9a09fbcb4b058b1a547f3832f0d794d2c049fb Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Thu, 10 Nov 2022 12:11:35 +0100 Subject: [PATCH] chore: migrate all packages to generate-api approach with unified tsc processing --- ...-da669290-ade5-48e6-8a44-943278ee5a68.json | 7 +++++++ ...-fb8da18f-e876-4775-a664-43927aa5a51d.json | 7 +++++++ ...-bcd7e09a-6548-4c9d-b205-07da83064497.json | 7 +++++++ ...-be651933-ee21-4b95-b3a4-a82b921704af.json | 7 +++++++ ...-bf94a830-e4e6-4269-a251-a5d9d154d241.json | 7 +++++++ ...-875f5037-ab68-4912-a5d7-0a18f1acf539.json | 7 +++++++ ...-7a98dcda-2cde-4b89-b14c-f22d299450c0.json | 7 +++++++ ...-30f6caee-fb88-44ef-8767-60bb189938b1.json | 7 +++++++ ...-a4cea4fc-0101-4846-a188-4a134d998360.json | 7 +++++++ ...-e78c7c65-4e15-4bd4-ba94-c70d211d07b3.json | 7 +++++++ ...-fa21da5b-51ca-45f8-8f3f-fcd1e577e2d6.json | 7 +++++++ ...-37840f3c-8a76-4168-9c2e-82db20b4d7b0.json | 7 +++++++ ...-9bb30cca-6a74-42c9-88c1-70c65471ab1d.json | 7 +++++++ ...-d0bbca02-cd0f-4c46-849d-4226e1b7295b.json | 7 +++++++ ...-d694efb2-1915-4cfa-ad90-296abcf0ac58.json | 7 +++++++ ...-06d0cd7f-2718-4b55-b1ad-f7c32e1d183c.json | 7 +++++++ ...-e3b17b3a-d2b7-4ee4-9ef6-be0e55ab69bd.json | 7 +++++++ ...-db9d1ae7-38c1-486a-8dd1-847b7e6a9e04.json | 7 +++++++ ...-ec9050cc-ecb1-46e9-87d0-3a93e43970fc.json | 7 +++++++ ...-d3d03d35-80d1-462f-814f-884966e850da.json | 7 +++++++ ...-6afa52e6-9aa4-4efd-af1d-670bd245bee2.json | 7 +++++++ ...-39b7150d-dd97-4b1e-9d67-2910da2454df.json | 7 +++++++ ...-28a2d2e1-bffd-4d7a-8fcc-cfec913c9a3b.json | 7 +++++++ ...-836ea24d-6235-4cd2-aafb-f29e763384f4.json | 7 +++++++ ...-bb0e8e9f-da86-40d1-a236-6cf2a71df340.json | 7 +++++++ ...-60d3e146-4741-475f-803a-35643ac704a7.json | 7 +++++++ ...-a3b659ca-078d-4950-8d08-93f86182fad0.json | 7 +++++++ ...-351220ab-f571-44de-b57a-56feb4e971d2.json | 7 +++++++ ...-59d764c1-ace6-4a01-ad0b-e9db359674bb.json | 7 +++++++ ...-d1758671-527b-452e-be91-8edefcc23224.json | 7 +++++++ ...-351a64fa-508a-40dc-a8f6-f547f3e8bf02.json | 7 +++++++ ...-462adca2-a73f-4320-bbf2-2bbc9571c93c.json | 7 +++++++ ...-85a7e639-34c1-444a-bcf9-7f5b2ce144c8.json | 7 +++++++ ...-b0c0d02c-3485-4e0f-a908-251aaf1a164f.json | 7 +++++++ ...-9914f742-271a-4798-8f28-7ebd3569bcec.json | 7 +++++++ ...-1599bb91-bb33-48ac-9ff1-a5af6879049b.json | 7 +++++++ ...-d75e87e7-584e-49b3-9d01-f19620c6633f.json | 7 +++++++ ...-797d8316-1b0c-4cf5-aceb-047552a3842f.json | 7 +++++++ ...-6e09401c-ab6e-4892-abb6-d3bc58c0bb80.json | 7 +++++++ ...-f9b1429c-c174-4cb6-95fc-73d13b228ae7.json | 7 +++++++ ...-34e6470f-4fc0-4bfc-8916-76eaa6f5f256.json | 7 +++++++ ...-7d7b5832-1872-4106-93be-826617814722.json | 7 +++++++ ...-a28dfbfe-ae23-45aa-97cf-3b0bbf3f8f7e.json | 7 +++++++ ...-b48586c4-7d0d-4ea8-8cc3-967b52c24d0b.json | 7 +++++++ ...-2d3c0232-5f7f-4c9d-af32-fce749609e2a.json | 7 +++++++ ...-eccb3883-e571-4c09-8d93-71f1373ab01a.json | 7 +++++++ ...-d16e3a57-f2b9-4000-a422-54022d8b1060.json | 7 +++++++ ...-9139b389-427a-4715-9c3f-4360a8e3d821.json | 7 +++++++ ...-f688c72e-182f-406d-a8fd-966c2c836230.json | 7 +++++++ ...-262a66da-c0b3-45ad-a0e0-1759ff56142e.json | 7 +++++++ .../config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../babel-preset-global-context/package.json | 5 ++--- .../tsconfig.lib.json | 14 ++++++++++--- .../global-context/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../global-context/package.json | 5 ++--- .../global-context/tsconfig.lib.json | 4 ++-- .../global-context/tsconfig.spec.json | 10 +--------- .../keyboard-keys/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../keyboard-keys/package.json | 5 ++--- .../keyboard-keys/tsconfig.lib.json | 4 ++-- .../keyboard-keys/tsconfig.spec.json | 10 +--------- .../config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../priority-overflow/package.json | 5 ++--- .../priority-overflow/tsconfig.lib.json | 4 ++-- .../priority-overflow/tsconfig.spec.json | 10 +--------- .../react-accordion/config/api-extractor.json | 7 +------ .../react-alert/config/api-extractor.json | 7 +------ .../react-aria/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-components/react-aria/package.json | 5 ++--- .../react-aria/tsconfig.lib.json | 4 ++-- .../react-aria/tsconfig.spec.json | 10 +--------- .../config/api-extractor.json | 7 +------ .../react-avatar/config/api-extractor.json | 7 +------ .../react-badge/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-components/react-badge/package.json | 5 ++--- .../react-badge/tsconfig.lib.json | 4 ++-- .../react-button/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-button/package.json | 5 ++--- .../react-button/tsconfig.lib.json | 4 ++-- .../react-card/config/api-extractor.json | 7 +------ .../react-checkbox/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-checkbox/package.json | 5 ++--- .../react-checkbox/tsconfig.lib.json | 4 ++-- .../react-combobox/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-combobox/package.json | 5 ++--- .../react-combobox/tsconfig.lib.json | 4 ++-- .../config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 20 ------------------- .../config/api-extractor.unstable.json | 6 +----- .../react-components/package.json | 7 +++---- .../react-components/tsconfig.lib.json | 4 ++-- .../config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../etc/react-conformance-griffel.api.md | 20 +++++++++++++++++++ .../react-conformance-griffel/package.json | 5 ++--- .../tsconfig.lib.json | 4 ++-- .../tsconfig.spec.json | 10 +--------- .../config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-context-selector/package.json | 5 ++--- .../react-context-selector/tsconfig.lib.json | 4 ++-- .../react-context-selector/tsconfig.spec.json | 10 +--------- .../react-dialog/config/api-extractor.json | 7 +------ .../react-divider/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-divider/package.json | 5 ++--- .../react-divider/tsconfig.lib.json | 4 ++-- .../react-field/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-components/react-field/package.json | 5 ++--- .../react-field/tsconfig.lib.json | 4 ++-- .../react-image/config/api-extractor.json | 7 +------ .../config/api-extractor.json | 7 +------ .../react-input/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-components/react-input/package.json | 5 ++--- .../react-input/tsconfig.lib.json | 4 ++-- .../react-label/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-components/react-label/package.json | 5 ++--- .../react-label/tsconfig.lib.json | 4 ++-- .../react-link/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-components/react-link/package.json | 5 ++--- .../react-link/tsconfig.lib.json | 4 ++-- .../react-menu/config/api-extractor.json | 7 +------ .../react-overflow/config/api-extractor.json | 7 +------ .../react-persona/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-persona/package.json | 5 ++--- .../react-persona/tsconfig.lib.json | 4 ++-- .../react-popover/config/api-extractor.json | 7 +------ .../config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-portal-compat-context/package.json | 5 ++--- .../tsconfig.lib.json | 4 ++-- .../config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-portal-compat/package.json | 5 ++--- .../react-portal-compat/tsconfig.lib.json | 4 ++-- .../react-portal/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-portal/package.json | 5 ++--- .../react-portal/tsconfig.lib.json | 4 ++-- .../config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-positioning/package.json | 5 ++--- .../react-positioning/tsconfig.lib.json | 4 ++-- .../react-progress/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-progress/package.json | 5 ++--- .../react-progress/tsconfig.lib.json | 4 ++-- .../react-provider/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-provider/package.json | 5 ++--- .../react-provider/tsconfig.lib.json | 4 ++-- .../react-radio/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-components/react-radio/package.json | 5 ++--- .../react-radio/tsconfig.lib.json | 4 ++-- .../react-select/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-select/package.json | 5 ++--- .../react-select/tsconfig.lib.json | 4 ++-- .../config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-shared-contexts/package.json | 5 ++--- .../react-shared-contexts/tsconfig.lib.json | 4 ++-- .../react-skeleton/config/api-extractor.json | 7 +------ .../react-skeleton/tsconfig.spec.json | 10 +--------- .../react-slider/config/api-extractor.json | 7 +------ .../config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-spinbutton/package.json | 5 ++--- .../react-spinbutton/tsconfig.lib.json | 4 ++-- .../react-spinner/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-spinner/package.json | 5 ++--- .../react-spinner/tsconfig.lib.json | 4 ++-- .../config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-storybook-addon/package.json | 5 ++--- .../react-storybook-addon/tsconfig.lib.json | 4 ++-- .../react-storybook/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-storybook/package.json | 5 ++--- .../react-storybook/tsconfig.lib.json | 4 ++-- .../react-switch/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-switch/package.json | 5 ++--- .../react-switch/tsconfig.lib.json | 4 ++-- .../react-table/config/api-extractor.json | 7 +------ .../react-tabs/config/api-extractor.json | 7 +------ .../react-tabster/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-tabster/package.json | 5 ++--- .../react-tabster/tsconfig.lib.json | 4 ++-- .../react-text/config/api-extractor.json | 7 +------ .../react-textarea/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-textarea/package.json | 5 ++--- .../react-textarea/tsconfig.lib.json | 4 ++-- .../config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-theme-sass/package.json | 5 ++--- .../react-theme-sass/tsconfig.lib.json | 4 ++-- .../react-theme/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-components/react-theme/package.json | 5 ++--- .../react-theme/tsconfig.lib.json | 4 ++-- .../react-toolbar/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-toolbar/package.json | 5 ++--- .../react-toolbar/tsconfig.lib.json | 4 ++-- .../react-tooltip/config/api-extractor.json | 7 +------ .../react-tree/config/api-extractor.json | 7 +------ .../react-tree/tsconfig.spec.json | 10 +--------- .../react-utilities/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../react-utilities/package.json | 5 ++--- .../react-utilities/tsconfig.lib.json | 4 ++-- .../theme-designer/config/api-extractor.json | 3 +-- .../config/api-extractor.local.json | 5 ----- .../theme-designer/package.json | 5 ++--- .../theme-designer/tsconfig.lib.json | 4 ++-- 234 files changed, 602 insertions(+), 670 deletions(-) create mode 100644 change/@fluentui-babel-preset-global-context-da669290-ade5-48e6-8a44-943278ee5a68.json create mode 100644 change/@fluentui-global-context-fb8da18f-e876-4775-a664-43927aa5a51d.json create mode 100644 change/@fluentui-keyboard-keys-bcd7e09a-6548-4c9d-b205-07da83064497.json create mode 100644 change/@fluentui-priority-overflow-be651933-ee21-4b95-b3a4-a82b921704af.json create mode 100644 change/@fluentui-react-accordion-bf94a830-e4e6-4269-a251-a5d9d154d241.json create mode 100644 change/@fluentui-react-alert-875f5037-ab68-4912-a5d7-0a18f1acf539.json create mode 100644 change/@fluentui-react-aria-7a98dcda-2cde-4b89-b14c-f22d299450c0.json create mode 100644 change/@fluentui-react-avatar-30f6caee-fb88-44ef-8767-60bb189938b1.json create mode 100644 change/@fluentui-react-badge-a4cea4fc-0101-4846-a188-4a134d998360.json create mode 100644 change/@fluentui-react-button-e78c7c65-4e15-4bd4-ba94-c70d211d07b3.json create mode 100644 change/@fluentui-react-card-fa21da5b-51ca-45f8-8f3f-fcd1e577e2d6.json create mode 100644 change/@fluentui-react-checkbox-37840f3c-8a76-4168-9c2e-82db20b4d7b0.json create mode 100644 change/@fluentui-react-combobox-9bb30cca-6a74-42c9-88c1-70c65471ab1d.json create mode 100644 change/@fluentui-react-components-d0bbca02-cd0f-4c46-849d-4226e1b7295b.json create mode 100644 change/@fluentui-react-conformance-griffel-d694efb2-1915-4cfa-ad90-296abcf0ac58.json create mode 100644 change/@fluentui-react-context-selector-06d0cd7f-2718-4b55-b1ad-f7c32e1d183c.json create mode 100644 change/@fluentui-react-dialog-e3b17b3a-d2b7-4ee4-9ef6-be0e55ab69bd.json create mode 100644 change/@fluentui-react-divider-db9d1ae7-38c1-486a-8dd1-847b7e6a9e04.json create mode 100644 change/@fluentui-react-field-ec9050cc-ecb1-46e9-87d0-3a93e43970fc.json create mode 100644 change/@fluentui-react-image-d3d03d35-80d1-462f-814f-884966e850da.json create mode 100644 change/@fluentui-react-input-6afa52e6-9aa4-4efd-af1d-670bd245bee2.json create mode 100644 change/@fluentui-react-label-39b7150d-dd97-4b1e-9d67-2910da2454df.json create mode 100644 change/@fluentui-react-link-28a2d2e1-bffd-4d7a-8fcc-cfec913c9a3b.json create mode 100644 change/@fluentui-react-menu-836ea24d-6235-4cd2-aafb-f29e763384f4.json create mode 100644 change/@fluentui-react-overflow-bb0e8e9f-da86-40d1-a236-6cf2a71df340.json create mode 100644 change/@fluentui-react-persona-60d3e146-4741-475f-803a-35643ac704a7.json create mode 100644 change/@fluentui-react-popover-a3b659ca-078d-4950-8d08-93f86182fad0.json create mode 100644 change/@fluentui-react-portal-351220ab-f571-44de-b57a-56feb4e971d2.json create mode 100644 change/@fluentui-react-portal-compat-59d764c1-ace6-4a01-ad0b-e9db359674bb.json create mode 100644 change/@fluentui-react-portal-compat-context-d1758671-527b-452e-be91-8edefcc23224.json create mode 100644 change/@fluentui-react-positioning-351a64fa-508a-40dc-a8f6-f547f3e8bf02.json create mode 100644 change/@fluentui-react-progress-462adca2-a73f-4320-bbf2-2bbc9571c93c.json create mode 100644 change/@fluentui-react-provider-85a7e639-34c1-444a-bcf9-7f5b2ce144c8.json create mode 100644 change/@fluentui-react-radio-b0c0d02c-3485-4e0f-a908-251aaf1a164f.json create mode 100644 change/@fluentui-react-select-9914f742-271a-4798-8f28-7ebd3569bcec.json create mode 100644 change/@fluentui-react-shared-contexts-1599bb91-bb33-48ac-9ff1-a5af6879049b.json create mode 100644 change/@fluentui-react-slider-d75e87e7-584e-49b3-9d01-f19620c6633f.json create mode 100644 change/@fluentui-react-spinbutton-797d8316-1b0c-4cf5-aceb-047552a3842f.json create mode 100644 change/@fluentui-react-spinner-6e09401c-ab6e-4892-abb6-d3bc58c0bb80.json create mode 100644 change/@fluentui-react-switch-f9b1429c-c174-4cb6-95fc-73d13b228ae7.json create mode 100644 change/@fluentui-react-table-34e6470f-4fc0-4bfc-8916-76eaa6f5f256.json create mode 100644 change/@fluentui-react-tabs-7d7b5832-1872-4106-93be-826617814722.json create mode 100644 change/@fluentui-react-tabster-a28dfbfe-ae23-45aa-97cf-3b0bbf3f8f7e.json create mode 100644 change/@fluentui-react-text-b48586c4-7d0d-4ea8-8cc3-967b52c24d0b.json create mode 100644 change/@fluentui-react-textarea-2d3c0232-5f7f-4c9d-af32-fce749609e2a.json create mode 100644 change/@fluentui-react-theme-eccb3883-e571-4c09-8d93-71f1373ab01a.json create mode 100644 change/@fluentui-react-theme-sass-d16e3a57-f2b9-4000-a422-54022d8b1060.json create mode 100644 change/@fluentui-react-toolbar-9139b389-427a-4715-9c3f-4360a8e3d821.json create mode 100644 change/@fluentui-react-tooltip-f688c72e-182f-406d-a8fd-966c2c836230.json create mode 100644 change/@fluentui-react-utilities-262a66da-c0b3-45ad-a0e0-1759ff56142e.json delete mode 100644 packages/react-components/babel-preset-global-context/config/api-extractor.local.json delete mode 100644 packages/react-components/global-context/config/api-extractor.local.json delete mode 100644 packages/react-components/keyboard-keys/config/api-extractor.local.json delete mode 100644 packages/react-components/priority-overflow/config/api-extractor.local.json delete mode 100644 packages/react-components/react-aria/config/api-extractor.local.json delete mode 100644 packages/react-components/react-badge/config/api-extractor.local.json delete mode 100644 packages/react-components/react-button/config/api-extractor.local.json delete mode 100644 packages/react-components/react-checkbox/config/api-extractor.local.json delete mode 100644 packages/react-components/react-combobox/config/api-extractor.local.json delete mode 100644 packages/react-components/react-components/config/api-extractor.local.json delete mode 100644 packages/react-components/react-conformance-griffel/config/api-extractor.local.json create mode 100644 packages/react-components/react-conformance-griffel/etc/react-conformance-griffel.api.md delete mode 100644 packages/react-components/react-context-selector/config/api-extractor.local.json delete mode 100644 packages/react-components/react-divider/config/api-extractor.local.json delete mode 100644 packages/react-components/react-field/config/api-extractor.local.json delete mode 100644 packages/react-components/react-input/config/api-extractor.local.json delete mode 100644 packages/react-components/react-label/config/api-extractor.local.json delete mode 100644 packages/react-components/react-link/config/api-extractor.local.json delete mode 100644 packages/react-components/react-persona/config/api-extractor.local.json delete mode 100644 packages/react-components/react-portal-compat-context/config/api-extractor.local.json delete mode 100644 packages/react-components/react-portal-compat/config/api-extractor.local.json delete mode 100644 packages/react-components/react-portal/config/api-extractor.local.json delete mode 100644 packages/react-components/react-positioning/config/api-extractor.local.json delete mode 100644 packages/react-components/react-progress/config/api-extractor.local.json delete mode 100644 packages/react-components/react-provider/config/api-extractor.local.json delete mode 100644 packages/react-components/react-radio/config/api-extractor.local.json delete mode 100644 packages/react-components/react-select/config/api-extractor.local.json delete mode 100644 packages/react-components/react-shared-contexts/config/api-extractor.local.json delete mode 100644 packages/react-components/react-spinbutton/config/api-extractor.local.json delete mode 100644 packages/react-components/react-spinner/config/api-extractor.local.json delete mode 100644 packages/react-components/react-storybook-addon/config/api-extractor.local.json delete mode 100644 packages/react-components/react-storybook/config/api-extractor.local.json delete mode 100644 packages/react-components/react-switch/config/api-extractor.local.json delete mode 100644 packages/react-components/react-tabster/config/api-extractor.local.json delete mode 100644 packages/react-components/react-textarea/config/api-extractor.local.json delete mode 100644 packages/react-components/react-theme-sass/config/api-extractor.local.json delete mode 100644 packages/react-components/react-theme/config/api-extractor.local.json delete mode 100644 packages/react-components/react-toolbar/config/api-extractor.local.json delete mode 100644 packages/react-components/react-utilities/config/api-extractor.local.json delete mode 100644 packages/react-components/theme-designer/config/api-extractor.local.json diff --git a/change/@fluentui-babel-preset-global-context-da669290-ade5-48e6-8a44-943278ee5a68.json b/change/@fluentui-babel-preset-global-context-da669290-ade5-48e6-8a44-943278ee5a68.json new file mode 100644 index 00000000000000..5da314c9d80347 --- /dev/null +++ b/change/@fluentui-babel-preset-global-context-da669290-ade5-48e6-8a44-943278ee5a68.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/babel-preset-global-context", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-global-context-fb8da18f-e876-4775-a664-43927aa5a51d.json b/change/@fluentui-global-context-fb8da18f-e876-4775-a664-43927aa5a51d.json new file mode 100644 index 00000000000000..7e58f4e46d3b2b --- /dev/null +++ b/change/@fluentui-global-context-fb8da18f-e876-4775-a664-43927aa5a51d.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/global-context", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-keyboard-keys-bcd7e09a-6548-4c9d-b205-07da83064497.json b/change/@fluentui-keyboard-keys-bcd7e09a-6548-4c9d-b205-07da83064497.json new file mode 100644 index 00000000000000..2b7cf215b2b354 --- /dev/null +++ b/change/@fluentui-keyboard-keys-bcd7e09a-6548-4c9d-b205-07da83064497.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/keyboard-keys", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-priority-overflow-be651933-ee21-4b95-b3a4-a82b921704af.json b/change/@fluentui-priority-overflow-be651933-ee21-4b95-b3a4-a82b921704af.json new file mode 100644 index 00000000000000..3fa471ee556153 --- /dev/null +++ b/change/@fluentui-priority-overflow-be651933-ee21-4b95-b3a4-a82b921704af.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/priority-overflow", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-accordion-bf94a830-e4e6-4269-a251-a5d9d154d241.json b/change/@fluentui-react-accordion-bf94a830-e4e6-4269-a251-a5d9d154d241.json new file mode 100644 index 00000000000000..1f2d8bf22b976c --- /dev/null +++ b/change/@fluentui-react-accordion-bf94a830-e4e6-4269-a251-a5d9d154d241.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-accordion", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-alert-875f5037-ab68-4912-a5d7-0a18f1acf539.json b/change/@fluentui-react-alert-875f5037-ab68-4912-a5d7-0a18f1acf539.json new file mode 100644 index 00000000000000..3464f48c4e4813 --- /dev/null +++ b/change/@fluentui-react-alert-875f5037-ab68-4912-a5d7-0a18f1acf539.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-alert", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-aria-7a98dcda-2cde-4b89-b14c-f22d299450c0.json b/change/@fluentui-react-aria-7a98dcda-2cde-4b89-b14c-f22d299450c0.json new file mode 100644 index 00000000000000..aee17a9d4dcbe7 --- /dev/null +++ b/change/@fluentui-react-aria-7a98dcda-2cde-4b89-b14c-f22d299450c0.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-aria", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-avatar-30f6caee-fb88-44ef-8767-60bb189938b1.json b/change/@fluentui-react-avatar-30f6caee-fb88-44ef-8767-60bb189938b1.json new file mode 100644 index 00000000000000..66ec60322b9f76 --- /dev/null +++ b/change/@fluentui-react-avatar-30f6caee-fb88-44ef-8767-60bb189938b1.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-avatar", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-badge-a4cea4fc-0101-4846-a188-4a134d998360.json b/change/@fluentui-react-badge-a4cea4fc-0101-4846-a188-4a134d998360.json new file mode 100644 index 00000000000000..a3cfedbde96e09 --- /dev/null +++ b/change/@fluentui-react-badge-a4cea4fc-0101-4846-a188-4a134d998360.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-badge", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-button-e78c7c65-4e15-4bd4-ba94-c70d211d07b3.json b/change/@fluentui-react-button-e78c7c65-4e15-4bd4-ba94-c70d211d07b3.json new file mode 100644 index 00000000000000..19cad315f979ff --- /dev/null +++ b/change/@fluentui-react-button-e78c7c65-4e15-4bd4-ba94-c70d211d07b3.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-button", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-card-fa21da5b-51ca-45f8-8f3f-fcd1e577e2d6.json b/change/@fluentui-react-card-fa21da5b-51ca-45f8-8f3f-fcd1e577e2d6.json new file mode 100644 index 00000000000000..231acf8ca7b803 --- /dev/null +++ b/change/@fluentui-react-card-fa21da5b-51ca-45f8-8f3f-fcd1e577e2d6.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-card", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-checkbox-37840f3c-8a76-4168-9c2e-82db20b4d7b0.json b/change/@fluentui-react-checkbox-37840f3c-8a76-4168-9c2e-82db20b4d7b0.json new file mode 100644 index 00000000000000..e34271231c3681 --- /dev/null +++ b/change/@fluentui-react-checkbox-37840f3c-8a76-4168-9c2e-82db20b4d7b0.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-checkbox", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-combobox-9bb30cca-6a74-42c9-88c1-70c65471ab1d.json b/change/@fluentui-react-combobox-9bb30cca-6a74-42c9-88c1-70c65471ab1d.json new file mode 100644 index 00000000000000..896d9766d66007 --- /dev/null +++ b/change/@fluentui-react-combobox-9bb30cca-6a74-42c9-88c1-70c65471ab1d.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-combobox", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-components-d0bbca02-cd0f-4c46-849d-4226e1b7295b.json b/change/@fluentui-react-components-d0bbca02-cd0f-4c46-849d-4226e1b7295b.json new file mode 100644 index 00000000000000..40873123e00c71 --- /dev/null +++ b/change/@fluentui-react-components-d0bbca02-cd0f-4c46-849d-4226e1b7295b.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-components", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-conformance-griffel-d694efb2-1915-4cfa-ad90-296abcf0ac58.json b/change/@fluentui-react-conformance-griffel-d694efb2-1915-4cfa-ad90-296abcf0ac58.json new file mode 100644 index 00000000000000..fb5733f068aacb --- /dev/null +++ b/change/@fluentui-react-conformance-griffel-d694efb2-1915-4cfa-ad90-296abcf0ac58.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-conformance-griffel", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-context-selector-06d0cd7f-2718-4b55-b1ad-f7c32e1d183c.json b/change/@fluentui-react-context-selector-06d0cd7f-2718-4b55-b1ad-f7c32e1d183c.json new file mode 100644 index 00000000000000..121ca5e0a55eca --- /dev/null +++ b/change/@fluentui-react-context-selector-06d0cd7f-2718-4b55-b1ad-f7c32e1d183c.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-context-selector", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-dialog-e3b17b3a-d2b7-4ee4-9ef6-be0e55ab69bd.json b/change/@fluentui-react-dialog-e3b17b3a-d2b7-4ee4-9ef6-be0e55ab69bd.json new file mode 100644 index 00000000000000..8ec0d166b45611 --- /dev/null +++ b/change/@fluentui-react-dialog-e3b17b3a-d2b7-4ee4-9ef6-be0e55ab69bd.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-dialog", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-divider-db9d1ae7-38c1-486a-8dd1-847b7e6a9e04.json b/change/@fluentui-react-divider-db9d1ae7-38c1-486a-8dd1-847b7e6a9e04.json new file mode 100644 index 00000000000000..c4e2b42721fdce --- /dev/null +++ b/change/@fluentui-react-divider-db9d1ae7-38c1-486a-8dd1-847b7e6a9e04.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-divider", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-field-ec9050cc-ecb1-46e9-87d0-3a93e43970fc.json b/change/@fluentui-react-field-ec9050cc-ecb1-46e9-87d0-3a93e43970fc.json new file mode 100644 index 00000000000000..3a5129088345e9 --- /dev/null +++ b/change/@fluentui-react-field-ec9050cc-ecb1-46e9-87d0-3a93e43970fc.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-field", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-image-d3d03d35-80d1-462f-814f-884966e850da.json b/change/@fluentui-react-image-d3d03d35-80d1-462f-814f-884966e850da.json new file mode 100644 index 00000000000000..992ecd96cf56b1 --- /dev/null +++ b/change/@fluentui-react-image-d3d03d35-80d1-462f-814f-884966e850da.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-image", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-input-6afa52e6-9aa4-4efd-af1d-670bd245bee2.json b/change/@fluentui-react-input-6afa52e6-9aa4-4efd-af1d-670bd245bee2.json new file mode 100644 index 00000000000000..ef2c9a98f657f1 --- /dev/null +++ b/change/@fluentui-react-input-6afa52e6-9aa4-4efd-af1d-670bd245bee2.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-input", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-label-39b7150d-dd97-4b1e-9d67-2910da2454df.json b/change/@fluentui-react-label-39b7150d-dd97-4b1e-9d67-2910da2454df.json new file mode 100644 index 00000000000000..4a70901d889ce6 --- /dev/null +++ b/change/@fluentui-react-label-39b7150d-dd97-4b1e-9d67-2910da2454df.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-label", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-link-28a2d2e1-bffd-4d7a-8fcc-cfec913c9a3b.json b/change/@fluentui-react-link-28a2d2e1-bffd-4d7a-8fcc-cfec913c9a3b.json new file mode 100644 index 00000000000000..67eb8735d8ae49 --- /dev/null +++ b/change/@fluentui-react-link-28a2d2e1-bffd-4d7a-8fcc-cfec913c9a3b.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-link", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-menu-836ea24d-6235-4cd2-aafb-f29e763384f4.json b/change/@fluentui-react-menu-836ea24d-6235-4cd2-aafb-f29e763384f4.json new file mode 100644 index 00000000000000..aff73f53701554 --- /dev/null +++ b/change/@fluentui-react-menu-836ea24d-6235-4cd2-aafb-f29e763384f4.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-menu", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-overflow-bb0e8e9f-da86-40d1-a236-6cf2a71df340.json b/change/@fluentui-react-overflow-bb0e8e9f-da86-40d1-a236-6cf2a71df340.json new file mode 100644 index 00000000000000..46173e81fd0873 --- /dev/null +++ b/change/@fluentui-react-overflow-bb0e8e9f-da86-40d1-a236-6cf2a71df340.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-overflow", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-persona-60d3e146-4741-475f-803a-35643ac704a7.json b/change/@fluentui-react-persona-60d3e146-4741-475f-803a-35643ac704a7.json new file mode 100644 index 00000000000000..84ebc78cff2152 --- /dev/null +++ b/change/@fluentui-react-persona-60d3e146-4741-475f-803a-35643ac704a7.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-persona", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-popover-a3b659ca-078d-4950-8d08-93f86182fad0.json b/change/@fluentui-react-popover-a3b659ca-078d-4950-8d08-93f86182fad0.json new file mode 100644 index 00000000000000..1efd662ad894ce --- /dev/null +++ b/change/@fluentui-react-popover-a3b659ca-078d-4950-8d08-93f86182fad0.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-popover", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-portal-351220ab-f571-44de-b57a-56feb4e971d2.json b/change/@fluentui-react-portal-351220ab-f571-44de-b57a-56feb4e971d2.json new file mode 100644 index 00000000000000..fc6be94870e933 --- /dev/null +++ b/change/@fluentui-react-portal-351220ab-f571-44de-b57a-56feb4e971d2.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-portal", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-portal-compat-59d764c1-ace6-4a01-ad0b-e9db359674bb.json b/change/@fluentui-react-portal-compat-59d764c1-ace6-4a01-ad0b-e9db359674bb.json new file mode 100644 index 00000000000000..f125e01588549b --- /dev/null +++ b/change/@fluentui-react-portal-compat-59d764c1-ace6-4a01-ad0b-e9db359674bb.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-portal-compat", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-portal-compat-context-d1758671-527b-452e-be91-8edefcc23224.json b/change/@fluentui-react-portal-compat-context-d1758671-527b-452e-be91-8edefcc23224.json new file mode 100644 index 00000000000000..736e811ff58b40 --- /dev/null +++ b/change/@fluentui-react-portal-compat-context-d1758671-527b-452e-be91-8edefcc23224.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-portal-compat-context", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-positioning-351a64fa-508a-40dc-a8f6-f547f3e8bf02.json b/change/@fluentui-react-positioning-351a64fa-508a-40dc-a8f6-f547f3e8bf02.json new file mode 100644 index 00000000000000..ab7f1cb67e5cd9 --- /dev/null +++ b/change/@fluentui-react-positioning-351a64fa-508a-40dc-a8f6-f547f3e8bf02.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-positioning", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-progress-462adca2-a73f-4320-bbf2-2bbc9571c93c.json b/change/@fluentui-react-progress-462adca2-a73f-4320-bbf2-2bbc9571c93c.json new file mode 100644 index 00000000000000..02d52c2fe5b71f --- /dev/null +++ b/change/@fluentui-react-progress-462adca2-a73f-4320-bbf2-2bbc9571c93c.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-progress", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-provider-85a7e639-34c1-444a-bcf9-7f5b2ce144c8.json b/change/@fluentui-react-provider-85a7e639-34c1-444a-bcf9-7f5b2ce144c8.json new file mode 100644 index 00000000000000..531de44c6698a7 --- /dev/null +++ b/change/@fluentui-react-provider-85a7e639-34c1-444a-bcf9-7f5b2ce144c8.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-provider", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-radio-b0c0d02c-3485-4e0f-a908-251aaf1a164f.json b/change/@fluentui-react-radio-b0c0d02c-3485-4e0f-a908-251aaf1a164f.json new file mode 100644 index 00000000000000..a80e65e86e36f9 --- /dev/null +++ b/change/@fluentui-react-radio-b0c0d02c-3485-4e0f-a908-251aaf1a164f.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-radio", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-select-9914f742-271a-4798-8f28-7ebd3569bcec.json b/change/@fluentui-react-select-9914f742-271a-4798-8f28-7ebd3569bcec.json new file mode 100644 index 00000000000000..2b079e7f715124 --- /dev/null +++ b/change/@fluentui-react-select-9914f742-271a-4798-8f28-7ebd3569bcec.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-select", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-shared-contexts-1599bb91-bb33-48ac-9ff1-a5af6879049b.json b/change/@fluentui-react-shared-contexts-1599bb91-bb33-48ac-9ff1-a5af6879049b.json new file mode 100644 index 00000000000000..5f8c8b1b23c396 --- /dev/null +++ b/change/@fluentui-react-shared-contexts-1599bb91-bb33-48ac-9ff1-a5af6879049b.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-shared-contexts", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-slider-d75e87e7-584e-49b3-9d01-f19620c6633f.json b/change/@fluentui-react-slider-d75e87e7-584e-49b3-9d01-f19620c6633f.json new file mode 100644 index 00000000000000..fe6f25c37a0810 --- /dev/null +++ b/change/@fluentui-react-slider-d75e87e7-584e-49b3-9d01-f19620c6633f.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-slider", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-spinbutton-797d8316-1b0c-4cf5-aceb-047552a3842f.json b/change/@fluentui-react-spinbutton-797d8316-1b0c-4cf5-aceb-047552a3842f.json new file mode 100644 index 00000000000000..3e83b542296f1c --- /dev/null +++ b/change/@fluentui-react-spinbutton-797d8316-1b0c-4cf5-aceb-047552a3842f.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-spinbutton", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-spinner-6e09401c-ab6e-4892-abb6-d3bc58c0bb80.json b/change/@fluentui-react-spinner-6e09401c-ab6e-4892-abb6-d3bc58c0bb80.json new file mode 100644 index 00000000000000..d7e9ebf8fad179 --- /dev/null +++ b/change/@fluentui-react-spinner-6e09401c-ab6e-4892-abb6-d3bc58c0bb80.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-spinner", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-switch-f9b1429c-c174-4cb6-95fc-73d13b228ae7.json b/change/@fluentui-react-switch-f9b1429c-c174-4cb6-95fc-73d13b228ae7.json new file mode 100644 index 00000000000000..3e56bd219c768f --- /dev/null +++ b/change/@fluentui-react-switch-f9b1429c-c174-4cb6-95fc-73d13b228ae7.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-switch", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-table-34e6470f-4fc0-4bfc-8916-76eaa6f5f256.json b/change/@fluentui-react-table-34e6470f-4fc0-4bfc-8916-76eaa6f5f256.json new file mode 100644 index 00000000000000..ea5129a97cf120 --- /dev/null +++ b/change/@fluentui-react-table-34e6470f-4fc0-4bfc-8916-76eaa6f5f256.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-table", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-tabs-7d7b5832-1872-4106-93be-826617814722.json b/change/@fluentui-react-tabs-7d7b5832-1872-4106-93be-826617814722.json new file mode 100644 index 00000000000000..7d57ff6eac7a75 --- /dev/null +++ b/change/@fluentui-react-tabs-7d7b5832-1872-4106-93be-826617814722.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-tabs", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-tabster-a28dfbfe-ae23-45aa-97cf-3b0bbf3f8f7e.json b/change/@fluentui-react-tabster-a28dfbfe-ae23-45aa-97cf-3b0bbf3f8f7e.json new file mode 100644 index 00000000000000..23e195f47931a7 --- /dev/null +++ b/change/@fluentui-react-tabster-a28dfbfe-ae23-45aa-97cf-3b0bbf3f8f7e.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-tabster", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-text-b48586c4-7d0d-4ea8-8cc3-967b52c24d0b.json b/change/@fluentui-react-text-b48586c4-7d0d-4ea8-8cc3-967b52c24d0b.json new file mode 100644 index 00000000000000..424f8ed5ba61d3 --- /dev/null +++ b/change/@fluentui-react-text-b48586c4-7d0d-4ea8-8cc3-967b52c24d0b.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-text", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-textarea-2d3c0232-5f7f-4c9d-af32-fce749609e2a.json b/change/@fluentui-react-textarea-2d3c0232-5f7f-4c9d-af32-fce749609e2a.json new file mode 100644 index 00000000000000..22fd6d54816e41 --- /dev/null +++ b/change/@fluentui-react-textarea-2d3c0232-5f7f-4c9d-af32-fce749609e2a.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-textarea", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-theme-eccb3883-e571-4c09-8d93-71f1373ab01a.json b/change/@fluentui-react-theme-eccb3883-e571-4c09-8d93-71f1373ab01a.json new file mode 100644 index 00000000000000..d11e1b965ce1d9 --- /dev/null +++ b/change/@fluentui-react-theme-eccb3883-e571-4c09-8d93-71f1373ab01a.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-theme", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-theme-sass-d16e3a57-f2b9-4000-a422-54022d8b1060.json b/change/@fluentui-react-theme-sass-d16e3a57-f2b9-4000-a422-54022d8b1060.json new file mode 100644 index 00000000000000..9756e7129a5992 --- /dev/null +++ b/change/@fluentui-react-theme-sass-d16e3a57-f2b9-4000-a422-54022d8b1060.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-theme-sass", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-toolbar-9139b389-427a-4715-9c3f-4360a8e3d821.json b/change/@fluentui-react-toolbar-9139b389-427a-4715-9c3f-4360a8e3d821.json new file mode 100644 index 00000000000000..33fe826ca38d75 --- /dev/null +++ b/change/@fluentui-react-toolbar-9139b389-427a-4715-9c3f-4360a8e3d821.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-toolbar", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-tooltip-f688c72e-182f-406d-a8fd-966c2c836230.json b/change/@fluentui-react-tooltip-f688c72e-182f-406d-a8fd-966c2c836230.json new file mode 100644 index 00000000000000..9bf2bc7d3fe7ee --- /dev/null +++ b/change/@fluentui-react-tooltip-f688c72e-182f-406d-a8fd-966c2c836230.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-tooltip", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-utilities-262a66da-c0b3-45ad-a0e0-1759ff56142e.json b/change/@fluentui-react-utilities-262a66da-c0b3-45ad-a0e0-1759ff56142e.json new file mode 100644 index 00000000000000..4ed839d1096c3d --- /dev/null +++ b/change/@fluentui-react-utilities-262a66da-c0b3-45ad-a0e0-1759ff56142e.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: update package scaffold", + "packageName": "@fluentui/react-utilities", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/packages/react-components/babel-preset-global-context/config/api-extractor.json b/packages/react-components/babel-preset-global-context/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/babel-preset-global-context/config/api-extractor.json +++ b/packages/react-components/babel-preset-global-context/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/babel-preset-global-context/config/api-extractor.local.json b/packages/react-components/babel-preset-global-context/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/babel-preset-global-context/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/babel-preset-global-context/package.json b/packages/react-components/babel-preset-global-context/package.json index 056c07a28eff1f..655af67bfc60c4 100644 --- a/packages/react-components/babel-preset-global-context/package.json +++ b/packages/react-components/babel-preset-global-context/package.json @@ -19,9 +19,8 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/babel-preset-global-context/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/babel-preset-global-context/tsconfig.lib.json b/packages/react-components/babel-preset-global-context/tsconfig.lib.json index 6b77ffea2342de..a4eb8ea628fd95 100644 --- a/packages/react-components/babel-preset-global-context/tsconfig.lib.json +++ b/packages/react-components/babel-preset-global-context/tsconfig.lib.json @@ -3,13 +3,21 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment", "node"], "module": "CommonJS" }, - "exclude": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.test.ts", "**/*.test.tsx", "**/*.cy.ts", "**/*.cy.tsx"], + "exclude": [ + "./src/testing/**", + "**/*.spec.ts", + "**/*.spec.tsx", + "**/*.test.ts", + "**/*.test.tsx", + "**/*.cy.ts", + "**/*.cy.tsx" + ], "include": ["./src/**/*.ts", "./src/**/*.tsx"] } diff --git a/packages/react-components/global-context/config/api-extractor.json b/packages/react-components/global-context/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/global-context/config/api-extractor.json +++ b/packages/react-components/global-context/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/global-context/config/api-extractor.local.json b/packages/react-components/global-context/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/global-context/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/global-context/package.json b/packages/react-components/global-context/package.json index cb4963260e6fde..cb66e68170e10f 100644 --- a/packages/react-components/global-context/package.json +++ b/packages/react-components/global-context/package.json @@ -21,9 +21,8 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/global-context/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/global-context/tsconfig.lib.json b/packages/react-components/global-context/tsconfig.lib.json index 356da34103c916..33ff2b70bcf255 100644 --- a/packages/react-components/global-context/tsconfig.lib.json +++ b/packages/react-components/global-context/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment", "node"] }, diff --git a/packages/react-components/global-context/tsconfig.spec.json b/packages/react-components/global-context/tsconfig.spec.json index 911456fe4b4d91..469fcba4d7ba75 100644 --- a/packages/react-components/global-context/tsconfig.spec.json +++ b/packages/react-components/global-context/tsconfig.spec.json @@ -5,13 +5,5 @@ "outDir": "dist", "types": ["jest", "node"] }, - "include": [ - "**/*.spec.ts", - "**/*.spec.tsx", - "**/*.test.ts", - "**/*.test.tsx", - "**/*.d.ts", - "./src/testing/**/*.ts", - "./src/testing/**/*.tsx" - ] + "include": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.test.ts", "**/*.test.tsx", "**/*.d.ts"] } diff --git a/packages/react-components/keyboard-keys/config/api-extractor.json b/packages/react-components/keyboard-keys/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/keyboard-keys/config/api-extractor.json +++ b/packages/react-components/keyboard-keys/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/keyboard-keys/config/api-extractor.local.json b/packages/react-components/keyboard-keys/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/keyboard-keys/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/keyboard-keys/package.json b/packages/react-components/keyboard-keys/package.json index 7e1e559f8b7d7a..31ff6e357a5d36 100644 --- a/packages/react-components/keyboard-keys/package.json +++ b/packages/react-components/keyboard-keys/package.json @@ -17,10 +17,9 @@ "code-style": "just-scripts code-style", "just": "just-scripts", "lint": "just-scripts lint", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/keyboard-keys/src && yarn docs", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/keyboard-keys/tsconfig.lib.json b/packages/react-components/keyboard-keys/tsconfig.lib.json index 7763b7fe82bad3..b2da24eff1b32f 100644 --- a/packages/react-components/keyboard-keys/tsconfig.lib.json +++ b/packages/react-components/keyboard-keys/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/keyboard-keys/tsconfig.spec.json b/packages/react-components/keyboard-keys/tsconfig.spec.json index 911456fe4b4d91..469fcba4d7ba75 100644 --- a/packages/react-components/keyboard-keys/tsconfig.spec.json +++ b/packages/react-components/keyboard-keys/tsconfig.spec.json @@ -5,13 +5,5 @@ "outDir": "dist", "types": ["jest", "node"] }, - "include": [ - "**/*.spec.ts", - "**/*.spec.tsx", - "**/*.test.ts", - "**/*.test.tsx", - "**/*.d.ts", - "./src/testing/**/*.ts", - "./src/testing/**/*.tsx" - ] + "include": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.test.ts", "**/*.test.tsx", "**/*.d.ts"] } diff --git a/packages/react-components/priority-overflow/config/api-extractor.json b/packages/react-components/priority-overflow/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/priority-overflow/config/api-extractor.json +++ b/packages/react-components/priority-overflow/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/priority-overflow/config/api-extractor.local.json b/packages/react-components/priority-overflow/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/priority-overflow/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/priority-overflow/package.json b/packages/react-components/priority-overflow/package.json index 2bada6462d26d1..41a3f12f3bfed9 100644 --- a/packages/react-components/priority-overflow/package.json +++ b/packages/react-components/priority-overflow/package.json @@ -19,9 +19,8 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/priority-overflow/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/priority-overflow/tsconfig.lib.json b/packages/react-components/priority-overflow/tsconfig.lib.json index 7763b7fe82bad3..b2da24eff1b32f 100644 --- a/packages/react-components/priority-overflow/tsconfig.lib.json +++ b/packages/react-components/priority-overflow/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/priority-overflow/tsconfig.spec.json b/packages/react-components/priority-overflow/tsconfig.spec.json index 911456fe4b4d91..469fcba4d7ba75 100644 --- a/packages/react-components/priority-overflow/tsconfig.spec.json +++ b/packages/react-components/priority-overflow/tsconfig.spec.json @@ -5,13 +5,5 @@ "outDir": "dist", "types": ["jest", "node"] }, - "include": [ - "**/*.spec.ts", - "**/*.spec.tsx", - "**/*.test.ts", - "**/*.test.tsx", - "**/*.d.ts", - "./src/testing/**/*.ts", - "./src/testing/**/*.tsx" - ] + "include": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.test.ts", "**/*.test.tsx", "**/*.d.ts"] } diff --git a/packages/react-components/react-accordion/config/api-extractor.json b/packages/react-components/react-accordion/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-accordion/config/api-extractor.json +++ b/packages/react-components/react-accordion/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-alert/config/api-extractor.json b/packages/react-components/react-alert/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-alert/config/api-extractor.json +++ b/packages/react-components/react-alert/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-aria/config/api-extractor.json b/packages/react-components/react-aria/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-aria/config/api-extractor.json +++ b/packages/react-components/react-aria/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-aria/config/api-extractor.local.json b/packages/react-components/react-aria/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-aria/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-aria/package.json b/packages/react-components/react-aria/package.json index c2dea15ee790b1..6fa70c9f3054ac 100644 --- a/packages/react-components/react-aria/package.json +++ b/packages/react-components/react-aria/package.json @@ -19,10 +19,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/types/packages/react-components/react-aria/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-aria/tsconfig.lib.json b/packages/react-components/react-aria/tsconfig.lib.json index ef66992c5a174a..008c602dc19d24 100644 --- a/packages/react-components/react-aria/tsconfig.lib.json +++ b/packages/react-components/react-aria/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-aria/tsconfig.spec.json b/packages/react-components/react-aria/tsconfig.spec.json index 911456fe4b4d91..469fcba4d7ba75 100644 --- a/packages/react-components/react-aria/tsconfig.spec.json +++ b/packages/react-components/react-aria/tsconfig.spec.json @@ -5,13 +5,5 @@ "outDir": "dist", "types": ["jest", "node"] }, - "include": [ - "**/*.spec.ts", - "**/*.spec.tsx", - "**/*.test.ts", - "**/*.test.tsx", - "**/*.d.ts", - "./src/testing/**/*.ts", - "./src/testing/**/*.tsx" - ] + "include": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.test.ts", "**/*.test.tsx", "**/*.d.ts"] } diff --git a/packages/react-components/react-avatar-context/config/api-extractor.json b/packages/react-components/react-avatar-context/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-avatar-context/config/api-extractor.json +++ b/packages/react-components/react-avatar-context/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-avatar/config/api-extractor.json b/packages/react-components/react-avatar/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-avatar/config/api-extractor.json +++ b/packages/react-components/react-avatar/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-badge/config/api-extractor.json b/packages/react-components/react-badge/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-badge/config/api-extractor.json +++ b/packages/react-components/react-badge/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-badge/config/api-extractor.local.json b/packages/react-components/react-badge/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-badge/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-badge/package.json b/packages/react-components/react-badge/package.json index c086e25ff62b6c..5acdbdc47d6d23 100644 --- a/packages/react-components/react-badge/package.json +++ b/packages/react-components/react-badge/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-badge/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-badge/tsconfig.lib.json b/packages/react-components/react-badge/tsconfig.lib.json index 53770c42da6dd0..6f90cf95c005bd 100644 --- a/packages/react-components/react-badge/tsconfig.lib.json +++ b/packages/react-components/react-badge/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-button/config/api-extractor.json b/packages/react-components/react-button/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-button/config/api-extractor.json +++ b/packages/react-components/react-button/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-button/config/api-extractor.local.json b/packages/react-components/react-button/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-button/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-button/package.json b/packages/react-components/react-button/package.json index 2508f6f4f3e8a4..63650f853cddc9 100644 --- a/packages/react-components/react-button/package.json +++ b/packages/react-components/react-button/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-button/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/a11y-testing": "^0.1.0", diff --git a/packages/react-components/react-button/tsconfig.lib.json b/packages/react-components/react-button/tsconfig.lib.json index 53770c42da6dd0..6f90cf95c005bd 100644 --- a/packages/react-components/react-button/tsconfig.lib.json +++ b/packages/react-components/react-button/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-card/config/api-extractor.json b/packages/react-components/react-card/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-card/config/api-extractor.json +++ b/packages/react-components/react-card/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-checkbox/config/api-extractor.json b/packages/react-components/react-checkbox/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-checkbox/config/api-extractor.json +++ b/packages/react-components/react-checkbox/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-checkbox/config/api-extractor.local.json b/packages/react-components/react-checkbox/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-checkbox/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-checkbox/package.json b/packages/react-components/react-checkbox/package.json index ee81b26c1dfa7d..e48d82607bb294 100644 --- a/packages/react-components/react-checkbox/package.json +++ b/packages/react-components/react-checkbox/package.json @@ -19,10 +19,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-checkbox/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-checkbox/tsconfig.lib.json b/packages/react-components/react-checkbox/tsconfig.lib.json index 53770c42da6dd0..6f90cf95c005bd 100644 --- a/packages/react-components/react-checkbox/tsconfig.lib.json +++ b/packages/react-components/react-checkbox/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-combobox/config/api-extractor.json b/packages/react-components/react-combobox/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-combobox/config/api-extractor.json +++ b/packages/react-components/react-combobox/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-combobox/config/api-extractor.local.json b/packages/react-components/react-combobox/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-combobox/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-combobox/package.json b/packages/react-components/react-combobox/package.json index baa0e7126369a0..c4c4b37fe096ce 100644 --- a/packages/react-components/react-combobox/package.json +++ b/packages/react-components/react-combobox/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-combobox/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-combobox/tsconfig.lib.json b/packages/react-components/react-combobox/tsconfig.lib.json index 5d7b14f1e0b70c..7f94e04299ed85 100644 --- a/packages/react-components/react-combobox/tsconfig.lib.json +++ b/packages/react-components/react-combobox/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-components/config/api-extractor.json b/packages/react-components/react-components/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-components/config/api-extractor.json +++ b/packages/react-components/react-components/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-components/config/api-extractor.local.json b/packages/react-components/react-components/config/api-extractor.local.json deleted file mode 100644 index fc68f7c9367c8c..00000000000000 --- a/packages/react-components/react-components/config/api-extractor.local.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts", - "compiler": { - /** - * This is a quickfix to make build:local work - * - @see https://github.com/microsoft/fluentui/issues/19360 - * - config uses standard tsconfig.lib.json and overrides path aliases - */ - "overrideTsconfig": { - "extends": "./tsconfig.lib.json", - "compilerOptions": { - "paths": { - "@fluentui/*": ["dist/*/src/index.d.ts"] - } - } - } - } -} diff --git a/packages/react-components/react-components/config/api-extractor.unstable.json b/packages/react-components/react-components/config/api-extractor.unstable.json index 86279bdf5c1bbf..1d728f1db783d7 100644 --- a/packages/react-components/react-components/config/api-extractor.unstable.json +++ b/packages/react-components/react-components/config/api-extractor.unstable.json @@ -1,15 +1,11 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/unstable/index.d.ts", + "mainEntryPointFilePath": "/../../../dist/out-tsc/types/packages/react-components//src/unstable/index.d.ts", "apiReport": { "enabled": true, "reportFileName": ".unstable.api.md" }, - "docModel": { - "enabled": true, - "apiJsonFilePath": "/dist/.unstable.api.json" - }, "dtsRollup": { "enabled": true, "untrimmedFilePath": "/dist/unstable.d.ts" diff --git a/packages/react-components/react-components/package.json b/packages/react-components/react-components/package.json index 2246a377f97576..1fdbae87272cd6 100644 --- a/packages/react-components/react-components/package.json +++ b/packages/react-components/react-components/package.json @@ -19,11 +19,10 @@ "just": "just-scripts", "lint": "just-scripts lint", "start": "yarn storybook", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-components/src && yarn docs", - "storybook": "start-storybook --port 3000 --no-manager-cache", + "storybook": "start-storybook", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-components/tsconfig.lib.json b/packages/react-components/react-components/tsconfig.lib.json index ef66992c5a174a..008c602dc19d24 100644 --- a/packages/react-components/react-components/tsconfig.lib.json +++ b/packages/react-components/react-components/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-conformance-griffel/config/api-extractor.json b/packages/react-components/react-conformance-griffel/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-conformance-griffel/config/api-extractor.json +++ b/packages/react-components/react-conformance-griffel/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-conformance-griffel/config/api-extractor.local.json b/packages/react-components/react-conformance-griffel/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-conformance-griffel/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-conformance-griffel/etc/react-conformance-griffel.api.md b/packages/react-components/react-conformance-griffel/etc/react-conformance-griffel.api.md new file mode 100644 index 00000000000000..bbfbdc7ddd4616 --- /dev/null +++ b/packages/react-components/react-conformance-griffel/etc/react-conformance-griffel.api.md @@ -0,0 +1,20 @@ +## API Report File for "@fluentui/react-conformance-griffel" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { TestObject } from '@fluentui/react-conformance'; + +// @public (undocumented) +const makeStylesTests: TestObject; +export default makeStylesTests; + +// @public (undocumented) +export type OverridesWinTestOptions = { + callCount?: number; +}; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/react-components/react-conformance-griffel/package.json b/packages/react-components/react-conformance-griffel/package.json index e063b0b37a14c2..2188b33f3f326d 100644 --- a/packages/react-components/react-conformance-griffel/package.json +++ b/packages/react-components/react-conformance-griffel/package.json @@ -16,9 +16,8 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-conformance-griffel/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-conformance-griffel/tsconfig.lib.json b/packages/react-components/react-conformance-griffel/tsconfig.lib.json index 3d83e932464499..ff6d546d087e97 100644 --- a/packages/react-components/react-conformance-griffel/tsconfig.lib.json +++ b/packages/react-components/react-conformance-griffel/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["DOM", "ES2019"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment", "jest", "node"], "module": "CommonJS" diff --git a/packages/react-components/react-conformance-griffel/tsconfig.spec.json b/packages/react-components/react-conformance-griffel/tsconfig.spec.json index 911456fe4b4d91..469fcba4d7ba75 100644 --- a/packages/react-components/react-conformance-griffel/tsconfig.spec.json +++ b/packages/react-components/react-conformance-griffel/tsconfig.spec.json @@ -5,13 +5,5 @@ "outDir": "dist", "types": ["jest", "node"] }, - "include": [ - "**/*.spec.ts", - "**/*.spec.tsx", - "**/*.test.ts", - "**/*.test.tsx", - "**/*.d.ts", - "./src/testing/**/*.ts", - "./src/testing/**/*.tsx" - ] + "include": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.test.ts", "**/*.test.tsx", "**/*.d.ts"] } diff --git a/packages/react-components/react-context-selector/config/api-extractor.json b/packages/react-components/react-context-selector/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-context-selector/config/api-extractor.json +++ b/packages/react-components/react-context-selector/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-context-selector/config/api-extractor.local.json b/packages/react-components/react-context-selector/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-context-selector/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-context-selector/package.json b/packages/react-components/react-context-selector/package.json index c4ae5a05e2c410..fb7fd66a097716 100644 --- a/packages/react-components/react-context-selector/package.json +++ b/packages/react-components/react-context-selector/package.json @@ -18,9 +18,8 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-context-selector/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-context-selector/tsconfig.lib.json b/packages/react-components/react-context-selector/tsconfig.lib.json index 7763b7fe82bad3..b2da24eff1b32f 100644 --- a/packages/react-components/react-context-selector/tsconfig.lib.json +++ b/packages/react-components/react-context-selector/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-context-selector/tsconfig.spec.json b/packages/react-components/react-context-selector/tsconfig.spec.json index 911456fe4b4d91..469fcba4d7ba75 100644 --- a/packages/react-components/react-context-selector/tsconfig.spec.json +++ b/packages/react-components/react-context-selector/tsconfig.spec.json @@ -5,13 +5,5 @@ "outDir": "dist", "types": ["jest", "node"] }, - "include": [ - "**/*.spec.ts", - "**/*.spec.tsx", - "**/*.test.ts", - "**/*.test.tsx", - "**/*.d.ts", - "./src/testing/**/*.ts", - "./src/testing/**/*.tsx" - ] + "include": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.test.ts", "**/*.test.tsx", "**/*.d.ts"] } diff --git a/packages/react-components/react-dialog/config/api-extractor.json b/packages/react-components/react-dialog/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-dialog/config/api-extractor.json +++ b/packages/react-components/react-dialog/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-divider/config/api-extractor.json b/packages/react-components/react-divider/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-divider/config/api-extractor.json +++ b/packages/react-components/react-divider/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-divider/config/api-extractor.local.json b/packages/react-components/react-divider/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-divider/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-divider/package.json b/packages/react-components/react-divider/package.json index f6c57b329e314b..ef087ce50421a4 100644 --- a/packages/react-components/react-divider/package.json +++ b/packages/react-components/react-divider/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-divider/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-divider/tsconfig.lib.json b/packages/react-components/react-divider/tsconfig.lib.json index 53770c42da6dd0..6f90cf95c005bd 100644 --- a/packages/react-components/react-divider/tsconfig.lib.json +++ b/packages/react-components/react-divider/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-field/config/api-extractor.json b/packages/react-components/react-field/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-field/config/api-extractor.json +++ b/packages/react-components/react-field/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-field/config/api-extractor.local.json b/packages/react-components/react-field/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-field/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-field/package.json b/packages/react-components/react-field/package.json index 75552be6e61fc9..f897915eb04c7b 100644 --- a/packages/react-components/react-field/package.json +++ b/packages/react-components/react-field/package.json @@ -20,9 +20,8 @@ "start": "yarn storybook", "storybook": "start-storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-field/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-field/tsconfig.lib.json b/packages/react-components/react-field/tsconfig.lib.json index 5d7b14f1e0b70c..7f94e04299ed85 100644 --- a/packages/react-components/react-field/tsconfig.lib.json +++ b/packages/react-components/react-field/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-image/config/api-extractor.json b/packages/react-components/react-image/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-image/config/api-extractor.json +++ b/packages/react-components/react-image/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-infobutton/config/api-extractor.json b/packages/react-components/react-infobutton/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-infobutton/config/api-extractor.json +++ b/packages/react-components/react-infobutton/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-input/config/api-extractor.json b/packages/react-components/react-input/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-input/config/api-extractor.json +++ b/packages/react-components/react-input/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-input/config/api-extractor.local.json b/packages/react-components/react-input/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-input/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-input/package.json b/packages/react-components/react-input/package.json index dcc9443fc3d499..3c3f40c5497464 100644 --- a/packages/react-components/react-input/package.json +++ b/packages/react-components/react-input/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-input/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-input/tsconfig.lib.json b/packages/react-components/react-input/tsconfig.lib.json index 53770c42da6dd0..6f90cf95c005bd 100644 --- a/packages/react-components/react-input/tsconfig.lib.json +++ b/packages/react-components/react-input/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-label/config/api-extractor.json b/packages/react-components/react-label/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-label/config/api-extractor.json +++ b/packages/react-components/react-label/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-label/config/api-extractor.local.json b/packages/react-components/react-label/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-label/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-label/package.json b/packages/react-components/react-label/package.json index 1108240325f736..e5e7b6c1dfc799 100644 --- a/packages/react-components/react-label/package.json +++ b/packages/react-components/react-label/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-label/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-label/tsconfig.lib.json b/packages/react-components/react-label/tsconfig.lib.json index 53770c42da6dd0..6f90cf95c005bd 100644 --- a/packages/react-components/react-label/tsconfig.lib.json +++ b/packages/react-components/react-label/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-link/config/api-extractor.json b/packages/react-components/react-link/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-link/config/api-extractor.json +++ b/packages/react-components/react-link/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-link/config/api-extractor.local.json b/packages/react-components/react-link/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-link/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-link/package.json b/packages/react-components/react-link/package.json index 9769ece86c90aa..c709016f7377ed 100644 --- a/packages/react-components/react-link/package.json +++ b/packages/react-components/react-link/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-link/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/a11y-testing": "^0.1.0", diff --git a/packages/react-components/react-link/tsconfig.lib.json b/packages/react-components/react-link/tsconfig.lib.json index 53770c42da6dd0..6f90cf95c005bd 100644 --- a/packages/react-components/react-link/tsconfig.lib.json +++ b/packages/react-components/react-link/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-menu/config/api-extractor.json b/packages/react-components/react-menu/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-menu/config/api-extractor.json +++ b/packages/react-components/react-menu/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-overflow/config/api-extractor.json b/packages/react-components/react-overflow/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-overflow/config/api-extractor.json +++ b/packages/react-components/react-overflow/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-persona/config/api-extractor.json b/packages/react-components/react-persona/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-persona/config/api-extractor.json +++ b/packages/react-components/react-persona/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-persona/config/api-extractor.local.json b/packages/react-components/react-persona/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-persona/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-persona/package.json b/packages/react-components/react-persona/package.json index d2437e72beaa6e..00c899ba708a20 100644 --- a/packages/react-components/react-persona/package.json +++ b/packages/react-components/react-persona/package.json @@ -19,11 +19,10 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-persona/src && yarn docs", "type-check": "tsc -b tsconfig.json", "storybook": "start-storybook", - "start": "yarn storybook" + "start": "yarn storybook", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-persona/tsconfig.lib.json b/packages/react-components/react-persona/tsconfig.lib.json index 5d7b14f1e0b70c..7f94e04299ed85 100644 --- a/packages/react-components/react-persona/tsconfig.lib.json +++ b/packages/react-components/react-persona/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-popover/config/api-extractor.json b/packages/react-components/react-popover/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-popover/config/api-extractor.json +++ b/packages/react-components/react-popover/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-portal-compat-context/config/api-extractor.json b/packages/react-components/react-portal-compat-context/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-portal-compat-context/config/api-extractor.json +++ b/packages/react-components/react-portal-compat-context/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-portal-compat-context/config/api-extractor.local.json b/packages/react-components/react-portal-compat-context/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-portal-compat-context/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-portal-compat-context/package.json b/packages/react-components/react-portal-compat-context/package.json index 0fb4cf1ed573ae..53ffbdb060df95 100644 --- a/packages/react-components/react-portal-compat-context/package.json +++ b/packages/react-components/react-portal-compat-context/package.json @@ -18,9 +18,8 @@ "just": "just-scripts", "lint": "just-scripts lint && just-scripts lint-imports", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-portal-compat-context/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-portal-compat-context/tsconfig.lib.json b/packages/react-components/react-portal-compat-context/tsconfig.lib.json index 7763b7fe82bad3..b2da24eff1b32f 100644 --- a/packages/react-components/react-portal-compat-context/tsconfig.lib.json +++ b/packages/react-components/react-portal-compat-context/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-portal-compat/config/api-extractor.json b/packages/react-components/react-portal-compat/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-portal-compat/config/api-extractor.json +++ b/packages/react-components/react-portal-compat/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-portal-compat/config/api-extractor.local.json b/packages/react-components/react-portal-compat/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-portal-compat/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-portal-compat/package.json b/packages/react-components/react-portal-compat/package.json index 9810daac6552d4..fd1a552d741178 100644 --- a/packages/react-components/react-portal-compat/package.json +++ b/packages/react-components/react-portal-compat/package.json @@ -21,9 +21,8 @@ "just": "just-scripts", "lint": "just-scripts lint && just-scripts lint-imports", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-portal-compat/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-portal-compat/tsconfig.lib.json b/packages/react-components/react-portal-compat/tsconfig.lib.json index c2f9c89ec5c8d6..47002ae1f756b3 100644 --- a/packages/react-components/react-portal-compat/tsconfig.lib.json +++ b/packages/react-components/react-portal-compat/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-portal/config/api-extractor.json b/packages/react-components/react-portal/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-portal/config/api-extractor.json +++ b/packages/react-components/react-portal/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-portal/config/api-extractor.local.json b/packages/react-components/react-portal/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-portal/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-portal/package.json b/packages/react-components/react-portal/package.json index f6c3c9605458a5..0b021e9aff52e3 100644 --- a/packages/react-components/react-portal/package.json +++ b/packages/react-components/react-portal/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-portal/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-portal/tsconfig.lib.json b/packages/react-components/react-portal/tsconfig.lib.json index ef66992c5a174a..008c602dc19d24 100644 --- a/packages/react-components/react-portal/tsconfig.lib.json +++ b/packages/react-components/react-portal/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-positioning/config/api-extractor.json b/packages/react-components/react-positioning/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-positioning/config/api-extractor.json +++ b/packages/react-components/react-positioning/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-positioning/config/api-extractor.local.json b/packages/react-components/react-positioning/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-positioning/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-positioning/package.json b/packages/react-components/react-positioning/package.json index d6f105fe7a9dfa..d63e2aeffed926 100644 --- a/packages/react-components/react-positioning/package.json +++ b/packages/react-components/react-positioning/package.json @@ -19,9 +19,8 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-positioning/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-positioning/tsconfig.lib.json b/packages/react-components/react-positioning/tsconfig.lib.json index 7763b7fe82bad3..b2da24eff1b32f 100644 --- a/packages/react-components/react-positioning/tsconfig.lib.json +++ b/packages/react-components/react-positioning/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-progress/config/api-extractor.json b/packages/react-components/react-progress/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-progress/config/api-extractor.json +++ b/packages/react-components/react-progress/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-progress/config/api-extractor.local.json b/packages/react-components/react-progress/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-progress/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-progress/package.json b/packages/react-components/react-progress/package.json index b1e95d3835469e..941f20da548905 100644 --- a/packages/react-components/react-progress/package.json +++ b/packages/react-components/react-progress/package.json @@ -19,11 +19,10 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-progress/src && yarn docs", "type-check": "tsc -b tsconfig.json", "storybook": "start-storybook", - "start": "yarn storybook" + "start": "yarn storybook", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-progress/tsconfig.lib.json b/packages/react-components/react-progress/tsconfig.lib.json index 5d7b14f1e0b70c..7f94e04299ed85 100644 --- a/packages/react-components/react-progress/tsconfig.lib.json +++ b/packages/react-components/react-progress/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-provider/config/api-extractor.json b/packages/react-components/react-provider/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-provider/config/api-extractor.json +++ b/packages/react-components/react-provider/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-provider/config/api-extractor.local.json b/packages/react-components/react-provider/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-provider/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-provider/package.json b/packages/react-components/react-provider/package.json index dfb352675faf9f..8fff79ac6fecf8 100644 --- a/packages/react-components/react-provider/package.json +++ b/packages/react-components/react-provider/package.json @@ -19,11 +19,10 @@ "code-style": "just-scripts code-style", "just": "just-scripts", "lint": "just-scripts lint", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-provider/src && yarn docs", "storybook": "start-storybook", "start": "yarn storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-provider/tsconfig.lib.json b/packages/react-components/react-provider/tsconfig.lib.json index 5d7b14f1e0b70c..7f94e04299ed85 100644 --- a/packages/react-components/react-provider/tsconfig.lib.json +++ b/packages/react-components/react-provider/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-radio/config/api-extractor.json b/packages/react-components/react-radio/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-radio/config/api-extractor.json +++ b/packages/react-components/react-radio/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-radio/config/api-extractor.local.json b/packages/react-components/react-radio/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-radio/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-radio/package.json b/packages/react-components/react-radio/package.json index 836f24ca5e8d20..ce2a1aaec0763d 100644 --- a/packages/react-components/react-radio/package.json +++ b/packages/react-components/react-radio/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-radio/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-radio/tsconfig.lib.json b/packages/react-components/react-radio/tsconfig.lib.json index 5d7b14f1e0b70c..7f94e04299ed85 100644 --- a/packages/react-components/react-radio/tsconfig.lib.json +++ b/packages/react-components/react-radio/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-select/config/api-extractor.json b/packages/react-components/react-select/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-select/config/api-extractor.json +++ b/packages/react-components/react-select/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-select/config/api-extractor.local.json b/packages/react-components/react-select/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-select/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-select/package.json b/packages/react-components/react-select/package.json index d3bc7472c24395..39488ab08e4386 100644 --- a/packages/react-components/react-select/package.json +++ b/packages/react-components/react-select/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-select/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-select/tsconfig.lib.json b/packages/react-components/react-select/tsconfig.lib.json index 53770c42da6dd0..6f90cf95c005bd 100644 --- a/packages/react-components/react-select/tsconfig.lib.json +++ b/packages/react-components/react-select/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-shared-contexts/config/api-extractor.json b/packages/react-components/react-shared-contexts/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-shared-contexts/config/api-extractor.json +++ b/packages/react-components/react-shared-contexts/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-shared-contexts/config/api-extractor.local.json b/packages/react-components/react-shared-contexts/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-shared-contexts/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-shared-contexts/package.json b/packages/react-components/react-shared-contexts/package.json index 8512685b65fed7..884d499d94623c 100644 --- a/packages/react-components/react-shared-contexts/package.json +++ b/packages/react-components/react-shared-contexts/package.json @@ -17,10 +17,9 @@ "code-style": "just-scripts code-style", "just": "just-scripts", "lint": "just-scripts lint", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-shared-contexts/src && yarn docs", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-shared-contexts/tsconfig.lib.json b/packages/react-components/react-shared-contexts/tsconfig.lib.json index 7763b7fe82bad3..b2da24eff1b32f 100644 --- a/packages/react-components/react-shared-contexts/tsconfig.lib.json +++ b/packages/react-components/react-shared-contexts/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-skeleton/config/api-extractor.json b/packages/react-components/react-skeleton/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-skeleton/config/api-extractor.json +++ b/packages/react-components/react-skeleton/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-skeleton/tsconfig.spec.json b/packages/react-components/react-skeleton/tsconfig.spec.json index 911456fe4b4d91..469fcba4d7ba75 100644 --- a/packages/react-components/react-skeleton/tsconfig.spec.json +++ b/packages/react-components/react-skeleton/tsconfig.spec.json @@ -5,13 +5,5 @@ "outDir": "dist", "types": ["jest", "node"] }, - "include": [ - "**/*.spec.ts", - "**/*.spec.tsx", - "**/*.test.ts", - "**/*.test.tsx", - "**/*.d.ts", - "./src/testing/**/*.ts", - "./src/testing/**/*.tsx" - ] + "include": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.test.ts", "**/*.test.tsx", "**/*.d.ts"] } diff --git a/packages/react-components/react-slider/config/api-extractor.json b/packages/react-components/react-slider/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-slider/config/api-extractor.json +++ b/packages/react-components/react-slider/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-spinbutton/config/api-extractor.json b/packages/react-components/react-spinbutton/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-spinbutton/config/api-extractor.json +++ b/packages/react-components/react-spinbutton/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-spinbutton/config/api-extractor.local.json b/packages/react-components/react-spinbutton/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-spinbutton/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-spinbutton/package.json b/packages/react-components/react-spinbutton/package.json index 37d1d4e3e65021..570a88e77db618 100644 --- a/packages/react-components/react-spinbutton/package.json +++ b/packages/react-components/react-spinbutton/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-spinbutton/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-spinbutton/tsconfig.lib.json b/packages/react-components/react-spinbutton/tsconfig.lib.json index 5d7b14f1e0b70c..7f94e04299ed85 100644 --- a/packages/react-components/react-spinbutton/tsconfig.lib.json +++ b/packages/react-components/react-spinbutton/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-spinner/config/api-extractor.json b/packages/react-components/react-spinner/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-spinner/config/api-extractor.json +++ b/packages/react-components/react-spinner/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-spinner/config/api-extractor.local.json b/packages/react-components/react-spinner/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-spinner/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-spinner/package.json b/packages/react-components/react-spinner/package.json index 9ff07c1603def4..c699ce1f8b497e 100644 --- a/packages/react-components/react-spinner/package.json +++ b/packages/react-components/react-spinner/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-spinner/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-spinner/tsconfig.lib.json b/packages/react-components/react-spinner/tsconfig.lib.json index 5d7b14f1e0b70c..7f94e04299ed85 100644 --- a/packages/react-components/react-spinner/tsconfig.lib.json +++ b/packages/react-components/react-spinner/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-storybook-addon/config/api-extractor.json b/packages/react-components/react-storybook-addon/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-storybook-addon/config/api-extractor.json +++ b/packages/react-components/react-storybook-addon/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-storybook-addon/config/api-extractor.local.json b/packages/react-components/react-storybook-addon/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-storybook-addon/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-storybook-addon/package.json b/packages/react-components/react-storybook-addon/package.json index 4a6c576c89f6c2..cd3f5ade73d671 100644 --- a/packages/react-components/react-storybook-addon/package.json +++ b/packages/react-components/react-storybook-addon/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-storybook-addon/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-storybook-addon/tsconfig.lib.json b/packages/react-components/react-storybook-addon/tsconfig.lib.json index ef66992c5a174a..008c602dc19d24 100644 --- a/packages/react-components/react-storybook-addon/tsconfig.lib.json +++ b/packages/react-components/react-storybook-addon/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-storybook/config/api-extractor.json b/packages/react-components/react-storybook/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-storybook/config/api-extractor.json +++ b/packages/react-components/react-storybook/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-storybook/config/api-extractor.local.json b/packages/react-components/react-storybook/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-storybook/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-storybook/package.json b/packages/react-components/react-storybook/package.json index 455ee4c4262e6d..62b965cb77f0ae 100644 --- a/packages/react-components/react-storybook/package.json +++ b/packages/react-components/react-storybook/package.json @@ -19,9 +19,8 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-storybook/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-storybook/tsconfig.lib.json b/packages/react-components/react-storybook/tsconfig.lib.json index 7763b7fe82bad3..b2da24eff1b32f 100644 --- a/packages/react-components/react-storybook/tsconfig.lib.json +++ b/packages/react-components/react-storybook/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-switch/config/api-extractor.json b/packages/react-components/react-switch/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-switch/config/api-extractor.json +++ b/packages/react-components/react-switch/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-switch/config/api-extractor.local.json b/packages/react-components/react-switch/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-switch/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-switch/package.json b/packages/react-components/react-switch/package.json index 2caadcd1930e93..ad240ec7181287 100644 --- a/packages/react-components/react-switch/package.json +++ b/packages/react-components/react-switch/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-switch/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-switch/tsconfig.lib.json b/packages/react-components/react-switch/tsconfig.lib.json index 5d7b14f1e0b70c..7f94e04299ed85 100644 --- a/packages/react-components/react-switch/tsconfig.lib.json +++ b/packages/react-components/react-switch/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-table/config/api-extractor.json b/packages/react-components/react-table/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-table/config/api-extractor.json +++ b/packages/react-components/react-table/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-tabs/config/api-extractor.json b/packages/react-components/react-tabs/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-tabs/config/api-extractor.json +++ b/packages/react-components/react-tabs/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-tabster/config/api-extractor.json b/packages/react-components/react-tabster/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-tabster/config/api-extractor.json +++ b/packages/react-components/react-tabster/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-tabster/config/api-extractor.local.json b/packages/react-components/react-tabster/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-tabster/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-tabster/package.json b/packages/react-components/react-tabster/package.json index 1491e786b1a9e8..1a24e21296e052 100644 --- a/packages/react-components/react-tabster/package.json +++ b/packages/react-components/react-tabster/package.json @@ -21,10 +21,9 @@ "lint": "just-scripts lint", "storybook": "start-storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-tabster/src && yarn docs", "start": "yarn storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-tabster/tsconfig.lib.json b/packages/react-components/react-tabster/tsconfig.lib.json index ef66992c5a174a..008c602dc19d24 100644 --- a/packages/react-components/react-tabster/tsconfig.lib.json +++ b/packages/react-components/react-tabster/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-text/config/api-extractor.json b/packages/react-components/react-text/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-text/config/api-extractor.json +++ b/packages/react-components/react-text/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-textarea/config/api-extractor.json b/packages/react-components/react-textarea/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-textarea/config/api-extractor.json +++ b/packages/react-components/react-textarea/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-textarea/config/api-extractor.local.json b/packages/react-components/react-textarea/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-textarea/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-textarea/package.json b/packages/react-components/react-textarea/package.json index 7e50302fd62c39..fded471bb08716 100644 --- a/packages/react-components/react-textarea/package.json +++ b/packages/react-components/react-textarea/package.json @@ -20,10 +20,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-textarea/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-textarea/tsconfig.lib.json b/packages/react-components/react-textarea/tsconfig.lib.json index 5d7b14f1e0b70c..7f94e04299ed85 100644 --- a/packages/react-components/react-textarea/tsconfig.lib.json +++ b/packages/react-components/react-textarea/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-theme-sass/config/api-extractor.json b/packages/react-components/react-theme-sass/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-theme-sass/config/api-extractor.json +++ b/packages/react-components/react-theme-sass/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-theme-sass/config/api-extractor.local.json b/packages/react-components/react-theme-sass/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-theme-sass/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-theme-sass/package.json b/packages/react-components/react-theme-sass/package.json index 82d1b2858bd918..fef3e58e8f8d5c 100644 --- a/packages/react-components/react-theme-sass/package.json +++ b/packages/react-components/react-theme-sass/package.json @@ -19,9 +19,8 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-theme-sass/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-theme-sass/tsconfig.lib.json b/packages/react-components/react-theme-sass/tsconfig.lib.json index 7763b7fe82bad3..b2da24eff1b32f 100644 --- a/packages/react-components/react-theme-sass/tsconfig.lib.json +++ b/packages/react-components/react-theme-sass/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-theme/config/api-extractor.json b/packages/react-components/react-theme/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-theme/config/api-extractor.json +++ b/packages/react-components/react-theme/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-theme/config/api-extractor.local.json b/packages/react-components/react-theme/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-theme/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-theme/package.json b/packages/react-components/react-theme/package.json index 105df265c20df0..e9ce4f63f93e57 100644 --- a/packages/react-components/react-theme/package.json +++ b/packages/react-components/react-theme/package.json @@ -21,10 +21,9 @@ "start": "yarn storybook", "storybook": "start-storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-theme/src && yarn docs", "token-pipeline": "node -r ../../../scripts/ts-node-register ../../../scripts/token-pipeline.ts", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-theme/tsconfig.lib.json b/packages/react-components/react-theme/tsconfig.lib.json index ef66992c5a174a..008c602dc19d24 100644 --- a/packages/react-components/react-theme/tsconfig.lib.json +++ b/packages/react-components/react-theme/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-toolbar/config/api-extractor.json b/packages/react-components/react-toolbar/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-toolbar/config/api-extractor.json +++ b/packages/react-components/react-toolbar/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-toolbar/config/api-extractor.local.json b/packages/react-components/react-toolbar/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-toolbar/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-toolbar/package.json b/packages/react-components/react-toolbar/package.json index 03f736d16684e4..36b3ba74e3e086 100644 --- a/packages/react-components/react-toolbar/package.json +++ b/packages/react-components/react-toolbar/package.json @@ -21,10 +21,9 @@ "lint": "just-scripts lint", "start": "yarn storybook", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-toolbar/src && yarn docs", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-toolbar/tsconfig.lib.json b/packages/react-components/react-toolbar/tsconfig.lib.json index 5d7b14f1e0b70c..7f94e04299ed85 100644 --- a/packages/react-components/react-toolbar/tsconfig.lib.json +++ b/packages/react-components/react-toolbar/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/react-tooltip/config/api-extractor.json b/packages/react-components/react-tooltip/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-tooltip/config/api-extractor.json +++ b/packages/react-components/react-tooltip/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-tree/config/api-extractor.json b/packages/react-components/react-tree/config/api-extractor.json index 637d9797ae3e6e..30897284c6b835 100644 --- a/packages/react-components/react-tree/config/api-extractor.json +++ b/packages/react-components/react-tree/config/api-extractor.json @@ -1,9 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "dtsRollup": { - "enabled": true, - "untrimmedFilePath": "", - "publicTrimmedFilePath": "/dist/index.d.ts" - } + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-tree/tsconfig.spec.json b/packages/react-components/react-tree/tsconfig.spec.json index 911456fe4b4d91..469fcba4d7ba75 100644 --- a/packages/react-components/react-tree/tsconfig.spec.json +++ b/packages/react-components/react-tree/tsconfig.spec.json @@ -5,13 +5,5 @@ "outDir": "dist", "types": ["jest", "node"] }, - "include": [ - "**/*.spec.ts", - "**/*.spec.tsx", - "**/*.test.ts", - "**/*.test.tsx", - "**/*.d.ts", - "./src/testing/**/*.ts", - "./src/testing/**/*.tsx" - ] + "include": ["**/*.spec.ts", "**/*.spec.tsx", "**/*.test.ts", "**/*.test.tsx", "**/*.d.ts"] } diff --git a/packages/react-components/react-utilities/config/api-extractor.json b/packages/react-components/react-utilities/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/react-utilities/config/api-extractor.json +++ b/packages/react-components/react-utilities/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/react-utilities/config/api-extractor.local.json b/packages/react-components/react-utilities/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/react-utilities/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/react-utilities/package.json b/packages/react-components/react-utilities/package.json index f6fdc9aa890542..b72d573d2185e9 100644 --- a/packages/react-components/react-utilities/package.json +++ b/packages/react-components/react-utilities/package.json @@ -19,9 +19,8 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-utilities/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-utilities/tsconfig.lib.json b/packages/react-components/react-utilities/tsconfig.lib.json index 7763b7fe82bad3..b2da24eff1b32f 100644 --- a/packages/react-components/react-utilities/tsconfig.lib.json +++ b/packages/react-components/react-utilities/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] }, diff --git a/packages/react-components/theme-designer/config/api-extractor.json b/packages/react-components/theme-designer/config/api-extractor.json index eee94ff6de902d..30897284c6b835 100644 --- a/packages/react-components/theme-designer/config/api-extractor.json +++ b/packages/react-components/theme-designer/config/api-extractor.json @@ -1,5 +1,4 @@ { "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json", - "mainEntryPointFilePath": "/dist/types/index.d.ts" + "extends": "@fluentui/scripts/api-extractor/api-extractor.common.v-next.json" } diff --git a/packages/react-components/theme-designer/config/api-extractor.local.json b/packages/react-components/theme-designer/config/api-extractor.local.json deleted file mode 100644 index 69e764bce3a592..00000000000000 --- a/packages/react-components/theme-designer/config/api-extractor.local.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", - "extends": "./api-extractor.json", - "mainEntryPointFilePath": "/dist/types/packages/react-components//src/index.d.ts" -} diff --git a/packages/react-components/theme-designer/package.json b/packages/react-components/theme-designer/package.json index dce74791459e91..5f3cb1801a5e8e 100644 --- a/packages/react-components/theme-designer/package.json +++ b/packages/react-components/theme-designer/package.json @@ -22,9 +22,8 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "docs": "api-extractor run --config=config/api-extractor.local.json --local", - "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/theme-designer/src && yarn docs", - "type-check": "tsc -b tsconfig.json" + "type-check": "tsc -b tsconfig.json", + "generate-api": "tsc -p ./tsconfig.lib.json --emitDeclarationOnly && just-scripts api-extractor" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/theme-designer/tsconfig.lib.json b/packages/react-components/theme-designer/tsconfig.lib.json index ef66992c5a174a..008c602dc19d24 100644 --- a/packages/react-components/theme-designer/tsconfig.lib.json +++ b/packages/react-components/theme-designer/tsconfig.lib.json @@ -3,9 +3,9 @@ "compilerOptions": { "noEmit": false, "lib": ["ES2019", "dom"], - "outDir": "dist", "declaration": true, - "declarationDir": "dist/types", + "declarationDir": "../../../dist/out-tsc/types", + "outDir": "../../../dist/out-tsc", "inlineSources": true, "types": ["static-assets", "environment"] },