Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TS issues, more correctly ship CJS and ESM (#2820)
* Revert "🐛 Fixes import issues reported in 2785 (#2805)" This reverts commit 5dc80bc. * Make type module * Split into two dist dirs * Add attw to CI * Explicitly set path to cjs * Remove default * Split output into multiple files * Reexport svelte components * Use babel instead of rollup-plugin-typescript * Generate types on postbuild * Use plugins directly * Make eslint cjs * Update package.json * Fix paths * Fix css paths * Go back to one input file for now * Update rollup.config.mjs * Move shepherd to deps of cypress * Generate svelte declarations * Update rollup.config.mjs * Rename declarations to cts for cjs * Fix CJS export * Remove index * Fix types check command * Ignore remaining issues * Use api-extractor to rollup types * Fix lint * Fix cjs export * Remove extra types * Export all the things * Update .npmignore * Go back to multiple files * Go back to all the old stuff * Trying rollup-plugin-ts * Update rollup.config.mjs * Go back to esm and cjs folders * Fix lint * Add renamer * Update rollup.config.mjs * Remove unnecessary deps * Update types * Update MainPage.astro * Manually copy declarations * Various tweaks --------- Co-authored-by: Chuck Carpenter <charleswcarpenter3@gmail.com>
- Loading branch information