chore(dependencies): update NX and repair config

This commit is contained in:
Matej Kriz
2023-06-07 15:39:43 +02:00
committed by Matěj Kříž
parent f2f12e5673
commit 146a7c5918
3 changed files with 65 additions and 59 deletions

18
nx.json
View File

@@ -18,14 +18,18 @@
},
"extends": "nx/presets/npm.json",
"namedInputs": {
"default": ["{projectRoot}/**/*"],
"prod": ["!{projectRoot}/**/*.test.{ts,tsx}"]
"sharedGlobals": [
"{workspaceRoot}/nx.json",
"{workspaceRoot}/.yarnrc.yml",
"{workspaceRoot}/patches/*.patch"
],
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"prod": ["default", "!{projectRoot}/**/*.test.{ts,tsx}"]
},
"targetDefaults": {
"build:lib": {
"dependsOn": ["^build:lib"],
"inputs": [
"default",
"^prod",
"{workspaceRoot}/tsconfig.json",
"{workspaceRoot}/tsconfig.aliases.json",
@@ -36,7 +40,6 @@
"type-check": {
"dependsOn": ["^build:lib", "^type-check"],
"inputs": [
"default",
"^prod",
"{workspaceRoot}/tsconfig.json",
"{workspaceRoot}/tsconfig.aliases.json",
@@ -46,7 +49,6 @@
"test:unit": {
"dependsOn": ["^build:lib"],
"inputs": [
"default",
"^prod",
"{workspaceRoot}/jest.config.base.js",
"{workspaceRoot}/jest.config.native.js"
@@ -59,12 +61,6 @@
"inputs": ["default"]
}
},
"implicitDependencies": {
"package.json": "*",
"nx.json": "*",
".yarnrc.yml": "*",
"patches/*.patch": "*"
},
"affected": {
"defaultBase": "origin/develop"
},