/wup

Build TypeScript libraries.

Primary LanguageTypeScriptMIT LicenseMIT

@hyrious/wup

Build TypeScript libraries.

Assumes your projects are set up like this:

  • TypeScript sources in an src directroy, will be compiled to dist.
  • 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

Usage

mkdir awesome-library && cd awesome-library
npm create @hyrious -- --cli --public
npx @hyrious/license mit 2>&1 | tail
npm install
npx @hyrious/wup

Credits

License

MIT @ hyrious