@allwright.dev/vitest 0.0.27 → 0.0.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  Vitest fixtures for allwright with Playwright-style `browser` and `page` injection.
4
4
 
5
+ Install:
6
+
7
+ ```bash
8
+ bun add -d vitest @allwright.dev/vitest
9
+ ```
10
+
5
11
  ```ts
6
12
  import { expect, test } from "@allwright.dev/vitest";
7
13
 
@@ -12,6 +18,8 @@ test("opens a page", async ({ page }) => {
12
18
  });
13
19
  ```
14
20
 
21
+ A checked-in example spec also lives in [examples/basic.spec.ts](./examples/basic.spec.ts).
22
+
15
23
  The fixture package reads the shared stack-agnostic config format through `@allwright.dev/core`.
16
24
  Use `allwright.config.yaml` by default, or `allwright.config.json` if you prefer. Both follow the same root schema in `allwright.schema.json`.
17
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allwright.dev/vitest",
3
- "version": "0.0.27",
3
+ "version": "0.0.30",
4
4
  "description": "Vitest fixtures for the allwright TypeScript client.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -36,10 +36,10 @@
36
36
  },
37
37
  "scripts": {
38
38
  "build": "tsc -p tsconfig.json",
39
- "prepublishOnly": "npm run build"
39
+ "prepublishOnly": "bun run build"
40
40
  },
41
41
  "dependencies": {
42
- "@allwright.dev/core": "0.0.27"
42
+ "@allwright.dev/core": "0.0.30"
43
43
  },
44
44
  "devDependencies": {
45
45
  "typescript": "^5.9.2",