@codyswann/lisa 4.66.0 → 4.66.1

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.
Files changed (85) hide show
  1. package/dist/core/nightly-e2e-guard-behavior-certificate.js +2 -2
  2. package/dist/core/upstream-evidence-manifest.d.ts.map +1 -1
  3. package/dist/core/upstream-evidence-manifest.js +11 -4
  4. package/dist/core/upstream-evidence-manifest.js.map +1 -1
  5. package/package.json +4 -4
  6. package/plugins/lisa/.claude-plugin/plugin.json +1 -1
  7. package/plugins/lisa/.codex-plugin/plugin.json +1 -1
  8. package/plugins/lisa-agy/plugin.json +1 -1
  9. package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
  10. package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
  11. package/plugins/lisa-cdk-agy/plugin.json +1 -1
  12. package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
  13. package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
  14. package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
  15. package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
  16. package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
  17. package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
  18. package/plugins/lisa-expo/.codex-plugin/skills/expo-router-best-practices/SKILL.md +1 -0
  19. package/plugins/lisa-expo/.codex-plugin/skills/expo-router-best-practices/references/static-export-verification.md +54 -0
  20. package/plugins/lisa-expo/.codex-plugin/skills/expo-tailwind-setup/SKILL.md +7 -0
  21. package/plugins/lisa-expo/.codex-plugin/skills/playwright-selectors/SKILL.md +25 -0
  22. package/plugins/lisa-expo/.codex-plugin/skills/testing-library/references/mocking-patterns.md +22 -0
  23. package/plugins/lisa-expo/skills/expo-router-best-practices/SKILL.md +1 -0
  24. package/plugins/lisa-expo/skills/expo-router-best-practices/references/static-export-verification.md +54 -0
  25. package/plugins/lisa-expo/skills/expo-tailwind-setup/SKILL.md +7 -0
  26. package/plugins/lisa-expo/skills/playwright-selectors/SKILL.md +25 -0
  27. package/plugins/lisa-expo/skills/testing-library/references/mocking-patterns.md +22 -0
  28. package/plugins/lisa-expo-agy/plugin.json +1 -1
  29. package/plugins/lisa-expo-agy/skills/expo-router-best-practices/SKILL.md +1 -0
  30. package/plugins/lisa-expo-agy/skills/expo-router-best-practices/references/static-export-verification.md +54 -0
  31. package/plugins/lisa-expo-agy/skills/expo-tailwind-setup/SKILL.md +7 -0
  32. package/plugins/lisa-expo-agy/skills/playwright-selectors/SKILL.md +25 -0
  33. package/plugins/lisa-expo-agy/skills/testing-library/references/mocking-patterns.md +22 -0
  34. package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
  35. package/plugins/lisa-expo-copilot/skills/expo-router-best-practices/SKILL.md +1 -0
  36. package/plugins/lisa-expo-copilot/skills/expo-router-best-practices/references/static-export-verification.md +54 -0
  37. package/plugins/lisa-expo-copilot/skills/expo-tailwind-setup/SKILL.md +7 -0
  38. package/plugins/lisa-expo-copilot/skills/playwright-selectors/SKILL.md +25 -0
  39. package/plugins/lisa-expo-copilot/skills/testing-library/references/mocking-patterns.md +22 -0
  40. package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
  41. package/plugins/lisa-expo-cursor/skills/expo-router-best-practices/SKILL.md +1 -0
  42. package/plugins/lisa-expo-cursor/skills/expo-router-best-practices/references/static-export-verification.md +54 -0
  43. package/plugins/lisa-expo-cursor/skills/expo-tailwind-setup/SKILL.md +7 -0
  44. package/plugins/lisa-expo-cursor/skills/playwright-selectors/SKILL.md +25 -0
  45. package/plugins/lisa-expo-cursor/skills/testing-library/references/mocking-patterns.md +22 -0
  46. package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
  47. package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
  48. package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
  49. package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
  50. package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
  51. package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
  52. package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
  53. package/plugins/lisa-nestjs-agy/plugin.json +1 -1
  54. package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
  55. package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
  56. package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
  57. package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
  58. package/plugins/lisa-openclaw-agy/plugin.json +1 -1
  59. package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
  60. package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
  61. package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
  62. package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
  63. package/plugins/lisa-phaser-agy/plugin.json +1 -1
  64. package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
  65. package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
  66. package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
  67. package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
  68. package/plugins/lisa-rails-agy/plugin.json +1 -1
  69. package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
  70. package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
  71. package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
  72. package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
  73. package/plugins/lisa-typescript-agy/plugin.json +1 -1
  74. package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
  75. package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
  76. package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
  77. package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
  78. package/plugins/lisa-wiki-agy/plugin.json +1 -1
  79. package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
  80. package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
  81. package/plugins/src/expo/skills/expo-router-best-practices/SKILL.md +1 -0
  82. package/plugins/src/expo/skills/expo-router-best-practices/references/static-export-verification.md +54 -0
  83. package/plugins/src/expo/skills/expo-tailwind-setup/SKILL.md +7 -0
  84. package/plugins/src/expo/skills/playwright-selectors/SKILL.md +25 -0
  85. package/plugins/src/expo/skills/testing-library/references/mocking-patterns.md +22 -0
@@ -588,3 +588,25 @@ afterAll(() => {
588
588
  console.error = originalError;
589
589
  });
590
590
  ```
591
+
592
+ ## Migrating jest.mock Usage
593
+
594
+ When moving a test file onto the managed setup, scope the migration to the
595
+ file under your hand — a suite-wide mock sweep is where subtle behavior
596
+ changes hide.
597
+
598
+ - **Prefer renderer-compatible mocks.** A mock that works in the Node
599
+ environment but reads `window`, native modules, or ESM-only entry points
600
+ fails under the jsdom/renderer the Expo preset provides. Mock the seam your
601
+ component actually imports (`jest.mock("nativewind", ...)`,
602
+ `jest.mock("@/lib/env", ...)`) — never reach around it to mock a transitive
603
+ dependency.
604
+ - **Keep factories stable and hoisted.** Jest hoists `jest.mock` calls above
605
+ imports, so a factory cannot close over outer variables. Everything the
606
+ factory needs must come from `jest.requireActual`, `jest.requireMock`, or a
607
+ `mock`-prefixed name. A factory that silently returns a different shape per
608
+ run is the migration failure that surfaces as unrelated flakes.
609
+ - **Check version compatibility, not history.** A pinned workaround for an
610
+ old jest-expo/Expo SDK issue is not a permanent blocker — verify whether the
611
+ current versions still need it before carrying it forward. Historical Expo
612
+ issues expire; copy them forward only when they reproduce.