From 67643f4b8ebfc0e9a2492697629f3ed81dc14b03 Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Fri, 19 Dec 2025 14:41:18 -0700 Subject: [PATCH 1/5] chore: fix type import --- lib/utils/cursor-pagninate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/cursor-pagninate.ts b/lib/utils/cursor-pagninate.ts index 048adb6f6..9401c0c9d 100644 --- a/lib/utils/cursor-pagninate.ts +++ b/lib/utils/cursor-pagninate.ts @@ -1,4 +1,4 @@ -import { CursorPaginatedCollectionProp } from 'contentful-management/dist/typings/common-types' +import { CursorPaginatedCollectionProp } from 'contentful-management' export async function cursorPaginate({ queryPage From b88ba355832704d484d8823a60edcbe402067ae4 Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Fri, 19 Dec 2025 14:41:32 -0700 Subject: [PATCH 2/5] chore: update cma v12 beta --- package-lock.json | 185 ++++++++++++++++++++++++++++++++++++++++------ package.json | 2 +- 2 files changed, 165 insertions(+), 22 deletions(-) diff --git a/package-lock.json b/package-lock.json index 96076684c..f4a6c9aa3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "contentful-collection": "^0.0.4", "contentful-export": "^7.21.78", "contentful-import": "9.4.127", - "contentful-management": "^11.39.0", + "contentful-management": "^12.0.0-new-beta.7", "contentful-migration": "^4.21.0", "emojic": "^1.1.11", "execa": "^5.0.0", @@ -7141,6 +7141,41 @@ "url": "https://opencollective.com/date-fns" } }, + "node_modules/contentful-export/node_modules/contentful-management": { + "version": "11.66.0", + "resolved": "https://registry.npmjs.org/contentful-management/-/contentful-management-11.66.0.tgz", + "integrity": "sha512-rMI8LnNljyOBnREIT9V5MDLtxlPctO7dYwIszNZuHdBvd5C10CM8apglCrm87nFTuRGpbJ0q+y7cv/c8IQyfZw==", + "license": "MIT", + "dependencies": { + "@contentful/rich-text-types": "^16.6.1", + "axios": "^1.12.2", + "contentful-sdk-core": "^9.0.1", + "fast-copy": "^3.0.0", + "globals": "^15.15.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/contentful-export/node_modules/contentful-sdk-core": { + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.2.1.tgz", + "integrity": "sha512-Y+Qz2tGYE2ia6o42R8DG4uFSMSLJ6qfAbKQLU6p2+KxsqvbK1Fg60wKVKF+FHMShuCnlg2EwToOvxVsM2N+BrQ==", + "license": "MIT", + "dependencies": { + "fast-copy": "^3.0.2", + "lodash": "^4.17.21", + "p-throttle": "^6.1.0", + "process": "^0.11.10", + "qs": "^6.12.3" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@rollup/rollup-linux-x64-gnu": "^4.18.0" + } + }, "node_modules/contentful-export/node_modules/emoji-regex": { "version": "10.5.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.5.0.tgz", @@ -7160,6 +7195,18 @@ "url": "https://github.com/sponsors/isaacs" } }, + "node_modules/contentful-export/node_modules/p-throttle": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.2.0.tgz", + "integrity": "sha512-NCKkOVj6PZa6NiTmfvGilDdf6vO1rFCD3KDnkHko8dTOtkpk4cSR/VTAhhLMG9aiQ7/A9HYgEDNmxzf6hxzR3g==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/contentful-export/node_modules/string-width": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", @@ -7304,6 +7351,41 @@ "node": ">=18" } }, + "node_modules/contentful-import/node_modules/contentful-management": { + "version": "11.66.0", + "resolved": "https://registry.npmjs.org/contentful-management/-/contentful-management-11.66.0.tgz", + "integrity": "sha512-rMI8LnNljyOBnREIT9V5MDLtxlPctO7dYwIszNZuHdBvd5C10CM8apglCrm87nFTuRGpbJ0q+y7cv/c8IQyfZw==", + "license": "MIT", + "dependencies": { + "@contentful/rich-text-types": "^16.6.1", + "axios": "^1.12.2", + "contentful-sdk-core": "^9.0.1", + "fast-copy": "^3.0.0", + "globals": "^15.15.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/contentful-import/node_modules/contentful-sdk-core": { + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.2.1.tgz", + "integrity": "sha512-Y+Qz2tGYE2ia6o42R8DG4uFSMSLJ6qfAbKQLU6p2+KxsqvbK1Fg60wKVKF+FHMShuCnlg2EwToOvxVsM2N+BrQ==", + "license": "MIT", + "dependencies": { + "fast-copy": "^3.0.2", + "lodash": "^4.17.21", + "p-throttle": "^6.1.0", + "process": "^0.11.10", + "qs": "^6.12.3" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@rollup/rollup-linux-x64-gnu": "^4.18.0" + } + }, "node_modules/contentful-import/node_modules/date-fns": { "version": "2.30.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", @@ -7337,6 +7419,18 @@ "node": ">= 20" } }, + "node_modules/contentful-import/node_modules/p-throttle": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.2.0.tgz", + "integrity": "sha512-NCKkOVj6PZa6NiTmfvGilDdf6vO1rFCD3KDnkHko8dTOtkpk4cSR/VTAhhLMG9aiQ7/A9HYgEDNmxzf6hxzR3g==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/contentful-import/node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -7371,25 +7465,26 @@ } }, "node_modules/contentful-management": { - "version": "11.62.1", - "resolved": "https://registry.npmjs.org/contentful-management/-/contentful-management-11.62.1.tgz", - "integrity": "sha512-E7WctyR/POVntaacPpY965JljHbthOqtIv9oOTHPKd9UMoAgyogR+hgiB2GLswUxFnSumVVDh3VoG/e2/79aFg==", + "version": "12.0.0-new-beta.7", + "resolved": "https://registry.npmjs.org/contentful-management/-/contentful-management-12.0.0-new-beta.7.tgz", + "integrity": "sha512-XPlHXtEFYKRq9u1U2mNqZt1Tb8v9J9n/tkVrYz/9DQmEUNuEWeIvZN6hRHkOi6OD3liPPYhK04McrxufmOpHhw==", "license": "MIT", "dependencies": { "@contentful/rich-text-types": "^16.6.1", "axios": "^1.12.2", - "contentful-sdk-core": "^9.0.1", + "contentful-sdk-core": "^9.2.1", "fast-copy": "^3.0.0", "globals": "^15.15.0" }, "engines": { - "node": ">=18" + "node": ">=20" } }, "node_modules/contentful-management/node_modules/contentful-sdk-core": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.0.1.tgz", - "integrity": "sha512-Ao/5Y74ERPn6kjzb/8okYPuQJnikMtR+dnv0plLw8IvPomwXonLq3qom0rLSyo5KuvQkBMa9AApy1izunxW4mw==", + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.2.1.tgz", + "integrity": "sha512-Y+Qz2tGYE2ia6o42R8DG4uFSMSLJ6qfAbKQLU6p2+KxsqvbK1Fg60wKVKF+FHMShuCnlg2EwToOvxVsM2N+BrQ==", + "license": "MIT", "dependencies": { "fast-copy": "^3.0.2", "lodash": "^4.17.21", @@ -7404,22 +7499,11 @@ "@rollup/rollup-linux-x64-gnu": "^4.18.0" } }, - "node_modules/contentful-management/node_modules/globals": { - "version": "15.15.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", - "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/contentful-management/node_modules/p-throttle": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.2.0.tgz", "integrity": "sha512-NCKkOVj6PZa6NiTmfvGilDdf6vO1rFCD3KDnkHko8dTOtkpk4cSR/VTAhhLMG9aiQ7/A9HYgEDNmxzf6hxzR3g==", + "license": "MIT", "engines": { "node": ">=18" }, @@ -7487,6 +7571,53 @@ "wrap-ansi": "^6.2.0" } }, + "node_modules/contentful-migration/node_modules/contentful-management": { + "version": "11.66.0", + "resolved": "https://registry.npmjs.org/contentful-management/-/contentful-management-11.66.0.tgz", + "integrity": "sha512-rMI8LnNljyOBnREIT9V5MDLtxlPctO7dYwIszNZuHdBvd5C10CM8apglCrm87nFTuRGpbJ0q+y7cv/c8IQyfZw==", + "license": "MIT", + "dependencies": { + "@contentful/rich-text-types": "^16.6.1", + "axios": "^1.12.2", + "contentful-sdk-core": "^9.0.1", + "fast-copy": "^3.0.0", + "globals": "^15.15.0" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/contentful-migration/node_modules/contentful-sdk-core": { + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.2.1.tgz", + "integrity": "sha512-Y+Qz2tGYE2ia6o42R8DG4uFSMSLJ6qfAbKQLU6p2+KxsqvbK1Fg60wKVKF+FHMShuCnlg2EwToOvxVsM2N+BrQ==", + "license": "MIT", + "dependencies": { + "fast-copy": "^3.0.2", + "lodash": "^4.17.21", + "p-throttle": "^6.1.0", + "process": "^0.11.10", + "qs": "^6.12.3" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@rollup/rollup-linux-x64-gnu": "^4.18.0" + } + }, + "node_modules/contentful-migration/node_modules/contentful-sdk-core/node_modules/p-throttle": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.2.0.tgz", + "integrity": "sha512-NCKkOVj6PZa6NiTmfvGilDdf6vO1rFCD3KDnkHko8dTOtkpk4cSR/VTAhhLMG9aiQ7/A9HYgEDNmxzf6hxzR3g==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/contentful-migration/node_modules/find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -10370,6 +10501,18 @@ "which": "bin/which" } }, + "node_modules/globals": { + "version": "15.15.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.15.0.tgz", + "integrity": "sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==", + "license": "MIT", + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/globalthis": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz", diff --git a/package.json b/package.json index 43749bd01..3769e4a92 100644 --- a/package.json +++ b/package.json @@ -94,7 +94,7 @@ "contentful-collection": "^0.0.4", "contentful-export": "^7.21.78", "contentful-import": "9.4.127", - "contentful-management": "^11.39.0", + "contentful-management": "^12.0.0-new-beta.7", "contentful-migration": "^4.21.0", "emojic": "^1.1.11", "execa": "^5.0.0", From b03ff73ba11c7d55b055080315e8c10ddd496acd Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Fri, 19 Dec 2025 15:56:53 -0700 Subject: [PATCH 3/5] chore: update jest transformIgnorePattern --- jest.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index a0353aa06..84fe7c65a 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,7 +7,9 @@ module.exports = { testEnvironmentOptions: { url: 'http://localhost/' }, - transformIgnorePatterns: ['node_modules/(?!(.+))'], + transformIgnorePatterns: [ + 'node_modules/(?!(contentful-batch-libs|contentful-sdk-core|p-throttle)/)' + ], setupFilesAfterEnv: ['/.jest/setup.js'], // Use this to set env variables for local development setupFiles: ['/.jest/env.js'], From 559aab1b69c1073b4b7e99baaf22e9d7a0eface8 Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Fri, 19 Dec 2025 16:29:26 -0700 Subject: [PATCH 4/5] chore: reset jest config --- jest.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/jest.config.js b/jest.config.js index 84fe7c65a..a0353aa06 100644 --- a/jest.config.js +++ b/jest.config.js @@ -7,9 +7,7 @@ module.exports = { testEnvironmentOptions: { url: 'http://localhost/' }, - transformIgnorePatterns: [ - 'node_modules/(?!(contentful-batch-libs|contentful-sdk-core|p-throttle)/)' - ], + transformIgnorePatterns: ['node_modules/(?!(.+))'], setupFilesAfterEnv: ['/.jest/setup.js'], // Use this to set env variables for local development setupFiles: ['/.jest/env.js'], From a4fb19849096570f84d307d526720e2efddafe0e Mon Sep 17 00:00:00 2001 From: Ely Lucas Date: Tue, 23 Dec 2025 06:31:54 -0700 Subject: [PATCH 5/5] chore: update to latest beta --- package-lock.json | 179 ++++++++++------------------------------------ package.json | 6 +- 2 files changed, 41 insertions(+), 144 deletions(-) diff --git a/package-lock.json b/package-lock.json index f4a6c9aa3..e66a71462 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "contentful-collection": "^0.0.4", "contentful-export": "^7.21.78", "contentful-import": "9.4.127", - "contentful-management": "^12.0.0-new-beta.7", + "contentful-management": "^12.0.0-new-beta.9", "contentful-migration": "^4.21.0", "emojic": "^1.1.11", "execa": "^5.0.0", @@ -2107,6 +2107,30 @@ "node": ">=14" } }, + "node_modules/@contentful/integration-test-utils/node_modules/contentful-sdk-core": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-8.3.2.tgz", + "integrity": "sha512-L2LNWRXb1/5RLpLemCoP2Lzz6211xyE63GXh2nVXekvM4Dnswo+9N2D6JmWTne9zq89Izo88vOGAzzIAxb4Ukw==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-copy": "^2.1.7", + "lodash.isplainobject": "^4.0.6", + "lodash.isstring": "^4.0.1", + "p-throttle": "^4.1.1", + "qs": "^6.11.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/@contentful/integration-test-utils/node_modules/contentful-sdk-core/node_modules/fast-copy": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/fast-copy/-/fast-copy-2.1.7.tgz", + "integrity": "sha512-ozrGwyuCTAy7YgFCua8rmqmytECYk/JYAMXcswOcm0qvGoE3tPb7ivBeIHTOK2DiapBhDZgacIhzhQIKU5TCfA==", + "dev": true, + "license": "MIT" + }, "node_modules/@contentful/integration-test-utils/node_modules/type-fest": { "version": "4.26.1", "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.26.1.tgz", @@ -7157,25 +7181,6 @@ "node": ">=18" } }, - "node_modules/contentful-export/node_modules/contentful-sdk-core": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.2.1.tgz", - "integrity": "sha512-Y+Qz2tGYE2ia6o42R8DG4uFSMSLJ6qfAbKQLU6p2+KxsqvbK1Fg60wKVKF+FHMShuCnlg2EwToOvxVsM2N+BrQ==", - "license": "MIT", - "dependencies": { - "fast-copy": "^3.0.2", - "lodash": "^4.17.21", - "p-throttle": "^6.1.0", - "process": "^0.11.10", - "qs": "^6.12.3" - }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "@rollup/rollup-linux-x64-gnu": "^4.18.0" - } - }, "node_modules/contentful-export/node_modules/emoji-regex": { "version": "10.5.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.5.0.tgz", @@ -7195,18 +7200,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/contentful-export/node_modules/p-throttle": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.2.0.tgz", - "integrity": "sha512-NCKkOVj6PZa6NiTmfvGilDdf6vO1rFCD3KDnkHko8dTOtkpk4cSR/VTAhhLMG9aiQ7/A9HYgEDNmxzf6hxzR3g==", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/contentful-export/node_modules/string-width": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz", @@ -7367,25 +7360,6 @@ "node": ">=18" } }, - "node_modules/contentful-import/node_modules/contentful-sdk-core": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.2.1.tgz", - "integrity": "sha512-Y+Qz2tGYE2ia6o42R8DG4uFSMSLJ6qfAbKQLU6p2+KxsqvbK1Fg60wKVKF+FHMShuCnlg2EwToOvxVsM2N+BrQ==", - "license": "MIT", - "dependencies": { - "fast-copy": "^3.0.2", - "lodash": "^4.17.21", - "p-throttle": "^6.1.0", - "process": "^0.11.10", - "qs": "^6.12.3" - }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "@rollup/rollup-linux-x64-gnu": "^4.18.0" - } - }, "node_modules/contentful-import/node_modules/date-fns": { "version": "2.30.0", "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", @@ -7419,18 +7393,6 @@ "node": ">= 20" } }, - "node_modules/contentful-import/node_modules/p-throttle": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.2.0.tgz", - "integrity": "sha512-NCKkOVj6PZa6NiTmfvGilDdf6vO1rFCD3KDnkHko8dTOtkpk4cSR/VTAhhLMG9aiQ7/A9HYgEDNmxzf6hxzR3g==", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/contentful-import/node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", @@ -7465,30 +7427,30 @@ } }, "node_modules/contentful-management": { - "version": "12.0.0-new-beta.7", - "resolved": "https://registry.npmjs.org/contentful-management/-/contentful-management-12.0.0-new-beta.7.tgz", - "integrity": "sha512-XPlHXtEFYKRq9u1U2mNqZt1Tb8v9J9n/tkVrYz/9DQmEUNuEWeIvZN6hRHkOi6OD3liPPYhK04McrxufmOpHhw==", + "version": "12.0.0-new-beta.9", + "resolved": "https://registry.npmjs.org/contentful-management/-/contentful-management-12.0.0-new-beta.9.tgz", + "integrity": "sha512-OetW3IZWYqwP2rCRke95QSyCQtRyP5a/39No7w6BIfbehnLNrpoZ1z2Usf/WqwasuNhiIFOM5R14Ef7TfD0ABA==", "license": "MIT", "dependencies": { "@contentful/rich-text-types": "^16.6.1", "axios": "^1.12.2", - "contentful-sdk-core": "^9.2.1", + "contentful-sdk-core": "^9.4.0-add-cjs-build.5", "fast-copy": "^3.0.0", - "globals": "^15.15.0" + "globals": "^15.15.0", + "process": "^0.11.10" }, "engines": { "node": ">=20" } }, "node_modules/contentful-management/node_modules/contentful-sdk-core": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.2.1.tgz", - "integrity": "sha512-Y+Qz2tGYE2ia6o42R8DG4uFSMSLJ6qfAbKQLU6p2+KxsqvbK1Fg60wKVKF+FHMShuCnlg2EwToOvxVsM2N+BrQ==", + "version": "9.4.0-add-cjs-build.5", + "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.4.0-add-cjs-build.5.tgz", + "integrity": "sha512-2YRUSz8hvVuEpbvr9lp+M6TNuQt6farjqnEoKtIYGQzpJU2B/dxinSZybzwQJc03V+uzSy8DnJwVjzvOuSV8Cg==", "license": "MIT", "dependencies": { "fast-copy": "^3.0.2", "lodash": "^4.17.21", - "p-throttle": "^6.1.0", "process": "^0.11.10", "qs": "^6.12.3" }, @@ -7499,18 +7461,6 @@ "@rollup/rollup-linux-x64-gnu": "^4.18.0" } }, - "node_modules/contentful-management/node_modules/p-throttle": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.2.0.tgz", - "integrity": "sha512-NCKkOVj6PZa6NiTmfvGilDdf6vO1rFCD3KDnkHko8dTOtkpk4cSR/VTAhhLMG9aiQ7/A9HYgEDNmxzf6hxzR3g==", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/contentful-migration": { "version": "4.31.5", "resolved": "https://registry.npmjs.org/contentful-migration/-/contentful-migration-4.31.5.tgz", @@ -7587,37 +7537,6 @@ "node": ">=18" } }, - "node_modules/contentful-migration/node_modules/contentful-sdk-core": { - "version": "9.2.1", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.2.1.tgz", - "integrity": "sha512-Y+Qz2tGYE2ia6o42R8DG4uFSMSLJ6qfAbKQLU6p2+KxsqvbK1Fg60wKVKF+FHMShuCnlg2EwToOvxVsM2N+BrQ==", - "license": "MIT", - "dependencies": { - "fast-copy": "^3.0.2", - "lodash": "^4.17.21", - "p-throttle": "^6.1.0", - "process": "^0.11.10", - "qs": "^6.12.3" - }, - "engines": { - "node": ">=18" - }, - "optionalDependencies": { - "@rollup/rollup-linux-x64-gnu": "^4.18.0" - } - }, - "node_modules/contentful-migration/node_modules/contentful-sdk-core/node_modules/p-throttle": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.2.0.tgz", - "integrity": "sha512-NCKkOVj6PZa6NiTmfvGilDdf6vO1rFCD3KDnkHko8dTOtkpk4cSR/VTAhhLMG9aiQ7/A9HYgEDNmxzf6hxzR3g==", - "license": "MIT", - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/contentful-migration/node_modules/find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -7755,31 +7674,9 @@ "license": "MIT" }, "node_modules/contentful-sdk-core": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-8.3.2.tgz", - "integrity": "sha512-L2LNWRXb1/5RLpLemCoP2Lzz6211xyE63GXh2nVXekvM4Dnswo+9N2D6JmWTne9zq89Izo88vOGAzzIAxb4Ukw==", - "dev": true, - "dependencies": { - "fast-copy": "^2.1.7", - "lodash.isplainobject": "^4.0.6", - "lodash.isstring": "^4.0.1", - "p-throttle": "^4.1.1", - "qs": "^6.11.2" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/contentful-sdk-core/node_modules/fast-copy": { - "version": "2.1.7", - "resolved": "https://registry.npmjs.org/fast-copy/-/fast-copy-2.1.7.tgz", - "integrity": "sha512-ozrGwyuCTAy7YgFCua8rmqmytECYk/JYAMXcswOcm0qvGoE3tPb7ivBeIHTOK2DiapBhDZgacIhzhQIKU5TCfA==", - "dev": true - }, - "node_modules/contentful/node_modules/contentful-sdk-core": { - "version": "9.2.0", - "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.2.0.tgz", - "integrity": "sha512-cUvHbC2u8ouJHhG3tofQhUc0FAmM/QBcalYjiczMtFKrR77BW+eSPcPg+A9DQlhIP0UGcQ/knXxoJpBvrERXTA==", + "version": "9.2.1", + "resolved": "https://registry.npmjs.org/contentful-sdk-core/-/contentful-sdk-core-9.2.1.tgz", + "integrity": "sha512-Y+Qz2tGYE2ia6o42R8DG4uFSMSLJ6qfAbKQLU6p2+KxsqvbK1Fg60wKVKF+FHMShuCnlg2EwToOvxVsM2N+BrQ==", "license": "MIT", "dependencies": { "fast-copy": "^3.0.2", @@ -7795,7 +7692,7 @@ "@rollup/rollup-linux-x64-gnu": "^4.18.0" } }, - "node_modules/contentful/node_modules/p-throttle": { + "node_modules/contentful-sdk-core/node_modules/p-throttle": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/p-throttle/-/p-throttle-6.2.0.tgz", "integrity": "sha512-NCKkOVj6PZa6NiTmfvGilDdf6vO1rFCD3KDnkHko8dTOtkpk4cSR/VTAhhLMG9aiQ7/A9HYgEDNmxzf6hxzR3g==", diff --git a/package.json b/package.json index 3769e4a92..e33a2a4bb 100644 --- a/package.json +++ b/package.json @@ -14,12 +14,12 @@ "license": "MIT", "scripts": { "build:standalone": "npm run tsc && pkg .", - "build:package": "npm run build:standalone && script/package", + "build:package": "npm run postinstall && npm run build:standalone && script/package", "lint": "eslint bin lib test", "test": "npm run test:coverage", "test:coverage": "nyc npm run test:unit", "test:html-coverage": "nyc --reporter=html npm run test:unit", - "test:unit": "JEST_SUITE_NAME=\"Unit Tests\" JEST_JUNIT_OUTPUT_NAME=\"unit-tests.xml\" jest --runInBand test/unit/** --verbose", + "test:unit": "npm run postinstall && JEST_SUITE_NAME=\"Unit Tests\" JEST_JUNIT_OUTPUT_NAME=\"unit-tests.xml\" jest --runInBand test/unit/** --verbose", "test:unit:watch": "jest test/unit/** --verbose --watch", "tsc": "tsc", "tsc:watch": "tsc --watch", @@ -94,7 +94,7 @@ "contentful-collection": "^0.0.4", "contentful-export": "^7.21.78", "contentful-import": "9.4.127", - "contentful-management": "^12.0.0-new-beta.7", + "contentful-management": "^12.0.0-new-beta.9", "contentful-migration": "^4.21.0", "emojic": "^1.1.11", "execa": "^5.0.0",