Build TypeScript libraries.
Assumes your projects are set up like this:
- TypeScript sources in an
src
directroy, will be compiled todist
. - Doc comments with leading
///
syntax will be converted to/**
JSDoc comments.
Requires Node.js ≥ 20.8.0 to use module.register()
to patch dependencies at runtime.
Warning
Currently experimental. To test it locally, run
npm run test:install
To uninstall,
npm r -g @hyrious/wup
mkdir awesome-library && cd awesome-library
npm create @hyrious -- --cli --public
npx @hyrious/license mit 2>&1 | tail
npm install
npx @hyrious/wup
- pkgroll
- @marijnh/buildtool
- eslint-ts-patch for the way to patch a library at runtime.
MIT @ hyrious