From 62f20a2feceec9d71544ed8fff996253ff9c8e5b Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Thu, 25 May 2023 16:06:34 +0200 Subject: [PATCH 01/14] feat(scripts-executors): add utility to run generate-api for react-components if any v9 package is affected --- scripts/executors/type-check-ci-hack.js | 51 +++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 scripts/executors/type-check-ci-hack.js diff --git a/scripts/executors/type-check-ci-hack.js b/scripts/executors/type-check-ci-hack.js new file mode 100644 index 00000000000000..a5f9a49d121f27 --- /dev/null +++ b/scripts/executors/type-check-ci-hack.js @@ -0,0 +1,51 @@ +const { execSync } = require('child_process'); + +const { getAffectedPackages } = require('@fluentui/scripts-monorepo'); +const { readProjectConfiguration, workspaceRoot, joinPathFragments } = require('@nrwl/devkit'); +const { FsTree } = require('nx/src/config/tree'); +const yargs = require('yargs'); + +main(); + +function processArgs() { + const args = yargs + .option('base', { + type: 'string', + description: 'Base of the current branch (usually main or master)', + default: 'origin/master', + }) + .version(false).argv; + + return args; +} + +function main() { + const { base } = processArgs(); + const affected = getAffectedPackages(base); + const tree = new FsTree(workspaceRoot, false); + + const needsReactComponentsDts = Array.from(affected).some(projectName => { + try { + const project = readProjectConfiguration(tree, projectName); + + const isVNext = project.tags?.indexOf('vNext') !== -1; + const hasStories = tree.exists(joinPathFragments(project.root, 'stories')); + + if (isVNext && hasStories) { + return true; + } + // eslint-disable-next-line no-empty + } catch {} + + return false; + }); + + if (needsReactComponentsDts) { + console.info( + '', + '💁: generating .d.ts files first for @fluentui/react-components, in order to drastically speed up type-check command for v9 packages !', + '', + ); + execSync('yarn lage generate-api --to @fluentui/react-components'); + } +} From 10013c76b274e439f2f1836c6ec9f5fda44a91b8 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Thu, 25 May 2023 16:12:33 +0200 Subject: [PATCH 02/14] perf: use type-check task to improve type-checking speeds up to 60% --- .../react-components/babel-preset-global-context/package.json | 2 +- .../babel-preset-storybook-full-source/package.json | 2 +- packages/react-components/global-context/package.json | 2 +- packages/react-components/keyboard-keys/package.json | 2 +- packages/react-components/priority-overflow/package.json | 2 +- packages/react-components/react-accordion/package.json | 2 +- packages/react-components/react-alert/package.json | 2 +- packages/react-components/react-aria/package.json | 2 +- packages/react-components/react-avatar/package.json | 2 +- packages/react-components/react-badge/package.json | 2 +- packages/react-components/react-breadcrumb/package.json | 2 +- packages/react-components/react-button/package.json | 2 +- packages/react-components/react-card/package.json | 2 +- packages/react-components/react-checkbox/package.json | 2 +- packages/react-components/react-combobox/package.json | 2 +- packages/react-components/react-components/package.json | 2 +- .../react-components/react-conformance-griffel/package.json | 2 +- packages/react-components/react-context-selector/package.json | 2 +- .../react-components/react-datepicker-compat/package.json | 2 +- packages/react-components/react-dialog/package.json | 2 +- packages/react-components/react-divider/package.json | 2 +- packages/react-components/react-drawer/package.json | 2 +- packages/react-components/react-field/package.json | 2 +- packages/react-components/react-image/package.json | 2 +- packages/react-components/react-infobutton/package.json | 2 +- packages/react-components/react-input/package.json | 2 +- packages/react-components/react-jsx-runtime/package.json | 2 +- packages/react-components/react-label/package.json | 2 +- packages/react-components/react-link/package.json | 2 +- packages/react-components/react-menu/package.json | 2 +- packages/react-components/react-motions-preview/package.json | 2 +- packages/react-components/react-overflow/package.json | 2 +- packages/react-components/react-persona/package.json | 2 +- packages/react-components/react-popover/package.json | 2 +- .../react-components/react-portal-compat-context/package.json | 2 +- packages/react-components/react-portal-compat/package.json | 2 +- packages/react-components/react-portal/package.json | 2 +- packages/react-components/react-positioning/package.json | 2 +- packages/react-components/react-progress/package.json | 2 +- packages/react-components/react-provider/package.json | 2 +- packages/react-components/react-radio/package.json | 2 +- packages/react-components/react-select/package.json | 2 +- packages/react-components/react-shared-contexts/package.json | 2 +- packages/react-components/react-skeleton/package.json | 2 +- packages/react-components/react-slider/package.json | 2 +- packages/react-components/react-spinbutton/package.json | 2 +- packages/react-components/react-spinner/package.json | 2 +- .../react-storybook-addon-export-to-sandbox/package.json | 4 ++-- packages/react-components/react-storybook-addon/package.json | 2 +- packages/react-components/react-switch/package.json | 2 +- packages/react-components/react-table/package.json | 2 +- packages/react-components/react-tabs/package.json | 2 +- packages/react-components/react-tabster/package.json | 2 +- packages/react-components/react-tags/package.json | 2 +- packages/react-components/react-text/package.json | 2 +- packages/react-components/react-textarea/package.json | 2 +- packages/react-components/react-theme-sass/package.json | 3 +-- packages/react-components/react-theme/package.json | 2 +- packages/react-components/react-toast/package.json | 2 +- packages/react-components/react-toolbar/package.json | 2 +- packages/react-components/react-tooltip/package.json | 2 +- packages/react-components/react-tree/package.json | 2 +- packages/react-components/react-utilities/package.json | 2 +- packages/react-components/react-virtualizer/package.json | 2 +- packages/react-components/theme-designer/package.json | 2 +- packages/tokens/package.json | 2 +- 66 files changed, 67 insertions(+), 68 deletions(-) diff --git a/packages/react-components/babel-preset-global-context/package.json b/packages/react-components/babel-preset-global-context/package.json index 4a105eee91c6c5..479333722509b7 100644 --- a/packages/react-components/babel-preset-global-context/package.json +++ b/packages/react-components/babel-preset-global-context/package.json @@ -19,7 +19,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/babel-preset-storybook-full-source/package.json b/packages/react-components/babel-preset-storybook-full-source/package.json index c36c1d0a13708b..dce59452316128 100644 --- a/packages/react-components/babel-preset-storybook-full-source/package.json +++ b/packages/react-components/babel-preset-storybook-full-source/package.json @@ -17,7 +17,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api" }, "devDependencies": { diff --git a/packages/react-components/global-context/package.json b/packages/react-components/global-context/package.json index fb50429bd3f235..2f29aeb2936bd7 100644 --- a/packages/react-components/global-context/package.json +++ b/packages/react-components/global-context/package.json @@ -21,7 +21,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/keyboard-keys/package.json b/packages/react-components/keyboard-keys/package.json index 074ab692aa4c02..b56e5a7afa79cf 100644 --- a/packages/react-components/keyboard-keys/package.json +++ b/packages/react-components/keyboard-keys/package.json @@ -18,7 +18,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/priority-overflow/package.json b/packages/react-components/priority-overflow/package.json index d821bdbebfa231..5705bc40523ee7 100644 --- a/packages/react-components/priority-overflow/package.json +++ b/packages/react-components/priority-overflow/package.json @@ -19,7 +19,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-accordion/package.json b/packages/react-components/react-accordion/package.json index 3c84c133b78540..7c64107749f0dd 100644 --- a/packages/react-components/react-accordion/package.json +++ b/packages/react-components/react-accordion/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-alert/package.json b/packages/react-components/react-alert/package.json index dcce9843f6f91b..eb4e090c09a419 100644 --- a/packages/react-components/react-alert/package.json +++ b/packages/react-components/react-alert/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-aria/package.json b/packages/react-components/react-aria/package.json index 2c40b2b97859b2..593c37945b6ea4 100644 --- a/packages/react-components/react-aria/package.json +++ b/packages/react-components/react-aria/package.json @@ -22,7 +22,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-avatar/package.json b/packages/react-components/react-avatar/package.json index d37d4aad8e690c..3f419b8e268c29 100644 --- a/packages/react-components/react-avatar/package.json +++ b/packages/react-components/react-avatar/package.json @@ -23,7 +23,7 @@ "e2e:local": "cypress open --component", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-badge/package.json b/packages/react-components/react-badge/package.json index 6c1e0cbd603119..6cbe388912aaaa 100644 --- a/packages/react-components/react-badge/package.json +++ b/packages/react-components/react-badge/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-breadcrumb/package.json b/packages/react-components/react-breadcrumb/package.json index 59d987dd917421..88620cf7c42ae5 100644 --- a/packages/react-components/react-breadcrumb/package.json +++ b/packages/react-components/react-breadcrumb/package.json @@ -20,7 +20,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "storybook": "start-storybook", "start": "yarn storybook", diff --git a/packages/react-components/react-button/package.json b/packages/react-components/react-button/package.json index 48db048d22fa9d..72b24431964739 100644 --- a/packages/react-components/react-button/package.json +++ b/packages/react-components/react-button/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-card/package.json b/packages/react-components/react-card/package.json index 3dcd10a9e91142..ec5ccf36f43f57 100644 --- a/packages/react-components/react-card/package.json +++ b/packages/react-components/react-card/package.json @@ -24,7 +24,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-checkbox/package.json b/packages/react-components/react-checkbox/package.json index ceda50cc3baa3d..4770b27780792d 100644 --- a/packages/react-components/react-checkbox/package.json +++ b/packages/react-components/react-checkbox/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-combobox/package.json b/packages/react-components/react-combobox/package.json index 23de9c4384d6f6..7836073eb46651 100644 --- a/packages/react-components/react-combobox/package.json +++ b/packages/react-components/react-combobox/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-components/package.json b/packages/react-components/react-components/package.json index ea5f2d570d3445..ab20f5050536d2 100644 --- a/packages/react-components/react-components/package.json +++ b/packages/react-components/react-components/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "storybook": "start-storybook", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "verify-packaging": "just-scripts verify-packaging" }, diff --git a/packages/react-components/react-conformance-griffel/package.json b/packages/react-components/react-conformance-griffel/package.json index 7f80cc8f85c4b1..6e18ae88b3022f 100644 --- a/packages/react-components/react-conformance-griffel/package.json +++ b/packages/react-components/react-conformance-griffel/package.json @@ -16,7 +16,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api" }, "devDependencies": { diff --git a/packages/react-components/react-context-selector/package.json b/packages/react-components/react-context-selector/package.json index 318ae1556ac815..2488c0b6ddf085 100644 --- a/packages/react-components/react-context-selector/package.json +++ b/packages/react-components/react-context-selector/package.json @@ -18,7 +18,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-datepicker-compat/package.json b/packages/react-components/react-datepicker-compat/package.json index ce49e57ba972e8..78634b2eaf0500 100644 --- a/packages/react-components/react-datepicker-compat/package.json +++ b/packages/react-components/react-datepicker-compat/package.json @@ -21,7 +21,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "storybook": "start-storybook", "start": "yarn storybook", diff --git a/packages/react-components/react-dialog/package.json b/packages/react-components/react-dialog/package.json index 2bcf8972052160..30266ccfb2684c 100644 --- a/packages/react-components/react-dialog/package.json +++ b/packages/react-components/react-dialog/package.json @@ -23,7 +23,7 @@ "e2e": "cypress run --component", "e2e:local": "cypress open --component", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-divider/package.json b/packages/react-components/react-divider/package.json index 4351cab36edb4a..43aa2501c13d88 100644 --- a/packages/react-components/react-divider/package.json +++ b/packages/react-components/react-divider/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-drawer/package.json b/packages/react-components/react-drawer/package.json index a1c744077093e2..b9cecd6928dfa8 100644 --- a/packages/react-components/react-drawer/package.json +++ b/packages/react-components/react-drawer/package.json @@ -20,7 +20,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "storybook": "start-storybook", "start": "yarn storybook", diff --git a/packages/react-components/react-field/package.json b/packages/react-components/react-field/package.json index f359b07ea74c2e..92c2d3d4325016 100644 --- a/packages/react-components/react-field/package.json +++ b/packages/react-components/react-field/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "storybook": "start-storybook", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-image/package.json b/packages/react-components/react-image/package.json index 1568c06e5b74c4..41951d41f006ba 100644 --- a/packages/react-components/react-image/package.json +++ b/packages/react-components/react-image/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-infobutton/package.json b/packages/react-components/react-infobutton/package.json index 79cbdf99063bdc..c9232b2f2f8c40 100644 --- a/packages/react-components/react-infobutton/package.json +++ b/packages/react-components/react-infobutton/package.json @@ -20,7 +20,7 @@ "lint": "just-scripts lint", "test": "jest --passWithNoTests", "generate-api": "just-scripts generate-api", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "storybook": "start-storybook", "start": "yarn storybook", "e2e": "cypress run --component", diff --git a/packages/react-components/react-input/package.json b/packages/react-components/react-input/package.json index 787d9db0bbb5d6..3008919db4b787 100644 --- a/packages/react-components/react-input/package.json +++ b/packages/react-components/react-input/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-jsx-runtime/package.json b/packages/react-components/react-jsx-runtime/package.json index 4df23e6704f475..f3b587450b4167 100644 --- a/packages/react-components/react-jsx-runtime/package.json +++ b/packages/react-components/react-jsx-runtime/package.json @@ -18,7 +18,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"", "bundle-size": "monosize measure" diff --git a/packages/react-components/react-label/package.json b/packages/react-components/react-label/package.json index e212d9f962a4f5..89a785ef6b67cc 100644 --- a/packages/react-components/react-label/package.json +++ b/packages/react-components/react-label/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-link/package.json b/packages/react-components/react-link/package.json index 308cb3f62f3fde..77fce1ba3ebca0 100644 --- a/packages/react-components/react-link/package.json +++ b/packages/react-components/react-link/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-menu/package.json b/packages/react-components/react-menu/package.json index 3195cdd115ed64..94d7368bd14728 100644 --- a/packages/react-components/react-menu/package.json +++ b/packages/react-components/react-menu/package.json @@ -23,7 +23,7 @@ "start": "yarn storybook", "storybook": "start-storybook", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-motions-preview/package.json b/packages/react-components/react-motions-preview/package.json index 45378e782b6050..fd6d12aecc5bdc 100644 --- a/packages/react-components/react-motions-preview/package.json +++ b/packages/react-components/react-motions-preview/package.json @@ -26,7 +26,7 @@ "storybook": "start-storybook", "test": "jest --passWithNoTests", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"", - "type-check": "tsc -b tsconfig.json" + "type-check": "just-scripts type-check" }, "devDependencies": { "@fluentui/eslint-plugin": "*", diff --git a/packages/react-components/react-overflow/package.json b/packages/react-components/react-overflow/package.json index aaaf29c2e52e82..02eb69e8dd17c1 100644 --- a/packages/react-components/react-overflow/package.json +++ b/packages/react-components/react-overflow/package.json @@ -23,7 +23,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-persona/package.json b/packages/react-components/react-persona/package.json index c09da8fa594339..a5d11b3228594d 100644 --- a/packages/react-components/react-persona/package.json +++ b/packages/react-components/react-persona/package.json @@ -19,7 +19,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "storybook": "start-storybook", "start": "yarn storybook", "generate-api": "just-scripts generate-api", diff --git a/packages/react-components/react-popover/package.json b/packages/react-components/react-popover/package.json index ccf2cb608d9803..706afb36bfa043 100644 --- a/packages/react-components/react-popover/package.json +++ b/packages/react-components/react-popover/package.json @@ -23,7 +23,7 @@ "e2e:local": "cypress open --component", "storybook": "start-storybook", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-portal-compat-context/package.json b/packages/react-components/react-portal-compat-context/package.json index f39ab1b4bf8b7b..cb2cde586aade6 100644 --- a/packages/react-components/react-portal-compat-context/package.json +++ b/packages/react-components/react-portal-compat-context/package.json @@ -18,7 +18,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-portal-compat/package.json b/packages/react-components/react-portal-compat/package.json index 84b1fd716a7427..de104e9c9135e7 100644 --- a/packages/react-components/react-portal-compat/package.json +++ b/packages/react-components/react-portal-compat/package.json @@ -21,7 +21,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-portal/package.json b/packages/react-components/react-portal/package.json index 2b0ad8d5d16750..3729e92c4e4931 100644 --- a/packages/react-components/react-portal/package.json +++ b/packages/react-components/react-portal/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-positioning/package.json b/packages/react-components/react-positioning/package.json index 7d6b3d5966848f..dfe5d5a2fb11c1 100644 --- a/packages/react-components/react-positioning/package.json +++ b/packages/react-components/react-positioning/package.json @@ -19,7 +19,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-progress/package.json b/packages/react-components/react-progress/package.json index 07eecf77fbd8eb..5a5798fc6175d5 100644 --- a/packages/react-components/react-progress/package.json +++ b/packages/react-components/react-progress/package.json @@ -19,7 +19,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "storybook": "start-storybook", "start": "yarn storybook", "generate-api": "just-scripts generate-api", diff --git a/packages/react-components/react-provider/package.json b/packages/react-components/react-provider/package.json index 4ebee68392c207..993cceb959bccb 100644 --- a/packages/react-components/react-provider/package.json +++ b/packages/react-components/react-provider/package.json @@ -21,7 +21,7 @@ "lint": "just-scripts lint", "storybook": "start-storybook", "start": "yarn storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-radio/package.json b/packages/react-components/react-radio/package.json index 300c8e43dd9e4c..b4acfbc0a22730 100644 --- a/packages/react-components/react-radio/package.json +++ b/packages/react-components/react-radio/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-select/package.json b/packages/react-components/react-select/package.json index 503ca0762bcb14..f1f37ec6f96e38 100644 --- a/packages/react-components/react-select/package.json +++ b/packages/react-components/react-select/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-shared-contexts/package.json b/packages/react-components/react-shared-contexts/package.json index 799d8963df4624..bdc658d1b92145 100644 --- a/packages/react-components/react-shared-contexts/package.json +++ b/packages/react-components/react-shared-contexts/package.json @@ -18,7 +18,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"", "storybook": "start-storybook", diff --git a/packages/react-components/react-skeleton/package.json b/packages/react-components/react-skeleton/package.json index 3aa0ec277fd579..5afc737bbb8531 100644 --- a/packages/react-components/react-skeleton/package.json +++ b/packages/react-components/react-skeleton/package.json @@ -19,7 +19,7 @@ "lint": "just-scripts lint", "test": "jest --passWithNoTests", "generate-api": "just-scripts generate-api", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "storybook": "start-storybook", "start": "yarn storybook", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" diff --git a/packages/react-components/react-slider/package.json b/packages/react-components/react-slider/package.json index e21b620b359443..fb77743f9c5d05 100644 --- a/packages/react-components/react-slider/package.json +++ b/packages/react-components/react-slider/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-spinbutton/package.json b/packages/react-components/react-spinbutton/package.json index b842b58a9920f2..95109ddebebbd4 100644 --- a/packages/react-components/react-spinbutton/package.json +++ b/packages/react-components/react-spinbutton/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-spinner/package.json b/packages/react-components/react-spinner/package.json index f9dd9995a73d42..36744c60c93f52 100644 --- a/packages/react-components/react-spinner/package.json +++ b/packages/react-components/react-spinner/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-storybook-addon-export-to-sandbox/package.json b/packages/react-components/react-storybook-addon-export-to-sandbox/package.json index 38ad8f9048e993..eb7ca5bc40b7e7 100644 --- a/packages/react-components/react-storybook-addon-export-to-sandbox/package.json +++ b/packages/react-components/react-storybook-addon-export-to-sandbox/package.json @@ -18,7 +18,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api" }, "devDependencies": { @@ -45,8 +45,8 @@ "exports": { ".": { "types": "./dist/index.d.ts", - "import": "./lib/index.js", "node": "./lib-commonjs/index.js", + "import": "./lib/index.js", "require": "./lib-commonjs/index.js" }, "./package.json": "./package.json" diff --git a/packages/react-components/react-storybook-addon/package.json b/packages/react-components/react-storybook-addon/package.json index 7a8e0dbdbf7096..7aff8f24b3a47d 100644 --- a/packages/react-components/react-storybook-addon/package.json +++ b/packages/react-components/react-storybook-addon/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api" }, "devDependencies": { diff --git a/packages/react-components/react-switch/package.json b/packages/react-components/react-switch/package.json index efc3ccc07616e2..2217888fe0c0e9 100644 --- a/packages/react-components/react-switch/package.json +++ b/packages/react-components/react-switch/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-table/package.json b/packages/react-components/react-table/package.json index 55f563415f380b..1430979c34f062 100644 --- a/packages/react-components/react-table/package.json +++ b/packages/react-components/react-table/package.json @@ -21,7 +21,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "storybook": "start-storybook", "start": "yarn storybook", "generate-api": "just-scripts generate-api", diff --git a/packages/react-components/react-tabs/package.json b/packages/react-components/react-tabs/package.json index d804d905289501..c5ae931bcd665c 100644 --- a/packages/react-components/react-tabs/package.json +++ b/packages/react-components/react-tabs/package.json @@ -20,7 +20,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-tabster/package.json b/packages/react-components/react-tabster/package.json index 7329bcd780d088..428fb35459ec88 100644 --- a/packages/react-components/react-tabster/package.json +++ b/packages/react-components/react-tabster/package.json @@ -20,7 +20,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-tags/package.json b/packages/react-components/react-tags/package.json index eb8fedc88afa3a..312ace60c0e540 100644 --- a/packages/react-components/react-tags/package.json +++ b/packages/react-components/react-tags/package.json @@ -21,7 +21,7 @@ "test": "jest --passWithNoTests", "e2e": "cypress run --component", "e2e:local": "cypress open --component", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "storybook": "start-storybook", "start": "yarn storybook", diff --git a/packages/react-components/react-text/package.json b/packages/react-components/react-text/package.json index 664820dd1c1263..fcc63c9a20ad6c 100644 --- a/packages/react-components/react-text/package.json +++ b/packages/react-components/react-text/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"", "verify-packaging": "just-scripts verify-packaging" diff --git a/packages/react-components/react-textarea/package.json b/packages/react-components/react-textarea/package.json index cc11e53db3a802..a3fe8fecee91cb 100644 --- a/packages/react-components/react-textarea/package.json +++ b/packages/react-components/react-textarea/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-theme-sass/package.json b/packages/react-components/react-theme-sass/package.json index 344217bace777f..6e7d8ca5d940c3 100644 --- a/packages/react-components/react-theme-sass/package.json +++ b/packages/react-components/react-theme-sass/package.json @@ -19,7 +19,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, @@ -41,7 +41,6 @@ }, "exports": { ".": { - "style": "./sass/tokens.scss", "types": "./dist/index.d.ts", "node": "./lib-commonjs/index.js", "import": "./lib/index.js", diff --git a/packages/react-components/react-theme/package.json b/packages/react-components/react-theme/package.json index 93a211dace6b5c..6b17180a24dda7 100644 --- a/packages/react-components/react-theme/package.json +++ b/packages/react-components/react-theme/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "storybook": "start-storybook", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api" }, "devDependencies": { diff --git a/packages/react-components/react-toast/package.json b/packages/react-components/react-toast/package.json index ae32e1621cd3e0..922687a0f43f1b 100644 --- a/packages/react-components/react-toast/package.json +++ b/packages/react-components/react-toast/package.json @@ -20,7 +20,7 @@ "lint": "just-scripts lint", "test": "jest --passWithNoTests", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "storybook": "start-storybook", "start": "yarn storybook", diff --git a/packages/react-components/react-toolbar/package.json b/packages/react-components/react-toolbar/package.json index a7d6f906f8243a..48effc5d8714f9 100644 --- a/packages/react-components/react-toolbar/package.json +++ b/packages/react-components/react-toolbar/package.json @@ -22,7 +22,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-tooltip/package.json b/packages/react-components/react-tooltip/package.json index e5ca61baa15d27..b2a887b80e29c5 100644 --- a/packages/react-components/react-tooltip/package.json +++ b/packages/react-components/react-tooltip/package.json @@ -21,7 +21,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/react-components/react-tree/package.json b/packages/react-components/react-tree/package.json index af17cc3e00f283..c064ed98100670 100644 --- a/packages/react-components/react-tree/package.json +++ b/packages/react-components/react-tree/package.json @@ -20,7 +20,7 @@ "storybook": "start-storybook", "test": "jest --passWithNoTests", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "e2e": "cypress run --component", "e2e:local": "cypress open --component" }, diff --git a/packages/react-components/react-utilities/package.json b/packages/react-components/react-utilities/package.json index bb822aa5c348f0..a39df76c789c1c 100644 --- a/packages/react-components/react-utilities/package.json +++ b/packages/react-components/react-utilities/package.json @@ -19,7 +19,7 @@ "just": "just-scripts", "lint": "just-scripts lint", "test": "jest --passWithNoTests", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"", "e2e": "cypress run --component", diff --git a/packages/react-components/react-virtualizer/package.json b/packages/react-components/react-virtualizer/package.json index 46a4cd20fa6e3e..7ed8c19b6c6f36 100644 --- a/packages/react-components/react-virtualizer/package.json +++ b/packages/react-components/react-virtualizer/package.json @@ -21,7 +21,7 @@ "storybook": "start-storybook", "start": "yarn storybook", "generate-api": "just-scripts generate-api", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, "devDependencies": { diff --git a/packages/react-components/theme-designer/package.json b/packages/react-components/theme-designer/package.json index c6d28ed0d52213..56c980ec915dc2 100644 --- a/packages/react-components/theme-designer/package.json +++ b/packages/react-components/theme-designer/package.json @@ -22,7 +22,7 @@ "start": "yarn storybook", "test": "jest --passWithNoTests", "storybook": "start-storybook", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api", "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\"" }, diff --git a/packages/tokens/package.json b/packages/tokens/package.json index 46ccfcfc302d42..4ef4e40dfddae9 100644 --- a/packages/tokens/package.json +++ b/packages/tokens/package.json @@ -19,7 +19,7 @@ "lint": "just-scripts lint", "test": "jest --passWithNoTests", "token-pipeline": "node -r ../../scripts/ts-node/register ../../scripts/generators/token-pipeline.ts", - "type-check": "tsc -b tsconfig.json", + "type-check": "just-scripts type-check", "generate-api": "just-scripts generate-api" }, "devDependencies": { From 647460eecd7299eef329b9d2e1ed944352e3ed82 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Thu, 25 May 2023 17:12:27 +0200 Subject: [PATCH 03/14] generate changefiles --- ...lobal-context-7b64fcb4-2632-47b6-b11d-79e07da7d557.json | 7 +++++++ ...lobal-context-3a3e90b3-512a-4633-9409-46f997df5cca.json | 7 +++++++ ...keyboard-keys-435efa13-a7be-4e19-93b7-36f3753fd6a2.json | 7 +++++++ ...rity-overflow-7f2f31fe-98e8-411c-9b52-a135fa5b941c.json | 7 +++++++ ...act-accordion-e89430b3-1d8f-48ad-9444-1b586fbd584d.json | 7 +++++++ ...i-react-alert-49a98055-a559-4cae-98f9-63ac0704864b.json | 7 +++++++ ...ui-react-aria-eb370ced-f415-479b-b5d4-514be535bd17.json | 7 +++++++ ...-react-avatar-097a2e05-0d99-4a9d-aa28-a63444d2d7d4.json | 7 +++++++ ...i-react-badge-55891c85-12e9-4180-b044-d6d0b20a01c3.json | 7 +++++++ ...-react-button-31979ada-c299-4e1a-aae0-aa103296da6e.json | 7 +++++++ ...ui-react-card-199bde23-0f8b-4a45-b2bb-b252e27c3cd2.json | 7 +++++++ ...eact-checkbox-bd74ebe1-4248-48de-b7f4-c9077c7a7783.json | 7 +++++++ ...eact-combobox-1ce9d7ae-e227-4a85-b2c9-0399562cca17.json | 7 +++++++ ...ct-components-010a6a16-c0b5-44a9-9154-7f9491fe8eeb.json | 7 +++++++ ...t-conformance-44cc40b1-8ea6-4e20-a4a2-7fd785c260df.json | 7 +++++++ ...mance-griffel-f66b71bb-b1ca-4bb2-aa4e-6b82a67324eb.json | 7 +++++++ ...text-selector-82eb1fa8-24bb-4000-ada6-0de23bdae0d3.json | 7 +++++++ ...-react-window-66e5684a-875e-4250-87d0-537d32c00aa3.json | 7 +++++++ ...picker-compat-ffb2f051-249e-4ed6-8e23-7db95804cfba.json | 7 +++++++ ...-react-dialog-85804be1-53d3-4e65-b393-e2f878e5d547.json | 7 +++++++ ...react-divider-8e748e67-bace-4ae2-be0c-c9c6bdd95028.json | 7 +++++++ ...i-react-field-b5417392-371d-4396-bd64-d713f2e9504f.json | 7 +++++++ ...i-react-image-c3f64fc2-1d19-4f62-9ccf-3ffcd95dc59c.json | 7 +++++++ ...ct-infobutton-dc393575-d5b0-4250-bc64-15161be01867.json | 7 +++++++ ...i-react-input-cbf62688-d196-4b47-a246-ccbe18d8d7a6.json | 7 +++++++ ...t-jsx-runtime-b42b8938-6201-401d-88ae-635f06e5423d.json | 7 +++++++ ...i-react-label-e6918840-81e7-4dfd-a734-12e4020d6c69.json | 7 +++++++ ...ui-react-link-f0487808-209a-465f-8b27-ea352b2fdee8.json | 7 +++++++ ...ui-react-menu-cd81150e-2148-44af-8e36-7fa9ab7bfac8.json | 7 +++++++ ...eact-overflow-7be5e7e0-0d84-4c08-ac98-d3f2191bae0e.json | 7 +++++++ ...react-persona-a4528cf4-7eab-4ad3-a236-c220f1b22c98.json | 7 +++++++ ...react-popover-bd43bf6c-cef3-4458-9eed-66660f526d54.json | 7 +++++++ ...-react-portal-b94fc20b-f2d5-4035-aee5-f2bcf9fe8f94.json | 7 +++++++ ...portal-compat-716f6a0e-e7e2-4b20-bcbe-dbb1db7966b3.json | 7 +++++++ ...ompat-context-71119165-f0de-44e8-ad68-7c6c982aab60.json | 7 +++++++ ...t-positioning-a6cd68b1-f27a-4450-83b3-7a93c3c2ad63.json | 7 +++++++ ...eact-progress-cdfd86c5-a42f-4e98-a4e2-0cd4af4de33c.json | 7 +++++++ ...eact-provider-b5d7daff-e734-45ef-a3fe-10908e346f65.json | 7 +++++++ ...i-react-radio-bd6181aa-85d1-4e1f-8394-37952576a894.json | 7 +++++++ ...-react-select-0b159f0f-2b1f-4225-be6d-be3a16e1b4c4.json | 7 +++++++ ...ared-contexts-20e035a6-1267-4450-bae4-ef88364234ff.json | 7 +++++++ ...eact-skeleton-2a5ce0d6-d6d1-4530-9234-1531d4831e99.json | 7 +++++++ ...-react-slider-6d7e5fca-2fbc-41d7-aa6b-a505efc56b1a.json | 7 +++++++ ...ct-spinbutton-fdee622a-c058-45cb-9164-d3e01290c568.json | 7 +++++++ ...react-spinner-1796654f-3fbb-43e6-9094-d7420ffbcc03.json | 7 +++++++ ...-react-switch-b35962da-e89e-4fee-9a1f-7b663070cf8f.json | 7 +++++++ ...i-react-table-5e74a565-f7f9-48c9-94d2-6ceeff6745ee.json | 7 +++++++ ...ui-react-tabs-b4f2db7e-a2e4-4c28-9016-e76cbeaab6ed.json | 7 +++++++ ...react-tabster-05f17c76-3b89-4b2b-a348-7484f9217d91.json | 7 +++++++ ...ui-react-text-7dfba3ea-23a7-4eec-8dba-37fb3fedecf4.json | 7 +++++++ ...eact-textarea-2c5d343f-07a9-4220-b628-8ed260b8ce40.json | 7 +++++++ ...i-react-theme-f8e022e2-584a-476b-a66d-52026439fb51.json | 7 +++++++ ...ct-theme-sass-7b575224-54fc-4867-8703-5ea661cc5303.json | 7 +++++++ ...react-toolbar-db7af517-edaa-406e-821e-828142c7424b.json | 7 +++++++ ...react-tooltip-dafe355d-b88c-4fc7-ac60-a116bf5e00ed.json | 7 +++++++ ...ui-react-tree-486f9ddc-6d28-4930-9e0d-1292190d2ed5.json | 7 +++++++ ...act-utilities-68b67b41-ae7d-4e90-9789-454aaa24f31e.json | 7 +++++++ ...t-virtualizer-67de378a-fbaf-4202-9fd9-c779c5c9207d.json | 7 +++++++ ...uentui-tokens-ca3d9efa-c2f4-4663-a4cb-a2151cf2ac98.json | 7 +++++++ 59 files changed, 413 insertions(+) create mode 100644 change/@fluentui-babel-preset-global-context-7b64fcb4-2632-47b6-b11d-79e07da7d557.json create mode 100644 change/@fluentui-global-context-3a3e90b3-512a-4633-9409-46f997df5cca.json create mode 100644 change/@fluentui-keyboard-keys-435efa13-a7be-4e19-93b7-36f3753fd6a2.json create mode 100644 change/@fluentui-priority-overflow-7f2f31fe-98e8-411c-9b52-a135fa5b941c.json create mode 100644 change/@fluentui-react-accordion-e89430b3-1d8f-48ad-9444-1b586fbd584d.json create mode 100644 change/@fluentui-react-alert-49a98055-a559-4cae-98f9-63ac0704864b.json create mode 100644 change/@fluentui-react-aria-eb370ced-f415-479b-b5d4-514be535bd17.json create mode 100644 change/@fluentui-react-avatar-097a2e05-0d99-4a9d-aa28-a63444d2d7d4.json create mode 100644 change/@fluentui-react-badge-55891c85-12e9-4180-b044-d6d0b20a01c3.json create mode 100644 change/@fluentui-react-button-31979ada-c299-4e1a-aae0-aa103296da6e.json create mode 100644 change/@fluentui-react-card-199bde23-0f8b-4a45-b2bb-b252e27c3cd2.json create mode 100644 change/@fluentui-react-checkbox-bd74ebe1-4248-48de-b7f4-c9077c7a7783.json create mode 100644 change/@fluentui-react-combobox-1ce9d7ae-e227-4a85-b2c9-0399562cca17.json create mode 100644 change/@fluentui-react-components-010a6a16-c0b5-44a9-9154-7f9491fe8eeb.json create mode 100644 change/@fluentui-react-conformance-44cc40b1-8ea6-4e20-a4a2-7fd785c260df.json create mode 100644 change/@fluentui-react-conformance-griffel-f66b71bb-b1ca-4bb2-aa4e-6b82a67324eb.json create mode 100644 change/@fluentui-react-context-selector-82eb1fa8-24bb-4000-ada6-0de23bdae0d3.json create mode 100644 change/@fluentui-react-data-grid-react-window-66e5684a-875e-4250-87d0-537d32c00aa3.json create mode 100644 change/@fluentui-react-datepicker-compat-ffb2f051-249e-4ed6-8e23-7db95804cfba.json create mode 100644 change/@fluentui-react-dialog-85804be1-53d3-4e65-b393-e2f878e5d547.json create mode 100644 change/@fluentui-react-divider-8e748e67-bace-4ae2-be0c-c9c6bdd95028.json create mode 100644 change/@fluentui-react-field-b5417392-371d-4396-bd64-d713f2e9504f.json create mode 100644 change/@fluentui-react-image-c3f64fc2-1d19-4f62-9ccf-3ffcd95dc59c.json create mode 100644 change/@fluentui-react-infobutton-dc393575-d5b0-4250-bc64-15161be01867.json create mode 100644 change/@fluentui-react-input-cbf62688-d196-4b47-a246-ccbe18d8d7a6.json create mode 100644 change/@fluentui-react-jsx-runtime-b42b8938-6201-401d-88ae-635f06e5423d.json create mode 100644 change/@fluentui-react-label-e6918840-81e7-4dfd-a734-12e4020d6c69.json create mode 100644 change/@fluentui-react-link-f0487808-209a-465f-8b27-ea352b2fdee8.json create mode 100644 change/@fluentui-react-menu-cd81150e-2148-44af-8e36-7fa9ab7bfac8.json create mode 100644 change/@fluentui-react-overflow-7be5e7e0-0d84-4c08-ac98-d3f2191bae0e.json create mode 100644 change/@fluentui-react-persona-a4528cf4-7eab-4ad3-a236-c220f1b22c98.json create mode 100644 change/@fluentui-react-popover-bd43bf6c-cef3-4458-9eed-66660f526d54.json create mode 100644 change/@fluentui-react-portal-b94fc20b-f2d5-4035-aee5-f2bcf9fe8f94.json create mode 100644 change/@fluentui-react-portal-compat-716f6a0e-e7e2-4b20-bcbe-dbb1db7966b3.json create mode 100644 change/@fluentui-react-portal-compat-context-71119165-f0de-44e8-ad68-7c6c982aab60.json create mode 100644 change/@fluentui-react-positioning-a6cd68b1-f27a-4450-83b3-7a93c3c2ad63.json create mode 100644 change/@fluentui-react-progress-cdfd86c5-a42f-4e98-a4e2-0cd4af4de33c.json create mode 100644 change/@fluentui-react-provider-b5d7daff-e734-45ef-a3fe-10908e346f65.json create mode 100644 change/@fluentui-react-radio-bd6181aa-85d1-4e1f-8394-37952576a894.json create mode 100644 change/@fluentui-react-select-0b159f0f-2b1f-4225-be6d-be3a16e1b4c4.json create mode 100644 change/@fluentui-react-shared-contexts-20e035a6-1267-4450-bae4-ef88364234ff.json create mode 100644 change/@fluentui-react-skeleton-2a5ce0d6-d6d1-4530-9234-1531d4831e99.json create mode 100644 change/@fluentui-react-slider-6d7e5fca-2fbc-41d7-aa6b-a505efc56b1a.json create mode 100644 change/@fluentui-react-spinbutton-fdee622a-c058-45cb-9164-d3e01290c568.json create mode 100644 change/@fluentui-react-spinner-1796654f-3fbb-43e6-9094-d7420ffbcc03.json create mode 100644 change/@fluentui-react-switch-b35962da-e89e-4fee-9a1f-7b663070cf8f.json create mode 100644 change/@fluentui-react-table-5e74a565-f7f9-48c9-94d2-6ceeff6745ee.json create mode 100644 change/@fluentui-react-tabs-b4f2db7e-a2e4-4c28-9016-e76cbeaab6ed.json create mode 100644 change/@fluentui-react-tabster-05f17c76-3b89-4b2b-a348-7484f9217d91.json create mode 100644 change/@fluentui-react-text-7dfba3ea-23a7-4eec-8dba-37fb3fedecf4.json create mode 100644 change/@fluentui-react-textarea-2c5d343f-07a9-4220-b628-8ed260b8ce40.json create mode 100644 change/@fluentui-react-theme-f8e022e2-584a-476b-a66d-52026439fb51.json create mode 100644 change/@fluentui-react-theme-sass-7b575224-54fc-4867-8703-5ea661cc5303.json create mode 100644 change/@fluentui-react-toolbar-db7af517-edaa-406e-821e-828142c7424b.json create mode 100644 change/@fluentui-react-tooltip-dafe355d-b88c-4fc7-ac60-a116bf5e00ed.json create mode 100644 change/@fluentui-react-tree-486f9ddc-6d28-4930-9e0d-1292190d2ed5.json create mode 100644 change/@fluentui-react-utilities-68b67b41-ae7d-4e90-9789-454aaa24f31e.json create mode 100644 change/@fluentui-react-virtualizer-67de378a-fbaf-4202-9fd9-c779c5c9207d.json create mode 100644 change/@fluentui-tokens-ca3d9efa-c2f4-4663-a4cb-a2151cf2ac98.json diff --git a/change/@fluentui-babel-preset-global-context-7b64fcb4-2632-47b6-b11d-79e07da7d557.json b/change/@fluentui-babel-preset-global-context-7b64fcb4-2632-47b6-b11d-79e07da7d557.json new file mode 100644 index 00000000000000..0091a09638b7e2 --- /dev/null +++ b/change/@fluentui-babel-preset-global-context-7b64fcb4-2632-47b6-b11d-79e07da7d557.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/babel-preset-global-context", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-global-context-3a3e90b3-512a-4633-9409-46f997df5cca.json b/change/@fluentui-global-context-3a3e90b3-512a-4633-9409-46f997df5cca.json new file mode 100644 index 00000000000000..dace8356df4573 --- /dev/null +++ b/change/@fluentui-global-context-3a3e90b3-512a-4633-9409-46f997df5cca.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/global-context", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-keyboard-keys-435efa13-a7be-4e19-93b7-36f3753fd6a2.json b/change/@fluentui-keyboard-keys-435efa13-a7be-4e19-93b7-36f3753fd6a2.json new file mode 100644 index 00000000000000..a038d8dbe0f1ab --- /dev/null +++ b/change/@fluentui-keyboard-keys-435efa13-a7be-4e19-93b7-36f3753fd6a2.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/keyboard-keys", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-priority-overflow-7f2f31fe-98e8-411c-9b52-a135fa5b941c.json b/change/@fluentui-priority-overflow-7f2f31fe-98e8-411c-9b52-a135fa5b941c.json new file mode 100644 index 00000000000000..d98a15cea990a4 --- /dev/null +++ b/change/@fluentui-priority-overflow-7f2f31fe-98e8-411c-9b52-a135fa5b941c.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/priority-overflow", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-accordion-e89430b3-1d8f-48ad-9444-1b586fbd584d.json b/change/@fluentui-react-accordion-e89430b3-1d8f-48ad-9444-1b586fbd584d.json new file mode 100644 index 00000000000000..64b6a262f4a758 --- /dev/null +++ b/change/@fluentui-react-accordion-e89430b3-1d8f-48ad-9444-1b586fbd584d.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-accordion", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-alert-49a98055-a559-4cae-98f9-63ac0704864b.json b/change/@fluentui-react-alert-49a98055-a559-4cae-98f9-63ac0704864b.json new file mode 100644 index 00000000000000..ceb30ec18965c8 --- /dev/null +++ b/change/@fluentui-react-alert-49a98055-a559-4cae-98f9-63ac0704864b.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-alert", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-aria-eb370ced-f415-479b-b5d4-514be535bd17.json b/change/@fluentui-react-aria-eb370ced-f415-479b-b5d4-514be535bd17.json new file mode 100644 index 00000000000000..0c98186ba01c71 --- /dev/null +++ b/change/@fluentui-react-aria-eb370ced-f415-479b-b5d4-514be535bd17.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-aria", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-avatar-097a2e05-0d99-4a9d-aa28-a63444d2d7d4.json b/change/@fluentui-react-avatar-097a2e05-0d99-4a9d-aa28-a63444d2d7d4.json new file mode 100644 index 00000000000000..e6e0a6b367a3ea --- /dev/null +++ b/change/@fluentui-react-avatar-097a2e05-0d99-4a9d-aa28-a63444d2d7d4.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-avatar", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-badge-55891c85-12e9-4180-b044-d6d0b20a01c3.json b/change/@fluentui-react-badge-55891c85-12e9-4180-b044-d6d0b20a01c3.json new file mode 100644 index 00000000000000..cf25a4e1f8d14c --- /dev/null +++ b/change/@fluentui-react-badge-55891c85-12e9-4180-b044-d6d0b20a01c3.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-badge", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-button-31979ada-c299-4e1a-aae0-aa103296da6e.json b/change/@fluentui-react-button-31979ada-c299-4e1a-aae0-aa103296da6e.json new file mode 100644 index 00000000000000..d171670bb59c78 --- /dev/null +++ b/change/@fluentui-react-button-31979ada-c299-4e1a-aae0-aa103296da6e.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-button", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-card-199bde23-0f8b-4a45-b2bb-b252e27c3cd2.json b/change/@fluentui-react-card-199bde23-0f8b-4a45-b2bb-b252e27c3cd2.json new file mode 100644 index 00000000000000..5be2551440f402 --- /dev/null +++ b/change/@fluentui-react-card-199bde23-0f8b-4a45-b2bb-b252e27c3cd2.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-card", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-checkbox-bd74ebe1-4248-48de-b7f4-c9077c7a7783.json b/change/@fluentui-react-checkbox-bd74ebe1-4248-48de-b7f4-c9077c7a7783.json new file mode 100644 index 00000000000000..bfa6add4629987 --- /dev/null +++ b/change/@fluentui-react-checkbox-bd74ebe1-4248-48de-b7f4-c9077c7a7783.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-checkbox", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-combobox-1ce9d7ae-e227-4a85-b2c9-0399562cca17.json b/change/@fluentui-react-combobox-1ce9d7ae-e227-4a85-b2c9-0399562cca17.json new file mode 100644 index 00000000000000..1b17e6fc4b351b --- /dev/null +++ b/change/@fluentui-react-combobox-1ce9d7ae-e227-4a85-b2c9-0399562cca17.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-combobox", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-components-010a6a16-c0b5-44a9-9154-7f9491fe8eeb.json b/change/@fluentui-react-components-010a6a16-c0b5-44a9-9154-7f9491fe8eeb.json new file mode 100644 index 00000000000000..fa987a8747c3a4 --- /dev/null +++ b/change/@fluentui-react-components-010a6a16-c0b5-44a9-9154-7f9491fe8eeb.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-components", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-conformance-44cc40b1-8ea6-4e20-a4a2-7fd785c260df.json b/change/@fluentui-react-conformance-44cc40b1-8ea6-4e20-a4a2-7fd785c260df.json new file mode 100644 index 00000000000000..ce55e096551c88 --- /dev/null +++ b/change/@fluentui-react-conformance-44cc40b1-8ea6-4e20-a4a2-7fd785c260df.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "chore: add generate-api task to react-conformance in order to be able to run generate-api task for v9", + "packageName": "@fluentui/react-conformance", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-conformance-griffel-f66b71bb-b1ca-4bb2-aa4e-6b82a67324eb.json b/change/@fluentui-react-conformance-griffel-f66b71bb-b1ca-4bb2-aa4e-6b82a67324eb.json new file mode 100644 index 00000000000000..b8937bef92398e --- /dev/null +++ b/change/@fluentui-react-conformance-griffel-f66b71bb-b1ca-4bb2-aa4e-6b82a67324eb.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-conformance-griffel", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-context-selector-82eb1fa8-24bb-4000-ada6-0de23bdae0d3.json b/change/@fluentui-react-context-selector-82eb1fa8-24bb-4000-ada6-0de23bdae0d3.json new file mode 100644 index 00000000000000..4df0ec483328e5 --- /dev/null +++ b/change/@fluentui-react-context-selector-82eb1fa8-24bb-4000-ada6-0de23bdae0d3.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-context-selector", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-data-grid-react-window-66e5684a-875e-4250-87d0-537d32c00aa3.json b/change/@fluentui-react-data-grid-react-window-66e5684a-875e-4250-87d0-537d32c00aa3.json new file mode 100644 index 00000000000000..f9aa81396e957a --- /dev/null +++ b/change/@fluentui-react-data-grid-react-window-66e5684a-875e-4250-87d0-537d32c00aa3.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-data-grid-react-window", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-datepicker-compat-ffb2f051-249e-4ed6-8e23-7db95804cfba.json b/change/@fluentui-react-datepicker-compat-ffb2f051-249e-4ed6-8e23-7db95804cfba.json new file mode 100644 index 00000000000000..843dee9e43f98f --- /dev/null +++ b/change/@fluentui-react-datepicker-compat-ffb2f051-249e-4ed6-8e23-7db95804cfba.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-datepicker-compat", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-dialog-85804be1-53d3-4e65-b393-e2f878e5d547.json b/change/@fluentui-react-dialog-85804be1-53d3-4e65-b393-e2f878e5d547.json new file mode 100644 index 00000000000000..549b56c9eddb2c --- /dev/null +++ b/change/@fluentui-react-dialog-85804be1-53d3-4e65-b393-e2f878e5d547.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-dialog", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-divider-8e748e67-bace-4ae2-be0c-c9c6bdd95028.json b/change/@fluentui-react-divider-8e748e67-bace-4ae2-be0c-c9c6bdd95028.json new file mode 100644 index 00000000000000..8d6d5df0c87a85 --- /dev/null +++ b/change/@fluentui-react-divider-8e748e67-bace-4ae2-be0c-c9c6bdd95028.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-divider", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-field-b5417392-371d-4396-bd64-d713f2e9504f.json b/change/@fluentui-react-field-b5417392-371d-4396-bd64-d713f2e9504f.json new file mode 100644 index 00000000000000..96ed63dc7cd0ef --- /dev/null +++ b/change/@fluentui-react-field-b5417392-371d-4396-bd64-d713f2e9504f.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-field", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-image-c3f64fc2-1d19-4f62-9ccf-3ffcd95dc59c.json b/change/@fluentui-react-image-c3f64fc2-1d19-4f62-9ccf-3ffcd95dc59c.json new file mode 100644 index 00000000000000..ffdb79b2d15c5f --- /dev/null +++ b/change/@fluentui-react-image-c3f64fc2-1d19-4f62-9ccf-3ffcd95dc59c.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-image", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-infobutton-dc393575-d5b0-4250-bc64-15161be01867.json b/change/@fluentui-react-infobutton-dc393575-d5b0-4250-bc64-15161be01867.json new file mode 100644 index 00000000000000..5870828980cc39 --- /dev/null +++ b/change/@fluentui-react-infobutton-dc393575-d5b0-4250-bc64-15161be01867.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-infobutton", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-input-cbf62688-d196-4b47-a246-ccbe18d8d7a6.json b/change/@fluentui-react-input-cbf62688-d196-4b47-a246-ccbe18d8d7a6.json new file mode 100644 index 00000000000000..bd7c8b022167ab --- /dev/null +++ b/change/@fluentui-react-input-cbf62688-d196-4b47-a246-ccbe18d8d7a6.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-input", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-jsx-runtime-b42b8938-6201-401d-88ae-635f06e5423d.json b/change/@fluentui-react-jsx-runtime-b42b8938-6201-401d-88ae-635f06e5423d.json new file mode 100644 index 00000000000000..efa0040f70d77f --- /dev/null +++ b/change/@fluentui-react-jsx-runtime-b42b8938-6201-401d-88ae-635f06e5423d.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-jsx-runtime", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-label-e6918840-81e7-4dfd-a734-12e4020d6c69.json b/change/@fluentui-react-label-e6918840-81e7-4dfd-a734-12e4020d6c69.json new file mode 100644 index 00000000000000..d750864f6efd57 --- /dev/null +++ b/change/@fluentui-react-label-e6918840-81e7-4dfd-a734-12e4020d6c69.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-label", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-link-f0487808-209a-465f-8b27-ea352b2fdee8.json b/change/@fluentui-react-link-f0487808-209a-465f-8b27-ea352b2fdee8.json new file mode 100644 index 00000000000000..9c2ef4a4692d84 --- /dev/null +++ b/change/@fluentui-react-link-f0487808-209a-465f-8b27-ea352b2fdee8.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-link", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-menu-cd81150e-2148-44af-8e36-7fa9ab7bfac8.json b/change/@fluentui-react-menu-cd81150e-2148-44af-8e36-7fa9ab7bfac8.json new file mode 100644 index 00000000000000..5573f81ab67610 --- /dev/null +++ b/change/@fluentui-react-menu-cd81150e-2148-44af-8e36-7fa9ab7bfac8.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-menu", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-overflow-7be5e7e0-0d84-4c08-ac98-d3f2191bae0e.json b/change/@fluentui-react-overflow-7be5e7e0-0d84-4c08-ac98-d3f2191bae0e.json new file mode 100644 index 00000000000000..9ccef2de68bfa5 --- /dev/null +++ b/change/@fluentui-react-overflow-7be5e7e0-0d84-4c08-ac98-d3f2191bae0e.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-overflow", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-persona-a4528cf4-7eab-4ad3-a236-c220f1b22c98.json b/change/@fluentui-react-persona-a4528cf4-7eab-4ad3-a236-c220f1b22c98.json new file mode 100644 index 00000000000000..0558f8dac02c45 --- /dev/null +++ b/change/@fluentui-react-persona-a4528cf4-7eab-4ad3-a236-c220f1b22c98.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-persona", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-popover-bd43bf6c-cef3-4458-9eed-66660f526d54.json b/change/@fluentui-react-popover-bd43bf6c-cef3-4458-9eed-66660f526d54.json new file mode 100644 index 00000000000000..b35e6ce1712c50 --- /dev/null +++ b/change/@fluentui-react-popover-bd43bf6c-cef3-4458-9eed-66660f526d54.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-popover", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-portal-b94fc20b-f2d5-4035-aee5-f2bcf9fe8f94.json b/change/@fluentui-react-portal-b94fc20b-f2d5-4035-aee5-f2bcf9fe8f94.json new file mode 100644 index 00000000000000..edb92bd6a23b88 --- /dev/null +++ b/change/@fluentui-react-portal-b94fc20b-f2d5-4035-aee5-f2bcf9fe8f94.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-portal", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-portal-compat-716f6a0e-e7e2-4b20-bcbe-dbb1db7966b3.json b/change/@fluentui-react-portal-compat-716f6a0e-e7e2-4b20-bcbe-dbb1db7966b3.json new file mode 100644 index 00000000000000..70da5f166d551f --- /dev/null +++ b/change/@fluentui-react-portal-compat-716f6a0e-e7e2-4b20-bcbe-dbb1db7966b3.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-portal-compat", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-portal-compat-context-71119165-f0de-44e8-ad68-7c6c982aab60.json b/change/@fluentui-react-portal-compat-context-71119165-f0de-44e8-ad68-7c6c982aab60.json new file mode 100644 index 00000000000000..f6fd4be3d3a9a6 --- /dev/null +++ b/change/@fluentui-react-portal-compat-context-71119165-f0de-44e8-ad68-7c6c982aab60.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-portal-compat-context", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-positioning-a6cd68b1-f27a-4450-83b3-7a93c3c2ad63.json b/change/@fluentui-react-positioning-a6cd68b1-f27a-4450-83b3-7a93c3c2ad63.json new file mode 100644 index 00000000000000..6efca6c3985982 --- /dev/null +++ b/change/@fluentui-react-positioning-a6cd68b1-f27a-4450-83b3-7a93c3c2ad63.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-positioning", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-progress-cdfd86c5-a42f-4e98-a4e2-0cd4af4de33c.json b/change/@fluentui-react-progress-cdfd86c5-a42f-4e98-a4e2-0cd4af4de33c.json new file mode 100644 index 00000000000000..3705f76f091284 --- /dev/null +++ b/change/@fluentui-react-progress-cdfd86c5-a42f-4e98-a4e2-0cd4af4de33c.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-progress", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-provider-b5d7daff-e734-45ef-a3fe-10908e346f65.json b/change/@fluentui-react-provider-b5d7daff-e734-45ef-a3fe-10908e346f65.json new file mode 100644 index 00000000000000..5d6ac3ffacf888 --- /dev/null +++ b/change/@fluentui-react-provider-b5d7daff-e734-45ef-a3fe-10908e346f65.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-provider", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-radio-bd6181aa-85d1-4e1f-8394-37952576a894.json b/change/@fluentui-react-radio-bd6181aa-85d1-4e1f-8394-37952576a894.json new file mode 100644 index 00000000000000..b3459d7eb406f2 --- /dev/null +++ b/change/@fluentui-react-radio-bd6181aa-85d1-4e1f-8394-37952576a894.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-radio", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-select-0b159f0f-2b1f-4225-be6d-be3a16e1b4c4.json b/change/@fluentui-react-select-0b159f0f-2b1f-4225-be6d-be3a16e1b4c4.json new file mode 100644 index 00000000000000..6013d5d7982747 --- /dev/null +++ b/change/@fluentui-react-select-0b159f0f-2b1f-4225-be6d-be3a16e1b4c4.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-select", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-shared-contexts-20e035a6-1267-4450-bae4-ef88364234ff.json b/change/@fluentui-react-shared-contexts-20e035a6-1267-4450-bae4-ef88364234ff.json new file mode 100644 index 00000000000000..14a09758f21b5a --- /dev/null +++ b/change/@fluentui-react-shared-contexts-20e035a6-1267-4450-bae4-ef88364234ff.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-shared-contexts", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-skeleton-2a5ce0d6-d6d1-4530-9234-1531d4831e99.json b/change/@fluentui-react-skeleton-2a5ce0d6-d6d1-4530-9234-1531d4831e99.json new file mode 100644 index 00000000000000..eb2ee50251dc48 --- /dev/null +++ b/change/@fluentui-react-skeleton-2a5ce0d6-d6d1-4530-9234-1531d4831e99.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-skeleton", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-slider-6d7e5fca-2fbc-41d7-aa6b-a505efc56b1a.json b/change/@fluentui-react-slider-6d7e5fca-2fbc-41d7-aa6b-a505efc56b1a.json new file mode 100644 index 00000000000000..5a0e2e77785b4c --- /dev/null +++ b/change/@fluentui-react-slider-6d7e5fca-2fbc-41d7-aa6b-a505efc56b1a.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-slider", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-spinbutton-fdee622a-c058-45cb-9164-d3e01290c568.json b/change/@fluentui-react-spinbutton-fdee622a-c058-45cb-9164-d3e01290c568.json new file mode 100644 index 00000000000000..263e4aa802ca61 --- /dev/null +++ b/change/@fluentui-react-spinbutton-fdee622a-c058-45cb-9164-d3e01290c568.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-spinbutton", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-spinner-1796654f-3fbb-43e6-9094-d7420ffbcc03.json b/change/@fluentui-react-spinner-1796654f-3fbb-43e6-9094-d7420ffbcc03.json new file mode 100644 index 00000000000000..ab9eba6ee6ded5 --- /dev/null +++ b/change/@fluentui-react-spinner-1796654f-3fbb-43e6-9094-d7420ffbcc03.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-spinner", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-switch-b35962da-e89e-4fee-9a1f-7b663070cf8f.json b/change/@fluentui-react-switch-b35962da-e89e-4fee-9a1f-7b663070cf8f.json new file mode 100644 index 00000000000000..ac628b760a7be4 --- /dev/null +++ b/change/@fluentui-react-switch-b35962da-e89e-4fee-9a1f-7b663070cf8f.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-switch", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-table-5e74a565-f7f9-48c9-94d2-6ceeff6745ee.json b/change/@fluentui-react-table-5e74a565-f7f9-48c9-94d2-6ceeff6745ee.json new file mode 100644 index 00000000000000..220c0c0290dd42 --- /dev/null +++ b/change/@fluentui-react-table-5e74a565-f7f9-48c9-94d2-6ceeff6745ee.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-table", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-tabs-b4f2db7e-a2e4-4c28-9016-e76cbeaab6ed.json b/change/@fluentui-react-tabs-b4f2db7e-a2e4-4c28-9016-e76cbeaab6ed.json new file mode 100644 index 00000000000000..5bb2d84b3a0ede --- /dev/null +++ b/change/@fluentui-react-tabs-b4f2db7e-a2e4-4c28-9016-e76cbeaab6ed.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-tabs", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-tabster-05f17c76-3b89-4b2b-a348-7484f9217d91.json b/change/@fluentui-react-tabster-05f17c76-3b89-4b2b-a348-7484f9217d91.json new file mode 100644 index 00000000000000..79edc326723506 --- /dev/null +++ b/change/@fluentui-react-tabster-05f17c76-3b89-4b2b-a348-7484f9217d91.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-tabster", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-text-7dfba3ea-23a7-4eec-8dba-37fb3fedecf4.json b/change/@fluentui-react-text-7dfba3ea-23a7-4eec-8dba-37fb3fedecf4.json new file mode 100644 index 00000000000000..daddd2b22250a0 --- /dev/null +++ b/change/@fluentui-react-text-7dfba3ea-23a7-4eec-8dba-37fb3fedecf4.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-text", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-textarea-2c5d343f-07a9-4220-b628-8ed260b8ce40.json b/change/@fluentui-react-textarea-2c5d343f-07a9-4220-b628-8ed260b8ce40.json new file mode 100644 index 00000000000000..04bb9879592f0d --- /dev/null +++ b/change/@fluentui-react-textarea-2c5d343f-07a9-4220-b628-8ed260b8ce40.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-textarea", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-theme-f8e022e2-584a-476b-a66d-52026439fb51.json b/change/@fluentui-react-theme-f8e022e2-584a-476b-a66d-52026439fb51.json new file mode 100644 index 00000000000000..2a4ae26d2f50e8 --- /dev/null +++ b/change/@fluentui-react-theme-f8e022e2-584a-476b-a66d-52026439fb51.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-theme", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-theme-sass-7b575224-54fc-4867-8703-5ea661cc5303.json b/change/@fluentui-react-theme-sass-7b575224-54fc-4867-8703-5ea661cc5303.json new file mode 100644 index 00000000000000..c7bc6c088f5fa2 --- /dev/null +++ b/change/@fluentui-react-theme-sass-7b575224-54fc-4867-8703-5ea661cc5303.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-theme-sass", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-toolbar-db7af517-edaa-406e-821e-828142c7424b.json b/change/@fluentui-react-toolbar-db7af517-edaa-406e-821e-828142c7424b.json new file mode 100644 index 00000000000000..99e3c2279442af --- /dev/null +++ b/change/@fluentui-react-toolbar-db7af517-edaa-406e-821e-828142c7424b.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-toolbar", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-tooltip-dafe355d-b88c-4fc7-ac60-a116bf5e00ed.json b/change/@fluentui-react-tooltip-dafe355d-b88c-4fc7-ac60-a116bf5e00ed.json new file mode 100644 index 00000000000000..897268f582abf2 --- /dev/null +++ b/change/@fluentui-react-tooltip-dafe355d-b88c-4fc7-ac60-a116bf5e00ed.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-tooltip", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-tree-486f9ddc-6d28-4930-9e0d-1292190d2ed5.json b/change/@fluentui-react-tree-486f9ddc-6d28-4930-9e0d-1292190d2ed5.json new file mode 100644 index 00000000000000..f9c341a83e1599 --- /dev/null +++ b/change/@fluentui-react-tree-486f9ddc-6d28-4930-9e0d-1292190d2ed5.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-tree", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-utilities-68b67b41-ae7d-4e90-9789-454aaa24f31e.json b/change/@fluentui-react-utilities-68b67b41-ae7d-4e90-9789-454aaa24f31e.json new file mode 100644 index 00000000000000..63828785ad719c --- /dev/null +++ b/change/@fluentui-react-utilities-68b67b41-ae7d-4e90-9789-454aaa24f31e.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-utilities", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-virtualizer-67de378a-fbaf-4202-9fd9-c779c5c9207d.json b/change/@fluentui-react-virtualizer-67de378a-fbaf-4202-9fd9-c779c5c9207d.json new file mode 100644 index 00000000000000..c017a74a51775d --- /dev/null +++ b/change/@fluentui-react-virtualizer-67de378a-fbaf-4202-9fd9-c779c5c9207d.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-virtualizer", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-tokens-ca3d9efa-c2f4-4663-a4cb-a2151cf2ac98.json b/change/@fluentui-tokens-ca3d9efa-c2f4-4663-a4cb-a2151cf2ac98.json new file mode 100644 index 00000000000000..47ac5e7e9a124b --- /dev/null +++ b/change/@fluentui-tokens-ca3d9efa-c2f4-4663-a4cb-a2151cf2ac98.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/tokens", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} From bd2e1329fc26c813cc741a86d26dc929349f2508 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Thu, 25 May 2023 17:44:53 +0200 Subject: [PATCH 04/14] feat(tools): update migrate-converged-pkg generator to set just type-check task --- .../src/generators/migrate-converged-pkg/index.spec.ts | 3 ++- .../src/generators/migrate-converged-pkg/index.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/workspace-plugin/src/generators/migrate-converged-pkg/index.spec.ts b/tools/workspace-plugin/src/generators/migrate-converged-pkg/index.spec.ts index e81c228d667169..bc166335ff35f7 100644 --- a/tools/workspace-plugin/src/generators/migrate-converged-pkg/index.spec.ts +++ b/tools/workspace-plugin/src/generators/migrate-converged-pkg/index.spec.ts @@ -899,7 +899,8 @@ describe('migrate-converged-pkg generator', () => { just: 'just-scripts', lint: 'just-scripts lint', test: 'jest --passWithNoTests', - 'type-check': 'tsc -b tsconfig.json', + 'test-ssr': 'test-ssr "./stories/**/*.stories.tsx"', + 'type-check': 'just-scripts type-check', }); // verify test-ssr addition diff --git a/tools/workspace-plugin/src/generators/migrate-converged-pkg/index.ts b/tools/workspace-plugin/src/generators/migrate-converged-pkg/index.ts index 8429d95c4336fd..24c8dabbb72dc9 100644 --- a/tools/workspace-plugin/src/generators/migrate-converged-pkg/index.ts +++ b/tools/workspace-plugin/src/generators/migrate-converged-pkg/index.ts @@ -660,7 +660,8 @@ function updatePackageJson(tree: Tree, options: NormalizedSchemaWithTsConfigs) { const hasStories = shouldSetupStorybook(tree, options) === 'init'; const scripts: Record = { test: 'jest --passWithNoTests', - 'type-check': 'tsc -b tsconfig.json', + 'test-ssr': 'test-ssr "./stories/**/*.stories.tsx"', + 'type-check': 'just-scripts type-check', }; if (packageType === 'web' && hasStories) { From 2d9e57ec67f4036fcad3cff2768f0d23b011f0be Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Thu, 25 May 2023 17:58:37 +0200 Subject: [PATCH 05/14] ci: add generate-api task dependency to lage --- lage.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lage.config.js b/lage.config.js index 45685bfcfe360e..bc322f106baf27 100644 --- a/lage.config.js +++ b/lage.config.js @@ -2,6 +2,7 @@ module.exports = { pipeline: { build: ['^build'], + 'generate-api': ['^generate-api'], 'build:info': [], bundle: ['build'], 'bundle-size': ['build'], From 8a498f000092f524bc01f2857d79f89757631da2 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Thu, 25 May 2023 18:33:48 +0200 Subject: [PATCH 06/14] feat(scripts-executors): use build instead of generate-api so lage can use cache and /unstable apis work --- scripts/executors/type-check-ci-hack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/executors/type-check-ci-hack.js b/scripts/executors/type-check-ci-hack.js index a5f9a49d121f27..203cfe34bee4fb 100644 --- a/scripts/executors/type-check-ci-hack.js +++ b/scripts/executors/type-check-ci-hack.js @@ -46,6 +46,6 @@ function main() { '💁: generating .d.ts files first for @fluentui/react-components, in order to drastically speed up type-check command for v9 packages !', '', ); - execSync('yarn lage generate-api --to @fluentui/react-components'); + execSync('yarn lage build --to @fluentui/react-components'); } } From 48d805deb92d91eb4f554041acd6abfeb01aa7a5 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Thu, 25 May 2023 19:53:38 +0200 Subject: [PATCH 07/14] fix(react-dialog): remove circular dependency from /testing --- .../react-components/react-dialog/src/testing/selectors.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react-components/react-dialog/src/testing/selectors.ts b/packages/react-components/react-dialog/src/testing/selectors.ts index 1f5e6b27d4e990..0b88f5b4db5497 100644 --- a/packages/react-components/react-dialog/src/testing/selectors.ts +++ b/packages/react-components/react-dialog/src/testing/selectors.ts @@ -1,4 +1,5 @@ -import { dialogSurfaceClassNames, dialogTitleClassNames } from '@fluentui/react-dialog'; +import { dialogSurfaceClassNames } from '../components/DialogSurface/useDialogSurfaceStyles.styles'; +import { dialogTitleClassNames } from '../components/DialogTitle/useDialogTitleStyles.styles'; export const dialogTriggerOpenId = 'open-btn'; export const dialogTriggerCloseId = 'close-btn'; From 3e3121e747cf3d108eac7633ac3daf12753e8cf6 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Fri, 26 May 2023 11:59:06 +0200 Subject: [PATCH 08/14] feat(scripts-executors): handle special cases where v9 pkg story imports package that is not a dep nor v9 suite dep --- scripts/executors/type-check-ci-hack.js | 40 +++++++++++++++++++++---- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/scripts/executors/type-check-ci-hack.js b/scripts/executors/type-check-ci-hack.js index 203cfe34bee4fb..cd9692df22bb42 100644 --- a/scripts/executors/type-check-ci-hack.js +++ b/scripts/executors/type-check-ci-hack.js @@ -21,10 +21,10 @@ function processArgs() { function main() { const { base } = processArgs(); - const affected = getAffectedPackages(base); + const affected = Array.from(getAffectedPackages(base)); const tree = new FsTree(workspaceRoot, false); - const needsReactComponentsDts = Array.from(affected).some(projectName => { + const needsReactComponentsDts = affected.some(projectName => { try { const project = readProjectConfiguration(tree, projectName); @@ -40,12 +40,42 @@ function main() { return false; }); - if (needsReactComponentsDts) { + /** + * + * @param {string[]} affectedPkgs + */ + function handleSpecialPkgDependencies(affectedPkgs) { + const specialPackages = { '@fluentui/react-table': ['@fluentui/react-data-grid-react-window'] }; + const packages = /** @type {string[]} */ ( + Object.entries(specialPackages) + .map(([pkgName, dependencies]) => { + if (affectedPkgs.includes(pkgName)) { + return dependencies; + } + return; + }) + .filter(Boolean) + .flat() + ); + + return packages; + } + + const nonSuiteAffectedPackages = handleSpecialPkgDependencies(affected); + + const packagesToBuildFirst = [ + needsReactComponentsDts ? '@fluentui/react-components' : null, + ...nonSuiteAffectedPackages, + ].filter(Boolean); + + if (packagesToBuildFirst.length > 0) { console.info( '', - '💁: generating .d.ts files first for @fluentui/react-components, in order to drastically speed up type-check command for v9 packages !', + `💁: generating .d.ts files first in order to drastically speed up type-check command for v9 packages:\n`, + '- ' + packagesToBuildFirst.join('\n - '), '', ); - execSync('yarn lage build --to @fluentui/react-components'); + + execSync(`yarn lage build --to ${packagesToBuildFirst.join(' ')}`); } } From 358143311f5fb4e0e4419767d7c4525376cb98d7 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Fri, 26 May 2023 13:58:18 +0200 Subject: [PATCH 09/14] feat(scripts-executors): use nx-graph to resolve packages that need to be build instead hardcoding strings --- scripts/executors/type-check-ci-hack.js | 86 ++++++++++++++----------- 1 file changed, 50 insertions(+), 36 deletions(-) diff --git a/scripts/executors/type-check-ci-hack.js b/scripts/executors/type-check-ci-hack.js index cd9692df22bb42..5ebe874e97969f 100644 --- a/scripts/executors/type-check-ci-hack.js +++ b/scripts/executors/type-check-ci-hack.js @@ -1,11 +1,14 @@ const { execSync } = require('child_process'); const { getAffectedPackages } = require('@fluentui/scripts-monorepo'); -const { readProjectConfiguration, workspaceRoot, joinPathFragments } = require('@nrwl/devkit'); +const { workspaceRoot, joinPathFragments, createProjectGraphAsync } = require('@nrwl/devkit'); const { FsTree } = require('nx/src/config/tree'); const yargs = require('yargs'); -main(); +main().catch(err => { + console.error(err); + process.exit(1); +}); function processArgs() { const args = yargs @@ -19,54 +22,65 @@ function processArgs() { return args; } -function main() { +async function main() { const { base } = processArgs(); - const affected = Array.from(getAffectedPackages(base)); + const affectedSet = getAffectedPackages(base); + affectedSet.delete('@fluentui/noop'); + const affected = Array.from(affectedSet); const tree = new FsTree(workspaceRoot, false); + /** @type {import('@nrwl/devkit').ProjectGraph<{}>} */ + const nxGraph = await createProjectGraphAsync(); - const needsReactComponentsDts = affected.some(projectName => { - try { - const project = readProjectConfiguration(tree, projectName); + const v9SuiteDeps = new Set( + nxGraph.dependencies['@fluentui/react-components'].map(dep => { + return dep.target; + }), + ); + /** + * + * @param {string[]} affectedPkgs + */ + function handleSpecialPkgDependencies(affectedPkgs) { + /** @type {Set} */ + const pkgsToBuild = new Set(); + const deps = nxGraph.dependencies; + + affectedPkgs.forEach(pkgName => { + const project = nxGraph.nodes[pkgName].data; const isVNext = project.tags?.indexOf('vNext') !== -1; const hasStories = tree.exists(joinPathFragments(project.root, 'stories')); + // @ts-ignore - bug in nx types, projectType is part of API + const isLibrary = project.projectType === 'library'; - if (isVNext && hasStories) { - return true; + if (!(isVNext && hasStories && isLibrary)) { + return; } - // eslint-disable-next-line no-empty - } catch {} - return false; - }); + deps[pkgName].forEach(value => { + const target = value.target; + if (target.indexOf('npm:') !== -1) { + return; + } - /** - * - * @param {string[]} affectedPkgs - */ - function handleSpecialPkgDependencies(affectedPkgs) { - const specialPackages = { '@fluentui/react-table': ['@fluentui/react-data-grid-react-window'] }; - const packages = /** @type {string[]} */ ( - Object.entries(specialPackages) - .map(([pkgName, dependencies]) => { - if (affectedPkgs.includes(pkgName)) { - return dependencies; - } + const projectInner = nxGraph.nodes[target].data; + const isVNextInner = projectInner.tags?.indexOf('vNext') !== -1; + + if (!isVNextInner) { return; - }) - .filter(Boolean) - .flat() - ); + } + if (v9SuiteDeps.has(target)) { + return; + } - return packages; - } + pkgsToBuild.add(target); + }); + }); - const nonSuiteAffectedPackages = handleSpecialPkgDependencies(affected); + return pkgsToBuild; + } - const packagesToBuildFirst = [ - needsReactComponentsDts ? '@fluentui/react-components' : null, - ...nonSuiteAffectedPackages, - ].filter(Boolean); + const packagesToBuildFirst = Array.from(handleSpecialPkgDependencies(affected)); if (packagesToBuildFirst.length > 0) { console.info( From 041e50a66738ef100bffe953a058c6930c9aaad7 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Mon, 29 May 2023 13:00:43 +0200 Subject: [PATCH 10/14] refactor(scripts-executors): polish type-check ci hack implementation --- scripts/executors/type-check-ci-hack.js | 129 ++++++++++++++---------- 1 file changed, 75 insertions(+), 54 deletions(-) diff --git a/scripts/executors/type-check-ci-hack.js b/scripts/executors/type-check-ci-hack.js index 5ebe874e97969f..624c8e393abf52 100644 --- a/scripts/executors/type-check-ci-hack.js +++ b/scripts/executors/type-check-ci-hack.js @@ -10,6 +10,27 @@ main().catch(err => { process.exit(1); }); +async function main() { + const { base } = processArgs(); + const tree = new FsTree(workspaceRoot, false); + const affected = getNormalizeAffected(base); + /** @type {import('@nrwl/devkit').ProjectGraph<{}>} */ + const nxGraph = await createProjectGraphAsync(); + + const projectsToBuildFirst = Array.from(getProjectsThatNeedTriggerBuildInAdvance({ affected, nxGraph, tree })); + + if (projectsToBuildFirst.length > 0) { + console.info( + '', + `💁: generating .d.ts files first in order to drastically speed up type-check command for v9 packages:\n`, + '- ' + projectsToBuildFirst.join('\n - '), + '', + ); + + return execSync(`yarn lage build --to ${projectsToBuildFirst.join(' ')}`); + } +} + function processArgs() { const args = yargs .option('base', { @@ -22,14 +43,33 @@ function processArgs() { return args; } -async function main() { - const { base } = processArgs(); +/** + * @param {string} base + */ +function getNormalizeAffected(base) { const affectedSet = getAffectedPackages(base); + // noop is a dummy package that lives within packages/fluentui - for legacy lerna workaround within react-northstar affectedSet.delete('@fluentui/noop'); - const affected = Array.from(affectedSet); - const tree = new FsTree(workspaceRoot, false); - /** @type {import('@nrwl/devkit').ProjectGraph<{}>} */ - const nxGraph = await createProjectGraphAsync(); + return Array.from(affectedSet); +} + +/** + * @param {import('@nrwl/devkit').ProjectConfiguration} project + */ +function isVNextProject(project) { + return project.tags?.indexOf('vNext') !== -1; +} + +/** + * + * @param {{tree: import('@nrwl/devkit').Tree, affected:string[]; nxGraph: import('@nrwl/devkit').ProjectGraph}} options + */ +function getProjectsThatNeedTriggerBuildInAdvance(options) { + const { affected, nxGraph, tree } = options; + + /** @type {Set} */ + const pkgsToBuild = new Set(); + const wholeGraphDependencies = nxGraph.dependencies; const v9SuiteDeps = new Set( nxGraph.dependencies['@fluentui/react-components'].map(dep => { @@ -37,59 +77,40 @@ async function main() { }), ); - /** - * - * @param {string[]} affectedPkgs - */ - function handleSpecialPkgDependencies(affectedPkgs) { - /** @type {Set} */ - const pkgsToBuild = new Set(); - const deps = nxGraph.dependencies; - - affectedPkgs.forEach(pkgName => { - const project = nxGraph.nodes[pkgName].data; - const isVNext = project.tags?.indexOf('vNext') !== -1; - const hasStories = tree.exists(joinPathFragments(project.root, 'stories')); - // @ts-ignore - bug in nx types, projectType is part of API - const isLibrary = project.projectType === 'library'; - - if (!(isVNext && hasStories && isLibrary)) { - return; - } + affected.forEach(pkgName => { + const project = nxGraph.nodes[pkgName].data; + const isVNext = isVNextProject(project); + const hasStories = tree.exists(joinPathFragments(project.root, 'stories')); + // @ts-ignore - bug in nx types, projectType is part of API + const isLibrary = project.projectType === 'library'; + const isProjectCandidateForPreBuildTrigger = isVNext && hasStories && isLibrary; - deps[pkgName].forEach(value => { - const target = value.target; - if (target.indexOf('npm:') !== -1) { - return; - } + if (!isProjectCandidateForPreBuildTrigger) { + return; + } - const projectInner = nxGraph.nodes[target].data; - const isVNextInner = projectInner.tags?.indexOf('vNext') !== -1; + const projectGraphDependencies = wholeGraphDependencies[pkgName]; - if (!isVNextInner) { - return; - } - if (v9SuiteDeps.has(target)) { - return; - } - - pkgsToBuild.add(target); - }); - }); + projectGraphDependencies.forEach(value => { + const { target } = value; + // not interested in 3rd party packages/dependencies + if (target.indexOf('npm:') !== -1) { + return; + } - return pkgsToBuild; - } + const dependantProject = nxGraph.nodes[target].data; - const packagesToBuildFirst = Array.from(handleSpecialPkgDependencies(affected)); + if (!isVNextProject(dependantProject)) { + return; + } + // if project is already specified as react-components suite dependency --> skip + if (v9SuiteDeps.has(target)) { + return; + } - if (packagesToBuildFirst.length > 0) { - console.info( - '', - `💁: generating .d.ts files first in order to drastically speed up type-check command for v9 packages:\n`, - '- ' + packagesToBuildFirst.join('\n - '), - '', - ); + pkgsToBuild.add(target); + }); + }); - execSync(`yarn lage build --to ${packagesToBuildFirst.join(' ')}`); - } + return pkgsToBuild; } From 3c16c4327356d8e6b1195422b3e9a6ee671b1ca5 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Mon, 19 Feb 2024 17:27:24 +0100 Subject: [PATCH 11/14] ci: move hack to new pipeline definition after rebase --- .devops/templates/build-test-lint.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.devops/templates/build-test-lint.yml b/.devops/templates/build-test-lint.yml index 4a1e816b292c39..526b5a0e60d118 100644 --- a/.devops/templates/build-test-lint.yml +++ b/.devops/templates/build-test-lint.yml @@ -41,8 +41,12 @@ steps: env: DANGER_GITHUB_API_TOKEN: $(DANGER_GITHUB_API_TOKEN) + - script: | + node ./scripts/executors/type-check-ci-hack.js --base $(targetBranch) + displayName: type-check perf preparation + - script: | yarn buildci $(sinceArg) - displayName: build, test, lint, test-ssr + displayName: build, test, lint, test-ssr, type-check - template: cleanup.yml From a5cdb6a21cbd52496c0bc3e7d1e02b0094923011 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Mon, 19 Feb 2024 17:29:45 +0100 Subject: [PATCH 12/14] generate change files after rebase --- ...ct-breadcrumb-c426feeb-bab8-4d7a-8d64-a9f7d73ec131.json | 7 +++++++ ...-react-drawer-00782682-172c-4a4b-a4b7-106433c73043.json | 7 +++++++ ...tions-preview-f8b019e9-cc9e-45fe-bf19-c31deef2f535.json | 7 +++++++ ...ui-react-tags-d92689e4-079b-46d6-b82b-14afcb2e77bb.json | 7 +++++++ ...i-react-toast-4eedde5c-7b86-414d-bfe0-f9e094a89c64.json | 7 +++++++ 5 files changed, 35 insertions(+) create mode 100644 change/@fluentui-react-breadcrumb-c426feeb-bab8-4d7a-8d64-a9f7d73ec131.json create mode 100644 change/@fluentui-react-drawer-00782682-172c-4a4b-a4b7-106433c73043.json create mode 100644 change/@fluentui-react-motions-preview-f8b019e9-cc9e-45fe-bf19-c31deef2f535.json create mode 100644 change/@fluentui-react-tags-d92689e4-079b-46d6-b82b-14afcb2e77bb.json create mode 100644 change/@fluentui-react-toast-4eedde5c-7b86-414d-bfe0-f9e094a89c64.json diff --git a/change/@fluentui-react-breadcrumb-c426feeb-bab8-4d7a-8d64-a9f7d73ec131.json b/change/@fluentui-react-breadcrumb-c426feeb-bab8-4d7a-8d64-a9f7d73ec131.json new file mode 100644 index 00000000000000..2511d3e6aaf041 --- /dev/null +++ b/change/@fluentui-react-breadcrumb-c426feeb-bab8-4d7a-8d64-a9f7d73ec131.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-breadcrumb", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-drawer-00782682-172c-4a4b-a4b7-106433c73043.json b/change/@fluentui-react-drawer-00782682-172c-4a4b-a4b7-106433c73043.json new file mode 100644 index 00000000000000..1f0bc970311976 --- /dev/null +++ b/change/@fluentui-react-drawer-00782682-172c-4a4b-a4b7-106433c73043.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-drawer", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-motions-preview-f8b019e9-cc9e-45fe-bf19-c31deef2f535.json b/change/@fluentui-react-motions-preview-f8b019e9-cc9e-45fe-bf19-c31deef2f535.json new file mode 100644 index 00000000000000..3b11b2735b6880 --- /dev/null +++ b/change/@fluentui-react-motions-preview-f8b019e9-cc9e-45fe-bf19-c31deef2f535.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-motions-preview", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-tags-d92689e4-079b-46d6-b82b-14afcb2e77bb.json b/change/@fluentui-react-tags-d92689e4-079b-46d6-b82b-14afcb2e77bb.json new file mode 100644 index 00000000000000..05a3813bfeccbb --- /dev/null +++ b/change/@fluentui-react-tags-d92689e4-079b-46d6-b82b-14afcb2e77bb.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-tags", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} diff --git a/change/@fluentui-react-toast-4eedde5c-7b86-414d-bfe0-f9e094a89c64.json b/change/@fluentui-react-toast-4eedde5c-7b86-414d-bfe0-f9e094a89c64.json new file mode 100644 index 00000000000000..0f2d7734dbb0bb --- /dev/null +++ b/change/@fluentui-react-toast-4eedde5c-7b86-414d-bfe0-f9e094a89c64.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "perf: use type-check task to improve type-checking speeds up to 60%", + "packageName": "@fluentui/react-toast", + "email": "martinhochel@microsoft.com", + "dependentChangeType": "none" +} From 781bd76c7a037d6394212a38865579a0468ca25e Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Mon, 19 Feb 2024 17:41:32 +0100 Subject: [PATCH 13/14] chore: update types and imports after nx 17 migration within type check hack --- scripts/executors/type-check-ci-hack.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/executors/type-check-ci-hack.js b/scripts/executors/type-check-ci-hack.js index 624c8e393abf52..34d6564f6c725b 100644 --- a/scripts/executors/type-check-ci-hack.js +++ b/scripts/executors/type-check-ci-hack.js @@ -1,8 +1,9 @@ +/* eslint-disable import/no-extraneous-dependencies */ const { execSync } = require('child_process'); const { getAffectedPackages } = require('@fluentui/scripts-monorepo'); -const { workspaceRoot, joinPathFragments, createProjectGraphAsync } = require('@nrwl/devkit'); -const { FsTree } = require('nx/src/config/tree'); +const { workspaceRoot, joinPathFragments, createProjectGraphAsync } = require('@nx/devkit'); +const { FsTree } = require('nx/src/generators/tree'); const yargs = require('yargs'); main().catch(err => { @@ -14,7 +15,7 @@ async function main() { const { base } = processArgs(); const tree = new FsTree(workspaceRoot, false); const affected = getNormalizeAffected(base); - /** @type {import('@nrwl/devkit').ProjectGraph<{}>} */ + /** @type {import('@nx/devkit').ProjectGraph} */ const nxGraph = await createProjectGraphAsync(); const projectsToBuildFirst = Array.from(getProjectsThatNeedTriggerBuildInAdvance({ affected, nxGraph, tree })); @@ -54,7 +55,7 @@ function getNormalizeAffected(base) { } /** - * @param {import('@nrwl/devkit').ProjectConfiguration} project + * @param {import('@nx/devkit').ProjectConfiguration} project */ function isVNextProject(project) { return project.tags?.indexOf('vNext') !== -1; @@ -62,7 +63,7 @@ function isVNextProject(project) { /** * - * @param {{tree: import('@nrwl/devkit').Tree, affected:string[]; nxGraph: import('@nrwl/devkit').ProjectGraph}} options + * @param {{tree: import('@nx/devkit').Tree, affected:string[]; nxGraph: import('@nx/devkit').ProjectGraph}} options */ function getProjectsThatNeedTriggerBuildInAdvance(options) { const { affected, nxGraph, tree } = options; From 90fa52494d21521c310c175ebdca6852542b1cd8 Mon Sep 17 00:00:00 2001 From: Martin Hochel Date: Wed, 21 Feb 2024 10:53:41 +0100 Subject: [PATCH 14/14] ci: scope test to only react-text --- .devops/templates/build-test-lint.yml | 73 +++++++++++++++------------ 1 file changed, 42 insertions(+), 31 deletions(-) diff --git a/.devops/templates/build-test-lint.yml b/.devops/templates/build-test-lint.yml index 526b5a0e60d118..ecc566c8371e33 100644 --- a/.devops/templates/build-test-lint.yml +++ b/.devops/templates/build-test-lint.yml @@ -6,44 +6,55 @@ steps: filePath: yarn-ci.sh displayName: yarn (install packages) - - script: | - yarn nx run @fluentui/workspace-plugin:check-graph - yarn nx g @fluentui/workspace-plugin:tsconfig-base-all --verify - yarn nx g @fluentui/workspace-plugin:normalize-package-dependencies --verify - - displayName: Workspace lint - - - script: | - # @fluentui/api-docs is used within apps/public-docsite-resources/just.config.ts, thus it needs to be build in advance - yarn workspace @fluentui/api-docs build - # @fluentui/digest is used within packages/fluentui/perf-test-northstar/just.config.ts, thus it needs to be build in advance - yarn workspace @fluentui/digest build - yarn tsc -p ./tsconfig.json - displayName: Type-check just.config.ts files + # - script: | + # yarn nx run @fluentui/workspace-plugin:check-graph + # yarn nx g @fluentui/workspace-plugin:tsconfig-base-all --verify + # yarn nx g @fluentui/workspace-plugin:normalize-package-dependencies --verify + + # displayName: Workspace lint + + # - script: | + # # @fluentui/api-docs is used within apps/public-docsite-resources/just.config.ts, thus it needs to be build in advance + # yarn workspace @fluentui/api-docs build + # # @fluentui/digest is used within packages/fluentui/perf-test-northstar/just.config.ts, thus it needs to be build in advance + # yarn workspace @fluentui/digest build + # yarn tsc -p ./tsconfig.json + # displayName: Type-check just.config.ts files + + # - script: | + # yarn check:installed-dependencies-versions + # displayName: 'check packages: installed dependencies versions' + + # - script: | + # if [[ -n "$(targetBranch)" ]]; then + # yarn format --since $(targetBranch) --check + # else + # yarn format --all --check + # fi + # displayName: check formatting - - script: | - yarn check:installed-dependencies-versions - displayName: 'check packages: installed dependencies versions' + ## Danger.js checks for Fluent UI N* + # - script: | + # DANGER_DISABLE_TRANSPILATION="true" yarn danger ci + # displayName: danger + # condition: eq(variables.isPR, true) + # env: + # DANGER_GITHUB_API_TOKEN: $(DANGER_GITHUB_API_TOKEN) - script: | - if [[ -n "$(targetBranch)" ]]; then - yarn format --since $(targetBranch) --check - else - yarn format --all --check - fi - displayName: check formatting + node ./scripts/executors/type-check-ci-hack.js --base $(targetBranch) + yarn lage build --to react-storybook-addon-export-to-sandbox --verbose + displayName: type-check perf preparation - ## Danger.js checks for Fluent UI N* - script: | - DANGER_DISABLE_TRANSPILATION="true" yarn danger ci - displayName: danger - condition: eq(variables.isPR, true) - env: - DANGER_GITHUB_API_TOKEN: $(DANGER_GITHUB_API_TOKEN) + yarn lage type-check --to react-text --verbose + cat packages/react-components/react-text/tsconfig.json + displayName: type-check via just - script: | - node ./scripts/executors/type-check-ci-hack.js --base $(targetBranch) - displayName: type-check perf preparation + cat packages/react-components/react-text/tsconfig.json + yarn workspace @fluentui/react-text tsc -b + displayName: type-check via tsc -b - script: | yarn buildci $(sinceArg)