Skip to content

Commit

Permalink
chore: update nx
Browse files Browse the repository at this point in the history
  • Loading branch information
LinboLen committed May 6, 2024
1 parent 77b9d2c commit 8104b34
Show file tree
Hide file tree
Showing 8 changed files with 12,521 additions and 11,571 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,5 @@ testem.log
__ngcc_entry_points__.json
/.theia
.env
.angular
/.angular
/.nx
23 changes: 0 additions & 23 deletions BUILD.bazel

This file was deleted.

193 changes: 73 additions & 120 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,137 +1,90 @@
{
"npmScope": "applications",
"affected": {
"defaultBase": "master"
"$schema": "./node_modules/nx/schemas/nx-schema.json",
"namedInputs": {
"default": ["{projectRoot}/**/*", "sharedGlobals"],
"production": [
"default",
"!{projectRoot}/.eslintrc.json",
"!{projectRoot}/eslint.config.js",
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
"!{projectRoot}/tsconfig.spec.json",
"!{projectRoot}/jest.config.[jt]s",
"!{projectRoot}/src/test-setup.[jt]s",
"!{projectRoot}/test-setup.[jt]s",
"!{projectRoot}/cypress/**/*",
"!{projectRoot}/**/*.cy.[jt]s?(x)",
"!{projectRoot}/cypress.config.[jt]s"
],
"sharedGlobals": []
},
"implicitDependencies": {
"angular.json": "*",
"package.json": {
"dependencies": "*",
"devDependencies": "*"
},
"tsconfig.base.json": "*",
"tslint.json": "*",
".eslintrc.json": "*",
"nx.json": "*"
},
"tasksRunnerOptions": {
"default": {
"runner": "@nrwl/workspace/tasks-runners/default",
"targetDefaults": {
"@angular-devkit/build-angular:application": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
},
"@nx/eslint:lint": {
"cache": true,
"inputs": [
"default",
"{workspaceRoot}/.eslintrc.json",
"{workspaceRoot}/.eslintignore",
"{workspaceRoot}/eslint.config.js"
]
},
"@nx/jest:jest": {
"cache": true,
"inputs": ["default", "^production", "{workspaceRoot}/jest.preset.js"],
"options": {
"cacheableOperations": [
"build",
"lint",
"test",
"e2e",
"build-storybook"
]
}
}
},
"projects": {
"action-runner": {
"tags": []
},
"annotation": {
"tags": []
},
"check-type": {
"tags": []
},
"date-math": {
"tags": ["pkg"]
},
"dev-app": {
"tags": []
},
"fedaco": {
"tags": []
},
"form-builder": {
"tags": []
},
"http": {
"tags": []
},
"iterator": {
"tags": []
},
"nanofn": {
"tags": []
},
"runtime-drag": {
"tags": []
},
"stove": {
"tags": []
},
"triangle": {
"tags": []
},
"triangle-api": {
"tags": []
},
"triangle-icons": {
"tags": []
},
"vector-math": {
"tags": []
},
"workspace": {}
},
"cli": {
"defaultCollection": "@nrwl/angular",
"analytics": false
},
"generators": {
"@nrwl/workspace": {
"library": {
"linter": "tslint"
}
},
"@nrwl/cypress": {
"cypress-project": {
"linter": "tslint"
}
},
"@nrwl/node": {
"application": {
"linter": "tslint"
"passWithNoTests": true
},
"library": {
"linter": "tslint"
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
}
},
"@nrwl/nest": {
"application": {
"linter": "eslint"
},
"library": {
"linter": "eslint"
"@nx/angular:package": {
"cache": true,
"dependsOn": ["^build"],
"inputs": ["production", "^production"]
}
},
"plugins": [
{
"plugin": "@nx/cypress/plugin",
"options": {
"targetName": "e2e",
"openTargetName": "open-cypress",
"componentTestingTargetName": "component-test",
"ciTargetName": "e2e-ci"
}
},
"@nrwl/express": {
"application": {
"linter": "tslint"
},
"library": {
"linter": "tslint"
{
"plugin": "@nx/eslint/plugin",
"options": {
"targetName": "lint"
}
},
"@nrwl/angular:application": {
"style": "scss",
}
],
"generators": {
"@nx/angular:application": {
"e2eTestRunner": "cypress",
"linter": "eslint",
"unitTestRunner": "jest",
"e2eTestRunner": "cypress"
},
"@nrwl/angular:library": {
"style": "scss",
"unitTestRunner": "jest"
},
"@nx/angular:library": {
"linter": "eslint",
"unitTestRunner": "jest"
},
"@nrwl/angular:component": {
"style": "scss"
"@nx/angular:component": {
"style": "css"
}
},
"defaultProject": ""
"workspaceLayout": {
"appsDir": "apps",
"libsDir": "libs"
}
}
Loading

0 comments on commit 8104b34

Please sign in to comment.