@bodhiapp/app-bindings 0.0.7 → 0.0.9

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 (1) hide show
  1. package/package.json +26 -14
package/package.json CHANGED
@@ -1,31 +1,38 @@
1
1
  {
2
2
  "name": "@bodhiapp/app-bindings",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "NAPI-RS bindings for BodhiApp server with integrated tests",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
7
7
  "napi": {
8
- "binaryName": "app-bindings",
9
- "targets": [
10
- "aarch64-apple-darwin"
11
- ]
8
+ "name": "app-bindings",
9
+ "triples": {
10
+ "defaults": false,
11
+ "additional": [
12
+ "aarch64-apple-darwin",
13
+ "x86_64-pc-windows-msvc",
14
+ "x86_64-unknown-linux-gnu"
15
+ ]
16
+ }
12
17
  },
13
18
  "scripts": {
14
19
  "artifacts": "napi artifacts",
15
- "create-npm-dirs": "napi create-npm-dirs",
20
+ "create-npm-dirs": "napi create-npm-dir --target .",
16
21
  "build": "napi build --platform --release",
17
22
  "build:debug": "napi build --platform",
18
23
  "build:release": "napi build --platform --release",
19
24
  "build:release:win": "napi build --platform --release --target x86_64-pc-windows-msvc",
20
- "test": "vitest run",
25
+ "update-optional-dependencies": "node scripts/update-optional-dependencies.js",
26
+ "verify-packages": "node scripts/verify-npm-packages.js",
27
+ "test": "npm run test:run && npm run test:playwright",
21
28
  "test:run": "vitest run",
22
29
  "test:config": "vitest run --testNamePattern='Configuration'",
23
30
  "test:integration": "vitest run --testNamePattern='Integration'",
24
31
  "test:live": "vitest run --testNamePattern='Live Server'",
25
- "test:playwright": "playwright test --reporter=list",
26
- "test:playwright:ci": "playwright test",
27
- "test:playwright:ui": "playwright test --ui",
28
- "test:playwright:headed": "playwright test --headed",
32
+ "test:playwright": "playwright test --config=playwright.config.mjs --reporter=list",
33
+ "test:playwright:ci": "playwright test --config=playwright.config.mjs",
34
+ "test:playwright:ui": "playwright test --config=playwright.config.mjs --ui",
35
+ "test:playwright:headed": "playwright test --config=playwright.config.mjs --headed",
29
36
  "test:all": "npm run test:run && npm run test:playwright",
30
37
  "format": "biome format --write .",
31
38
  "format:check": "biome format .",
@@ -36,7 +43,7 @@
36
43
  },
37
44
  "devDependencies": {
38
45
  "@biomejs/biome": "^1.9.4",
39
- "@napi-rs/cli": "3.0.0-alpha.88",
46
+ "@napi-rs/cli": "^2.18.4",
40
47
  "@playwright/test": "^1.48.2",
41
48
  "dotenv": "^16.5.0",
42
49
  "vitest": "^2.1.8"
@@ -68,5 +75,10 @@
68
75
  "files": [
69
76
  "index.d.ts",
70
77
  "index.js"
71
- ]
72
- }
78
+ ],
79
+ "optionalDependencies": {
80
+ "@bodhiapp/app-bindings-darwin-arm64": "0.0.9",
81
+ "@bodhiapp/app-bindings-linux-x64-gnu": "0.0.9",
82
+ "@bodhiapp/app-bindings-win32-x64-msvc": "0.0.9"
83
+ }
84
+ }