Open
Description
This item tracks the migration to ESM/tshy/vitest for storage. Migrating to ESM will provide better support for various
platforms that our customers use. As part of the migration we are moving to use tshy
to build src
and vitest
for testing.
We added a dev-tool command to help migrate, for example,
npx dev-tool admin migrate-package --package-name=@azure/service-bus
After running the command, most likely there are still places where manual fixes are needed. Some notable ones include
- Move from browser/react-native mappings in package.json to file name based convention like
*-browser.mts
,*-react-native.mts
.
Core packages have been migrated. Here are some example pull requests for key vault:
- [keyvault-admin] Migrate to ESM and tshy #30743
- [keyvault-certificates] Migrate to ESM and tshy #30819
Feel free to reach out for help.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment