@agents-inc/cli 0.71.0 → 0.73.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 +25 -0
- package/README.md +172 -23
- package/dist/{chunk-V5L532ZH.js → chunk-3K6FSET7.js} +6 -6
- package/dist/{chunk-HWVRHPXR.js → chunk-3REVX6S5.js} +11 -11
- package/dist/chunk-3REVX6S5.js.map +1 -0
- package/dist/{chunk-CADG5WWP.js → chunk-3VNQPCOE.js} +2511 -2688
- package/dist/chunk-3VNQPCOE.js.map +1 -0
- package/dist/{chunk-KANNRFY7.js → chunk-4KLUOFP6.js} +6 -7
- package/dist/chunk-4KLUOFP6.js.map +1 -0
- package/dist/{chunk-FCF4WQEI.js → chunk-6JRQPSKV.js} +2 -2
- package/dist/chunk-6JRQPSKV.js.map +1 -0
- package/dist/{chunk-ZYUASJUN.js → chunk-BH4LN7XV.js} +8 -6
- package/dist/chunk-BH4LN7XV.js.map +1 -0
- package/dist/{chunk-6YMW4HMX.js → chunk-DNPJ5GUK.js} +6 -6
- package/dist/chunk-DNPJ5GUK.js.map +1 -0
- package/dist/chunk-E74Q7GUE.js +5132 -0
- package/dist/chunk-E74Q7GUE.js.map +1 -0
- package/dist/{chunk-XYRVAEI6.js → chunk-EMWP363L.js} +8 -10
- package/dist/chunk-EMWP363L.js.map +1 -0
- package/dist/chunk-EMX7PA2I.js +39 -0
- package/dist/chunk-EMX7PA2I.js.map +1 -0
- package/dist/{chunk-KSAGOKWT.js → chunk-G23HPF6K.js} +3 -3
- package/dist/chunk-GDUOOT3J.js +689 -0
- package/dist/chunk-GDUOOT3J.js.map +1 -0
- package/dist/{chunk-X4RIMJNY.js → chunk-GSFZDUV2.js} +4 -4
- package/dist/chunk-GSFZDUV2.js.map +1 -0
- package/dist/{chunk-XB3TYSPL.js → chunk-H4ETXZVL.js} +6 -6
- package/dist/{chunk-XMZNHLV3.js → chunk-JHMECCBN.js} +4 -5
- package/dist/chunk-JHMECCBN.js.map +1 -0
- package/dist/{chunk-UDAHHJIM.js → chunk-K7WYMQQB.js} +18 -20
- package/dist/chunk-K7WYMQQB.js.map +1 -0
- package/dist/{chunk-AX6MMYAZ.js → chunk-KE2EAVFQ.js} +4 -4
- package/dist/{chunk-CKPJTMNC.js → chunk-KSMT5FVM.js} +4 -4
- package/dist/chunk-KSMT5FVM.js.map +1 -0
- package/dist/{chunk-KWB3B2HS.js → chunk-NKKYTCBH.js} +109 -86
- package/dist/chunk-NKKYTCBH.js.map +1 -0
- package/dist/{chunk-52THXN5G.js → chunk-NUJHWYCR.js} +2 -2
- package/dist/{chunk-QOJAZI72.js → chunk-OLWGGD4G.js} +20 -15
- package/dist/chunk-OLWGGD4G.js.map +1 -0
- package/dist/{chunk-UQM5YPPJ.js → chunk-PNZCVOCE.js} +5 -5
- package/dist/chunk-PNZCVOCE.js.map +1 -0
- package/dist/chunk-SRIH4U5Y.js +159 -0
- package/dist/chunk-SRIH4U5Y.js.map +1 -0
- package/dist/{chunk-6BXKF5GP.js → chunk-T7QY777F.js} +2 -2
- package/dist/{chunk-DHBRWGRZ.js → chunk-TNSVPZHP.js} +20 -2
- package/dist/chunk-TNSVPZHP.js.map +1 -0
- package/dist/{chunk-J2D6OBIX.js → chunk-V5HR77EY.js} +117 -13
- package/dist/chunk-V5HR77EY.js.map +1 -0
- package/dist/{chunk-R3AR4VLZ.js → chunk-WJL4KU5V.js} +70 -240
- package/dist/chunk-WJL4KU5V.js.map +1 -0
- package/dist/{chunk-VUUGWE6G.js → chunk-Y47CLMWE.js} +2 -2
- package/dist/{chunk-2VT2DMD7.js → chunk-Y4VUU5BT.js} +12 -14
- package/dist/chunk-Y4VUU5BT.js.map +1 -0
- package/dist/{chunk-L6MTIQ2U.js → chunk-ZBLSWJFM.js} +2 -2
- package/dist/chunk-ZBLSWJFM.js.map +1 -0
- package/dist/commands/build/marketplace.js +4 -3
- package/dist/commands/build/marketplace.js.map +1 -1
- package/dist/commands/build/plugins.js +9 -8
- package/dist/commands/build/plugins.js.map +1 -1
- package/dist/commands/build/stack.js +9 -8
- package/dist/commands/build/stack.js.map +1 -1
- package/dist/commands/compile.js +14 -10
- package/dist/commands/compile.js.map +1 -1
- package/dist/commands/config/index.js +9 -8
- package/dist/commands/config/index.js.map +1 -1
- package/dist/commands/config/path.js +8 -7
- package/dist/commands/config/path.js.map +1 -1
- package/dist/commands/config/show.js +9 -8
- package/dist/commands/diff.js +8 -7
- package/dist/commands/diff.js.map +1 -1
- package/dist/commands/doctor.js +13 -14
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/edit.js +33 -35
- package/dist/commands/edit.js.map +1 -1
- package/dist/commands/eject.js +15 -13
- package/dist/commands/eject.js.map +1 -1
- package/dist/commands/import/skill.js +8 -7
- package/dist/commands/import/skill.js.map +1 -1
- package/dist/commands/info.js +12 -11
- package/dist/commands/info.js.map +1 -1
- package/dist/commands/init.js +28 -27
- package/dist/commands/list.js +8 -7
- package/dist/commands/list.js.map +1 -1
- package/dist/commands/new/agent.js +9 -8
- package/dist/commands/new/agent.js.map +1 -1
- package/dist/commands/new/marketplace.js +12 -15
- package/dist/commands/new/marketplace.js.map +1 -1
- package/dist/commands/new/skill.js +9 -8
- package/dist/commands/outdated.js +8 -7
- package/dist/commands/outdated.js.map +1 -1
- package/dist/commands/search.js +9 -10
- package/dist/commands/search.js.map +1 -1
- package/dist/commands/uninstall.js +8 -7
- package/dist/commands/uninstall.js.map +1 -1
- package/dist/commands/update.js +10 -10
- package/dist/commands/update.js.map +1 -1
- package/dist/commands/validate.js +16 -18
- package/dist/commands/validate.js.map +1 -1
- package/dist/components/wizard/category-grid.js +2 -2
- package/dist/components/wizard/category-grid.test.js +17 -66
- package/dist/components/wizard/category-grid.test.js.map +1 -1
- package/dist/components/wizard/domain-selection.js +10 -9
- package/dist/components/wizard/search-modal.test.js.map +1 -1
- package/dist/components/wizard/source-grid.js +4 -4
- package/dist/components/wizard/source-grid.test.js +22 -20
- package/dist/components/wizard/source-grid.test.js.map +1 -1
- package/dist/components/wizard/stack-selection.js +9 -8
- package/dist/components/wizard/step-agents.js +10 -9
- package/dist/components/wizard/step-agents.test.js +15 -14
- package/dist/components/wizard/step-agents.test.js.map +1 -1
- package/dist/components/wizard/step-build.js +11 -10
- package/dist/components/wizard/step-build.test.js +17 -16
- package/dist/components/wizard/step-build.test.js.map +1 -1
- package/dist/components/wizard/step-confirm.js +5 -4
- package/dist/components/wizard/step-confirm.test.js +11 -10
- package/dist/components/wizard/step-confirm.test.js.map +1 -1
- package/dist/components/wizard/step-settings.js +9 -8
- package/dist/components/wizard/step-settings.test.js +12 -11
- package/dist/components/wizard/step-settings.test.js.map +1 -1
- package/dist/components/wizard/step-sources.js +14 -13
- package/dist/components/wizard/step-sources.test.js +19 -18
- package/dist/components/wizard/step-sources.test.js.map +1 -1
- package/dist/components/wizard/step-stack.js +12 -11
- package/dist/components/wizard/step-stack.test.js +16 -15
- package/dist/components/wizard/step-stack.test.js.map +1 -1
- package/dist/components/wizard/wizard-layout.js +9 -8
- package/dist/components/wizard/wizard.js +26 -25
- package/dist/config-exports.js +1 -1
- package/dist/hooks/init.js +28 -27
- package/dist/hooks/init.js.map +1 -1
- package/dist/{loader-CMSC3RAO.js → loader-XQ3WBTVP.js} +4 -3
- package/dist/source-loader-F4PGP6LH.js +18 -0
- package/dist/source-manager-QCIO4XZK.js +20 -0
- package/dist/stores/wizard-store.js +8 -7
- package/dist/stores/wizard-store.test.js +34 -33
- package/dist/stores/wizard-store.test.js.map +1 -1
- package/package.json +2 -1
- package/src/schemas/custom-metadata.schema.json +81 -0
- package/src/schemas/metadata.schema.json +127 -41
- package/src/schemas/stacks.schema.json +3 -45
- package/dist/chunk-2VT2DMD7.js.map +0 -1
- package/dist/chunk-6YMW4HMX.js.map +0 -1
- package/dist/chunk-BKL3DF2Q.js +0 -45
- package/dist/chunk-BKL3DF2Q.js.map +0 -1
- package/dist/chunk-CADG5WWP.js.map +0 -1
- package/dist/chunk-CKPJTMNC.js.map +0 -1
- package/dist/chunk-DA3WIZ4C.js +0 -253
- package/dist/chunk-DA3WIZ4C.js.map +0 -1
- package/dist/chunk-DHBRWGRZ.js.map +0 -1
- package/dist/chunk-FCF4WQEI.js.map +0 -1
- package/dist/chunk-HWVRHPXR.js.map +0 -1
- package/dist/chunk-J2D6OBIX.js.map +0 -1
- package/dist/chunk-KANNRFY7.js.map +0 -1
- package/dist/chunk-KWB3B2HS.js.map +0 -1
- package/dist/chunk-L6MTIQ2U.js.map +0 -1
- package/dist/chunk-QOJAZI72.js.map +0 -1
- package/dist/chunk-R3AR4VLZ.js.map +0 -1
- package/dist/chunk-T4EXUIBY.js +0 -19
- package/dist/chunk-T4EXUIBY.js.map +0 -1
- package/dist/chunk-UDAHHJIM.js.map +0 -1
- package/dist/chunk-UQM5YPPJ.js.map +0 -1
- package/dist/chunk-X4RIMJNY.js.map +0 -1
- package/dist/chunk-XMZNHLV3.js.map +0 -1
- package/dist/chunk-XYRVAEI6.js.map +0 -1
- package/dist/chunk-ZYUASJUN.js.map +0 -1
- package/dist/source-loader-3MZ2MBOF.js +0 -17
- package/dist/source-manager-NEH6QXE5.js +0 -19
- package/dist/stores/matrix-store.js +0 -15
- package/dist/stores/matrix-store.js.map +0 -1
- package/dist/stores/matrix-store.test.js +0 -127
- package/dist/stores/matrix-store.test.js.map +0 -1
- /package/dist/{chunk-V5L532ZH.js.map → chunk-3K6FSET7.js.map} +0 -0
- /package/dist/{chunk-KSAGOKWT.js.map → chunk-G23HPF6K.js.map} +0 -0
- /package/dist/{chunk-XB3TYSPL.js.map → chunk-H4ETXZVL.js.map} +0 -0
- /package/dist/{chunk-AX6MMYAZ.js.map → chunk-KE2EAVFQ.js.map} +0 -0
- /package/dist/{chunk-52THXN5G.js.map → chunk-NUJHWYCR.js.map} +0 -0
- /package/dist/{chunk-6BXKF5GP.js.map → chunk-T7QY777F.js.map} +0 -0
- /package/dist/{chunk-VUUGWE6G.js.map → chunk-Y47CLMWE.js.map} +0 -0
- /package/dist/{loader-CMSC3RAO.js.map → loader-XQ3WBTVP.js.map} +0 -0
- /package/dist/{source-loader-3MZ2MBOF.js.map → source-loader-F4PGP6LH.js.map} +0 -0
- /package/dist/{source-manager-NEH6QXE5.js.map → source-manager-QCIO4XZK.js.map} +0 -0
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
ALL_SKILLS_WEB_FRAMEWORK_MATRIX,
|
|
10
10
|
ALL_SKILLS_WEB_PAIR_CATEGORIES_MATRIX,
|
|
11
11
|
REACT_HONO_FRAMEWORK_API_MATRIX
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-GDUOOT3J.js";
|
|
13
|
+
import "../chunk-TNSVPZHP.js";
|
|
14
14
|
import {
|
|
15
15
|
SKILLS,
|
|
16
16
|
createMockMatrix
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-V5HR77EY.js";
|
|
18
18
|
import {
|
|
19
19
|
beforeEach,
|
|
20
20
|
describe,
|
|
@@ -23,18 +23,19 @@ import {
|
|
|
23
23
|
} from "../chunk-XY3XDVMI.js";
|
|
24
24
|
import {
|
|
25
25
|
useWizardStore
|
|
26
|
-
} from "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
26
|
+
} from "../chunk-OLWGGD4G.js";
|
|
27
|
+
import "../chunk-3VNQPCOE.js";
|
|
28
|
+
import "../chunk-ZBLSWJFM.js";
|
|
29
29
|
import {
|
|
30
30
|
typedKeys
|
|
31
|
-
} from "../chunk-
|
|
31
|
+
} from "../chunk-EMX7PA2I.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "../chunk-
|
|
35
|
-
import "../chunk-
|
|
33
|
+
initializeMatrix
|
|
34
|
+
} from "../chunk-E74Q7GUE.js";
|
|
35
|
+
import "../chunk-WJL4KU5V.js";
|
|
36
|
+
import "../chunk-SRIH4U5Y.js";
|
|
36
37
|
import "../chunk-EGMQ3SXN.js";
|
|
37
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-NKKYTCBH.js";
|
|
38
39
|
import {
|
|
39
40
|
init_esm_shims
|
|
40
41
|
} from "../chunk-DHET7RCE.js";
|
|
@@ -46,7 +47,7 @@ function sa(id, preloaded = false) {
|
|
|
46
47
|
}
|
|
47
48
|
describe("WizardStore", () => {
|
|
48
49
|
beforeEach(() => {
|
|
49
|
-
|
|
50
|
+
initializeMatrix(ALL_SKILLS_TEST_CATEGORIES_MATRIX);
|
|
50
51
|
});
|
|
51
52
|
describe("initial state", () => {
|
|
52
53
|
it("should start at stack step", () => {
|
|
@@ -218,7 +219,7 @@ describe("WizardStore", () => {
|
|
|
218
219
|
api: { "api-api": [sa("api-framework-hono", true)] }
|
|
219
220
|
}
|
|
220
221
|
};
|
|
221
|
-
|
|
222
|
+
initializeMatrix(ALL_SKILLS_FULLSTACK_CATEGORIES_MATRIX);
|
|
222
223
|
store.populateFromStack(stack);
|
|
223
224
|
store.toggleDomain("web");
|
|
224
225
|
globalExpect(useWizardStore.getState().domainSelections.web).toBeUndefined();
|
|
@@ -229,7 +230,7 @@ describe("WizardStore", () => {
|
|
|
229
230
|
});
|
|
230
231
|
it("should restore stack skills when re-toggling a domain ON after populateFromSkillIds", () => {
|
|
231
232
|
const store = useWizardStore.getState();
|
|
232
|
-
|
|
233
|
+
initializeMatrix(REACT_HONO_FRAMEWORK_API_MATRIX);
|
|
233
234
|
store.populateFromSkillIds(["web-framework-react", "api-framework-hono"]);
|
|
234
235
|
store.toggleDomain("web");
|
|
235
236
|
globalExpect(useWizardStore.getState().domainSelections.web).toBeUndefined();
|
|
@@ -255,7 +256,7 @@ describe("WizardStore", () => {
|
|
|
255
256
|
api: { "api-api": [sa("api-framework-hono", true)] }
|
|
256
257
|
}
|
|
257
258
|
};
|
|
258
|
-
|
|
259
|
+
initializeMatrix(ALL_SKILLS_WEB_AND_API_MATRIX);
|
|
259
260
|
store.populateFromStack(stack);
|
|
260
261
|
store.toggleTechnology("api", "api-api", "api-framework-hono", true);
|
|
261
262
|
store.toggleTechnology("api", "api-api", "api-framework-express", true);
|
|
@@ -276,9 +277,9 @@ describe("WizardStore", () => {
|
|
|
276
277
|
it("should replace technology in exclusive mode", () => {
|
|
277
278
|
const store = useWizardStore.getState();
|
|
278
279
|
store.toggleTechnology("web", "web-framework", "web-framework-react", true);
|
|
279
|
-
store.toggleTechnology("web", "web-framework", "web-framework-vue", true);
|
|
280
|
+
store.toggleTechnology("web", "web-framework", "web-framework-vue-composition-api", true);
|
|
280
281
|
const { domainSelections } = useWizardStore.getState();
|
|
281
|
-
globalExpect(domainSelections.web["web-framework"]).toEqual(["web-framework-vue"]);
|
|
282
|
+
globalExpect(domainSelections.web["web-framework"]).toEqual(["web-framework-vue-composition-api"]);
|
|
282
283
|
});
|
|
283
284
|
it("should toggle off technology in exclusive mode", () => {
|
|
284
285
|
const store = useWizardStore.getState();
|
|
@@ -430,10 +431,10 @@ describe("WizardStore", () => {
|
|
|
430
431
|
it("should replace skillConfigs entry in exclusive mode", () => {
|
|
431
432
|
const store = useWizardStore.getState();
|
|
432
433
|
store.toggleTechnology("web", "web-framework", "web-framework-react", true);
|
|
433
|
-
store.toggleTechnology("web", "web-framework", "web-framework-vue", true);
|
|
434
|
+
store.toggleTechnology("web", "web-framework", "web-framework-vue-composition-api", true);
|
|
434
435
|
const { skillConfigs } = useWizardStore.getState();
|
|
435
436
|
globalExpect(skillConfigs).toHaveLength(1);
|
|
436
|
-
globalExpect(skillConfigs[0].id).toBe("web-framework-vue");
|
|
437
|
+
globalExpect(skillConfigs[0].id).toBe("web-framework-vue-composition-api");
|
|
437
438
|
});
|
|
438
439
|
it("should accumulate skillConfigs in non-exclusive mode", () => {
|
|
439
440
|
const store = useWizardStore.getState();
|
|
@@ -492,7 +493,7 @@ describe("WizardStore", () => {
|
|
|
492
493
|
}
|
|
493
494
|
}
|
|
494
495
|
};
|
|
495
|
-
|
|
496
|
+
initializeMatrix(ALL_SKILLS_WEB_PAIR_CATEGORIES_MATRIX);
|
|
496
497
|
store.populateFromStack(stack);
|
|
497
498
|
const { skillConfigs } = useWizardStore.getState();
|
|
498
499
|
globalExpect(skillConfigs).toHaveLength(2);
|
|
@@ -502,7 +503,7 @@ describe("WizardStore", () => {
|
|
|
502
503
|
});
|
|
503
504
|
it("should populate skillConfigs from populateFromSkillIds", () => {
|
|
504
505
|
const store = useWizardStore.getState();
|
|
505
|
-
|
|
506
|
+
initializeMatrix(REACT_HONO_FRAMEWORK_API_MATRIX);
|
|
506
507
|
store.populateFromSkillIds(["web-framework-react", "api-framework-hono"]);
|
|
507
508
|
const { skillConfigs } = useWizardStore.getState();
|
|
508
509
|
globalExpect(skillConfigs).toHaveLength(2);
|
|
@@ -526,7 +527,7 @@ describe("WizardStore", () => {
|
|
|
526
527
|
web: { "web-framework": [sa("web-framework-react", true)] }
|
|
527
528
|
}
|
|
528
529
|
};
|
|
529
|
-
|
|
530
|
+
initializeMatrix(ALL_SKILLS_WEB_FRAMEWORK_MATRIX);
|
|
530
531
|
store.populateFromStack(stack);
|
|
531
532
|
globalExpect(useWizardStore.getState().skillConfigs).toHaveLength(1);
|
|
532
533
|
store.toggleDomain("web");
|
|
@@ -556,7 +557,7 @@ describe("WizardStore", () => {
|
|
|
556
557
|
const store = useWizardStore.getState();
|
|
557
558
|
store.toggleTechnology("web", "web-framework", "web-framework-react", true);
|
|
558
559
|
store.setSourceSelection("web-framework-react", "local");
|
|
559
|
-
|
|
560
|
+
initializeMatrix(
|
|
560
561
|
createMockMatrix({
|
|
561
562
|
...SKILLS.react,
|
|
562
563
|
availableSources: [{ name: "Acme Corp", type: "private", installed: false }]
|
|
@@ -670,7 +671,7 @@ describe("WizardStore", () => {
|
|
|
670
671
|
web: { "web-framework": [sa("web-framework-react", true)] }
|
|
671
672
|
}
|
|
672
673
|
};
|
|
673
|
-
|
|
674
|
+
initializeMatrix(ALL_SKILLS_WEB_FRAMEWORK_MATRIX);
|
|
674
675
|
store.populateFromStack(stack);
|
|
675
676
|
const { selectedDomains, domainSelections } = useWizardStore.getState();
|
|
676
677
|
globalExpect(selectedDomains).toEqual(["web", "api", "mobile", "cli", "shared"]);
|
|
@@ -689,7 +690,7 @@ describe("WizardStore", () => {
|
|
|
689
690
|
api: { "api-api": [sa("api-framework-hono", true)] }
|
|
690
691
|
}
|
|
691
692
|
};
|
|
692
|
-
|
|
693
|
+
initializeMatrix(ALL_SKILLS_FULLSTACK_CATEGORIES_MATRIX);
|
|
693
694
|
store.populateFromStack(stack);
|
|
694
695
|
const { domainSelections } = useWizardStore.getState();
|
|
695
696
|
globalExpect(domainSelections.web["web-framework"]).toEqual(["web-framework-react"]);
|
|
@@ -703,7 +704,7 @@ describe("WizardStore", () => {
|
|
|
703
704
|
misc: { "shared-methodology": [sa("meta-methodology-vitest")] }
|
|
704
705
|
}
|
|
705
706
|
};
|
|
706
|
-
|
|
707
|
+
initializeMatrix(ALL_SKILLS_METHODOLOGY_BARE_MATRIX);
|
|
707
708
|
store.populateFromStack(stack);
|
|
708
709
|
const { domainSelections } = useWizardStore.getState();
|
|
709
710
|
globalExpect(typedKeys(domainSelections)).toHaveLength(0);
|
|
@@ -721,7 +722,7 @@ describe("WizardStore", () => {
|
|
|
721
722
|
}
|
|
722
723
|
}
|
|
723
724
|
};
|
|
724
|
-
|
|
725
|
+
initializeMatrix(ALL_SKILLS_METHODOLOGY_MATRIX);
|
|
725
726
|
store.populateFromStack(stack);
|
|
726
727
|
const { domainSelections } = useWizardStore.getState();
|
|
727
728
|
globalExpect(domainSelections.shared["shared-methodology"]).toEqual([
|
|
@@ -744,7 +745,7 @@ describe("WizardStore", () => {
|
|
|
744
745
|
api: { "api-api": [sa("api-framework-hono", true)] }
|
|
745
746
|
}
|
|
746
747
|
};
|
|
747
|
-
|
|
748
|
+
initializeMatrix(ALL_SKILLS_MULTI_DOMAIN_MATRIX);
|
|
748
749
|
store.populateFromStack(stack);
|
|
749
750
|
const { domainSelections } = useWizardStore.getState();
|
|
750
751
|
globalExpect(domainSelections.web["web-framework"]).toEqual(["web-framework-react"]);
|
|
@@ -772,7 +773,7 @@ describe("WizardStore", () => {
|
|
|
772
773
|
}
|
|
773
774
|
}
|
|
774
775
|
};
|
|
775
|
-
|
|
776
|
+
initializeMatrix(ALL_SKILLS_METHODOLOGY_MATRIX);
|
|
776
777
|
store.populateFromStack(stack);
|
|
777
778
|
const { domainSelections } = useWizardStore.getState();
|
|
778
779
|
globalExpect(domainSelections.shared["shared-methodology"]).toEqual([
|
|
@@ -844,7 +845,7 @@ describe("WizardStore", () => {
|
|
|
844
845
|
makeSource({ name: "local", type: "local", installed: true, installMode: "local" })
|
|
845
846
|
]
|
|
846
847
|
};
|
|
847
|
-
|
|
848
|
+
initializeMatrix(createMockMatrix(skill));
|
|
848
849
|
store.toggleTechnology("web", "web-framework", "web-framework-react", true);
|
|
849
850
|
const rows = store.buildSourceRows();
|
|
850
851
|
globalExpect(rows).toHaveLength(1);
|
|
@@ -860,7 +861,7 @@ describe("WizardStore", () => {
|
|
|
860
861
|
makeSource({ name: "Acme Corp", type: "private", primary: true })
|
|
861
862
|
]
|
|
862
863
|
};
|
|
863
|
-
|
|
864
|
+
initializeMatrix(createMockMatrix(skill));
|
|
864
865
|
store.toggleTechnology("web", "web-framework", "web-framework-react", true);
|
|
865
866
|
const rows = store.buildSourceRows();
|
|
866
867
|
globalExpect(rows).toHaveLength(1);
|
|
@@ -877,7 +878,7 @@ describe("WizardStore", () => {
|
|
|
877
878
|
makeSource({ name: "agents-inc", type: "public" })
|
|
878
879
|
]
|
|
879
880
|
};
|
|
880
|
-
|
|
881
|
+
initializeMatrix(createMockMatrix(skill));
|
|
881
882
|
store.toggleTechnology("web", "web-framework", "web-framework-react", true);
|
|
882
883
|
const rows = store.buildSourceRows();
|
|
883
884
|
globalExpect(rows).toHaveLength(1);
|
|
@@ -896,7 +897,7 @@ describe("WizardStore", () => {
|
|
|
896
897
|
makeSource({ name: "local", type: "local", installed: true, installMode: "local" })
|
|
897
898
|
]
|
|
898
899
|
};
|
|
899
|
-
|
|
900
|
+
initializeMatrix(createMockMatrix(skill));
|
|
900
901
|
store.toggleTechnology("web", "web-framework", "web-framework-react", true);
|
|
901
902
|
const rows = store.buildSourceRows();
|
|
902
903
|
globalExpect(rows).toHaveLength(1);
|