Open bgschiller opened 2 years ago
@bgschiller with this change, does that mean that migrations will still be javascript files, but the TS compiled will type-check it? Meaning: it will still be a .js file and I can't use types inside the migration.
With this change:
I find this is a pretty good balance of convenience and safety
This PR tries to be a happy middle-ground between https://github.com/deluan/contentful-migrate/issues/53 and https://github.com/deluan/contentful-migrate/pull/131. It's minimally invasive, but it's been working for me locally.
I also ran
npm audit fix --force
and verified that all the tests still pass.