Skip to content

Commit 03da82f

Browse files
committed
feat(json-api-nestjs-microorm): fix after update nx
1 parent e51f07c commit 03da82f

File tree

3 files changed

+20
-9
lines changed

3 files changed

+20
-9
lines changed

libs/json-api/json-api-nestjs-microorm/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
"peerDependencies": {
1818
"@klerick/json-api-nestjs": "0.0.0",
1919
"@mikro-orm/nestjs": "^6.1.0"
20-
}
20+
},
21+
"dependencies": {}
2122
}

libs/json-api/json-api-nestjs-microorm/project.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
"implicitDependencies": ["json-api-nestjs"],
1313
"targets": {
1414
"build-common": {
15-
"dependsOn": ["^build", "^build-cjs", "^build-mjs"],
15+
"dependsOn": [
16+
{
17+
"projects": ["json-api-nestjs"],
18+
"target": "build",
19+
"params": "ignore"
20+
}
21+
],
1622
"executor": "@nx/js:tsc",
1723
"outputs": ["{options.outputPath}"],
1824
"options": {
@@ -49,6 +55,15 @@
4955
"parallel": false
5056
}
5157
},
58+
"test": {
59+
"executor": "@nx/jest:jest",
60+
"outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
61+
"options": {
62+
"jestConfig": "{projectRoot}/jest.config.ts",
63+
"codeCoverage": true,
64+
"coverageReporters": ["json-summary"]
65+
}
66+
},
5267
"upload-badge": {
5368
"executor": "nx:run-commands",
5469
"dependsOn": [

libs/json-api/json-api-nestjs-microorm/tsconfig.lib.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,13 @@
44
"outDir": "../../../dist/out-tsc",
55
"declaration": true,
66
"types": ["node"],
7-
"target": "es2023",
7+
"target": "es2021",
88
"strictNullChecks": true,
99
"noImplicitAny": true,
1010
"strictBindCallApply": true,
1111
"forceConsistentCasingInFileNames": true,
1212
"noFallthroughCasesInSwitch": true
1313
},
1414
"include": ["src/**/*.ts"],
15-
"exclude": ["src/**/*.spec.ts", "src/**/*.test.ts", "src/**/*.test-d.ts"],
16-
"paths": {
17-
"@klerick/json-api-nestjs-shared": [
18-
"dist/libs/json-api/json-api-nestjs-shared"
19-
]
20-
}
15+
"exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts", "/src/lib/mock-utils/**/*"]
2116
}

0 commit comments

Comments
 (0)