File tree Expand file tree Collapse file tree 4 files changed +32
-25
lines changed
libs/json-api/json-api-nestjs-sdk Expand file tree Collapse file tree 4 files changed +32
-25
lines changed Original file line number Diff line number Diff line change 1616 },
1717 "peerDependencies" : {
1818 "axios" : " ^1.6.0" ,
19- "@angular/common" : " ^19.0.0 || ^ 20.0.0" ,
20- "@angular/core" : " ^19.0.0 || ^ 20.0.0"
19+ "@angular/common" : " ^20.0.0" ,
20+ "@angular/core" : " ^20.0.0"
2121 },
2222 "exports" : {
2323 "./package.json" : " ./package.json" ,
Original file line number Diff line number Diff line change 114114 "parallel" : false
115115 }
116116 },
117+ "test" : {
118+ "executor" : " @nx/jest:jest" ,
119+ "outputs" : [
120+ " {workspaceRoot}/coverage/{projectRoot}"
121+ ],
122+ "options" : {
123+ "jestConfig" : " {projectRoot}/jest.config.ts" ,
124+ "codeCoverage" : true ,
125+ "coverageReporters" : [
126+ " json-summary"
127+ ],
128+ "tsConfig" : " libs/json-api/json-api-nestjs-sdk/tsconfig.spec.json"
129+ }
130+ },
117131 "upload-badge" : {
118132 "executor" : " nx:run-commands" ,
119133 "dependsOn" : [
Original file line number Diff line number Diff line change 99 "moduleResolution" : " bundler"
1010 },
1111 "include" : [" src/**/*.ts" ],
12- "exclude" : [" src/**/*.spec.ts" , " src/**/*.test.ts" ]
12+ "exclude" : [
13+ " jest.config.ts" ,
14+ " src/**/*.spec.ts" ,
15+ " src/**/*.test-d.ts" ,
16+ " src/**/___test___/**/*.ts"
17+ ]
1318}
Original file line number Diff line number Diff line change 22 "extends" : " ./tsconfig.json" ,
33 "compilerOptions" : {
44 "outDir" : " ../../../dist/out-tsc" ,
5- "module" : " ES2022" ,
6- "moduleResolution" : " node10" ,
7- "experimentalDecorators" : true ,
8- "emitDecoratorMetadata" : true ,
9- "strictNullChecks" : true ,
10- "noImplicitAny" : true ,
11- "strictBindCallApply" : true ,
12- "forceConsistentCasingInFileNames" : true ,
13- "noFallthroughCasesInSwitch" : true ,
14- "types" : [
15- " vitest/globals" ,
16- " vitest/importMeta" ,
17- " vite/client" ,
18- " node" ,
19- " vitest"
20- ],
21- "allowSyntheticDefaultImports" : true ,
22- "esModuleInterop" : true ,
5+ "module" : " commonjs" ,
6+ "moduleResolution" : " bundler" ,
7+ "types" : [" jest" , " node" ],
8+ "paths" : {
9+ "@klerick/json-api-nestjs-shared" : [
10+ " libs/json-api/json-api-nestjs-shared/src/index.ts"
11+ ]
12+ },
13+ "allowJs" : true
2314 },
2415 "include" : [
25- " vite.config.ts" ,
26- " vite.config.mts" ,
27- " vitest.config.ts" ,
28- " vitest.config.mts" ,
16+ " jest.config.ts" ,
2917 " src/**/*.test.ts" ,
3018 " src/**/*.spec.ts" ,
3119 " src/**/*.d.ts"
You can’t perform that action at this time.
0 commit comments