feat(scripts): enable strict checking for additional sub-folders(packages)#24526
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit a3f0054:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: e3e67958e604ceb8b36e1954ba595a0f50a196fd (build) |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1316 | 1325 | 5000 | |
| Button | mount | 953 | 948 | 5000 | |
| FluentProvider | mount | 1569 | 1564 | 5000 | |
| FluentProviderWithTheme | mount | 622 | 637 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 590 | 596 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 630 | 622 | 10 | |
| MakeStyles | mount | 1913 | 1908 | 50000 | |
| SpinButton | mount | 2601 | 2498 | 5000 |
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| AvatarMinimalPerf.default | 164 | 149 | 1.1:1 |
| HeaderMinimalPerf.default | 300 | 279 | 1.08:1 |
| RefMinimalPerf.default | 182 | 170 | 1.07:1 |
| AttachmentMinimalPerf.default | 126 | 119 | 1.06:1 |
| DividerMinimalPerf.default | 303 | 287 | 1.06:1 |
| ItemLayoutMinimalPerf.default | 1008 | 953 | 1.06:1 |
| LayoutMinimalPerf.default | 303 | 285 | 1.06:1 |
| RadioGroupMinimalPerf.default | 383 | 361 | 1.06:1 |
| ListMinimalPerf.default | 433 | 413 | 1.05:1 |
| TextMinimalPerf.default | 285 | 272 | 1.05:1 |
| ListCommonPerf.default | 535 | 516 | 1.04:1 |
| PortalMinimalPerf.default | 151 | 145 | 1.04:1 |
| TableMinimalPerf.default | 342 | 329 | 1.04:1 |
| AttachmentSlotsPerf.default | 907 | 884 | 1.03:1 |
| CheckboxMinimalPerf.default | 1763 | 1709 | 1.03:1 |
| GridMinimalPerf.default | 274 | 267 | 1.03:1 |
| MenuMinimalPerf.default | 722 | 702 | 1.03:1 |
| TextAreaMinimalPerf.default | 389 | 376 | 1.03:1 |
| TooltipMinimalPerf.default | 1997 | 1943 | 1.03:1 |
| ButtonMinimalPerf.default | 127 | 125 | 1.02:1 |
| ChatWithPopoverPerf.default | 313 | 306 | 1.02:1 |
| EmbedMinimalPerf.default | 3090 | 3039 | 1.02:1 |
| PopupMinimalPerf.default | 537 | 528 | 1.02:1 |
| CustomToolbarPrototype.default | 2299 | 2249 | 1.02:1 |
| TreeMinimalPerf.default | 666 | 651 | 1.02:1 |
| VideoMinimalPerf.default | 605 | 591 | 1.02:1 |
| ButtonOverridesMissPerf.default | 1099 | 1090 | 1.01:1 |
| ChatDuplicateMessagesPerf.default | 235 | 232 | 1.01:1 |
| DatepickerMinimalPerf.default | 4925 | 4865 | 1.01:1 |
| DialogMinimalPerf.default | 641 | 637 | 1.01:1 |
| DropdownMinimalPerf.default | 2261 | 2247 | 1.01:1 |
| FormMinimalPerf.default | 305 | 303 | 1.01:1 |
| InputMinimalPerf.default | 960 | 946 | 1.01:1 |
| MenuButtonMinimalPerf.default | 1426 | 1411 | 1.01:1 |
| ProviderMergeThemesPerf.default | 1072 | 1064 | 1.01:1 |
| SegmentMinimalPerf.default | 281 | 277 | 1.01:1 |
| SkeletonMinimalPerf.default | 279 | 276 | 1.01:1 |
| IconMinimalPerf.default | 544 | 536 | 1.01:1 |
| TableManyItemsPerf.default | 1572 | 1549 | 1.01:1 |
| AnimationMinimalPerf.default | 438 | 438 | 1:1 |
| CardMinimalPerf.default | 432 | 431 | 1:1 |
| CarouselMinimalPerf.default | 384 | 385 | 1:1 |
| FlexMinimalPerf.default | 228 | 229 | 1:1 |
| ListNestedPerf.default | 445 | 447 | 1:1 |
| RosterPerf.default | 1807 | 1803 | 1:1 |
| SplitButtonMinimalPerf.default | 3636 | 3652 | 1:1 |
| AlertMinimalPerf.default | 218 | 220 | 0.99:1 |
| DropdownManyItemsPerf.default | 544 | 550 | 0.99:1 |
| HeaderSlotsPerf.default | 626 | 634 | 0.99:1 |
| LabelMinimalPerf.default | 314 | 318 | 0.99:1 |
| ProviderMinimalPerf.default | 340 | 343 | 0.99:1 |
| ReactionMinimalPerf.default | 308 | 310 | 0.99:1 |
| SliderMinimalPerf.default | 1348 | 1360 | 0.99:1 |
| StatusMinimalPerf.default | 556 | 560 | 0.99:1 |
| ToolbarMinimalPerf.default | 750 | 756 | 0.99:1 |
| BoxMinimalPerf.default | 276 | 281 | 0.98:1 |
| ButtonSlotsPerf.default | 451 | 460 | 0.98:1 |
| ListWith60ListItems.default | 501 | 511 | 0.98:1 |
| ChatMinimalPerf.default | 590 | 607 | 0.97:1 |
| ImageMinimalPerf.default | 318 | 327 | 0.97:1 |
| LoaderMinimalPerf.default | 561 | 579 | 0.97:1 |
| AccordionMinimalPerf.default | 117 | 124 | 0.94:1 |
| TreeWith60ListItems.default | 130 | 138 | 0.94:1 |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 1211 | 1200 | 5000 | |
| Breadcrumb | mount | 2777 | 2794 | 1000 | |
| Checkbox | mount | 2666 | 2636 | 5000 | |
| CheckboxBase | mount | 2371 | 2371 | 5000 | |
| ChoiceGroup | mount | 4205 | 4159 | 5000 | |
| ComboBox | mount | 1171 | 1166 | 1000 | |
| CommandBar | mount | 9243 | 9151 | 1000 | |
| ContextualMenu | mount | 10086 | 9996 | 1000 | |
| DefaultButton | mount | 1377 | 1352 | 5000 | |
| DetailsRow | mount | 3370 | 3364 | 5000 | |
| DetailsRowFast | mount | 3381 | 3357 | 5000 | |
| DetailsRowNoStyles | mount | 3269 | 3225 | 5000 | |
| Dialog | mount | 2944 | 2984 | 1000 | |
| DocumentCardTitle | mount | 597 | 583 | 1000 | |
| Dropdown | mount | 3189 | 3196 | 5000 | |
| FocusTrapZone | mount | 1967 | 1953 | 5000 | |
| FocusZone | mount | 1900 | 1933 | 5000 | |
| GroupedList | mount | 47384 | 53081 | 2 | |
| GroupedList | virtual-rerender | 22822 | 22894 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 81564 | 80951 | 2 | |
| GroupedListV2 | mount | 553 | 568 | 2 | |
| GroupedListV2 | virtual-rerender | 527 | 518 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 571 | 555 | 2 | |
| IconButton | mount | 1802 | 1797 | 5000 | |
| Label | mount | 744 | 742 | 5000 | |
| Layer | mount | 4150 | 4088 | 5000 | |
| Link | mount | 864 | 848 | 5000 | |
| MenuButton | mount | 1612 | 1611 | 5000 | |
| MessageBar | mount | 2306 | 2340 | 5000 | |
| Nav | mount | 3054 | 3033 | 1000 | |
| OverflowSet | mount | 1416 | 1413 | 5000 | |
| Panel | mount | 2497 | 2488 | 1000 | |
| Persona | mount | 1242 | 1256 | 1000 | |
| Pivot | mount | 1532 | 1507 | 1000 | |
| PrimaryButton | mount | 1492 | 1498 | 5000 | |
| Rating | mount | 6994 | 6933 | 5000 | |
| SearchBox | mount | 1489 | 1520 | 5000 | |
| Shimmer | mount | 2905 | 2897 | 5000 | |
| Slider | mount | 2124 | 2071 | 5000 | |
| SpinButton | mount | 4286 | 4293 | 5000 | |
| Spinner | mount | 831 | 844 | 5000 | |
| SplitButton | mount | 2834 | 2801 | 5000 | |
| Stack | mount | 894 | 896 | 5000 | |
| StackWithIntrinsicChildren | mount | 2238 | 2244 | 5000 | |
| StackWithTextChildren | mount | 4907 | 4928 | 5000 | |
| SwatchColorPicker | mount | 9602 | 9513 | 5000 | |
| TagPicker | mount | 2335 | 2349 | 5000 | |
| TeachingBubble | mount | 74509 | 74541 | 5000 | |
| Text | mount | 815 | 814 | 5000 | |
| TextField | mount | 1543 | 1557 | 5000 | |
| ThemeProvider | mount | 1442 | 1444 | 5000 | |
| ThemeProvider | virtual-rerender | 1137 | 1147 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 1999 | 2000 | 5000 | |
| Toggle | mount | 1124 | 1130 | 5000 | |
| buttonNative | mount | 532 | 545 | 5000 |
1dc09f9 to
0791945
Compare
| 'error', | ||
| { devDependencies: ['**/*-test.ts*', '**/*.test.ts*', '*.config.js', 'gulpfile.ts', 'just.config.ts'] }, | ||
| { | ||
| packageDir: ['.', workspaceRoot], |
There was a problem hiding this comment.
enablement for single version policy for devDeps
| "geckodriver": "3.0.2", | ||
| "glob": "7.2.0", | ||
| "gulp": "^4.0.2", | ||
| "gulp": "4.0.2", |
| }, | ||
| "devDependencies": { | ||
| "@fluentui/scripts": "^1.0.0", | ||
| "gulp": "^4.0.2" |
There was a problem hiding this comment.
moved to root package.json (single version policy)
5f2c264 to
ae43638
Compare
| import { findGitRoot } from '../monorepo/index'; | ||
| import { findGitRoot, PackageJson } from '../monorepo'; | ||
|
|
||
| export function fluentuiLernaPublish(bumpType, skipConfirm = false, npmTagForCanary = 'beta') { |
There was a problem hiding this comment.
no need to have this as public API when its not used
| }; | ||
|
|
||
| const jest = (config: JestPluginConfig) => cb => { | ||
| const jest = (config: JestPluginConfig) => () => { |
scripts/dangerjs/checkChangelog.ts
Outdated
| @@ -1,7 +1,8 @@ | |||
| import type { Change, AddChange } from 'parse-diff'; | |||
There was a problem hiding this comment.
These are the actual type Danger uses from an implicit dep
There was a problem hiding this comment.
what is this comment about ? can you elaborate what's the actionable here ?
There was a problem hiding this comment.
it was just an info for other reviewers
| dependencies: | ||
| "@types/node" "*" | ||
|
|
||
| "@types/chrome-remote-interface@0.30.0": |
There was a problem hiding this comment.
why so many yarn.lock changes when moving deps from scripts?
There was a problem hiding this comment.
- we now pin to versions that have been used all the time instead of misleading caret
- some have been bumped to introduce less dupes
476fe3a to
877f2b6
Compare
… in react-northstar packages
877f2b6 to
a3f0054
Compare
* master: (21 commits) chore: Migrate react-avatar to use new build (microsoft#24969) applying package updates chore(react-input, react-textarea): Deprecating filled with shadow appearance variants (microsoft#24900) fix: v8 Dropdown no longer sets incorrect and unnecessary aria-activedescendant (microsoft#24593) feat: v0 Tooltip migration from v9 (microsoft#24908) chore: bump devDeps to fix critical security vulnerability (microsoft#24891) Fixing Tree chart issues (microsoft#24752) init: new package react-avatar-context (microsoft#24968) ci(.github): add issues write permisions to triage-bot worflow (microsoft#24963) applying package updates fix(Toolbar): close previous submenu when opening another submenu (microsoft#24836) fix: update non-focus-trap Popover role to be group (microsoft#24897) feat: Avatar's aria label includes 'active' or 'inactive' when using the active prop (microsoft#24901) feat(scripts): implement triage-bot module (microsoft#24911) chore: bump @octokit/rest to v18 (microsoft#24919) stress test: add "build-fixture" command (microsoft#24928) BREAKING-CHANGE: new ChatMessageContent for style caching (microsoft#24691) bugfix: fix changefile to properly update version of react-components with a patch (microsoft#24949) feat(scripts): enable strict checking for additional sub-folders(packages) (microsoft#24526) chore: exports DialogContent as unstable (microsoft#24943) ...
…ages) (microsoft#24526) * chore: move packages to single version policy from scripts * feat(scripts): enable strict checking for dangerjs * feat(scripts): enable strict checking for fluentui-publish * feat(scripts): enable strict checking for github * feat(scripts): enable strict checking for gulp * feat(scripts): enable strict checking for prettier * feat(scripts): enable strict checking for projects-test * feat(scripts): enable strict checking for puppeteer * feat(scripts): enable strict checking for updateReleaseNotes * feat(scripts): improve PackageJson interface * more scripts ts solution config registration * chore(scripts): rename updateReleaseNotes to package valid casing * feat(typings): add json-stable-stringify-without-jsonify declarations * chore: move packages to single version policy from scripts and add types * fix(eslint-plugin): properly resolve single-version policy dep issues in react-northstar packages * generate changefiles * fix(typings): make ignore-not-found-export-webpack-plugi types valid
Pre-requirements:
Description
updateReleaseNotesto kebab case (more human readable and package valid casing)Related Issue(s)
Fixes partially #24349