Commit 681d12e
authored
chore(deps): batch-consolidate patch/minor/security Renovate updates (#1033)
* fix(deps): update actions/checkout action to v6.1.0
* fix(deps): update pnpm/action-setup action to v4.4.0
* fix(deps): update dependency tsx to v4.23.11
* fix(deps): update dependency prettier to v3.9.6
* fix(deps): update dependency @commercetools/platform-sdk to v8.27.0
* fix(deps): update dependency @babel/runtime to v7.29.7
* fix(deps): update dependency @babel/runtime-corejs3 to v7.29.7
* fix(deps): update dependency @commercetools-frontend/babel-preset-mc-app to v24.13.0
* fix(deps): update dependency @commercetools-frontend/eslint-config-mc-app to v24.13.0
* fix(deps): update dependency @commercetools-frontend/mc-scripts to v24.13.0
* fix(deps): update dependency squirrelly to v9.1.1
* fix(deps): update dependency @types/lodash to v4.17.25
* fix(deps): update dependency @preconstruct/cli to v2.8.13
* fix(deps): update dependency babel-plugin-module-resolver to v5.0.3
* fix(deps): update dependency dotenv to v17.4.2
* fix(deps): update dependency lodash to v4.18.1 [security]
* fix(deps): update dependency @babel/core to v7.29.6 [security]
* chore(deps): regenerate lockfile
* fix(deps): update dependency jest to v30.4.2
* fix(deps): update dependency jest-fail-on-console to v3.3.4
* fix(deps): update dependency @types/node to v24.13.3
* fix(deps): update dependency @changesets/changelog-github to v0.7.0
* fix(deps): update dependency @changesets/cli to v2.31.1
* fix(deps): update dependency @faker-js/faker to v10.5.0
* fix(deps): update actions/setup-node action to v6.5.0
* chore(deps): regenerate lockfile
* fix(cart-discount): add missing recurringOrderScope generator to keep up with platform-sdk 8.27.0 types
CartDiscount now requires recurringOrderScope (RecurringOrderScope union:
AnyOrder | ApplicableRecurrencePolicies | NonRecurringOrdersOnly |
RecurringOrdersOnly). Mirrors the existing 'value' field's arrayElement
pattern to vary across the union, building a real recurrence-policy
reference for the ApplicableRecurrencePolicies variant.
* fix(cart): add missing purchaseOrderNumber, freezeStrategy, lock, warnings, reservation generators to keep up with platform-sdk 8.27.0 types
- CartDraft/Cart: purchaseOrderNumber (string, mirrors the order model's
existing generator pattern).
- Cart: freezeStrategy (new FreezeStrategy enum, no GraphQL equivalent yet
so values are declared manually against the SDK type, matching the
precedent in cart-discount-value-absolute/constants.ts), lock (optional
CartLock, defaults to null like sibling rarely-populated fields), warnings
(optional WarningObject[], defaults to empty array like sibling arrays).
- LineItem: reservation (optional ReservationReference), generated the same
way as the sibling supplyChannel/distributionChannel reference fields.
* fix(customer): add missing customerGroupAssignments generator to keep up with platform-sdk 8.27.0 types
Customer now requires customerGroupAssignments (CustomerGroupAssignment[]),
the new multi-group replacement for the single customerGroup field. Defaults
to an empty array, mirroring the existing customerGroup: null default (no
group assigned by default).
* fix(inventory-entry): add missing reservationExpirationInMinutes, stockLevels generators to keep up with platform-sdk 8.27.0 types
Both InventoryEntry and InventoryEntryDraft now require
reservationExpirationInMinutes and stockLevels (InventoryEntryStockLevels).
Both are optional in the SDK type and rarely populated, so the REST configs
default them to null, matching the GraphQL configs which already set the
same defaults for these fields.
* fix(project): add missing discounts, inventory generators to keep up with platform-sdk 8.27.0 types
Project now requires discounts (DiscountsConfiguration) and inventory
(InventoryConfiguration), both previously optional/absent. Generated as
real nested config objects (discountCombinationMode via oneOf over the
BestDeal/Stacking enum, inventory's reservationExpirationInMinutes/
releaseExpiredReservations via faker), matching the existing
cdnContainerConfiguration inline-object precedent in this file rather than
defaulting to null.1 parent 31e2b55 commit 681d12e
17 files changed
Lines changed: 1909 additions & 1729 deletions
File tree
- .github/workflows
- generators
- standalone
- src/models
- cart
- cart-discount/cart-discount
- cart
- cart
- cart-draft
- line-item
- customer/customer
- inventory-entry
- inventory-entry-draft
- project/project/project
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments