@codyswann/lisa 2.192.1 → 2.194.0
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/eslint/harper-fabric.d.ts.map +1 -1
- package/dist/configs/eslint/harper-fabric.js +64 -1
- package/dist/configs/eslint/harper-fabric.js.map +1 -1
- package/dist/configs/jest/expo.d.ts.map +1 -1
- package/dist/configs/jest/expo.js +3 -1
- package/dist/configs/jest/expo.js.map +1 -1
- package/expo/copy-overwrite/jest.setup.pre.js +5 -0
- package/expo/copy-overwrite/jest.setup.ts +12 -0
- package/expo/package-lisa/package.lisa.json +32 -31
- package/package.json +1 -1
- package/plugins/lisa/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-agy/plugin.json +1 -1
- package/plugins/lisa-cdk/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-agy/plugin.json +1 -1
- package/plugins/lisa-cdk-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cdk-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-agy/plugin.json +1 -1
- package/plugins/lisa-expo-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-expo-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-agy/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-harper-fabric-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-agy/plugin.json +1 -1
- package/plugins/lisa-nestjs-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-nestjs-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-agy/plugin.json +1 -1
- package/plugins/lisa-openclaw-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-openclaw-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-agy/plugin.json +1 -1
- package/plugins/lisa-phaser-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-phaser-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-agy/plugin.json +1 -1
- package/plugins/lisa-rails-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-rails-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-agy/plugin.json +1 -1
- package/plugins/lisa-typescript-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-typescript-cursor/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki/.codex-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-agy/plugin.json +1 -1
- package/plugins/lisa-wiki-copilot/.claude-plugin/plugin.json +1 -1
- package/plugins/lisa-wiki-cursor/.claude-plugin/plugin.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harper-fabric.d.ts","sourceRoot":"","sources":["../../../src/configs/eslint/harper-fabric.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EACL,cAAc,EACd,iBAAiB,EAElB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,0BAA0B,UAetC,CAAC;
|
|
1
|
+
{"version":3,"file":"harper-fabric.d.ts","sourceRoot":"","sources":["../../../src/configs/eslint/harper-fabric.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EACL,cAAc,EACd,iBAAiB,EAElB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,0BAA0B,UAetC,CAAC;AAwCF;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,eAAe,EACf,cAA2C,EAC3C,UAA8B,GAC/B,EAAE;IACD,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,iBAAiB,CAAC;CACvC,GAAG,MAAM,CAAC,MAAM,EAAE,CA4DlB"}
|
|
@@ -19,6 +19,43 @@ export const defaultHarperFabricIgnores = [
|
|
|
19
19
|
"harper-app/web/**",
|
|
20
20
|
"harper-app/lib/**",
|
|
21
21
|
];
|
|
22
|
+
/**
|
|
23
|
+
* Platform built-ins declared trusted-immutable leaves for the
|
|
24
|
+
* `type-declaration-immutability` check. `Date`/`URL` and the DOM
|
|
25
|
+
* node/element/event types expose mutating methods, so `is-immutable-type`
|
|
26
|
+
* rates them "Mutable" — and because Harper row types hold `Date` (returned
|
|
27
|
+
* in-process) and any web layer holds DOM refs in its readonly option bags,
|
|
28
|
+
* that caps nearly every type below `ReadonlyDeep`. A readonly field holding
|
|
29
|
+
* one of these is not a mutation vector, so treating them as opaque immutable
|
|
30
|
+
* leaves is the standard `is-immutable-type` override pattern. Project-specific
|
|
31
|
+
* leaf types belong in the consumer's `eslint.config.local.ts`.
|
|
32
|
+
*/
|
|
33
|
+
const immutabilityLeafOverrides = [
|
|
34
|
+
"Date",
|
|
35
|
+
"URL",
|
|
36
|
+
"Node",
|
|
37
|
+
"Element",
|
|
38
|
+
"HTMLElement",
|
|
39
|
+
"SVGElement",
|
|
40
|
+
"Event",
|
|
41
|
+
"EventTarget",
|
|
42
|
+
"Blob",
|
|
43
|
+
"HTMLInputElement",
|
|
44
|
+
"HTMLSelectElement",
|
|
45
|
+
"HTMLTextAreaElement",
|
|
46
|
+
"HTMLButtonElement",
|
|
47
|
+
"HTMLAnchorElement",
|
|
48
|
+
"HTMLFormElement",
|
|
49
|
+
"HTMLImageElement",
|
|
50
|
+
"HTMLDivElement",
|
|
51
|
+
"HTMLSpanElement",
|
|
52
|
+
"KeyboardEvent",
|
|
53
|
+
"MouseEvent",
|
|
54
|
+
"InputEvent",
|
|
55
|
+
"SubmitEvent",
|
|
56
|
+
"FocusEvent",
|
|
57
|
+
"PointerEvent",
|
|
58
|
+
].map(type => ({ type, to: "Immutable" }));
|
|
22
59
|
/**
|
|
23
60
|
* Creates the Harper/Fabric ESLint configuration.
|
|
24
61
|
* @param options - Configuration options
|
|
@@ -36,12 +73,32 @@ export function getHarperFabricConfig({ tsconfigRootDir, ignorePatterns = defaul
|
|
|
36
73
|
}),
|
|
37
74
|
{
|
|
38
75
|
files: ["src/**/*.ts"],
|
|
76
|
+
settings: { immutability: { overrides: immutabilityLeafOverrides } },
|
|
39
77
|
rules: {
|
|
40
78
|
"functional/immutable-data": "error",
|
|
41
79
|
"functional/no-let": "error",
|
|
42
80
|
"functional/prefer-readonly-type": "error",
|
|
43
81
|
"functional/readonly-type": "error",
|
|
44
|
-
|
|
82
|
+
// Enforced at `ReadonlyDeep` (every property recursively `readonly`),
|
|
83
|
+
// NOT the plugin default of `Immutable`. `Immutable` additionally
|
|
84
|
+
// rejects function-typed properties, `Record`/index-signature bags,
|
|
85
|
+
// and mutable-method built-ins (`Date`, DOM types) — none of which a
|
|
86
|
+
// Harper app can shed without restructuring legitimate shapes, which
|
|
87
|
+
// is why projects were forced to disable this rule wholesale.
|
|
88
|
+
// `ReadonlyDeep` + the platform-leaf overrides above is the strongest
|
|
89
|
+
// achievable bar and the real immutability guarantee.
|
|
90
|
+
"functional/type-declaration-immutability": [
|
|
91
|
+
"error",
|
|
92
|
+
{
|
|
93
|
+
rules: [
|
|
94
|
+
{
|
|
95
|
+
identifiers: [".+"],
|
|
96
|
+
immutability: "ReadonlyDeep",
|
|
97
|
+
comparator: "AtLeast",
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
],
|
|
45
102
|
},
|
|
46
103
|
},
|
|
47
104
|
{
|
|
@@ -52,6 +109,12 @@ export function getHarperFabricConfig({ tsconfigRootDir, ignorePatterns = defaul
|
|
|
52
109
|
"functional/prefer-readonly-type": "off",
|
|
53
110
|
"functional/readonly-type": "off",
|
|
54
111
|
"functional/type-declaration-immutability": "off",
|
|
112
|
+
// Statement-order is a production-code discipline. Smoke/integration
|
|
113
|
+
// tests interleave arrange-act-assert with sequential awaited UI/HTTP
|
|
114
|
+
// interactions where the await ORDER is the test logic — reordering
|
|
115
|
+
// would change behavior. Exempt tests, consistent with the
|
|
116
|
+
// immutability relaxations above.
|
|
117
|
+
"code-organization/enforce-statement-order": "off",
|
|
55
118
|
},
|
|
56
119
|
},
|
|
57
120
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harper-fabric.js","sourceRoot":"","sources":["../../../src/configs/eslint/harper-fabric.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC;AAE7C;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,GAAG,cAAc;IACjB,WAAW;IACX,UAAU;IACV,WAAW;IACX,mBAAmB;IACnB,yBAAyB;IACzB,0BAA0B;IAC1B,2EAA2E;IAC3E,8EAA8E;IAC9E,wEAAwE;IACxE,kDAAkD;IAClD,iBAAiB;IACjB,mBAAmB;IACnB,mBAAmB;CACpB,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,UAAU,qBAAqB,CAAC,EACpC,eAAe,EACf,cAAc,GAAG,0BAA0B,EAC3C,UAAU,GAAG,iBAAiB,GAK/B;IACC,OAAO;QACL,GAAG,mBAAmB,CAAC;YACrB,eAAe;YACf,cAAc;YACd,UAAU;SACX,CAAC;QACF;YACE,KAAK,EAAE,CAAC,aAAa,CAAC;YACtB,KAAK,EAAE;gBACL,2BAA2B,EAAE,OAAO;gBACpC,mBAAmB,EAAE,OAAO;gBAC5B,iCAAiC,EAAE,OAAO;gBAC1C,0BAA0B,EAAE,OAAO;gBACnC,0CAA0C,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"harper-fabric.js","sourceRoot":"","sources":["../../../src/configs/eslint/harper-fabric.ts"],"names":[],"mappings":"AAQA,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC;AAE7C;;GAEG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,GAAG,cAAc;IACjB,WAAW;IACX,UAAU;IACV,WAAW;IACX,mBAAmB;IACnB,yBAAyB;IACzB,0BAA0B;IAC1B,2EAA2E;IAC3E,8EAA8E;IAC9E,wEAAwE;IACxE,kDAAk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AG/B,eAAoB,KAAG,
|
|
1
|
+
{"version":3,"file":"expo.d.ts","sourceRoot":"","sources":["../../../src/configs/jest/expo.ts"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAEnC,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,8BAA8B,EAC/B,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,8BAA8B,GAC/B,CAAC;AAiCF;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,GACjC,aAAY,CAAC,SAAS,EAAE,MAAM,KAAK,OAA+B,KACjE,MAAyE,CAAC;AAE7E;;GAEG;AACH,UAAU,eAAe;IACvB,gEAAgE;IAChE,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC,CAAC;IAClD;;;;;;OAMG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,GAAI,8BAG/B,eAAoB,KAAG,MAyDxB,CAAC"}
|
|
@@ -118,7 +118,9 @@ export const getExpoJestConfig = ({ thresholds = defaultThresholds, sourceRoot =
|
|
|
118
118
|
...worktreeTestPathIgnorePatterns(),
|
|
119
119
|
],
|
|
120
120
|
transformIgnorePatterns: [
|
|
121
|
-
|
|
121
|
+
// `standard-navigation` (expo-router's navigation core on SDK 57) ships
|
|
122
|
+
// untranspiled ESM, so it must be transformed like the other RN packages.
|
|
123
|
+
"node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|standard-navigation|@sentry/react-native|native-base|react-native-svg|@gluestack-ui/.*|@gluestack-style/.*|nativewind|react-native-css-interop|react-native-reanimated|react-native-worklets|lucide-react-native|@gorhom|@shopify)",
|
|
122
124
|
],
|
|
123
125
|
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
|
|
124
126
|
collectCoverageFrom: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"expo.js","sourceRoot":"","sources":["../../../src/configs/jest/expo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAI5C,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,8BAA8B,GAC/B,MAAM,WAAW,CAAC;AAEnB,mDAAmD;AACnD,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,8BAA8B,GAC/B,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,cAAc,GAAG,4CAA4C,CAAC;AACpE,MAAM,eAAe,GAAG,+BAA+B,CAAC;AAExD;;;;;;;GAOG;AACH,MAAM,qBAAqB,GAAG,CAAC,SAAiB,EAAW,EAAE;IAC3D,2EAA2E;IAC3E,0EAA0E;IAC1E,MAAM,cAAc,GAAG,aAAa,CAAC,GAAG,OAAO,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;IACjE,IAAI,CAAC;QACH,cAAc,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;QAClC,OAAO,IAAI,CAAC;IACd,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,aAA6C,qBAAqB,EAC1D,EAAE,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;AAkB7E;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAChC,UAAU,GAAG,iBAAiB,EAC9B,UAAU,GAAG,EAAE,MACI,EAAE,EAAU,EAAE,CAAC,CAAC;IACnC,eAAe,EAAE,OAAO;IACxB,KAAK,EAAE;QACL,eAAe,EAAE,KAAK;QACtB,SAAS,EAAE,CAAC,SAAS,EAAE,KAAK,EAAE,QAAQ,CAAC;KACxC;IACD,iEAAiE;IACjE,uEAAuE;IACvE,yEAAyE;IACzE,sEAAsE;IACtE,QAAQ,EAAE,sBAAsB,EAAE;IAClC,UAAU,EAAE,CAAC,6BAA6B,CAAC;IAC3C,kBAAkB,EAAE,CAAC,yBAAyB,CAAC;IAC/C,SAAS,EAAE;QACT,aAAa,EAAE;YACb,YAAY;YACZ;gBACE,MAAM,EAAE;oBACN,IAAI,EAAE,OAAO;oBACb,OAAO,EAAE,OAAO;oBAChB,QAAQ,EAAE,KAAK;iBAChB;aACF;SACF;QACD,mEAAmE,EACjE,8CAA8C;KACjD;IACD,SAAS,EAAE,CAAC,wBAAwB,EAAE,yBAAyB,CAAC;IAChE,sBAAsB,EAAE;QACtB,gBAAgB;QAChB,QAAQ;QACR,SAAS;QACT,GAAG,8BAA8B,EAAE;KACpC;IACD,uBAAuB,EAAE;QACvB,
|
|
1
|
+
{"version":3,"file":"expo.js","sourceRoot":"","sources":["../../../src/configs/jest/expo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAI5C,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,8BAA8B,GAC/B,MAAM,WAAW,CAAC;AAEnB,mDAAmD;AACnD,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,YAAY,EACZ,eAAe,EACf,8BAA8B,GAC/B,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,cAAc,GAAG,4CAA4C,CAAC;AACpE,MAAM,eAAe,GAAG,+BAA+B,CAAC;AAExD;;;;;;;GAOG;AACH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AAsB,EAAE;QACtB,gBAAgB;QAChB,QAAQ;QACR,SAAS;QACT,GAAG,8BAA8B,EAAE;KACpC;IACD,uBAAuB,EAAE;QACvB,wEAAwE;QACxE,0EAA0E;QAC1E,8XAA8X;KAC/X;IACD,oBAAoB,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC;IAChE,mBAAmB,EAAE;QACnB,GAAG,UAAU,0BAA0B;QACvC,GAAG,UAAU,sBAAsB;QACnC,GAAG,UAAU,yBAAyB;QACtC,GAAG,UAAU,wBAAwB;QACrC,GAAG,UAAU,qBAAqB;QAClC,GAAG,UAAU,mBAAmB;QAChC,GAAG,UAAU,yBAAyB;QACtC,GAAG,UAAU,sBAAsB;QACnC,GAAG,UAAU,sBAAsB;QACnC,GAAG,UAAU,qBAAqB;QAClC,GAAG,UAAU,qBAAqB;QAClC,oBAAoB;QACpB,GAAG,yBAAyB;KAC7B;IACD,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"}
|
|
@@ -58,6 +58,11 @@ global.__fbBatchedBridgeConfig = {
|
|
|
58
58
|
localModulesConfig: [],
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
+
// Stub the Fabric UI manager global — RN 0.86+ (Expo SDK 57) references
|
|
62
|
+
// `nativeFabricUIManager` at renderer module scope, so it must exist before
|
|
63
|
+
// any module loads. Mirrors @react-native/jest-preset's own global stub.
|
|
64
|
+
global.nativeFabricUIManager = {};
|
|
65
|
+
|
|
61
66
|
// Mock TurboModuleRegistry using external mock configuration
|
|
62
67
|
const mockModules = require("./jest.config.react-native-mock");
|
|
63
68
|
|
|
@@ -23,6 +23,18 @@
|
|
|
23
23
|
* @module jest.setup
|
|
24
24
|
*/
|
|
25
25
|
|
|
26
|
+
// RN 0.86+ (Expo SDK 57): `expo`'s WinterCG runtime (`expo/src/winter/
|
|
27
|
+
// runtime.native.ts`) imports `react-native/Libraries/Core/InitializeCore`,
|
|
28
|
+
// which lazily replaces `setTimeout`/`setInterval`/`setImmediate`/
|
|
29
|
+
// `requestAnimationFrame` (and other globals) with RN's JSTimers — backed by
|
|
30
|
+
// the native TimingModule, which does not exist under Jest. Once installed,
|
|
31
|
+
// no timer ever fires, so React's `act()`/RTLRN `render()` hang forever.
|
|
32
|
+
// React Native's own jest preset solves this by mocking InitializeCore with
|
|
33
|
+
// an empty module (see @react-native/jest-preset/jest/setup.js); mirror that.
|
|
34
|
+
// `jest.mock` is hoisted above the imports below, so it takes effect before
|
|
35
|
+
// any module can pull the real InitializeCore in.
|
|
36
|
+
jest.mock("react-native/Libraries/Core/InitializeCore", () => ({}));
|
|
37
|
+
|
|
26
38
|
// Project-local mocks and setup (create-only — Lisa never overwrites this)
|
|
27
39
|
import "./jest.setup.local";
|
|
28
40
|
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"defaults": {
|
|
116
116
|
"dependencies": {
|
|
117
117
|
"@expo/html-elements": "^0.12.5",
|
|
118
|
-
"@expo/metro-runtime": "~
|
|
118
|
+
"@expo/metro-runtime": "~57.0.3",
|
|
119
119
|
"@gluestack-ui/core": "^3.0.10",
|
|
120
120
|
"@gluestack-ui/utils": "^3.0.7",
|
|
121
121
|
"@gorhom/bottom-sheet": "^5.2.6",
|
|
@@ -125,50 +125,51 @@
|
|
|
125
125
|
"@sentry/react-native": "~7.11.0",
|
|
126
126
|
"@shopify/flash-list": "2.0.2",
|
|
127
127
|
"@shopify/react-native-skia": "2.6.2",
|
|
128
|
-
"expo": "~
|
|
129
|
-
"expo-application": "~
|
|
130
|
-
"expo-battery": "~
|
|
131
|
-
"expo-build-properties": "~
|
|
132
|
-
"expo-clipboard": "~
|
|
133
|
-
"expo-constants": "~
|
|
134
|
-
"expo-crypto": "~
|
|
135
|
-
"expo-dev-client": "~
|
|
136
|
-
"expo-device": "~
|
|
137
|
-
"expo-font": "~
|
|
138
|
-
"expo-linear-gradient": "~
|
|
139
|
-
"expo-linking": "~
|
|
140
|
-
"expo-localization": "~
|
|
141
|
-
"expo-network": "~
|
|
142
|
-
"expo-notifications": "~
|
|
143
|
-
"expo-router": "~
|
|
144
|
-
"expo-secure-store": "~
|
|
145
|
-
"expo-splash-screen": "~
|
|
146
|
-
"expo-status-bar": "~
|
|
147
|
-
"expo-system-ui": "~
|
|
148
|
-
"expo-updates": "~
|
|
128
|
+
"expo": "~57.0.0",
|
|
129
|
+
"expo-application": "~57.0.0",
|
|
130
|
+
"expo-battery": "~57.0.0",
|
|
131
|
+
"expo-build-properties": "~57.0.3",
|
|
132
|
+
"expo-clipboard": "~57.0.0",
|
|
133
|
+
"expo-constants": "~57.0.3",
|
|
134
|
+
"expo-crypto": "~57.0.0",
|
|
135
|
+
"expo-dev-client": "~57.0.5",
|
|
136
|
+
"expo-device": "~57.0.0",
|
|
137
|
+
"expo-font": "~57.0.0",
|
|
138
|
+
"expo-linear-gradient": "~57.0.0",
|
|
139
|
+
"expo-linking": "~57.0.2",
|
|
140
|
+
"expo-localization": "~57.0.0",
|
|
141
|
+
"expo-network": "~57.0.0",
|
|
142
|
+
"expo-notifications": "~57.0.3",
|
|
143
|
+
"expo-router": "~57.0.4",
|
|
144
|
+
"expo-secure-store": "~57.0.0",
|
|
145
|
+
"expo-splash-screen": "~57.0.2",
|
|
146
|
+
"expo-status-bar": "~57.0.0",
|
|
147
|
+
"expo-system-ui": "~57.0.0",
|
|
148
|
+
"expo-updates": "~57.0.6",
|
|
149
149
|
"lucide-react-native": "^0.562.0",
|
|
150
150
|
"nativewind": "^4.2.1",
|
|
151
151
|
"react": "19.2.3",
|
|
152
152
|
"react-dom": "19.2.3",
|
|
153
|
-
"react-native": "0.
|
|
154
|
-
"react-native-gesture-handler": "~2.
|
|
155
|
-
"react-native-keyboard-controller": "1.21.
|
|
156
|
-
"react-native-reanimated": "4.
|
|
157
|
-
"react-native-safe-area-context": "
|
|
153
|
+
"react-native": "0.86.0",
|
|
154
|
+
"react-native-gesture-handler": "~2.32.0",
|
|
155
|
+
"react-native-keyboard-controller": "1.21.9",
|
|
156
|
+
"react-native-reanimated": "4.5.0",
|
|
157
|
+
"react-native-safe-area-context": "~5.7.0",
|
|
158
158
|
"react-native-screens": "4.25.2",
|
|
159
|
-
"react-native-svg": "
|
|
160
|
-
"react-native-web": "^0.21.2"
|
|
159
|
+
"react-native-svg": "15.15.4",
|
|
160
|
+
"react-native-web": "^0.21.2",
|
|
161
|
+
"react-native-worklets": "0.10.0"
|
|
161
162
|
},
|
|
162
163
|
"devDependencies": {
|
|
163
164
|
"@codyswann/lisa": "^2.106.0",
|
|
164
165
|
"@react-native-community/cli": "^20.0.2",
|
|
165
166
|
"@react-native-community/cli-platform-android": "^20.0.2",
|
|
166
167
|
"@react-native-community/cli-platform-ios": "^20.0.2",
|
|
167
|
-
"@testing-library/react-native": "^13.
|
|
168
|
+
"@testing-library/react-native": "^13.3.3",
|
|
168
169
|
"@types/react": "~19.2.15",
|
|
169
170
|
"@types/react-dom": "~19.2.3",
|
|
170
171
|
"expo-atlas": "^0.4.0",
|
|
171
|
-
"jest-expo": "~
|
|
172
|
+
"jest-expo": "~57.0.1"
|
|
172
173
|
}
|
|
173
174
|
},
|
|
174
175
|
"remove": {
|
package/package.json
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"ws": ">=8.20.1"
|
|
96
96
|
},
|
|
97
97
|
"name": "@codyswann/lisa",
|
|
98
|
-
"version": "2.
|
|
98
|
+
"version": "2.194.0",
|
|
99
99
|
"description": "Claude Code governance framework that applies guardrails, guidance, and automated enforcement to projects",
|
|
100
100
|
"main": "dist/index.js",
|
|
101
101
|
"exports": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.194.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.194.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, across Claude and Codex.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.194.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.194.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lisa-openclaw",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.194.0",
|
|
4
4
|
"description": "Connect staff roles to Telegram or Slack via OpenClaw — facilitator/specialist hub-and-spoke routing and repo-coding topics, for Claude Code and Codex",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Cody Swann"
|