Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

wet-run

luwes451MIT1.2.5

Minimal static server, TAP test runner and conventional release flow

readme

💦 Wet Run

npm version Codecov

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. (powered by 🔥 Hono)

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

Test Run

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

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 | from-package]
  • Flags: --prerelease, --preid, --tag, --access, --provenance, --changelog, --github-release, --dry-run, --log-level

Continuous deployment (CD)

Check cd.yml for an example.

changelog

1.2.5 (2024-12-12)

Bug Fixes

1.2.4 (2024-12-12)

Bug Fixes

  • bump prerelease with SHA hashes (e9fe16c)

1.2.3 (2024-12-12)

Bug Fixes

1.2.2 (2024-04-21)

Bug Fixes

  • upgrade dependencies Hono & Playwright (e1ad90d)

1.2.1 (2024-04-08)

Bug Fixes

  • upgrade dependencies Hono & Playwright (fe271e1)

1.2.0 (2024-02-16)

Features

1.1.0 (2024-02-15)

Features

1.0.3 (2024-01-12)

Bug Fixes

  • git add dry run command failing (1de5c05)

1.0.2 (2024-01-12)

Bug Fixes

  • changelog ignore folder bug (f826553)

1.0.1 (2023-12-18)

Bug Fixes

  • catch error on github release fail (e6afaa0)

1.0.0 (2023-12-16)

Breaking

  • change wet run to wet test

Features

  • add from-package release bump
  • support from-package, from-git

Bug Fixes

0.9.6 (2023-12-15)

Bug Fixes

0.9.5 (2023-12-15)

Bug Fixes

0.9.4 (2023-12-13)

Bug Fixes

  • upgrade deps + add Hono compress (565aee4)

0.9.3 (2023-12-03)

Bug Fixes

0.9.2 (2023-12-03)

Bug Fixes

0.9.1 (2023-12-02)

Bug Fixes

0.9.0 (2023-12-02)

Features

  • add coverage feature to test runner (15030e4)

0.8.1 (2023-11-29)

Bug Fixes

0.8.0 (2023-11-29)

Features

  • add livereload WIP (72c8c52)
  • use Hono & add basic livereload (82aaa58)

0.7.1 (2023-11-26)

Bug Fixes

  • replace bytes pkg w/ util (ebfa934)
  • replace pathIsInside pkg w/ util (c2a24e3)
  • upgrade some dependencies (51313eb)

0.7.0 (2023-11-25)

Features

  • add ssl flags, https server (cb72c30)

0.6.0 (2023-11-24)

Features

  • add adapted serve-handler w/ extra features (ff0bd09)

0.5.1 (2023-10-11)

Bug Fixes

  • npx allow install, add versions for security (35d59b0)

0.5.0 (2023-10-09)

Features

  • use --prerelease flag as 1 word (8f6da1b)

0.4.0 (2023-10-08)

Bug Fixes

  • add access and permission for provenance (90fc344)

Features

0.3.0 (2023-10-08)

0.2.2 (2023-10-08)

Bug Fixes

0.2.1-canary.0 (2023-10-08)

Features

  • add --preid, --tag and canary|beta alias (eb560eb)
  • add default favicon for test server (2578fb6)

0.2.0 (2023-05-20)

Features

  • add .eslintrc.json to dist (0550f36)

0.1.0 (2023-05-07)

Features

  • add compression to response (331934c)

0.0.8 (2023-04-07)

Bug Fixes

  • support for multiple test files (88e978f)

0.0.7 (2023-03-04)

Bug Fixes

0.0.6 (2023-03-04)

Bug Fixes

  • isolate cli logic better (0aca317)
  • isolate parseargs to each task (5b2583a)

Features

0.0.5 (2023-03-02)

Bug Fixes

  • server type error & add test (73b7659)

0.0.4 (2023-02-27)

Bug Fixes

  • error on non-existing file (9546af8)

0.0.3 (2023-02-27)

Bug Fixes

0.0.2 (2023-02-27)

Bug Fixes

0.0.1 (2023-02-26)

Bug Fixes

  • add more cli opts for test runner (f50b562)