Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
02929a3
feat(nx): use scripts-api-extractor package as dependency via input c…
Hotell Jan 2, 2026
171f24b
chore:use nx graph instead of manually defined devDependencies in pac…
Hotell Jan 2, 2026
c6220c3
chore(workspace-plugin): remove generating devDeps when creating library
Hotell Jan 2, 2026
f296be0
chore: remove unused 3rd party deps
Hotell Jan 2, 2026
3d15ce5
change files
Hotell Jan 2, 2026
a33772c
chore: fix yarn.lock aliases merge preventing frozen install
Hotell Jan 2, 2026
6ce9950
fix: revert using jest-serializer-merge-styles as build dependency fo…
Hotell Jan 2, 2026
fbe4de2
ci: remove invalid --exclude proejct definition from main and rit pip…
Hotell Jan 2, 2026
1ebc61f
chore(nx): revert api-extractor invalidation to physicall input glob …
Hotell Jan 2, 2026
00f4180
chore(ssr-tests): fix nx graph dependency resolution
Hotell Jan 5, 2026
2d8e0d8
fix(public-docsite-resource): add deep import used within ssr-test in…
Hotell Jan 5, 2026
5fd1b11
fix(monorepo): accomodate nx graph resolution for devDeps for getDepe…
Hotell Jan 5, 2026
66d9d4e
chore: use explicit require for jest-serializer-merge-styles instead …
Hotell Jan 5, 2026
240cba7
fix(public-docsite-resource): add additional export maps that are use…
Hotell Jan 5, 2026
af5ca1a
style: apply formatting
Hotell Jan 5, 2026
d25699d
style(stories): remove not needed 'import/no-extraneous-dependencies'…
Hotell Jan 5, 2026
b29d417
fix(workspace-plugin): remove import/no-extraneous-dependencies rule …
Hotell Jan 5, 2026
83db811
fixup! style(stories): remove not needed 'import/no-extraneous-depend…
Hotell Jan 5, 2026
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
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:

- name: build, test, lint, test-ssr (affected)
run: |
FLUENT_JEST_WORKER=2 yarn nx affected -t build test lint type-check test-ssr test-integration verify-packaging --exclude react-19-tests-v9 --nxBail
FLUENT_JEST_WORKER=2 yarn nx affected -t build test lint type-check test-ssr test-integration verify-packaging --nxBail

- name: 'Check for unstaged changes'
run: |
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
run: yarn cypress verify

- name: Cypress/Playwright E2E tests
run: yarn nx affected -t e2e --exclude react-19-tests-v9 --nxBail --parallel 1
run: yarn nx affected -t e2e --nxBail --parallel 1

