nx/nx.json
Jason Jean c1d375883f
chore(repo): update nx to 21.0.0-beta.10 (#30906)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

This repo uses Nx 21.0.0-beta.8.

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

This repo uses Nx 21.0.0-beta.10

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2025-04-29 13:32:48 -04:00

397 lines
11 KiB
JSON

{
"$schema": "packages/nx/schemas/nx-schema.json",
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"production": [
"default",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/jest.config.[jt]s",
"!{projectRoot}/.eslintrc.json",
"!{projectRoot}/.storybook/**/*",
"!{projectRoot}/**/*.stories.@(js|jsx|ts|tsx|mdx)",
"!{projectRoot}/tsconfig.storybook.json",
"!{projectRoot}/src/test-setup.[jt]s"
],
"sharedGlobals": [
"{workspaceRoot}/babel.config.json",
"{workspaceRoot}/.nx/workflows/agents.yaml",
"{workspaceRoot}/.github/workflows/ci.yml"
],
"native": [
"{projectRoot}/**/*.rs",
"{projectRoot}/**/Cargo.*",
{
"runtime": "node -p '`${process.platform}_${process.arch}`'"
},
{
"externalDependencies": ["npm:@monodon/rust", "npm:@napi-rs/cli"]
}
],
"e2eInputs": [
"default",
"{workspaceRoot}/jest.preset.js",
"{workspaceRoot}/.verdaccio/config.yml",
"{workspaceRoot}/scripts/local-registry/**/*",
"{workspaceRoot}/scripts/nx-release.ts",
{
"env": "SELECTED_CLI"
},
{
"env": "SELECTED_PM"
},
{
"env": "NX_E2E_CI_CACHE_KEY"
},
{
"env": "CI"
},
{
"env": "NX_E2E_RUN_E2E"
}
]
},
"release": {
"projects": ["packages/*", "packages/nx/native-packages/*"],
"releaseTagPattern": "{version}",
"changelog": {
"workspaceChangelog": {
"createRelease": "github",
"file": false
},
"git": {
"commit": false,
"stageChanges": false,
"tag": false
}
},
"version": {
"git": {
"commit": false,
"stageChanges": false,
"tag": false
},
"currentVersionResolver": "registry",
"preserveLocalDependencyProtocols": false,
"manifestRootsToUpdate": ["build/packages/{projectName}"],
"versionActionsOptions": {
"skipLockFileUpdate": true
}
}
},
"targetDefaults": {
"nx-release-publish": {
"options": {
"packageRoot": "build/packages/{projectName}"
}
},
"build": {
"dependsOn": ["build-base", "build-native"],
"inputs": ["production", "^production"],
"cache": true
},
"build-native": {
"inputs": ["native"],
"cache": true
},
"build-base": {
"dependsOn": ["^build-base", "build-native"],
"inputs": ["production", "^production"],
"executor": "@nx/js:tsc",
"options": {
"outputPath": "build/{projectRoot}",
"tsConfig": "{projectRoot}/tsconfig.lib.json",
"main": "{projectRoot}/index.ts"
},
"outputs": ["{options.outputPath}"],
"cache": true
},
"test-native": {
"inputs": ["native"],
"executor": "@monodon/rust:test",
"options": {},
"cache": true
},
"test": {
"dependsOn": ["test-native", "build-native", "^build-native"],
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"options": {
"args": ["--passWithNoTests", "--detectOpenHandles", "--forceExit"]
}
},
"lint": {
"dependsOn": [
"build-native",
"^build-native",
"@nx/nx-source:lint-pnpm-lock"
]
},
"lint-pnpm-lock": {
"cache": true
},
"e2e": {
"cache": true,
"inputs": ["e2eInputs", "^production"]
},
"e2e-local": {
"cache": true,
"inputs": ["e2eInputs", "^production"]
},
"e2e-ci": {
"inputs": ["e2eInputs", "^production"]
},
"e2e-macos-local": {
"cache": true,
"inputs": ["e2eInputs", "^production"],
"parallelism": false
},
"e2e-macos-ci": {
"inputs": ["e2eInputs", "^production"]
},
"e2e-ci--**/**": {
"inputs": ["e2eInputs", "^production"],
"dependsOn": [
"@nx/nx-source:populate-local-registry-storage",
"@nx/nx-source:local-registry"
]
},
"e2e-macos-ci--**/*": {
"inputs": ["e2eInputs", "^production"],
"dependsOn": [
"@nx/nx-source:populate-local-registry-storage",
"@nx/nx-source:local-registry"
]
},
"e2e-base": {
"inputs": ["default", "^production"]
},
"build-storybook": {
"inputs": [
"default",
"^production",
"{workspaceRoot}/.storybook/**/*",
"{projectRoot}/.storybook/**/*",
"{projectRoot}/tsconfig.storybook.json"
],
"cache": true
},
"build-ng": {
"cache": true
},
"sitemap": {
"cache": true
},
"copy-docs": {
"cache": true
}
},
"plugins": [
"@monodon/rust",
{
"plugin": "@nx/playwright/plugin",
"options": {
"targetName": "pw-e2e",
"ciTargetName": "e2e-ci"
}
},
{
"plugin": "@nx/eslint/plugin",
"exclude": ["packages/**/__fixtures__/**/*"],
"options": {
"targetName": "lint"
}
},
{
"plugin": "@nx/jest/plugin",
"exclude": [
"e2e/**/*",
"packages/**/__fixtures__/**/*",
"jest.config.ts"
],
"options": {
"targetName": "test"
}
},
{
"plugin": "@nx/webpack/plugin",
"options": {
"serveTargetName": "serve-base",
"buildTargetName": "build-client"
}
},
{
"plugin": "@nx/jest/plugin",
"include": ["e2e/**/*"],
"exclude": ["e2e/detox/**/*", "e2e/react-native/**/*", "e2e/expo/**/*"],
"options": {
"targetName": "e2e-local",
"ciTargetName": "e2e-ci"
}
},
{
"plugin": "@nx/jest/plugin",
"include": ["e2e/detox/**/*", "e2e/react-native/**/*", "e2e/expo/**/*"],
"options": {
"targetName": "e2e-macos-local",
"ciTargetName": "e2e-macos-ci"
}
},
{
"plugin": "@nx/next/plugin",
"options": {
"startTargetName": "next:start",
"buildTargetName": "next:build",
"devTargetName": "dev",
"serveStaticTargetName": "serve-static"
}
},
"@nx/powerpack-enterprise-cloud",
{
"plugin": "@nx/storybook/plugin",
"options": {
"serveStorybookTargetName": "serve:storybook",
"buildStorybookTargetName": "build:storybook",
"testStorybookTargetName": "test-storybook",
"staticStorybookTargetName": "static:storybook"
}
}
],
"nxCloudId": "62d013ea0852fe0a2df74438",
"nxCloudUrl": "https://staging.nx.app",
"parallel": 1,
"bust": 1,
"defaultBase": "master",
"conformance": {
"rules": [
{
"rule": "@nx/workspace-plugin/conformance-rules/blog-description",
"projects": ["docs"],
"options": {
"mdGlobPattern": "{blog,shared}/**/!(sitemap).md"
}
},
{
"rule": "@nx/workspace-plugin/conformance-rules/project-package-json",
"projects": [
"!.",
"!create-nx-*",
"!cypress",
"!detox",
"!devkit",
"!esbuild",
"!eslint-plugin",
"!eslint",
"!expo",
"!express",
"!jest",
"!js",
"!module-federation",
"!nest",
"!next",
"!node",
"!nuxt",
"!packages/nx/**",
"!plugin",
"!react-native",
"!react",
"!rollup",
"!rsbuild",
"!rspack",
"!storybook",
"!vue",
"!web",
"!webpack",
"!workspace"
]
},
{
"rule": "@nx/workspace-plugin/conformance-rules/migration-groups",
"options": {
"versionRange": ">= 19.8",
"groups": [
[
"angular-eslint",
"@angular-eslint/eslint-plugin",
"@angular-eslint/eslint-plugin-template",
"@angular-eslint/template-parser",
"@angular-eslint/utils",
"@angular-eslint/schematics",
"@angular-eslint/test-utils",
"@angular-eslint/builder",
"@angular-eslint/bundled-angular-compiler"
],
[
"typescript-eslint",
"@typescript-eslint/eslint-plugin",
"@typescript-eslint/parser",
"@typescript-eslint/utils",
"@typescript-eslint/rule-tester",
"@typescript-eslint/scope-manager",
"@typescript-eslint/typescript-estree"
],
[
"@storybook/addon-controls",
"@storybook/addon-essentials",
"@storybook/addon-jest",
"@storybook/addon-mdx-gfm",
"@storybook/addon-onboarding",
"@storybook/addon-themes",
"@storybook/angular",
"@storybook/blocks",
"@storybook/builder-manager",
"@storybook/builder-webpack5",
"@storybook/cli",
"@storybook/components",
"@storybook/core",
"@storybook/core-common",
"@storybook/core-events",
"@storybook/core-server",
"@storybook/core-webpack",
"@storybook/csf-tools",
"@storybook/html",
"@storybook/html-vite",
"@storybook/html-webpack5",
"@storybook/manager",
"@storybook/manager-api",
"@storybook/nextjs",
"@storybook/preact",
"@storybook/preact-vite",
"@storybook/preact-webpack5",
"@storybook/preset-create-react-app",
"@storybook/preset-html-webpack",
"@storybook/preset-preact-webpack",
"@storybook/preset-react-webpack",
"@storybook/preset-server-webpack",
"@storybook/preset-vue3-webpack",
"@storybook/react",
"@storybook/react-vite",
"@storybook/react-webpack5",
"@storybook/router",
"@storybook/server",
"@storybook/server-webpack5",
"@storybook/svelte",
"@storybook/svelte-vite",
"@storybook/sveltekit",
"@storybook/theming",
"@storybook/types",
"@storybook/vue3",
"@storybook/vue3-vite",
"@storybook/vue3-webpack5",
"@storybook/web-components",
"@storybook/web-components-vite",
"@storybook/web-components-webpack5"
]
]
}
}
]
},
"generators": {
"@nx/react": {
"library": {
"unitTestRunner": "jest"
}
}
}
}