Skip to content

0.1.1

Choose a tag to compare

@Hug0-Drelon Hug0-Drelon released this 17 Jul 10:32
· 18 commits to master since this release
b909861

Fixes

  • Playwright webServer defaults (#10)
    • Run npm run env:start from process.cwd() so nested tests/e2e/ packages resolve the project-root scripts (fixes Missing script: "env:start").
    • Always use reuseExistingServer: true so local and CI reuse an already running wp-env (CI starts it in the e2e action before Playwright).
    • Keep the webServer process alive after wp-env start (sleep 86400) so Playwright can wait for a 2xx instead of failing with an early exit. Playwright kills that process when the run ends; stopping WordPress still requires npm run env:stop.

Chores

  • ESLint / tooling (#10, #11)
    • Bump @wordpress/scripts to ^32.6.0.
    • Add eslint.config.cjs flat config.
    • Add eslint as a direct devDependency (^9.39.5) so wp-scripts resolves it from the project root.
  • Release / CI (#11)
    • Bump package version to 0.1.1.
    • Commit package-lock.json and use npm ci --omit=peer (+ explicit peer installs) for reproducible installs.
    • Rename Static Analysis → Tests, with separate ESLint and Smoke test jobs.