@codyswann/lisa 1.56.5 → 1.56.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/configs/jest/nestjs.d.ts +3 -0
- package/dist/configs/jest/nestjs.d.ts.map +1 -1
- package/dist/configs/jest/nestjs.js +4 -1
- package/dist/configs/jest/nestjs.js.map +1 -1
- package/nestjs/copy-overwrite/jest.nestjs.ts +4 -1
- package/nestjs/copy-overwrite/tsconfig.spec.json +2 -1
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
|
@@ -28,6 +28,9 @@ interface NestjsJestOptions {
|
|
|
28
28
|
* @param options.thresholds - Coverage thresholds (merged defaults + project overrides)
|
|
29
29
|
* @returns Jest config object with ts-jest transform, node environment, and NestJS-specific exclusions
|
|
30
30
|
* @remarks NestJS projects use CommonJS modules and spec.ts test file convention.
|
|
31
|
+
* Uses tsconfig.spec.json for ts-jest diagnostics because the main tsconfig.json
|
|
32
|
+
* excludes spec files from compilation — without this, path aliases used only in
|
|
33
|
+
* test files (e.g. @test-utils) fail to resolve during type checking.
|
|
31
34
|
* Coverage excludes entities, DTOs, modules, and other boilerplate files
|
|
32
35
|
* that are better validated through integration tests.
|
|
33
36
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nestjs.d.ts","sourceRoot":"","sources":["../../../src/configs/jest/nestjs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAEnC,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,EAChB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAChB,CAAC;AAEF;;GAEG;AACH,UAAU,iBAAiB;IACzB,gEAAgE;IAChE,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC,CAAC;CACnD;AAwBD
|
|
1
|
+
{"version":3,"file":"nestjs.d.ts","sourceRoot":"","sources":["../../../src/configs/jest/nestjs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAEnC,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,EAChB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAChB,CAAC;AAEF;;GAEG;AACH,UAAU,iBAAiB;IACzB,gEAAgE;IAChE,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC,CAAC;CACnD;AAwBD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,mBAAmB,qBAE7B,iBAAiB,KAAQ,MAW1B,CAAC"}
|
|
@@ -29,6 +29,9 @@ const nestjsCoverageExclusions = [
|
|
|
29
29
|
* @param options.thresholds - Coverage thresholds (merged defaults + project overrides)
|
|
30
30
|
* @returns Jest config object with ts-jest transform, node environment, and NestJS-specific exclusions
|
|
31
31
|
* @remarks NestJS projects use CommonJS modules and spec.ts test file convention.
|
|
32
|
+
* Uses tsconfig.spec.json for ts-jest diagnostics because the main tsconfig.json
|
|
33
|
+
* excludes spec files from compilation — without this, path aliases used only in
|
|
34
|
+
* test files (e.g. @test-utils) fail to resolve during type checking.
|
|
32
35
|
* Coverage excludes entities, DTOs, modules, and other boilerplate files
|
|
33
36
|
* that are better validated through integration tests.
|
|
34
37
|
*/
|
|
@@ -37,7 +40,7 @@ export const getNestjsJestConfig = ({ thresholds = defaultThresholds, } = {}) =>
|
|
|
37
40
|
rootDir: "src",
|
|
38
41
|
testRegex: ".*\\.spec\\.ts$",
|
|
39
42
|
transform: {
|
|
40
|
-
"^.+\\.ts$": "ts-jest",
|
|
43
|
+
"^.+\\.ts$": ["ts-jest", { tsconfig: "tsconfig.spec.json" }],
|
|
41
44
|
},
|
|
42
45
|
moduleFileExtensions: ["js", "json", "ts"],
|
|
43
46
|
collectCoverageFrom: ["**/*.ts", ...nestjsCoverageExclusions],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nestjs.js","sourceRoot":"","sources":["../../../src/configs/jest/nestjs.ts"],"names":[],"mappings":"AAeA,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAChB,MAAM,WAAW,CAAC;AAEnB,mDAAmD;AACnD,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAChB,CAAC;AAUF;;;GAGG;AACH,MAAM,wBAAwB,GAAsB;IAClD,GAAG,yBAAyB;IAC5B,iBAAiB;IACjB,cAAc;IACd,gBAAgB;IAChB,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;IACf,oBAAoB;IACpB,oBAAoB;IACpB,4BAA4B;IAC5B,uBAAuB;IACvB,gBAAgB;IAChB,aAAa;CACd,CAAC;AAEF
|
|
1
|
+
{"version":3,"file":"nestjs.js","sourceRoot":"","sources":["../../../src/configs/jest/nestjs.ts"],"names":[],"mappings":"AAeA,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAChB,MAAM,WAAW,CAAC;AAEnB,mDAAmD;AACnD,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,GAChB,CAAC;AAUF;;;GAGG;AACH,MAAM,wBAAwB,GAAsB;IAClD,GAAG,yBAAyB;IAC5B,iBAAiB;IACjB,cAAc;IACd,gBAAgB;IAChB,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;IACf,oBAAoB;IACpB,oBAAoB;IACpB,4BAA4B;IAC5B,uBAAuB;IACvB,gBAAgB;IAChB,aAAa;CACd,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,EAClC,UAAU,GAAG,iBAAiB,MACT,EAAE,EAAU,EAAE,CAAC,CAAC;IACrC,eAAe,EAAE,MAAM;IACvB,OAAO,EAAE,KAAK;IACd,SAAS,EAAE,iBAAiB;IAC5B,SAAS,EAAE;QACT,WAAW,EAAE,CAAC,SAAS,EAAE,EAAE,QAAQ,EAAE,oBAAoB,EAAE,CAAC;KAC7D;IACD,oBAAoB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC;IAC1C,mBAAmB,EAAE,CAAC,SAAS,EAAE,GAAG,wBAAwB,CAAC;IAC7D,GAAG,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACtE,WAAW,EAAE,KAAK;CACnB,CAAC,CAAC"}
|
|
@@ -70,6 +70,9 @@ const nestjsCoverageExclusions: readonly string[] = [
|
|
|
70
70
|
* @param options.thresholds - Coverage thresholds (merged defaults + project overrides)
|
|
71
71
|
* @returns Jest config object with ts-jest transform, node environment, and NestJS-specific exclusions
|
|
72
72
|
* @remarks NestJS projects use CommonJS modules and spec.ts test file convention.
|
|
73
|
+
* Uses tsconfig.spec.json for ts-jest diagnostics because the main tsconfig.json
|
|
74
|
+
* excludes spec files from compilation — without this, path aliases used only in
|
|
75
|
+
* test files (e.g. @test-utils) fail to resolve during type checking.
|
|
73
76
|
* Coverage excludes entities, DTOs, modules, and other boilerplate files
|
|
74
77
|
* that are better validated through integration tests.
|
|
75
78
|
*/
|
|
@@ -80,7 +83,7 @@ export const getNestjsJestConfig = ({
|
|
|
80
83
|
rootDir: "src",
|
|
81
84
|
testRegex: ".*\\.spec\\.ts$",
|
|
82
85
|
transform: {
|
|
83
|
-
"^.+\\.ts$": "ts-jest",
|
|
86
|
+
"^.+\\.ts$": ["ts-jest", { tsconfig: "tsconfig.spec.json" }],
|
|
84
87
|
},
|
|
85
88
|
moduleFileExtensions: ["js", "json", "ts"],
|
|
86
89
|
collectCoverageFrom: ["**/*.ts", ...nestjsCoverageExclusions],
|
package/package.json
CHANGED
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"axios": ">=1.13.5"
|
|
73
73
|
},
|
|
74
74
|
"name": "@codyswann/lisa",
|
|
75
|
-
"version": "1.56.
|
|
75
|
+
"version": "1.56.7",
|
|
76
76
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
77
77
|
"main": "dist/index.js",
|
|
78
78
|
"exports": {
|