emigrate/packages/plugin-tools
Joakim Carlstein cae6d11d53
feat(types): move Emigrate types to separate package and improve types (#41)
* feat(types): move Emigrate types to separate package

Also refactor the types to use discriminating unions for easier error handling and such.
Errors passed to storage plugins should now be serialized and storage plugins are expected to return already serialized errors on failed history entries.

* fix(mysql): handle the new type changes

* fix(storage-fs): handle the new type changes

* feat(cli): better error handling and types

Adapt to the new types from the @emigrate/types package, like discriminating union types and serializing and deserializing errors
2023-12-15 13:03:35 +01:00
..
src feat(types): move Emigrate types to separate package and improve types (#41) 2023-12-15 13:03:35 +01:00
CHANGELOG.md chore(release): version packages (#36) 2023-12-14 13:29:02 +01:00
package.json feat(types): move Emigrate types to separate package and improve types (#41) 2023-12-15 13:03:35 +01:00
README.md chore: add some basic README files 2023-11-15 10:32:47 +01:00
tsconfig.json feat(plugin-tools): first version of the package with some nice plugin utilities 2023-11-09 09:26:48 +01:00

@emigrate/plugin-tools

This package contains utilities and types to simplify creating and working with Emigrate plugins.