{ "$schema": "./node_modules/nx/schemas/nx-schema.json", "workspaceLayout": { "libsDir": "packages", "appsDir": "apps" }, "targetDefaults": { "bundle-size": { "dependsOn": ["build"], "cache": true }, "bundle": { "cache": true, "dependsOn": ["^build"] }, "build": { "dependsOn": ["^build"], "inputs": ["production", "^production", "{workspaceRoot}/scripts/api-extractor/api-extractor.*.json"], "cache": true, "syncGenerators": [ "@fluentui/workspace-plugin:export-maps-sync", "@fluentui/workspace-plugin:bundle-size-fixtures-sync" ] }, "build-storybook": { "dependsOn": [], "outputs": ["{projectRoot}/dist/storybook"], "inputs": ["default", "{workspaceRoot}/.storybook/**", "{projectRoot}/.storybook/**"], "cache": true }, "generate-api": { "dependsOn": ["^generate-api"], "cache": true }, "type-check": { "dependsOn": ["^build"], "cache": true }, "prepare": { "dependsOn": ["^prepare"], "cache": true }, "test": { "dependsOn": [], "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"], "cache": true, "options": { "passWithNoTests": true } }, "test-integration": { "dependsOn": ["build", "^build"], "cache": true }, "test-ssr": { "cache": true }, "test-vr": { "dependsOn": ["build-storybook"], "cache": true }, "test-perf": { "dependsOn": [], "cache": true }, "e2e": { "dependsOn": [ { "target": "build", "projects": "scripts-cypress" } ], "cache": true, "inputs": ["default", "{projectRoot}/cypress.config.ts", "!{projectRoot}/**/?(*.)+cy.[jt]s?(x)?"] }, "lint": { "executor": "nx:run-commands", "dependsOn": ["build"], "cache": true, "inputs": ["default", "{workspaceRoot/eslint.config.js}"], "options": { "command": "eslint src" } }, "format": { "executor": "nx:run-commands", "options": { "command": "prettier --write {projectRoot}" }, "metadata": { "help": { "command": "yarn prettier --help", "options": {} } }, "configurations": { "check": { "command": "prettier --check {projectRoot}" } } }, "verify-packaging": { "dependsOn": ["build"], "inputs": ["production"], "cache": true }, "test-rit--*--prepare": { "dependsOn": ["^build"] }, "@nx/jest:jest": { "inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"], "cache": true, "options": { "passWithNoTests": true }, "configurations": { "ci": { "ci": true, "codeCoverage": true } } }, "@nx/js:swc": { "cache": true, "dependsOn": ["^build"], "inputs": ["production", "^production"] } }, "namedInputs": { "default": ["{projectRoot}/**/*", "sharedGlobals", "{workspaceRoot}/.github/workflows/pr.yml"], "sharedGlobals": [], "production": [ "default", "!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", "!{projectRoot}/tsconfig.spec.json", "!{projectRoot}/jest.config.[jt]s", "!{projectRoot}/src/test-setup.[jt]s", "!{projectRoot}/bundle-size/**" ] }, "release": { "projectsRelationship": "independent" }, "sync": { "globalGenerators": [ "@fluentui/workspace-plugin:export-maps-sync", "@fluentui/workspace-plugin:bundle-size-fixtures-sync" ] }, "parallel": 3, "useInferencePlugins": false, "defaultBase": "master", "tui": { "enabled": false }, "plugins": [ { "plugin": "./tools/workspace-plugin/src/plugins/workspace-plugin.ts", "options": { "testSSR": { "exclude": ["react-theme-stories", "react-migration-v8-v9-stories", "react-migration-v0-v9-stories"] }, "verifyPackaging": { "include": [ "react-components", "react-headless-components-preview", "react-utilities", "react-button", "react-charts" ] }, "reactIntegrationTesting": { "targetName": "test-rit", "reactVersions": ["17", "18"], "exclude": [ "react-theme-sass", "babel-preset-global-context", "eslint-plugin-react-components", "react-migration-v0-v9", "react-migration-v0-v9-stories", "public-docsite-v9-headless" ] } }, "include": [ "apps/public-docsite-v9-headless/**", "apps/rit-tests-v9/*", "apps/rit-tests-v8/*", "tools/**/*", "scripts/**/*", "packages/eslint-plugin/**", "packages/tokens/**", "packages/react-conformance/**", "packages/react-components/**/*", "packages/charts/react-charts/**/*", "packages/foundation-legacy/**", "packages/jest-serializer-merge-styles/**", "packages/react/**", "packages/react-cards/**", "packages/react-hooks/**", "packages/react-focus/**", "packages/react-examples/**", "packages/react-experiments/**", "packages/react-window-provider/**", "packages/react-icon-provider/**", "packages/charts/react-charting/**", "packages/utilities/**", "packages/react-icons-mdl2/**", "packages/react-monaco-editor/**", "packages/react-docsite-components/**", "packages/react-file-type-icons/**" ] } ], "useLegacyCache": true }