Skip to content

Conversation

ajimae
Copy link
Collaborator

@ajimae ajimae commented Jul 2, 2025

Summary

Migrate the @commercetools/sync-actions package and all associated modules from flow notation to TypeScript

Completed Tasks

  • migrate all associated modules in src and test directories to typescript
  • drop the use of preconstruct in favour of esbuild module bundler
  • replace all lodash.flatten function with native javascript Array.flat() method
  • minor code refactors

Note:
Release changesets will be added after reviews and preliminary testings.

@ajimae ajimae requested a review from a team July 2, 2025 13:50
@ajimae ajimae requested a review from a team as a code owner July 2, 2025 13:50
Copy link

changeset-bot bot commented Jul 2, 2025

🦋 Changeset detected

Latest commit: 49c0c75

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@commercetools/personal-data-erasure Patch
@commercetools/resource-deleter Patch
@commercetools/sync-actions Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ajimae ajimae force-pushed the feat/migrate-sync-actions-to-typescript branch from 76408a3 to 88f2a5e Compare July 10, 2025 13:44
- migrate all associated modules in src and test directories to typescript
- drop the use of preconstruct in favour of esbuild module bundler
- replace all lodash.flatten function with native javascript Array.flat() method
- minor code refactors
- add node_modules to global ignore in eslint config
- add node_modules to global ignore in eslint config
- rename utils-ts directory to utils
- add sync type definition to base sync functions in tests
- remove trailing - in channels-sync.spec.ts file
- make the base sync function parameters optional
- export and expose types to package module
- update product actionGroup to accept productData
- export and expose types to package module
- update product actionGroup to accept productData
- update sync-actions package with latest features and fixes
- downgrade typescript from v5.8.3 to v4.6.2
- fix merge conflicts in yarn.lock file
@ajimae ajimae force-pushed the feat/migrate-sync-actions-to-typescript branch from 4f6ca83 to 507dd89 Compare September 30, 2025 11:51
- [x] Add release changeset
Copy link

@islam3zzat islam3zzat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've tested the alpha release and all unit and integration tests have passed 🌟

@ajimae ajimae merged commit f66896c into main Oct 2, 2025
10 checks passed
@ct-changesets ct-changesets bot mentioned this pull request Oct 2, 2025
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.

3 participants