Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
138 changes: 32 additions & 106 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,65 +21,36 @@
"native": [
"{projectRoot}/**/*.rs",
"{projectRoot}/**/Cargo.*",
{
"runtime": "node -p '`${process.platform}_${process.arch}`'"
},
{
"runtime": "rustc --version"
},
{
"externalDependencies": ["npm:@monodon/rust", "npm:@napi-rs/cli"]
}
{ "runtime": "node -p '`${process.platform}_${process.arch}`'" },
{ "runtime": "rustc --version" },
{ "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"
}
{ "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
}
"workspaceChangelog": { "createRelease": "github", "file": false },
"git": { "commit": false, "stageChanges": false, "tag": false }
},
"version": {
"git": {
"commit": false,
"stageChanges": false,
"tag": false
},
"git": { "commit": false, "stageChanges": false, "tag": false },
"currentVersionResolver": "registry",
"preserveLocalDependencyProtocols": false,
"manifestRootsToUpdate": ["dist/packages/{projectName}"],
"versionActionsOptions": {
"skipLockFileUpdate": true
}
"versionActionsOptions": { "skipLockFileUpdate": true }
}
},
"targetDefaults": {
Expand All @@ -90,9 +61,7 @@
}
},
"nx-release-publish": {
"options": {
"packageRoot": "dist/packages/{projectName}"
}
"options": { "packageRoot": "dist/packages/{projectName}" }
},
"build": {
"dependsOn": [
Expand All @@ -105,10 +74,7 @@
"inputs": ["production", "^production"],
"cache": true
},
"build-native": {
"inputs": ["native"],
"cache": true
},
"build-native": { "inputs": ["native"], "cache": true },
"build-base": {
"dependsOn": ["^build-base", "build-native"],
"inputs": ["production", "^production"],
Expand All @@ -127,13 +93,8 @@
"args": ["--passWithNoTests", "--detectOpenHandles", "--forceExit"]
}
},
"lint": {
"dependsOn": ["build-native", "^build-native"]
},
"e2e": {
"cache": true,
"inputs": ["e2eInputs", "^production"]
},
"lint": { "dependsOn": ["build-native", "^build-native"] },
"e2e": { "cache": true, "inputs": ["e2eInputs", "^production"] },
"e2e-local": {
"cache": true,
"inputs": ["e2eInputs", "^production"],
Expand All @@ -142,9 +103,7 @@
"@nx/nx-source:local-registry"
]
},
"e2e-ci": {
"inputs": ["e2eInputs", "^production"]
},
"e2e-ci": { "inputs": ["e2eInputs", "^production"] },
"e2e-macos-local": {
"cache": true,
"inputs": ["e2eInputs", "^production"],
Expand All @@ -153,9 +112,7 @@
"@nx/nx-source:local-registry"
]
},
"e2e-macos-ci": {
"inputs": ["e2eInputs", "^production"]
},
"e2e-macos-ci": { "inputs": ["e2eInputs", "^production"] },
"e2e-ci--**/**": {
"inputs": ["e2eInputs", "^production"],
"dependsOn": [
Expand All @@ -170,9 +127,7 @@
"@nx/nx-source:local-registry"
]
},
"e2e-base": {
"inputs": ["default", "^production"]
},
"e2e-base": { "inputs": ["default", "^production"] },
"build-storybook": {
"inputs": [
"default",
Expand All @@ -183,15 +138,9 @@
],
"cache": true
},
"build-ng": {
"cache": true
},
"sitemap": {
"cache": true
},
"copy-docs": {
"cache": true
},
"build-ng": { "cache": true },
"sitemap": { "cache": true },
"copy-docs": { "cache": true },
"legacy-post-build": {
"dependsOn": ["build-base"],
"cache": true,
Expand All @@ -207,33 +156,21 @@
"packages/angular-rspack-compiler/**",
"packages/angular-rspack/**"
],
"options": {
"testTargetName": "test"
}
"options": { "testTargetName": "test" }
},
{
"plugin": "@nx/js/typescript",
"exclude": ["examples/angular-rspack/**/*"],
"options": {
"typecheck": true,
"build": {
"targetName": "build-base"
}
}
"options": { "typecheck": true, "build": { "targetName": "build-base" } }
},
{
"plugin": "@nx/playwright/plugin",
"options": {
"targetName": "pw-e2e",
"ciTargetName": "e2e-ci"
}
"options": { "targetName": "pw-e2e", "ciTargetName": "e2e-ci" }
},
{
"plugin": "@nx/eslint/plugin",
"exclude": ["packages/**/__fixtures__/**/*"],
"options": {
"targetName": "lint"
}
"options": { "targetName": "lint" }
},
{
"plugin": "@nx/jest/plugin",
Expand All @@ -242,9 +179,7 @@
"packages/**/__fixtures__/**/*",
"jest.config.ts"
],
"options": {
"targetName": "test"
}
"options": { "targetName": "test" }
},
{
"plugin": "@nx/webpack/plugin",
Expand All @@ -257,10 +192,7 @@
"plugin": "@nx/jest/plugin",
"include": ["e2e/**/*"],
"exclude": ["e2e/detox/**/*", "e2e/react-native/**/*", "e2e/expo/**/*"],
"options": {
"targetName": "e2e-local",
"ciTargetName": "e2e-ci"
}
"options": { "targetName": "e2e-local", "ciTargetName": "e2e-ci" }
},
{
"plugin": "@nx/jest/plugin",
Expand Down Expand Up @@ -301,29 +233,23 @@
}
}
],
"nxCloudId": "62d013ea0852fe0a2df74438",
"nxCloudId": "68bada86c566ce8fa0e9cedb",
"nxCloudUrl": "https://staging.nx.app",
"parallel": 1,
"bust": 1,
"defaultBase": "master",
"sync": {
"applyChanges": true
},
"sync": { "applyChanges": true },
"conformance": {
"rules": [
{
"rule": "./tools/workspace-plugin/src/conformance-rules/blog-description",
"projects": ["docs"],
"options": {
"mdGlobPattern": "{blog,shared}/**/!(sitemap).md"
}
"options": { "mdGlobPattern": "{blog,shared}/**/!(sitemap).md" }
},
{
"rule": "./tools/workspace-plugin/src/conformance-rules/blog-cover-image",
"projects": ["docs"],
"options": {
"mdGlobPattern": "blog/**/!(sitemap).md"
}
"options": { "mdGlobPattern": "blog/**/!(sitemap).md" }
},
{
"rule": "./tools/workspace-plugin/src/conformance-rules/project-package-json",
Expand Down