@screenly/edge-apps 0.0.13 → 0.0.15
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.
|
@@ -5,11 +5,10 @@ import { existsSync } from 'fs'
|
|
|
5
5
|
|
|
6
6
|
const PREVIEW_PORT = 4173
|
|
7
7
|
|
|
8
|
-
// Resolve @playwright/test from the calling app's node_modules, not the library's
|
|
9
8
|
const appRequire = createRequire(path.join(process.cwd(), 'package.json'))
|
|
10
9
|
|
|
11
|
-
let defineConfig
|
|
12
|
-
let devices
|
|
10
|
+
let defineConfig
|
|
11
|
+
let devices
|
|
13
12
|
|
|
14
13
|
try {
|
|
15
14
|
const playwrightTest = appRequire('@playwright/test')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@screenly/edge-apps",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "A TypeScript library for interfacing with Screenly Edge Apps API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -91,6 +91,7 @@
|
|
|
91
91
|
"panic-overlay": "^1.0.51",
|
|
92
92
|
"sharp": "^0.34.5",
|
|
93
93
|
"tailwindcss": "^4.2.1",
|
|
94
|
+
"typescript": "^5.9.3",
|
|
94
95
|
"vite": "^7.3.1",
|
|
95
96
|
"yaml": "^2.8.2"
|
|
96
97
|
},
|
|
@@ -109,7 +110,6 @@
|
|
|
109
110
|
"@types/sharp": "^0.32.0",
|
|
110
111
|
"bun-types": "^1.3.10",
|
|
111
112
|
"jsdom": "^28.1.0",
|
|
112
|
-
"prettier": "^3.8.1"
|
|
113
|
-
"typescript": "^5.9.3"
|
|
113
|
+
"prettier": "^3.8.1"
|
|
114
114
|
}
|
|
115
115
|
}
|
package/scripts/cli.ts
CHANGED
|
@@ -224,7 +224,7 @@ async function screenshotsCommand(_args: string[]) {
|
|
|
224
224
|
const playwrightConfig = path.resolve(
|
|
225
225
|
libraryRoot,
|
|
226
226
|
'configs',
|
|
227
|
-
'playwright.
|
|
227
|
+
'playwright.js',
|
|
228
228
|
)
|
|
229
229
|
execSync(`"${playwrightBin}" test --config "${playwrightConfig}"`, {
|
|
230
230
|
stdio: 'inherit',
|