@suluk/cockpit 0.1.14 → 0.1.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suluk/cockpit",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "The pure cockpit core (cycle model · builder model · codegen · deploy planning · validate/audit/preview) shared by the vscode extension and the /superadmin web admin panel. CANDIDATE tooling.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -19,15 +19,15 @@
19
19
  ".": "./src/index.ts"
20
20
  },
21
21
  "dependencies": {
22
- "@suluk/core": "0.1.6",
23
- "@suluk/hono": "0.1.1",
24
- "@suluk/scalar": "0.1.1",
25
- "@suluk/swagger": "0.1.1",
26
- "@suluk/shadcn": "0.1.1",
27
- "@suluk/builder": "0.1.9",
28
- "@suluk/deploy": "0.1.1",
29
- "@suluk/cost": "0.1.1",
30
- "@suluk/visual": "0.1.1"
22
+ "@suluk/core": "^0.1.7",
23
+ "@suluk/hono": "^0.1.2",
24
+ "@suluk/scalar": "^0.1.2",
25
+ "@suluk/swagger": "^0.1.2",
26
+ "@suluk/shadcn": "^0.1.2",
27
+ "@suluk/builder": "^0.1.11",
28
+ "@suluk/deploy": "^0.1.3",
29
+ "@suluk/cost": "^0.1.2",
30
+ "@suluk/visual": "^0.1.3"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/bun": "latest"
@@ -21,9 +21,9 @@ describe("installModule → the cockpit cycle lights up", () => {
21
21
  test("the host alone has only User", () => {
22
22
  expect(layer(before, "data").items.map((i) => i.label)).toEqual(["User"]);
23
23
  });
24
- test("after install, the data layer gains Product + Order", () => {
24
+ test("after install, the data layer gains the ecommerce entities", () => {
25
25
  const entities = layer(after, "data").items.map((i) => i.label).sort();
26
- expect(entities).toEqual(["Order", "Product", "User"]);
26
+ expect(entities).toEqual(["Cart", "Discount", "Order", "Product", "Review", "User", "Variant", "Wishlist"]);
27
27
  });
28
28
  test("the contract layer gains the module's operations (incl. checkout)", () => {
29
29
  const ops = layer(after, "contract").items.map((i) => i.label);
@@ -38,7 +38,7 @@ describe("installModule → the cockpit cycle lights up", () => {
38
38
  });
39
39
  test("the UI layer derives a form/table for the new entities", () => {
40
40
  const ui = layer(after, "ui").items.map((i) => i.label).sort();
41
- expect(ui).toEqual(["Order", "Product", "User"]);
41
+ expect(ui).toEqual(["Cart", "Discount", "Order", "Product", "Review", "User", "Variant", "Wishlist"]);
42
42
  });
43
43
  test("the document still validates against the v4 meta-schema after the merge", () => {
44
44
  expect(after.valid).toBe(true);