- name: Upload Cypress screenshots if exist
uses: actions/upload-artifact@v6
Expand Down
6 changes: 0 additions & 6 deletions apps/chart-docsite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@
"storybook:docs": "yarn storybook --docs",
"test": "jest --passWithNoTests"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-storybook": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/storybook-llms-extractor": "*"
},
"dependencies": {
"@fluentui/react-charts": "*",
"@fluentui/react-storybook-addon": "*",
Expand Down
5 changes: 0 additions & 5 deletions apps/perf-test-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
"type-check": "just-scripts type-check",
"test-perf": "just-scripts perf-test"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-storybook": "*"
},
"dependencies": {
"@fluentui/scripts-perf-test-flamegrill": "*",
"@fluentui/react-avatar": "*",
Expand Down
5 changes: 0 additions & 5 deletions apps/perf-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
"type-check": "just-scripts type-check",
"test-perf": "just-scripts perf-test"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-storybook": "*"
},
"dependencies": {
"@fluentui/scripts-perf-test-flamegrill": "*",
"@fluentui/example-data": "*",
Expand Down
7 changes: 1 addition & 6 deletions apps/pr-deploy-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,5 @@
"lint": "eslint --cache .",
"type-check": "tsc -p . --noEmit"
},
"license": "MIT",
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-monorepo": "*"
}
"license": "MIT"
}
21 changes: 14 additions & 7 deletions apps/public-docsite-resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@
"description": "Fluent UI React local demo app",
"main": "lib-commonjs/index.js",
"module": "lib/index.js",
"exports": {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

these nested path imports are used across ssr-tests and public-docsite ( v8 ), in order to be able to resovle the dep graph correctly by nx we added proper API export maps

".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js",
"require": "./lib-commonjs/index.js"
},
"./lib/AppDefinition": {
"types": "./lib/AppDefinition.d.ts",
"import": "./lib/AppDefinition.js",
"require": "./lib-commonjs/AppDefinition.js"
},
"./dist/api": "./dist/api",
"./dist/api/references": "./dist/api/references"
},
"sideEffects": [
"*.global.*",
"*Examples.*",
Expand All @@ -27,13 +41,6 @@
"start": "just-scripts dev",
"update-snapshots": "just-scripts jest -u"
},
"devDependencies": {
"@fluentui/api-docs": "*",
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-monorepo": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
"@fluentui/react": "*",
"@fluentui/react-charting": "*",
Expand Down
6 changes: 0 additions & 6 deletions apps/public-docsite-v9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@
"storybook:docs": "yarn storybook --docs",
"test": "jest --passWithNoTests"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-storybook": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/storybook-llms-extractor": "*"
},
"dependencies": {
"@fluentui/react-calendar-compat": "*",
"@fluentui/react-datepicker-compat": "*",
Expand Down
7 changes: 1 addition & 6 deletions apps/public-docsite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@
},
"license": "MIT",
"devDependencies": {
"@fluentui/common-styles": "*",
"@fluentui/eslint-plugin": "*",
"@fluentui/react-monaco-editor": "*",
"write-file-webpack-plugin": "^4.1.0",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-webpack": "*"
"write-file-webpack-plugin": "^4.1.0"
},
"dependencies": {
"@fluentui/font-icons-mdl2": "*",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { IPageJson } from '@fluentui/react/lib/common/DocPage.types';

export interface IControlsPageProps extends IPageProps<Platforms> {}

const apiRequireContext = require.context('@fluentui/public-docsite-resources/dist/api/', true, /^(?!references).*/);
const apiRequireContext = require.context('@fluentui/public-docsite-resources/dist/api', true, /^(?!references).*/);

const webPlatformBanner = {
banner: {
Expand Down
2 changes: 1 addition & 1 deletion apps/rit-tests-v8/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const config = createConfig({
displayName: 'rit-tests-v8',
coverageDirectory: './coverage',
setupFilesAfterEnv: ['./config/tests.js'],
snapshotSerializers: ['@fluentui/jest-serializer-merge-styles'],
snapshotSerializers: [require.resolve('@fluentui/jest-serializer-merge-styles')],
});

// use default jest config to properly resolve react-18
Expand Down
8 changes: 0 additions & 8 deletions apps/rit-tests-v8/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,6 @@
"description": "React Integration Tester application for problematic v8 scenarios",
"version": "1.0.0",
"private": true,
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-cypress": "*",
"@fluentui/scripts-jest": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-webpack": "*",
"@fluentui/scripts-storybook": "*"
},
"dependencies": {
"@fluentui/react": "*",
"@fluentui/react-cards": "*",
Expand Down
1 change: 0 additions & 1 deletion apps/rit-tests-v8/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"name": "rit-tests-v8",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"implicitDependencies": [],
"tags": ["v8"],
"targets": {
"test": {
Expand Down
3 changes: 0 additions & 3 deletions apps/rit-tests-v9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"description": "React Integration Tester application for problematic v9 scenarios",
"version": "1.0.0",
"private": true,
"devDependencies": {
"@fluentui/eslint-plugin": "*"
},
"dependencies": {
"@fluentui/react-components": "*",
"@fluentui/react-calendar-compat": "*",
Expand Down
5 changes: 0 additions & 5 deletions apps/ssr-tests-v9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,5 @@
"dependencies": {
"@fluentui/react-components": "*",
"@fluentui/react-utilities": "*"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-storybook": "*"
}
}
9 changes: 2 additions & 7 deletions apps/ssr-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,13 @@
"scripts": {
"type-check": "tsc -p . --noEmit --baseUrl .",
"bundle": "just-scripts bundle",
"test-ssr": "just-scripts test",
"just": "just-scripts"
"test-ssr": "just-scripts test"
},
"license": "MIT",
"devDependencies": {
"@types/mocha": "10.0.10",
"mocha": "11.2.2",
"@microsoft/load-themed-styles": "^1.10.26",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-webpack": "*",
"@fluentui/react": "*",
"@fluentui/public-docsite-resources": "*"
"@microsoft/load-themed-styles": "^1.10.26"
},
"dependencies": {
"tslib": "^2.1.0"
Expand Down
2 changes: 1 addition & 1 deletion apps/ssr-tests/test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ initializeIcons('dist/', { disableWarnings: true });
let assert = require('assert');
let React = require('react');
let ReactDOMServer = require('react-dom/server');
let AppDefinition = require('@fluentui/public-docsite-resources/lib/AppDefinition').AppDefinition;
let { AppDefinition } = require('@fluentui/public-docsite-resources/lib/AppDefinition');

describe('Fabric components', () => {
for (let i = 0; i < AppDefinition.examplePages.length; i++) {
Expand Down
5 changes: 0 additions & 5 deletions apps/theming-designer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
"code-style": "just-scripts code-style",
"start": "just-scripts dev"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-webpack": "*"
},
"dependencies": {
"@fluentui/react": "*",
"@fluentui/merge-styles": "*",
Expand Down
4 changes: 0 additions & 4 deletions apps/ts-minbar-test-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@
"scripts": {
"type-check": "tsc -p .",
"test-integration": "ts-node --transpileOnly ./src/index.ts"
},
"devDependencies": {
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-projects-test": "*"
}
}
4 changes: 0 additions & 4 deletions apps/ts-minbar-test-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@
"scripts": {
"type-check": "tsc -p .",
"test-integration": "ts-node --transpileOnly ./src/index.ts"
},
"devDependencies": {
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-projects-test": "*"
}
}
5 changes: 0 additions & 5 deletions apps/vr-tests-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
"type-check": "tsc -p . --noEmit --baseUrl .",
"test-vr": "storywright --browsers chromium --url dist/storybook --destpath dist/screenshots --waitTimeScreenshot 500 --concurrency 4 --headless true --bailOnStoriesError --stepsApi parameters"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-tasks": "*",
"@fluentui/scripts-storybook": "*"
},
"dependencies": {
"@fluentui/react-accordion": "*",
"@fluentui/react-avatar": "*",
Expand Down
5 changes: 0 additions & 5 deletions apps/vr-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
"type-check": "tsc -p . --noEmit --baseUrl .",
"test-vr": "storywright --browsers chromium --url dist/storybook --destpath dist/screenshots --waitTimeScreenshot 500 --concurrency 4 --headless true --stepsApi parameters --bailOnStoriesError"
},
"devDependencies": {
"@fluentui/eslint-plugin": "*",
"@fluentui/scripts-storybook": "*",
"@fluentui/scripts-tasks": "*"
},
"dependencies": {
"@fluentui/example-data": "*",
"@fluentui/font-icons-mdl2": "*",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/api-docs",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/azure-themes",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/babel-preset-global-context",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/babel-preset-storybook-full-source",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/chart-utilities",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/chart-web-components",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/codemods",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/common-styles",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/cra-template",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/date-time-utilities",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/dom-utilities",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/example-data",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/fluent2-theme",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/font-icons-mdl2",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "chore: use nx graph instead of manually defined devDependencies in package.json files across whole workspace",
"packageName": "@fluentui/foundation-legacy",
"email": "martinhochel@microsoft.com",
"dependentChangeType": "none"
}
Loading