Skip to content

Commit

Permalink
chore: Converting nx projects to inferred
Browse files Browse the repository at this point in the history
  • Loading branch information
NickTsitlakidis committed Jun 4, 2024
1 parent 396f245 commit dd9c4af
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
8 changes: 2 additions & 6 deletions apps/example/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/example/src",
"projectType": "application",
"tags": [],
"targets": {
"build": {
"executor": "@nx/webpack:webpack",
Expand Down Expand Up @@ -38,17 +39,12 @@
}
}
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
"options": {
"jestConfig": "apps/example/jest.config.ts"
}
}
},
"tags": []
}
}
8 changes: 2 additions & 6 deletions libs/core/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/core/src",
"projectType": "library",
"tags": ["publishable"],
"targets": {
"build": {
"executor": "@nx/js:tsc",
Expand All @@ -20,10 +21,6 @@
"command": "node tools/scripts/publish.mjs core {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
Expand All @@ -34,6 +31,5 @@
"codeCoverage": true
}
}
},
"tags": ["publishable"]
}
}
8 changes: 2 additions & 6 deletions libs/mongodb/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "libs/mongodb/src",
"projectType": "library",
"tags": ["publishable"],
"targets": {
"build": {
"executor": "@nx/js:tsc",
Expand All @@ -20,10 +21,6 @@
"command": "node tools/scripts/publish.mjs mongodb {args.ver} {args.tag}",
"dependsOn": ["build"]
},
"lint": {
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"]
},
"test": {
"executor": "@nx/jest:jest",
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
Expand All @@ -34,6 +31,5 @@
"codeCoverage": true
}
}
},
"tags": ["publishable"]
}
}

0 comments on commit dd9c4af

Please sign in to comment.