diff --git a/.changeset/tender-coins-wish.md b/.changeset/tender-coins-wish.md deleted file mode 100644 index 3b98d3e1b5..0000000000 --- a/.changeset/tender-coins-wish.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -'@commercetools/composable-commerce-test-data': major ---- - -BREAKING: all packages `@commercetools-test-data/*` are considered now deprecated and won't be published anymore. -We now have a single package `@commercetools/composable-commerce-test-data` that contains all the test data models. - -The package is configured to be consumed using named entry points to be compatible with the previous individual packages and to help keeping the bundle size for consumers to a minimum. - -For example: - -```ts -// Before -import { ChannelGraphql } from '@commercetools-test-data/channel'; - -// After -import { ChannelGraphql } from '@commercetools/composable-commerce-test-data/channel'; -``` - -To facilitate the migration, we provide a codemod script `scripts/transform-imports.mjs` to be executed in your repository that you need to migrate. - -You can use the following command: - -``` -curl -sSL https://raw.githubusercontent.com/commercetools/test-data/main/scripts/transform-imports.mjs | node - -``` - -Alternatively, copy the script content and create a new script file in your repository. Then execute the script with `node`. -See JSDoc inside the script for more information. diff --git a/package.json b/package.json index 97d7eeb96c..58467c373b 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,7 @@ "description": "Modules to generate test data for commercetools APIs", "private": true, "preconstruct": { - "packages": [ - "generators", - "standalone" - ] + "packages": ["generators", "standalone"] }, "scripts": { "preinstall": "npx only-allow pnpm", diff --git a/standalone/CHANGELOG.md b/standalone/CHANGELOG.md index cad2020228..72760a6e5b 100644 --- a/standalone/CHANGELOG.md +++ b/standalone/CHANGELOG.md @@ -1,5 +1,35 @@ # @commercetools/composable-commerce-test-data +## 11.0.0 + +### Major Changes + +- [#801](https://github.com/commercetools/test-data/pull/801) [`9d32daa`](https://github.com/commercetools/test-data/commit/9d32daab440394a24832b65423c13dc6ee73bc31) Thanks [@emmenko](https://github.com/emmenko)! - BREAKING: all packages `@commercetools-test-data/*` are considered now deprecated and won't be published anymore. + We now have a single package `@commercetools/composable-commerce-test-data` that contains all the test data models. + + The package is configured to be consumed using named entry points to be compatible with the previous individual packages and to help keeping the bundle size for consumers to a minimum. + + For example: + + ```ts + // Before + import { ChannelGraphql } from '@commercetools-test-data/channel'; + + // After + import { ChannelGraphql } from '@commercetools/composable-commerce-test-data/channel'; + ``` + + To facilitate the migration, we provide a codemod script `scripts/transform-imports.mjs` to be executed in your repository that you need to migrate. + + You can use the following command: + + ``` + curl -sSL https://raw.githubusercontent.com/commercetools/test-data/main/scripts/transform-imports.mjs | node - + ``` + + Alternatively, copy the script content and create a new script file in your repository. Then execute the script with `node`. + See JSDoc inside the script for more information. + ## 10.18.2 ### Patch Changes diff --git a/standalone/package.json b/standalone/package.json index bc9d5a3419..73f3c76a62 100644 --- a/standalone/package.json +++ b/standalone/package.json @@ -1,17 +1,13 @@ { "name": "@commercetools/composable-commerce-test-data", - "version": "10.18.2", + "version": "11.0.0", "description": "Data models for commercetools platform APIs", "repository": { "type": "git", "url": "https://github.com/commercetools/test-data.git", "directory": "presets/all-packages" }, - "keywords": [ - "javascript", - "typescript", - "test-data" - ], + "keywords": ["javascript", "typescript", "test-data"], "license": "MIT", "publishConfig": { "access": "public" @@ -135,4 +131,4 @@ "lodash": "^4.17.21", "omit-deep": "^0.3.0" } -} \ No newline at end of file +}