@agents-inc/cli 0.68.0 → 0.72.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/CHANGELOG.md +46 -0
- package/README.md +172 -23
- package/dist/chunk-2MHSOPIU.js +84 -0
- package/dist/chunk-2MHSOPIU.js.map +1 -0
- package/dist/{chunk-VTRVAXUM.js → chunk-3SLO2QPW.js} +6 -6
- package/dist/{chunk-KFDTVSIC.js → chunk-6YMW4HMX.js} +2 -2
- package/dist/{chunk-KBG7GYPL.js → chunk-AHZ34QVK.js} +76 -113
- package/dist/chunk-AHZ34QVK.js.map +1 -0
- package/dist/chunk-D7FEORKC.js +253 -0
- package/dist/chunk-D7FEORKC.js.map +1 -0
- package/dist/{chunk-L6MTIQ2U.js → chunk-F43WGOGN.js} +2 -2
- package/dist/{chunk-F6KEZ4Y5.js → chunk-FKRYJOPC.js} +4 -4
- package/dist/{chunk-RMMHVE2R.js → chunk-G3LNIYZG.js} +2 -2
- package/dist/{chunk-GK5CAS3A.js → chunk-HJVWBSLM.js} +4 -4
- package/dist/{chunk-45R64U2S.js → chunk-HMJGSAKV.js} +24 -22
- package/dist/chunk-HMJGSAKV.js.map +1 -0
- package/dist/{chunk-6BXKF5GP.js → chunk-J4TVAB5H.js} +2 -2
- package/dist/{chunk-2JJUPWE5.js → chunk-LBTW5HSY.js} +2 -2
- package/dist/{chunk-QUEO6QEL.js → chunk-LM5YQUBR.js} +3 -3
- package/dist/{chunk-FCF4WQEI.js → chunk-MGQVO357.js} +2 -2
- package/dist/{chunk-KWB3B2HS.js → chunk-NKKYTCBH.js} +109 -86
- package/dist/chunk-NKKYTCBH.js.map +1 -0
- package/dist/{chunk-HADHP7XF.js → chunk-OODTDGEM.js} +6 -6
- package/dist/chunk-Q3YMO5YG.js +58 -0
- package/dist/chunk-Q3YMO5YG.js.map +1 -0
- package/dist/{chunk-L5LD3ZSR.js → chunk-RJOLQ7EK.js} +4 -4
- package/dist/{chunk-SSGPFKS4.js → chunk-SEAL43IR.js} +3 -3
- package/dist/{chunk-JAWXWNIX.js → chunk-UQTG4ZBA.js} +10 -10
- package/dist/{chunk-EULHBV5V.js → chunk-URAXGHF2.js} +3 -3
- package/dist/{chunk-KMDBOO3E.js → chunk-V2XIWRHP.js} +2 -2
- package/dist/chunk-WF5PMBIR.js +54 -0
- package/dist/chunk-WF5PMBIR.js.map +1 -0
- package/dist/{chunk-N4D43IOO.js → chunk-WWHDP5CP.js} +55 -8
- package/dist/chunk-WWHDP5CP.js.map +1 -0
- package/dist/{chunk-R3AR4VLZ.js → chunk-ZEJIEC2A.js} +154 -150
- package/dist/chunk-ZEJIEC2A.js.map +1 -0
- package/dist/{chunk-7LCI5PSJ.js → chunk-ZFRALAK5.js} +2 -2
- package/dist/commands/build/marketplace.js +3 -3
- package/dist/commands/build/plugins.js +6 -6
- package/dist/commands/build/stack.js +6 -6
- package/dist/commands/compile.js +6 -6
- package/dist/commands/config/index.js +6 -6
- package/dist/commands/config/path.js +5 -5
- package/dist/commands/config/show.js +6 -6
- package/dist/commands/diff.js +5 -5
- package/dist/commands/doctor.js +5 -5
- package/dist/commands/edit.js +21 -20
- package/dist/commands/edit.js.map +1 -1
- package/dist/commands/eject.js +5 -5
- package/dist/commands/import/skill.js +5 -5
- package/dist/commands/info.js +5 -5
- package/dist/commands/init.js +21 -20
- package/dist/commands/list.js +5 -5
- package/dist/commands/new/agent.js +6 -6
- package/dist/commands/new/marketplace.js +7 -7
- package/dist/commands/new/skill.js +6 -6
- package/dist/commands/outdated.js +5 -5
- package/dist/commands/search.js +5 -5
- package/dist/commands/uninstall.js +5 -5
- package/dist/commands/update.js +6 -6
- package/dist/commands/validate.js +5 -5
- package/dist/components/common/select-list.js +11 -0
- package/dist/components/wizard/category-grid.test.js +6 -6
- package/dist/components/wizard/domain-selection.js +6 -6
- package/dist/components/wizard/search-modal.js +2 -1
- package/dist/components/wizard/search-modal.test.js +3 -2
- package/dist/components/wizard/search-modal.test.js.map +1 -1
- package/dist/components/wizard/source-grid.js +3 -2
- package/dist/components/wizard/source-grid.test.js +17 -13
- package/dist/components/wizard/source-grid.test.js.map +1 -1
- package/dist/components/wizard/stack-selection.js +6 -6
- package/dist/components/wizard/step-agents.js +6 -6
- package/dist/components/wizard/step-agents.test.js +10 -9
- package/dist/components/wizard/step-agents.test.js.map +1 -1
- package/dist/components/wizard/step-build.js +7 -7
- package/dist/components/wizard/step-build.test.js +17 -52
- package/dist/components/wizard/step-build.test.js.map +1 -1
- package/dist/components/wizard/step-confirm.test.js +6 -6
- package/dist/components/wizard/step-settings.js +5 -5
- package/dist/components/wizard/step-settings.test.js +8 -8
- package/dist/components/wizard/step-sources.js +10 -9
- package/dist/components/wizard/step-sources.test.js +15 -13
- package/dist/components/wizard/step-sources.test.js.map +1 -1
- package/dist/components/wizard/step-stack.js +9 -9
- package/dist/components/wizard/step-stack.test.js +10 -10
- package/dist/components/wizard/wizard-layout.js +6 -6
- package/dist/components/wizard/wizard.js +19 -18
- package/dist/config-exports.js +1 -1
- package/dist/hooks/init.js +21 -20
- package/dist/hooks/init.js.map +1 -1
- package/dist/{loader-CMSC3RAO.js → loader-KVKSTKWX.js} +3 -3
- package/dist/{source-loader-YMWWZFVD.js → source-loader-65IAJPNV.js} +5 -5
- package/dist/{source-manager-6G3EVTU2.js → source-manager-LJH225GA.js} +5 -5
- package/dist/source-manager-LJH225GA.js.map +1 -0
- package/dist/stores/matrix-store.test.js +17 -13
- package/dist/stores/matrix-store.test.js.map +1 -1
- package/dist/stores/wizard-store.js +5 -5
- package/dist/stores/wizard-store.test.js +35 -110
- package/dist/stores/wizard-store.test.js.map +1 -1
- package/package.json +2 -1
- package/dist/chunk-45R64U2S.js.map +0 -1
- package/dist/chunk-6IK2TCK7.js +0 -97
- package/dist/chunk-6IK2TCK7.js.map +0 -1
- package/dist/chunk-KBG7GYPL.js.map +0 -1
- package/dist/chunk-KWB3B2HS.js.map +0 -1
- package/dist/chunk-N4D43IOO.js.map +0 -1
- package/dist/chunk-R3AR4VLZ.js.map +0 -1
- /package/dist/{chunk-VTRVAXUM.js.map → chunk-3SLO2QPW.js.map} +0 -0
- /package/dist/{chunk-KFDTVSIC.js.map → chunk-6YMW4HMX.js.map} +0 -0
- /package/dist/{chunk-L6MTIQ2U.js.map → chunk-F43WGOGN.js.map} +0 -0
- /package/dist/{chunk-F6KEZ4Y5.js.map → chunk-FKRYJOPC.js.map} +0 -0
- /package/dist/{chunk-RMMHVE2R.js.map → chunk-G3LNIYZG.js.map} +0 -0
- /package/dist/{chunk-GK5CAS3A.js.map → chunk-HJVWBSLM.js.map} +0 -0
- /package/dist/{chunk-6BXKF5GP.js.map → chunk-J4TVAB5H.js.map} +0 -0
- /package/dist/{chunk-2JJUPWE5.js.map → chunk-LBTW5HSY.js.map} +0 -0
- /package/dist/{chunk-QUEO6QEL.js.map → chunk-LM5YQUBR.js.map} +0 -0
- /package/dist/{chunk-FCF4WQEI.js.map → chunk-MGQVO357.js.map} +0 -0
- /package/dist/{chunk-HADHP7XF.js.map → chunk-OODTDGEM.js.map} +0 -0
- /package/dist/{chunk-L5LD3ZSR.js.map → chunk-RJOLQ7EK.js.map} +0 -0
- /package/dist/{chunk-SSGPFKS4.js.map → chunk-SEAL43IR.js.map} +0 -0
- /package/dist/{chunk-JAWXWNIX.js.map → chunk-UQTG4ZBA.js.map} +0 -0
- /package/dist/{chunk-EULHBV5V.js.map → chunk-URAXGHF2.js.map} +0 -0
- /package/dist/{chunk-KMDBOO3E.js.map → chunk-V2XIWRHP.js.map} +0 -0
- /package/dist/{chunk-7LCI5PSJ.js.map → chunk-ZFRALAK5.js.map} +0 -0
- /package/dist/{loader-CMSC3RAO.js.map → components/common/select-list.js.map} +0 -0
- /package/dist/{source-loader-YMWWZFVD.js.map → loader-KVKSTKWX.js.map} +0 -0
- /package/dist/{source-manager-6G3EVTU2.js.map → source-loader-65IAJPNV.js.map} +0 -0
|
@@ -1,9 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
ALL_SKILLS_FULLSTACK_CATEGORIES_MATRIX,
|
|
4
|
+
ALL_SKILLS_METHODOLOGY_BARE_MATRIX,
|
|
5
|
+
ALL_SKILLS_METHODOLOGY_MATRIX,
|
|
6
|
+
ALL_SKILLS_MULTI_DOMAIN_MATRIX,
|
|
7
|
+
ALL_SKILLS_TEST_CATEGORIES_MATRIX,
|
|
8
|
+
ALL_SKILLS_WEB_AND_API_MATRIX,
|
|
9
|
+
ALL_SKILLS_WEB_FRAMEWORK_MATRIX,
|
|
10
|
+
ALL_SKILLS_WEB_PAIR_CATEGORIES_MATRIX,
|
|
11
|
+
REACT_HONO_FRAMEWORK_API_MATRIX
|
|
12
|
+
} from "../chunk-D7FEORKC.js";
|
|
13
|
+
import "../chunk-Q3YMO5YG.js";
|
|
2
14
|
import {
|
|
3
15
|
SKILLS,
|
|
4
|
-
TEST_CATEGORIES,
|
|
5
16
|
createMockMatrix
|
|
6
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-WWHDP5CP.js";
|
|
7
18
|
import {
|
|
8
19
|
beforeEach,
|
|
9
20
|
describe,
|
|
@@ -12,18 +23,18 @@ import {
|
|
|
12
23
|
} from "../chunk-XY3XDVMI.js";
|
|
13
24
|
import {
|
|
14
25
|
useWizardStore
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
26
|
+
} from "../chunk-URAXGHF2.js";
|
|
27
|
+
import "../chunk-HMJGSAKV.js";
|
|
28
|
+
import "../chunk-F43WGOGN.js";
|
|
18
29
|
import {
|
|
19
30
|
typedKeys
|
|
20
31
|
} from "../chunk-T4EXUIBY.js";
|
|
21
32
|
import {
|
|
22
33
|
useMatrixStore
|
|
23
34
|
} from "../chunk-BKL3DF2Q.js";
|
|
24
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-ZEJIEC2A.js";
|
|
25
36
|
import "../chunk-EGMQ3SXN.js";
|
|
26
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-NKKYTCBH.js";
|
|
27
38
|
import {
|
|
28
39
|
init_esm_shims
|
|
29
40
|
} from "../chunk-DHET7RCE.js";
|
|
@@ -35,11 +46,7 @@ function sa(id, preloaded = false) {
|
|
|
35
46
|
}
|
|
36
47
|
describe("WizardStore", () => {
|
|
37
48
|
beforeEach(() => {
|
|
38
|
-
useMatrixStore.getState().setMatrix(
|
|
39
|
-
createMockMatrix(SKILLS, {
|
|
40
|
-
categories: TEST_CATEGORIES
|
|
41
|
-
})
|
|
42
|
-
);
|
|
49
|
+
useMatrixStore.getState().setMatrix(ALL_SKILLS_TEST_CATEGORIES_MATRIX);
|
|
43
50
|
});
|
|
44
51
|
describe("initial state", () => {
|
|
45
52
|
it("should start at stack step", () => {
|
|
@@ -211,15 +218,7 @@ describe("WizardStore", () => {
|
|
|
211
218
|
api: { "api-api": [sa("api-framework-hono", true)] }
|
|
212
219
|
}
|
|
213
220
|
};
|
|
214
|
-
useMatrixStore.getState().setMatrix(
|
|
215
|
-
createMockMatrix(SKILLS, {
|
|
216
|
-
categories: {
|
|
217
|
-
"web-framework": { domain: "web" },
|
|
218
|
-
"web-client-state": { domain: "web" },
|
|
219
|
-
"api-api": { domain: "api" }
|
|
220
|
-
}
|
|
221
|
-
})
|
|
222
|
-
);
|
|
221
|
+
useMatrixStore.getState().setMatrix(ALL_SKILLS_FULLSTACK_CATEGORIES_MATRIX);
|
|
223
222
|
store.populateFromStack(stack);
|
|
224
223
|
store.toggleDomain("web");
|
|
225
224
|
globalExpect(useWizardStore.getState().domainSelections.web).toBeUndefined();
|
|
@@ -230,14 +229,7 @@ describe("WizardStore", () => {
|
|
|
230
229
|
});
|
|
231
230
|
it("should restore stack skills when re-toggling a domain ON after populateFromSkillIds", () => {
|
|
232
231
|
const store = useWizardStore.getState();
|
|
233
|
-
useMatrixStore.getState().setMatrix(
|
|
234
|
-
createMockMatrix(SKILLS.react, SKILLS.hono, {
|
|
235
|
-
categories: {
|
|
236
|
-
"web-framework": TEST_CATEGORIES.framework,
|
|
237
|
-
"api-api": TEST_CATEGORIES.api
|
|
238
|
-
}
|
|
239
|
-
})
|
|
240
|
-
);
|
|
232
|
+
useMatrixStore.getState().setMatrix(REACT_HONO_FRAMEWORK_API_MATRIX);
|
|
241
233
|
store.populateFromSkillIds(["web-framework-react", "api-framework-hono"]);
|
|
242
234
|
store.toggleDomain("web");
|
|
243
235
|
globalExpect(useWizardStore.getState().domainSelections.web).toBeUndefined();
|
|
@@ -263,14 +255,7 @@ describe("WizardStore", () => {
|
|
|
263
255
|
api: { "api-api": [sa("api-framework-hono", true)] }
|
|
264
256
|
}
|
|
265
257
|
};
|
|
266
|
-
useMatrixStore.getState().setMatrix(
|
|
267
|
-
createMockMatrix(SKILLS, {
|
|
268
|
-
categories: {
|
|
269
|
-
"web-framework": { domain: "web" },
|
|
270
|
-
"api-api": { domain: "api" }
|
|
271
|
-
}
|
|
272
|
-
})
|
|
273
|
-
);
|
|
258
|
+
useMatrixStore.getState().setMatrix(ALL_SKILLS_WEB_AND_API_MATRIX);
|
|
274
259
|
store.populateFromStack(stack);
|
|
275
260
|
store.toggleTechnology("api", "api-api", "api-framework-hono", true);
|
|
276
261
|
store.toggleTechnology("api", "api-api", "api-framework-express", true);
|
|
@@ -291,9 +276,9 @@ describe("WizardStore", () => {
|
|
|
291
276
|
it("should replace technology in exclusive mode", () => {
|
|
292
277
|
const store = useWizardStore.getState();
|
|
293
278
|
store.toggleTechnology("web", "web-framework", "web-framework-react", true);
|
|
294
|
-
store.toggleTechnology("web", "web-framework", "web-framework-vue", true);
|
|
279
|
+
store.toggleTechnology("web", "web-framework", "web-framework-vue-composition-api", true);
|
|
295
280
|
const { domainSelections } = useWizardStore.getState();
|
|
296
|
-
globalExpect(domainSelections.web["web-framework"]).toEqual(["web-framework-vue"]);
|
|
281
|
+
globalExpect(domainSelections.web["web-framework"]).toEqual(["web-framework-vue-composition-api"]);
|
|
297
282
|
});
|
|
298
283
|
it("should toggle off technology in exclusive mode", () => {
|
|
299
284
|
const store = useWizardStore.getState();
|
|
@@ -445,10 +430,10 @@ describe("WizardStore", () => {
|
|
|
445
430
|
it("should replace skillConfigs entry in exclusive mode", () => {
|
|
446
431
|
const store = useWizardStore.getState();
|
|
447
432
|
store.toggleTechnology("web", "web-framework", "web-framework-react", true);
|
|
448
|
-
store.toggleTechnology("web", "web-framework", "web-framework-vue", true);
|
|
433
|
+
store.toggleTechnology("web", "web-framework", "web-framework-vue-composition-api", true);
|
|
449
434
|
const { skillConfigs } = useWizardStore.getState();
|
|
450
435
|
globalExpect(skillConfigs).toHaveLength(1);
|
|
451
|
-
globalExpect(skillConfigs[0].id).toBe("web-framework-vue");
|
|
436
|
+
globalExpect(skillConfigs[0].id).toBe("web-framework-vue-composition-api");
|
|
452
437
|
});
|
|
453
438
|
it("should accumulate skillConfigs in non-exclusive mode", () => {
|
|
454
439
|
const store = useWizardStore.getState();
|
|
@@ -507,14 +492,7 @@ describe("WizardStore", () => {
|
|
|
507
492
|
}
|
|
508
493
|
}
|
|
509
494
|
};
|
|
510
|
-
useMatrixStore.getState().setMatrix(
|
|
511
|
-
createMockMatrix(SKILLS, {
|
|
512
|
-
categories: {
|
|
513
|
-
"web-framework": { domain: "web" },
|
|
514
|
-
"web-client-state": { domain: "web" }
|
|
515
|
-
}
|
|
516
|
-
})
|
|
517
|
-
);
|
|
495
|
+
useMatrixStore.getState().setMatrix(ALL_SKILLS_WEB_PAIR_CATEGORIES_MATRIX);
|
|
518
496
|
store.populateFromStack(stack);
|
|
519
497
|
const { skillConfigs } = useWizardStore.getState();
|
|
520
498
|
globalExpect(skillConfigs).toHaveLength(2);
|
|
@@ -524,14 +502,7 @@ describe("WizardStore", () => {
|
|
|
524
502
|
});
|
|
525
503
|
it("should populate skillConfigs from populateFromSkillIds", () => {
|
|
526
504
|
const store = useWizardStore.getState();
|
|
527
|
-
useMatrixStore.getState().setMatrix(
|
|
528
|
-
createMockMatrix(SKILLS.react, SKILLS.hono, {
|
|
529
|
-
categories: {
|
|
530
|
-
"web-framework": TEST_CATEGORIES.framework,
|
|
531
|
-
"api-api": TEST_CATEGORIES.api
|
|
532
|
-
}
|
|
533
|
-
})
|
|
534
|
-
);
|
|
505
|
+
useMatrixStore.getState().setMatrix(REACT_HONO_FRAMEWORK_API_MATRIX);
|
|
535
506
|
store.populateFromSkillIds(["web-framework-react", "api-framework-hono"]);
|
|
536
507
|
const { skillConfigs } = useWizardStore.getState();
|
|
537
508
|
globalExpect(skillConfigs).toHaveLength(2);
|
|
@@ -555,13 +526,7 @@ describe("WizardStore", () => {
|
|
|
555
526
|
web: { "web-framework": [sa("web-framework-react", true)] }
|
|
556
527
|
}
|
|
557
528
|
};
|
|
558
|
-
useMatrixStore.getState().setMatrix(
|
|
559
|
-
createMockMatrix(SKILLS, {
|
|
560
|
-
categories: {
|
|
561
|
-
"web-framework": { domain: "web" }
|
|
562
|
-
}
|
|
563
|
-
})
|
|
564
|
-
);
|
|
529
|
+
useMatrixStore.getState().setMatrix(ALL_SKILLS_WEB_FRAMEWORK_MATRIX);
|
|
565
530
|
store.populateFromStack(stack);
|
|
566
531
|
globalExpect(useWizardStore.getState().skillConfigs).toHaveLength(1);
|
|
567
532
|
store.toggleDomain("web");
|
|
@@ -705,13 +670,7 @@ describe("WizardStore", () => {
|
|
|
705
670
|
web: { "web-framework": [sa("web-framework-react", true)] }
|
|
706
671
|
}
|
|
707
672
|
};
|
|
708
|
-
useMatrixStore.getState().setMatrix(
|
|
709
|
-
createMockMatrix(SKILLS, {
|
|
710
|
-
categories: {
|
|
711
|
-
"web-framework": { domain: "web" }
|
|
712
|
-
}
|
|
713
|
-
})
|
|
714
|
-
);
|
|
673
|
+
useMatrixStore.getState().setMatrix(ALL_SKILLS_WEB_FRAMEWORK_MATRIX);
|
|
715
674
|
store.populateFromStack(stack);
|
|
716
675
|
const { selectedDomains, domainSelections } = useWizardStore.getState();
|
|
717
676
|
globalExpect(selectedDomains).toEqual(["web", "api", "mobile", "cli", "shared"]);
|
|
@@ -730,15 +689,7 @@ describe("WizardStore", () => {
|
|
|
730
689
|
api: { "api-api": [sa("api-framework-hono", true)] }
|
|
731
690
|
}
|
|
732
691
|
};
|
|
733
|
-
useMatrixStore.getState().setMatrix(
|
|
734
|
-
createMockMatrix(SKILLS, {
|
|
735
|
-
categories: {
|
|
736
|
-
"web-framework": { domain: "web" },
|
|
737
|
-
"web-client-state": { domain: "web" },
|
|
738
|
-
"api-api": { domain: "api" }
|
|
739
|
-
}
|
|
740
|
-
})
|
|
741
|
-
);
|
|
692
|
+
useMatrixStore.getState().setMatrix(ALL_SKILLS_FULLSTACK_CATEGORIES_MATRIX);
|
|
742
693
|
store.populateFromStack(stack);
|
|
743
694
|
const { domainSelections } = useWizardStore.getState();
|
|
744
695
|
globalExpect(domainSelections.web["web-framework"]).toEqual(["web-framework-react"]);
|
|
@@ -752,13 +703,7 @@ describe("WizardStore", () => {
|
|
|
752
703
|
misc: { "shared-methodology": [sa("meta-methodology-vitest")] }
|
|
753
704
|
}
|
|
754
705
|
};
|
|
755
|
-
useMatrixStore.getState().setMatrix(
|
|
756
|
-
createMockMatrix(SKILLS, {
|
|
757
|
-
categories: {
|
|
758
|
-
"shared-methodology": {}
|
|
759
|
-
}
|
|
760
|
-
})
|
|
761
|
-
);
|
|
706
|
+
useMatrixStore.getState().setMatrix(ALL_SKILLS_METHODOLOGY_BARE_MATRIX);
|
|
762
707
|
store.populateFromStack(stack);
|
|
763
708
|
const { domainSelections } = useWizardStore.getState();
|
|
764
709
|
globalExpect(typedKeys(domainSelections)).toHaveLength(0);
|
|
@@ -776,13 +721,7 @@ describe("WizardStore", () => {
|
|
|
776
721
|
}
|
|
777
722
|
}
|
|
778
723
|
};
|
|
779
|
-
useMatrixStore.getState().setMatrix(
|
|
780
|
-
createMockMatrix(SKILLS, {
|
|
781
|
-
categories: {
|
|
782
|
-
"shared-methodology": { domain: "shared" }
|
|
783
|
-
}
|
|
784
|
-
})
|
|
785
|
-
);
|
|
724
|
+
useMatrixStore.getState().setMatrix(ALL_SKILLS_METHODOLOGY_MATRIX);
|
|
786
725
|
store.populateFromStack(stack);
|
|
787
726
|
const { domainSelections } = useWizardStore.getState();
|
|
788
727
|
globalExpect(domainSelections.shared["shared-methodology"]).toEqual([
|
|
@@ -805,15 +744,7 @@ describe("WizardStore", () => {
|
|
|
805
744
|
api: { "api-api": [sa("api-framework-hono", true)] }
|
|
806
745
|
}
|
|
807
746
|
};
|
|
808
|
-
useMatrixStore.getState().setMatrix(
|
|
809
|
-
createMockMatrix(SKILLS, {
|
|
810
|
-
categories: {
|
|
811
|
-
"web-framework": { domain: "web" },
|
|
812
|
-
"shared-methodology": { domain: "shared" },
|
|
813
|
-
"api-api": { domain: "api" }
|
|
814
|
-
}
|
|
815
|
-
})
|
|
816
|
-
);
|
|
747
|
+
useMatrixStore.getState().setMatrix(ALL_SKILLS_MULTI_DOMAIN_MATRIX);
|
|
817
748
|
store.populateFromStack(stack);
|
|
818
749
|
const { domainSelections } = useWizardStore.getState();
|
|
819
750
|
globalExpect(domainSelections.web["web-framework"]).toEqual(["web-framework-react"]);
|
|
@@ -841,13 +772,7 @@ describe("WizardStore", () => {
|
|
|
841
772
|
}
|
|
842
773
|
}
|
|
843
774
|
};
|
|
844
|
-
useMatrixStore.getState().setMatrix(
|
|
845
|
-
createMockMatrix(SKILLS, {
|
|
846
|
-
categories: {
|
|
847
|
-
"shared-methodology": { domain: "shared" }
|
|
848
|
-
}
|
|
849
|
-
})
|
|
850
|
-
);
|
|
775
|
+
useMatrixStore.getState().setMatrix(ALL_SKILLS_METHODOLOGY_MATRIX);
|
|
851
776
|
store.populateFromStack(stack);
|
|
852
777
|
const { domainSelections } = useWizardStore.getState();
|
|
853
778
|
globalExpect(domainSelections.shared["shared-methodology"]).toEqual([
|