nx/nx.json
Jack Hsu 75c1da3245
chore(repo): update to 20.0.0-beta.8 (#28300)
<!-- 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 -->

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

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

Fixes #

---------

Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2024-10-04 18:24:47 -04:00

256 lines
6.2 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}/.circleci/config.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": {
"generatorOptions": {
"packageRoot": "build/packages/{projectName}",
"currentVersionResolver": "registry",
"skipLockFileUpdate": true
},
"git": {
"commit": false,
"stageChanges": false,
"tag": false
}
}
},
"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"],
"parallelism": false,
"dependsOn": ["@nx/nx-source:populate-local-registry-storage"]
},
"e2e-macos-ci--**/*": {
"inputs": ["e2eInputs", "^production"],
"parallelism": false,
"dependsOn": ["@nx/nx-source:populate-local-registry-storage"]
},
"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"
}
}
],
"nxCloudId": "62d013ea0852fe0a2df74438",
"nxCloudUrl": "https://staging.nx.app",
"parallel": 1,
"cacheDirectory": "/tmp/nx-cache",
"bust": 8,
"defaultBase": "master",
"generators": {
"@nx/react": {
"library": {}
}
}
}