fix: migrate segment subscribers + typescript support (#5904)

Fixes #6068.

**What**

- Uses new Subscriber API.
- Adds support for typescript files in Segment plugin.
- Adds a peerDependency on @medusajs/medusa for the version that introduced new Subscriber API.
This commit is contained in:
Sebastian Rindom authored and GitHub committed 2024-01-18 09:38:33 +00:00
1 parent 130c641e5c
commit 5cfb662ec0
19 files changed
+536 -531

No files matched your search

@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src"],
"exclude": ["node_modules"]
}