* feat: `@wdio/xvfb` * feat(local-runner): use `@wdio/xvfb` * chore: update lockfile * chore(wdio-xvfb): update version * chore: add `@wdio/xvfb` to compile script * chore(wdio-xvfb): fix exports * test(wdio-xvfb): fix unit tests * test(wdio-local-runner): add xvfb tests * chore(wdio-xvfb): add logging * chore(wdio-xvfb): process runs independently * feat(wdio-xvfb): skip startup when display in use * test(wdio-xvfb): fix unit tests * refactor(wdio-xvfb): use `xvfb-run` * chore: update lockfile * refactor(wdio-local-runner): use processFactory * refactor(wdio-xvfb): remove command execution * test(e2e): add xvfb E2Es * chore: update lockfile * docs(wdio-xvfb): update LICENSE Co-authored-by: Christian Bromann <git@bromann.dev> * refactor(wdio-xvfb): rework distro detection * docs(wdio-xvfb): update for distros * test(e2e): add new distros, fix perm issues * refactor(wdio-xvfb): use `is-ci` * chore: update lockfile * test(wdio-xvfb): mock `is-ci` * refactor(wdio-local-runner): processFactory tweaks * test(wdio-xvfb): fix `is-ci` mocking * refactor(wdio-xvfb): rework distro detection * refactor(wdio-local-runner): import xvfb directly * fix(e2e): fix log perms issue * fix(e2e): xvfb dockerfile fixes * chore(e2e): exit correctly * fix(wdio-xvfb): update install commands * chore(e2e): ensure clean environments without xvfb * docs(wdio-xvfb): update README * chore(e2e): fix arch chrome install * fix(e2e): fix SUSE perm issue * fix(e2e): fix EACCES * fix(e2e): fix exit issue * chore(e2e): add zypper xvfb fallback * fix(e2e): more aggressive removal of xvfb in clean images * chore(e2e): fix issues * fix(e2e): fix suse xvfb install * chore(wdio-types): add disableAutoXvfb option * feat(wdio-local-runner): skip auto xvfb init * chore(e2e): disable auto xvfb init * fix(wdio-local-runner): check if xvfb-run available * chore(e2e): increase timeout * chore(wdio-xvfb): add logging * chore(wdio-xvfb): add override & force props for tests * test(e2e): update for new manager props * test(wdio-xvfb): update units * test(e2e): add debug * test(wdio-local-runner): make flaky test more robust * chore(e2e): update chromium install for alpine * chore(e2e): add more debug * test(wdio-xvfb): update timeout values * chore(e2e): update alpine repos * test(e2e): add more debug * test(e2e): add more debug * test(e2e): remove cleanup * test(e2e): port fix to existing-xvfb * chore(e2e): standardize on node 22 * chore(e2e): remove debug * chore(e2e): remove redundant test * chore(e2e): add back alpine fix * chore(e2e): update chromeOptions * chore(e2e): display logs on failure * chore(e2e): standardize nomenclature * chore(e2e): delete README * chore: add NL * feat(wdio-xvfb): add void / xbps support * test(e2e): add void E2Es * refactor(e2e): remove rocky tests (covered by fedora) * fix(e2e): fix void docker issues * feat(wdio-xvfb): detect headless mode * feat(wdio-local-runner): lazy init xvfb for headless mode detection * docs(wdio-xvfb): update for package manager-centric approach & headless mode detection * chore(wdio-xvfb): update xbps install command * chore(wdio-xvfb): use types package for caps, remove legacy options support * test(wdio-xvfb): remove tests for unsupported options * chore(wdio-xvfb): add `@wdio/types` * chore: update lockfile * chore(wdio-xvfb): update xbps command * chore(wdio-xvfb): update commands to refresh package repos * test(wdio-xvfb): fix type error * chore(e2e): update base dockerfiles for distro-specific xvfb removal * chore(wdio-xvfb): update zypper command * chore(e2e): update zypper xvfb clean * refactor: move ProcessFactory to `wdio-xvfb` * feat(wdio-xvfb): retries * chore(wdio-types): add xvfb opts * refactor(wdio-local-runner): pass xvfbmanager to processfactory * refactor(e2e): update for `@wdio/xvfb` changes * docs(wdio-xvfb): update README for retries * chore(e2e): remove browserVersion * Update packages/wdio-local-runner/src/index.ts --------- Co-authored-by: Christian Bromann <git@bromann.dev>
134 lines
6 KiB
JSON
134 lines
6 KiB
JSON
{
|
|
"name": "webdriverio-monorepo",
|
|
"private": true,
|
|
"type": "module",
|
|
"packageManager": "pnpm@10.12.4",
|
|
"scripts": {
|
|
"create": "tsx ./scripts/generateSubPackage.ts",
|
|
"backport": "tsx ./scripts/backport.ts",
|
|
"build": "run-s clean:build generate compile:all",
|
|
"changelog": "tsx ./scripts/changelog.ts",
|
|
"ci": "run-s setup test test:e2e",
|
|
"clean": "run-p clean:*",
|
|
"clean:build": "rimraf --glob ./packages/*/build",
|
|
"clean:pkglock": "rimraf --glob ./packages/*/package-lock.json",
|
|
"clean:tgz": "rimraf --glob ./packages/*/*.tgz",
|
|
"clean:website": "rimraf --glob website/docs/_*.md website/docs/api/_*.md website/docs/api/**/_*.md website/sidebars.json",
|
|
"clean:tests": "rimraf --glob tests/typings/**/node_modules tests/typings/**/dist ./coverage",
|
|
"clean:cache": "rimraf --glob .eslintcache",
|
|
"clean:protocols": "rimraf --glob packages/wdio-protocols/src/commands",
|
|
"clean:cddl": "rimraf --glob scripts/bidi/cddl",
|
|
"compile": "pnpm -r --filter=@wdio/compiler run build",
|
|
"compile:all": "run-s compile:all:*",
|
|
"compile:all:core": "pnpm -r --filter=@wdio/compiler run build -p @wdio/logger -p @wdio/types -p @wdio/globals -p @wdio/protocols -p @wdio/repl",
|
|
"compile:all:main": "pnpm -r --filter=@wdio/compiler run build -p @wdio/utils -p @wdio/reporter -p @wdio/config -p @wdio/xvfb -p webdriver -p webdriverio",
|
|
"compile:all:all": "pnpm -r --filter=@wdio/compiler run build",
|
|
"generate": "run-s generate:*",
|
|
"generate:bidi": "tsx ./scripts/bidi/index.ts && pnpm eslint --fix packages/webdriver/src/bidi/",
|
|
"pushReleaseTag": "tsx ./scripts/pushTags.ts",
|
|
"setup": "run-s clean build",
|
|
"docs": "run-s docs:*",
|
|
"docs:setup": "cd ./website && pnpm install && cd ..",
|
|
"docs:generate": "run-s clean:website generate:bidi && tsx ./scripts/docs-generation/generateDocs.ts",
|
|
"docs:build": "cd ./website && pnpm build && cd ..",
|
|
"docs:deploy": "tsx ./scripts/updateDocs.ts",
|
|
"eslint:fix": "eslint --fix packages examples scripts tests",
|
|
"test": "run-s test:eslint test:ejslint test:typings test:unit:run test:smoke test:component",
|
|
"test:depcheck": "tsx ./scripts/depcheck.ts",
|
|
"test:eslint": "eslint --cache packages examples scripts tests",
|
|
"test:ejslint": "ejslint packages/wdio-cli/src/templates/**/* packages/create-wdio/src/templates/**/*",
|
|
"test:interop": "pnpm -r --filter=@wdio/test-interop-cjs run test",
|
|
"test:typings": "pnpm install && run-p test:typings:*",
|
|
"test:typings:webdriver": "cd tests/typings/webdriver && npx tsc --skipLibCheck",
|
|
"test:typings:webdriverio": "cd tests/typings/webdriverio && npx tsc --skipLibCheck",
|
|
"test:typings:mocha": "cd tests/typings/mocha && npx tsc --skipLibCheck",
|
|
"test:typings:jasmine": "cd tests/typings/jasmine && npx tsc --skipLibCheck",
|
|
"test:typings:cucumber": "cd tests/typings/cucumber && npx tsc --skipLibCheck",
|
|
"test:unit": "run-s test:unit:run",
|
|
"test:unit:run": "vitest --config vitest.config.ts --run",
|
|
"test:unit:watch": "vitest --config vitest.config.ts --watch",
|
|
"test:component": "run-s test:component:*",
|
|
"test:component:run": "cd e2e && pnpm test:browser",
|
|
"test:smoke": "cd ./tests && node ./smoke.runner.js",
|
|
"test:e2e:testrunner": "cd ./e2e && npx wdio run ./wdio/wdio.conf.ts",
|
|
"test:e2e:multiremote": "cd ./e2e && npx wdio run ./wdio/wdio-multiremote.conf.ts",
|
|
"test:e2e:standalone": "vitest --config ./e2e/vitest.config.ts --run standalone",
|
|
"test:e2e:webdriver": "cd ./e2e && npx wdio run ./wdio/wdio.local.conf.ts",
|
|
"test:e2e:classic": "cd ./e2e && npx wdio run ./wdio/wdio.classic.conf.ts",
|
|
"test:e2e:cloud": "cd ./e2e && npx wdio run ./wdio/wdio.sauce.conf.ts",
|
|
"test:e2e:launch": "vitest --config ./e2e/vitest.config.ts --run launch",
|
|
"test:e2e:xvfb": "cd ./e2e && npx wdio run ./wdio/xvfb/wdio.conf.ts",
|
|
"test:e2e": "run-s test:e2e:* ",
|
|
"dev": "pnpm -r --filter=@wdio/compiler run build --watch",
|
|
"watch:docs": "pnpm docs:generate && cd website && pnpm i && pnpm start",
|
|
"version": "pnpm changelog && git add CHANGELOG.md",
|
|
"postinstall": "run-s postinstall:*",
|
|
"postinstall:husky": "husky"
|
|
},
|
|
"devDependencies": {
|
|
"@aws-sdk/client-cloudfront": "^3.840.0",
|
|
"@aws-sdk/client-device-farm": "^3.840.0",
|
|
"@aws-sdk/client-s3": "^3.840.0",
|
|
"@aws-sdk/lib-storage": "^3.840.0",
|
|
"@octokit/rest": "^22.0.0",
|
|
"@preact/preset-vite": "^2.10.2",
|
|
"@serenity-js/core": "^3.32.2",
|
|
"@stencil/core": "^4.35.1",
|
|
"@sveltejs/vite-plugin-svelte": "4.0.2",
|
|
"@types/archiver": "^6.0.3",
|
|
"@types/inquirer": "^9.0.8",
|
|
"@types/lodash.clonedeep": "^4.5.9",
|
|
"@types/lodash.zip": "^4.2.9",
|
|
"@types/mime-types": "^3.0.1",
|
|
"@types/mocha": "^10.0.10",
|
|
"@types/node": "^20.12.7",
|
|
"@types/recursive-readdir": "^2.2.4",
|
|
"@types/shelljs": "^0.8.16",
|
|
"@types/split2": "^4.2.3",
|
|
"@types/unzipper": "^0.10.11",
|
|
"@types/uuid": "^10.0.0",
|
|
"@vitejs/plugin-react": "^4.6.0",
|
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
"@vitest/coverage-v8": "^3.2.4",
|
|
"@wdio/config": "workspace:*",
|
|
"@wdio/eslint": "^0.1.2",
|
|
"@wdio/repl": "workspace:*",
|
|
"camelcase": "^8.0.0",
|
|
"cddl": "^0.12.0",
|
|
"cddl2ts": "^0.2.2",
|
|
"chalk": "^5.4.1",
|
|
"cheerio": "1.1.0",
|
|
"cli-highlight": "^2.1.11",
|
|
"comment-parser": "^1.4.1",
|
|
"copyfiles": "^2.4.1",
|
|
"depcheck": "^1.4.7",
|
|
"ejs": "^3.1.10",
|
|
"ejs-lint": "^2.0.1",
|
|
"eslint": "^9.30.0",
|
|
"eta": "^3.5.0",
|
|
"glob": "^11.0.3",
|
|
"globals": "^16.3.0",
|
|
"husky": "^9.1.7",
|
|
"image-size": "^2.0.2",
|
|
"inquirer": "^12.6.3",
|
|
"jsdom": "^26.1.0",
|
|
"lerna": "8.2.3",
|
|
"lerna-changelog": "^2.2.0",
|
|
"mime-types": "^3.0.1",
|
|
"npm-run-all2": "^8.0.4",
|
|
"puppeteer-core": "^24.11.2",
|
|
"recast": "^0.23.11",
|
|
"recursive-readdir": "^2.2.3",
|
|
"rimraf": "^6.0.1",
|
|
"shelljs": "^0.10.0",
|
|
"tempy": "^3.1.0",
|
|
"tsd": "^0.32.0",
|
|
"tsx": "^4.20.3",
|
|
"typescript": "^5.8.3",
|
|
"unzipper": "^0.12.3",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"engines": {
|
|
"pnpm": ">=8.15.3"
|
|
}
|
|
}
|