Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
ec31070
chore: add swc/cli as dev dep
TristanWatanabe Jan 26, 2023
05be727
chore: add just-scripts-utils dev dep
TristanWatanabe Jan 26, 2023
e33940c
feat(migrate-converged-pkg): implement setup to add swcrc config file
TristanWatanabe Jan 26, 2023
61a12fc
feat(scripts): add swc.ts file which runs SWC CLI
TristanWatanabe Jan 27, 2023
a15384f
feat(scripts): add just-script preset build:react-components to be us…
TristanWatanabe Jan 27, 2023
f93cc81
feat(migrate-converged-pkg): setup just config file to map just-scrip…
TristanWatanabe Jan 27, 2023
fa7434d
test(migrate-converged-pkg): add test cases for added behaviors
TristanWatanabe Jan 27, 2023
316a71b
fix: deduplicate graceful-fs
TristanWatanabe Jan 27, 2023
ed944bd
fix: deduplicate just-scripts-utils and just-task-logger
TristanWatanabe Jan 27, 2023
f4146bc
fix: deduplicate semver
TristanWatanabe Jan 27, 2023
df9852e
fix(migrate-converged-pkg): add justConfig to projectConfig paths
TristanWatanabe Jan 27, 2023
aa46c20
chore: run migration generator
TristanWatanabe Jan 27, 2023
d99dcef
fix(vr-tests-v9): export withFluentProvider decorator from @fluentui/…
TristanWatanabe Jan 27, 2023
25dbcca
chore: update yarn.lock to reflect swc related deps
TristanWatanabe Jan 27, 2023
82f4a67
feat: simplify v9 compilation flow with swc
Hotell Feb 6, 2023
f85bc97
fixup! feat: simplify v9 compilation flow with swc
Hotell Feb 8, 2023
e8d5e73
fixup! fixup! feat: simplify v9 compilation flow with swc
Hotell Feb 8, 2023
7d71a9a
Merge branch 'master' into use-swc-transpilation-tooling-updates
TristanWatanabe Feb 9, 2023
40ab558
chore: update yarn.lock
TristanWatanabe Feb 9, 2023
108daed
Merge remote-tracking branch 'hotell/swc-transpilation-simplification…
TristanWatanabe Feb 9, 2023
cdc90d6
nit: remove unintended prettier changes
TristanWatanabe Feb 9, 2023
1afe76a
fix: use babel-plugin-module-resolver version 4.1.0 which works with …
TristanWatanabe Feb 9, 2023
24989d6
chore: manually dedupe resolve package
TristanWatanabe Feb 9, 2023
57303e5
test(migrate-converged-pkg): update babelrc setup test to be correct
TristanWatanabe Feb 9, 2023
8b887a9
chore: add .swcrc to files v-build owns
TristanWatanabe Feb 9, 2023
9f4c2e2
Merge branch 'use-swc-transpilation-tooling-updates' into migrate-v9-…
TristanWatanabe Feb 9, 2023
de2238a
chore: update babelrc.json of v9 packages
TristanWatanabe Feb 9, 2023
69116c8
chore: add swcrc files to new v9 packages
TristanWatanabe Feb 9, 2023
d001051
chore: update package.json files of v9 packages after migration gener…
TristanWatanabe Feb 9, 2023
35229a8
chore: update just.config of breadcrumb and drawer
TristanWatanabe Feb 9, 2023
ea8b74c
chore: update yarn.lock
TristanWatanabe Feb 9, 2023
4a54516
fix: remove swc/core depedency from v9
TristanWatanabe Feb 9, 2023
9cb7dd6
fix: add swc/helpers to syncpac
TristanWatanabe Feb 9, 2023
154c9f9
fix: update babelrc.json regex to exclude react-icons in aliases
TristanWatanabe Feb 9, 2023
d718717
chore: run migration generator to update babelrc.json
TristanWatanabe Feb 9, 2023
d5e2421
test: fix test
TristanWatanabe Feb 9, 2023
8656f48
chore: cleanup just preset.ts of unused code
TristanWatanabe Feb 9, 2023
48a8afb
Merge branch 'use-swc-transpilation-tooling-updates' into migrate-v9-…
TristanWatanabe Feb 9, 2023
adf5b4a
fix: set react-portal-compat and react-portal-compat-context to targe…
TristanWatanabe Feb 9, 2023
ee231cd
fix: react-portal-context and react-portal-compat browser matrix lowe…
TristanWatanabe Feb 9, 2023
5473564
nit: remove unintended prettier change
TristanWatanabe Feb 9, 2023
234cd93
nit: remove unintended prettier change
TristanWatanabe Feb 9, 2023
b43b595
nit: remove unintended prettier change
TristanWatanabe Feb 9, 2023
ad54b8a
chore: cleanup commented out code
TristanWatanabe Feb 9, 2023
898663c
fix? : add puppeteer to yarn resolutions and pin to latest version to…
TristanWatanabe Feb 10, 2023
848e0c6
cleanup: remove unused just-scripts-utils dep
TristanWatanabe Feb 10, 2023
fcb136b
testing: remove teachingbubble perf test
TristanWatanabe Feb 10, 2023
49ff152
Merge branch 'master' into migrate-v9-pkgs
TristanWatanabe Feb 10, 2023
9bb1f42
run migration generator again
TristanWatanabe Feb 10, 2023
9542aad
Revert "testing: remove teachingbubble perf test"
TristanWatanabe Feb 10, 2023
6606987
Merge branch 'master' into migrate-v9-pkgs
TristanWatanabe Feb 18, 2023
453153a
chore: run migration generator again
TristanWatanabe Feb 18, 2023
e38c466
Change Files
TristanWatanabe Feb 18, 2023
0da3f21
revert: undo changes to typings of babel-preset-storybook package
TristanWatanabe Feb 18, 2023
34ea99a
fix: update yarn.lock
TristanWatanabe Feb 18, 2023
810250a
fix: broken react-badge package.json
TristanWatanabe Feb 18, 2023
8841402
fix: update yarn.lock
TristanWatanabe Feb 18, 2023
830f8d8
temp fix: comment out TeachingBubble v8 perf test
TristanWatanabe Feb 18, 2023
4135574
temp fix: comment out TeachingBubble v8 perf test
TristanWatanabe Feb 18, 2023
43105bd
Merge branch 'master' into migrate-v9-pkgs
TristanWatanabe Feb 18, 2023
c40842f
Merge branch 'master' into use-swc-transpilation-tooling-updates
TristanWatanabe Feb 21, 2023
995fb2a
temp fix: delete v8 TeachingBubble perf test
TristanWatanabe Feb 22, 2023
e95c6fd
Merge branch 'master' into migrate-v9-pkgs
TristanWatanabe Feb 22, 2023
77d4f9a
Merge branch 'master' into use-swc-transpilation-tooling-updates
TristanWatanabe Feb 23, 2023
6572a66
chore: update yarn.lock after master merge
TristanWatanabe Feb 23, 2023
7775b72
Merge branch 'use-swc-transpilation-tooling-updates' into migrate-v9-…
TristanWatanabe Feb 23, 2023
3616186
feat: add monorepo root .babelrc-v9.json file and update migrate-conv…
TristanWatanabe Feb 23, 2023
b37546e
Merge branch 'use-swc-transpilation-tooling-updates' into migrate-v9-…
TristanWatanabe Feb 23, 2023
2ec48d7
chore: run migration generator again to reflect babelrc.json extendin…
TristanWatanabe Feb 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions .babelrc-v9.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵 fluentuiv8 Open the Visual Regressions report to inspect the 2 screenshots

