Skip to content

Commit 681d12e

Browse files
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/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ jobs:
1111

1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
14+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
1515

1616
- name: Install pnpm
17-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
17+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
1818
id: pnpm-install
1919
with:
2020
run_install: false
2121

2222
- name: Setup Node (uses version in .nvmrc)
23-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
23+
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
2424
with:
2525
node-version-file: '.nvmrc'
2626
cache: 'pnpm'

.github/workflows/pull-request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99

1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
12+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
1313
with:
1414
fetch-depth: 0
1515

@@ -18,13 +18,13 @@ jobs:
1818
git checkout -
1919
2020
- name: Install pnpm
21-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
21+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
2222
id: pnpm-install
2323
with:
2424
run_install: false
2525

2626
- name: Setup Node (uses version in .nvmrc)
27-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
27+
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
2828
with:
2929
node-version-file: '.nvmrc'
3030
cache: 'pnpm'

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,21 @@ jobs:
2323
private_key: ${{ secrets.CT_CHANGESETS_APP_PEM }}
2424

2525
- name: Checkout
26-
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
26+
uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
2727
with:
2828
# Pass a personal access token (using our `ct-changesets` app) to be able to trigger other workflows
2929
# https://help.github.com/en/actions/reference/events-that-trigger-workflows#triggering-new-workflows-using-a-personal-access-token
3030
# https://github.community/t/action-does-not-trigger-another-on-push-tag-action/17148/8
3131
token: ${{ steps.generate_github_token.outputs.token }}
3232

3333
- name: Install pnpm
34-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
34+
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0
3535
id: pnpm-install
3636
with:
3737
run_install: false
3838

3939
- name: Setup Node (uses version in .nvmrc)
40-
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
40+
uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
4141
with:
4242
node-version-file: '.nvmrc'
4343
cache: 'pnpm'

generators/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@
1717
"keywords": ["javascript", "typescript", "test-data"],
1818
"license": "MIT",
1919
"dependencies": {
20-
"@babel/runtime": "7.28.4",
21-
"@babel/runtime-corejs3": "7.28.4",
20+
"@babel/runtime": "7.29.7",
21+
"@babel/runtime-corejs3": "7.29.7",
2222
"@manypkg/find-root": "3.1.0",
23-
"lodash": "4.17.23",
23+
"lodash": "4.18.1",
2424
"prompts": "2.4.2",
25-
"squirrelly": "9.1.0",
26-
"tsx": "4.21.0"
25+
"squirrelly": "9.1.1",
26+
"tsx": "4.23.11"
2727
},
2828
"devDependencies": {
29-
"@types/lodash": "4.17.21",
29+
"@types/lodash": "4.17.25",
3030
"@types/mustache": "4.2.6",
3131
"@types/prompts": "2.4.9"
3232
}

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
"generate-model": "pnpm --filter @commercetools-test-data/generators generate"
2929
},
3030
"dependencies": {
31-
"@babel/core": "7.29.0",
32-
"@changesets/changelog-github": "0.5.2",
33-
"@changesets/cli": "2.29.8",
34-
"@commercetools-frontend/babel-preset-mc-app": "24.12.0",
35-
"@commercetools-frontend/eslint-config-mc-app": "24.12.0",
36-
"@commercetools-frontend/mc-scripts": "24.12.0",
31+
"@babel/core": "7.29.6",
32+
"@changesets/changelog-github": "0.7.0",
33+
"@changesets/cli": "2.31.1",
34+
"@commercetools-frontend/babel-preset-mc-app": "24.13.0",
35+
"@commercetools-frontend/eslint-config-mc-app": "24.13.0",
36+
"@commercetools-frontend/mc-scripts": "24.13.0",
3737
"@commitlint/cli": "19.8.1",
3838
"@commitlint/config-conventional": "19.8.1",
3939
"@graphql-codegen/add": "5.0.3",
@@ -45,26 +45,26 @@
4545
"@graphql-codegen/typescript-resolvers": "4.5.2",
4646
"@manypkg/cli": "0.25.1",
4747
"@manypkg/find-root": "3.1.0",
48-
"@preconstruct/cli": "2.8.12",
48+
"@preconstruct/cli": "2.8.13",
4949
"@types/jest": "29.5.14",
50-
"@types/node": "24.10.9",
50+
"@types/node": "24.13.3",
5151
"babel-jest": "29.7.0",
52-
"babel-plugin-module-resolver": "5.0.2",
52+
"babel-plugin-module-resolver": "5.0.3",
5353
"cross-env": "10.1.0",
54-
"dotenv": "17.2.3",
54+
"dotenv": "17.4.2",
5555
"eslint": "8.57.1",
5656
"eslint-formatter-pretty": "5.0.0",
5757
"find-up": "7.0.0",
5858
"husky": "9.1.7",
59-
"jest": "30.2.0",
59+
"jest": "30.4.2",
6060
"jest-extended": "6.0.0",
61-
"jest-fail-on-console": "3.3.3",
61+
"jest-fail-on-console": "3.3.4",
6262
"jest-runner-eslint": "2.3.0",
6363
"jest-silent-reporter": "0.6.0",
6464
"jest-watch-typeahead": "2.2.2",
6565
"lint-staged": "15.5.2",
66-
"prettier": "3.7.4",
67-
"prettier-jest": "npm:prettier@3.7.4",
66+
"prettier": "3.9.6",
67+
"prettier-jest": "npm:prettier@3.9.6",
6868
"tsc-files": "1.1.4",
6969
"typescript": "5.9.3"
7070
},

0 commit comments

Comments
 (0)