@codyswann/lisa 1.56.5 → 1.56.6

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.
@@ -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;;;;;;;;;GASG;AACH,eAAO,MAAM,mBAAmB,qBAE7B,iBAAiB,KAAQ,MAW1B,CAAC"}
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;;;;;;;;;GASG;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,SAAS;KACvB;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"}
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],
@@ -3,5 +3,6 @@
3
3
  "compilerOptions": {
4
4
  "types": ["jest", "node"]
5
5
  },
6
- "include": ["**/*.spec.ts", "**/*.d.ts"]
6
+ "include": ["**/*.spec.ts", "**/*.d.ts"],
7
+ "exclude": ["node_modules", ".build", "dist"]
7
8
  }
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.5",
75
+ "version": "1.56.6",
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": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa",
3
- "version": "1.56.5",
3
+ "version": "1.56.6",
4
4
  "description": "Universal governance — agents, skills, commands, hooks, and rules for all projects",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-cdk",
3
- "version": "1.56.5",
3
+ "version": "1.56.6",
4
4
  "description": "AWS CDK-specific plugin",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-expo",
3
- "version": "1.56.5",
3
+ "version": "1.56.6",
4
4
  "description": "Expo/React Native-specific skills, agents, rules, and MCP servers",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-nestjs",
3
- "version": "1.56.5",
3
+ "version": "1.56.6",
4
4
  "description": "NestJS-specific skills (GraphQL, TypeORM)",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-rails",
3
- "version": "1.56.5",
3
+ "version": "1.56.6",
4
4
  "description": "Ruby on Rails-specific skills, rules, and conventions",
5
5
  "author": {
6
6
  "name": "Cody Swann"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lisa-typescript",
3
- "version": "1.56.5",
3
+ "version": "1.56.6",
4
4
  "description": "TypeScript-specific hooks — Prettier formatting, ESLint linting, and ast-grep scanning on edit",
5
5
  "author": {
6
6
  "name": "Cody Swann"