Running tests in specific platformsβ
npx poku
- It runs Poku through Node.js and ensures that all tests are run with Node.js (or tsx for TypeScript tests).
bun poku
- It runs Poku through Bun and ensures that all tests are run with Bun.
deno run npm:poku
- It runs Poku through Deno and ensures that all tests are run with Deno.
tip
For TypeScript users, there's no need to install tsx for Bun and Deno, as they both run TypeScript natively.
Running CommonJS with Deno v1
β
See all options for Deno here.
All files as CommonJSβ
deno run npm:poku --denoCjs
A specific extension as CommonJSβ
deno run npm:poku --denoCjs='.cjs'
Multiple extensions as CommonJSβ
deno run npm:poku --denoCjs='.cjs,.js'
Recommendationsβ
tip
It's usually beneficial to have an exclusive CI for each platform, especially to ensure better control in error cases.
note
If you find any typos, feel free to open a Pull Request correcting them.