Minimal static server, TAP test runner and conventional release flow with few dependencies.
npm i -D wet-run
Serve static files in current dir on port 8000. (powered by 🔥 Hono)
wet serve
- Positional:
<path>
- Flags:
--port
,--cors
,--redirect
,--livereload
,--ssl-cert
,--ssl-key
,--ssl-pass
,--log-level
Run tests in a real browser on the test/
path. (powered by 🎠Playwright)
wet test
- Positional:
<path>
- Flags:
--port
,--cors
,--redirect
,--servedir
,--browser
,--channel
,--no-headless
,--timeout
,--coverage
,--log-level
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 | from-package]
- Flags:
--prerelease
,--preid
,--tag
,--access
,--provenance
,--changelog
,--github-release
,--dry-run
,--log-level
Check cd.yml for an example.
- Requires
NODE_AUTH_TOKEN
fornpm publish
- Requires
CONVENTIONAL_GITHUB_RELEASER_TOKEN
for Github releases