Skip to content

Version Packages#808

Merged
emmenko merged 1 commit into
mainfrom
changeset-release/main
May 12, 2025
Merged

Version Packages#808
emmenko merged 1 commit into
mainfrom
changeset-release/main

Conversation

@ct-changesets
Copy link
Copy Markdown
Contributor

@ct-changesets ct-changesets Bot commented May 12, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@commercetools/composable-commerce-test-data@11.0.0

Major Changes

  • #801 9d32daa Thanks @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:

    // 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.

@emmenko emmenko merged commit 676b66c into main May 12, 2025
8 checks passed
@emmenko emmenko deleted the changeset-release/main branch May 12, 2025 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant