neverthrow icon indicating copy to clipboard operation
neverthrow copied to clipboard

Migrated build system to tsup

Open mattpocock opened this issue 1 year ago • 4 comments

Also contains work in #569, merge that first.

mattpocock avatar Aug 20 '24 08:08 mattpocock

⚠️ No Changeset found

Latest commit: d54205028b774a52502ced2b87ac88913d8d6c67

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Aug 20 '24 08:08 changeset-bot[bot]

The main appeal of tsup is that I trust the declaration files it generates. It also generates one per output type by default (which is recommended by Andrew Branch of the TS team) which means the exports map can be simpler.

If you're happy with your current rollup-based setup, that's fine - but it seemed a bit custom and funky so I thought a low-config, well-maintained option would make sense.

mattpocock avatar Sep 06 '24 15:09 mattpocock

refraining from diving into this PR until convo for https://github.com/supermacro/neverthrow/pull/569 is clarified.

supermacro avatar Sep 06 '24 18:09 supermacro

@supermacro It appears that #569/#618 were merged. Any chance you could circle back to this?

jalavosus avatar Mar 25 '25 09:03 jalavosus