✅ There was 0 screenshots added, 2 screenshots removed, 1043 screenshots unchanged, 0 screenshots with different dimensions and 0 screenshots with visible difference.

unknown 2 screenshots
Image Name Diff(in Pixels) Image Type
Pivot - Overflow.Root.Narrow - Last tab selected.chromium.png 0 Removed
Pivot - Overflow.Root.Narrow - Overflow menu.chromium.png 0 Removed

"presets": [
[
"@griffel",
{
"babelOptions": {
"plugins": [
[
"babel-plugin-module-resolver",
{
"root": ["../../../"],
"alias": {
"@fluentui/tokens": "packages/tokens/lib/index.js",
"^@fluentui/(?!react-icons)(.+)": "packages/react-components/\\1/lib/index.js"
}
}
]
]
}
}
]
]
}
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -289,3 +289,4 @@ packages/react-experiments/src/components/TileList @ThomasMichon
**/cypress.config.ts @microsoft/fluentui-react-build
**/api-extractor.json @microsoft/fluentui-react-build
**/api-extractor.unstable.json @microsoft/fluentui-react-build
**/.swcrc @microsoft/fluentui-react-build
6 changes: 0 additions & 6 deletions apps/perf-test/src/scenarios/TeachingBubble.tsx

This file was deleted.

3 changes: 3 additions & 0 deletions apps/vr-tests-react-components/.storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import * as React from 'react';
import { setAddon } from '@storybook/react';
import { webLightTheme, teamsHighContrastTheme, webDarkTheme } from '@fluentui/react-theme';
import { FluentProvider } from '@fluentui/react-provider';
import { withFluentProvider } from '@fluentui/react-storybook-addon';

/**
* @deprecated https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#deprecated-setaddon
Expand Down Expand Up @@ -69,3 +70,5 @@ setAddon({

/** @type {import("@fluentui/react-storybook-addon").FluentParameters} */
export const parameters = { layout: 'none', mode: 'vr-test' };

export const decorators = [withFluentProvider];
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this was added: #26504 (comment)

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/babel-preset-global-context",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/global-context",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/keyboard-keys",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/priority-overflow",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-accordion",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-alert",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-aria",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-avatar",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-badge",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-button",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-card",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-charting",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-checkbox",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-combobox",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-components",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-conformance-griffel",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-context-selector",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-data-grid-react-window",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-dialog",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-divider",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-field",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-image",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-infobutton",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-input",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-label",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-link",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-menu",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-migration-v8-v9",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-overflow",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-persona",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-popover",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-portal",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-portal-compat",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-portal-compat-context",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-positioning",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-progress",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-provider",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-radio",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-select",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-shared-contexts",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-slider",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-spinbutton",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: use swc for browser matrix based transpilation. ",
"packageName": "@fluentui/react-spinner",
"email": "[email protected]",
"dependentChangeType": "patch"
}
Loading