luwes / wet-run

💦 Minimal static server, TAP test runner and conventional release flow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

💦 Wet Run

Minimal static server, TAP test runner and conventional release flow with few dependencies.

npm i -D wet-run

Serve

Serve static files in current dir on port 8000.

wet serve
  • Positional: <path>
  • Flags: --port, --cors, --redirect, --livereload, --ssl-cert, --ssl-key, --ssl-pass

Test Run

Run tests in a real browser (playwright) on the test/ path.

wet run
  • Positional: <path>
  • Flags: --port, --cors, --redirect, --servedir, --browser, --channel, --no-headless, --timeout, --coverage

Release

Create a new patch release with a conventional changelog and Github release.

wet release patch --changelog --github-release
  • Positional: [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]
  • Flags: --prerelease, --preid, --tag, --access, --provenance, --changelog, --github-release, --dry-run, --verbose

Continuous deployment (CD)

Check cd.yml for an example.

About

💦 Minimal static server, TAP test runner and conventional release flow


Languages

Language:JavaScript 98.8%Language:HTML 1.2%