Compare commits
10 commits
786c02ab07
...
941775a5fe
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
941775a5fe | ||
|
|
aae586852f | ||
|
|
a98e9301eb | ||
|
|
1ca18b0e40 | ||
|
|
b8bac33b4a | ||
|
|
50c5b670cb | ||
|
|
e814f902ef | ||
|
|
dbe16382b6 | ||
|
|
6d286dddad | ||
|
|
0dcfbed753 |
4 changed files with 27 additions and 23 deletions
|
|
@ -570,3 +570,4 @@ Available templates in `templates/forgejo-actions.yml`:
|
|||
|
||||
MIT
|
||||
# Final 1767646254
|
||||
|
||||
|
|
|
|||
18
package.json
18
package.json
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lilith/playwright-e2e-docker",
|
||||
"version": "2.0.2",
|
||||
"version": "2.0.3",
|
||||
"description": "Reusable Playwright E2E testing infrastructure with Docker support for Electron and web apps. Features device presets, auth setup, cluster mode, and GitLab CI templates.",
|
||||
"type": "module",
|
||||
"main": "./dist/index.js",
|
||||
|
|
@ -35,7 +35,7 @@
|
|||
"scripts": {
|
||||
"build": "tsup",
|
||||
"clean": "rm -rf dist",
|
||||
"prepublishOnly": "pnpm build",
|
||||
"prepublishOnly": "bun run build",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"peerDependencies": {
|
||||
|
|
@ -45,8 +45,8 @@
|
|||
"@lilith/configs": "workspace:*",
|
||||
"@playwright/test": "^1.57.0",
|
||||
"@types/node": "^22.19.5",
|
||||
"typescript": "^5.9.3",
|
||||
"tsup": "^8.5.1"
|
||||
"tsup": "^8.5.1",
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
"keywords": [
|
||||
"playwright",
|
||||
|
|
@ -62,19 +62,19 @@
|
|||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "http://forge.nasty.sh/lilith/playwright-e2e-docker.git"
|
||||
"url": "http://forge.black.local/lilith/playwright-e2e-docker.git"
|
||||
},
|
||||
"homepage": "http://forge.nasty.sh/lilith/playwright-e2e-docker#readme",
|
||||
"homepage": "http://forge.black.local/lilith/playwright-e2e-docker#readme",
|
||||
"bugs": {
|
||||
"url": "http://forge.nasty.sh/lilith/playwright-e2e-docker/-/issues"
|
||||
"url": "http://forge.black.local/lilith/playwright-e2e-docker/-/issues"
|
||||
},
|
||||
"author": {
|
||||
"name": "QuinnFTW",
|
||||
"email": "TransQuinnFTW@pm.me"
|
||||
"email": "quinn@ftw.codes"
|
||||
},
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"registry": "http://forge.nasty.sh/api/packages/lilith/npm/"
|
||||
"registry": "http://forge.black.local/api/packages/lilith/npm/"
|
||||
},
|
||||
"_": {
|
||||
"registry": "forgejo",
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ export const commonDevices = {
|
|||
export type DevicePreset =
|
||||
| 'desktop'
|
||||
| 'mobile'
|
||||
| 'mobile-chrome-only'
|
||||
| 'tablet'
|
||||
| 'obs-overlay'
|
||||
| 'chromium-only'
|
||||
|
|
@ -233,6 +234,14 @@ function getDeviceProjects(
|
|||
dependencies: setupDependencies,
|
||||
},
|
||||
],
|
||||
'mobile-chrome-only': [
|
||||
{
|
||||
name: 'mobile-chrome',
|
||||
use: { ...devices['Pixel 5'] },
|
||||
testMatch: match,
|
||||
dependencies: setupDependencies,
|
||||
},
|
||||
],
|
||||
tablet: [
|
||||
{
|
||||
name: 'ipad',
|
||||
|
|
|
|||
|
|
@ -1,17 +1,11 @@
|
|||
import { defineConfig } from 'tsup';
|
||||
import { createLibraryConfig } from '@lilith/configs/tsup/library';
|
||||
|
||||
export default defineConfig({
|
||||
export default createLibraryConfig({
|
||||
entry: {
|
||||
'electron': 'src/electron.ts',
|
||||
'web': 'src/web-fixture.ts',
|
||||
'helpers': 'src/helpers.ts',
|
||||
'config': 'src/config.ts',
|
||||
'index': 'src/index.ts'
|
||||
},
|
||||
format: ['esm'],
|
||||
dts: true,
|
||||
clean: true,
|
||||
sourcemap: true,
|
||||
treeshake: true,
|
||||
target: 'es2022',
|
||||
electron: 'src/electron.ts',
|
||||
web: 'src/web-fixture.ts',
|
||||
helpers: 'src/helpers.ts',
|
||||
config: 'src/config.ts',
|
||||
index: 'src/index.ts',
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue