dedent icon indicating copy to clipboard operation
dedent copied to clipboard

Update package

Open cometkim opened this issue 5 years ago • 4 comments

  • Upgraded dependencies
  • Fixed the macro
  • Fixed publish configs to includes macro as well
  • Added TypeScript declaration files
  • Made it leaves Flow type definitions as comments
  • Added ESM (modern target) build, resolves #25

cometkim avatar Oct 30 '20 19:10 cometkim

Published the fork as @cometlib/dedent

cometkim avatar Oct 30 '20 19:10 cometkim

Hi @cometkim would you mind opening this PR also against dedent-tabs which is a version of this project that I still actively maintain and were I keep all dependencies up to date. I think it would be better if we have fewer published forks so other users do not have to look into a bunch of them and have to decide which updated version they want. Here is the repo: https://github.com/adrianjost/dedent-tabs

adrianjost avatar Nov 04 '20 07:11 adrianjost

We need to manually add types field to package.json, Upcoming TypeScript 4.6's nodenext module resolution won't resolve index.d.ts automatically

Also, for dedent/macro to work with TypeScript 4.6, we need exports mapping in package.json

otakustay avatar Jan 18 '22 14:01 otakustay

Do we have a ETA on this? We heavily rely on this fantasy library but have some problems using it in pure ESM environment.

otakustay avatar Mar 02 '22 02:03 otakustay

@cometkim I merged #38's changes into this branch. Do these look good to you?

I'll merge this as-is Soon™️ (say, a couple weeks) if you don't have a chance to take a look, no worries if you can't!

JoshuaKGoldberg avatar Jun 12 '23 20:06 JoshuaKGoldberg