@allwright.dev/core 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.
- package/README.md +8 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
High-level TypeScript client for the allwright automation engine.
|
|
4
4
|
|
|
5
|
+
Install:
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
bun add @allwright.dev/core
|
|
9
|
+
```
|
|
10
|
+
|
|
5
11
|
```ts
|
|
6
12
|
import { firefox } from "@allwright.dev/core";
|
|
7
13
|
|
|
@@ -11,6 +17,8 @@ await page.goto("https://example.com");
|
|
|
11
17
|
await browser.close();
|
|
12
18
|
```
|
|
13
19
|
|
|
20
|
+
A small runnable example also lives in [examples/basic.ts](./examples/basic.ts), and the fuller end-to-end playground lives in [examples/playground.ts](./examples/playground.ts).
|
|
21
|
+
|
|
14
22
|
Shared config files are stack-agnostic and can live in `allwright.config.yaml` or `allwright.config.json`.
|
|
15
23
|
The shared schema lives at the repo root in `allwright.schema.json`.
|
|
16
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allwright.dev/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.30",
|
|
4
4
|
"description": "High-level TypeScript client for the allwright automation engine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsc -p tsconfig.json",
|
|
40
40
|
"example:playground": "bun run examples/playground.ts",
|
|
41
|
-
"prepublishOnly": "
|
|
41
|
+
"prepublishOnly": "bun run build"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@grpc/grpc-js": "^1.14.0",
|