Skip to content

Commit

Permalink
Merge pull request #139 from argos-ci/upgrade-dependencies
Browse files Browse the repository at this point in the history
upgrade dependencies
  • Loading branch information
gregberge committed Aug 18, 2024
2 parents 8fbd0bb + 893d404 commit 9559283
Show file tree
Hide file tree
Showing 17 changed files with 3,133 additions and 2,808 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@
"type": "module",
"devDependencies": {
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-swc": "^0.3.0",
"@rollup/plugin-swc": "^0.3.1",
"@rollup/plugin-typescript": "^11.1.6",
"@swc/core": "^1.4.17",
"@swc/core": "^1.7.11",
"cross-env": "^7.0.3",
"eslint": "^8.57.0",
"lerna": "^8.1.2",
"prettier": "^3.2.5",
"rollup": "^4.17.2",
"rollup-plugin-swc3": "^0.11.1",
"lerna": "^8.1.8",
"prettier": "^3.3.3",
"rollup": "^4.20.0",
"rollup-plugin-swc3": "^0.11.2",
"rollup-plugin-ts": "^3.4.5",
"typedoc": "^0.26.5",
"typescript": "^5.4.5",
"vitest": "^1.6.0"
"typescript": "5.4.5",
"vitest": "^2.0.5"
},
"scripts": {
"build": "pnpm run -r prebuild && cross-env NODE_ENV=production pnpm -r run build",
"build-docs": "typedoc",
"build-docs": "npm run check-types && typedoc",
"format": "prettier --write .",
"check-format": "prettier --check .",
"lint": "eslint .",
"check-types": "tsc --noEmit",
"check-types": "pnpm -r exec tsc",
"test": "vitest",
"release": "npm run build && lerna publish --conventional-commits --create-release=github",
"release-canary": "npm run build && lerna publish --canary --dist-tag canary"
Expand Down
6 changes: 3 additions & 3 deletions packages/api-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"build": "rollup -c"
},
"devDependencies": {
"@types/node": "^18.0.0",
"openapi-typescript": "^6.7.5"
"@types/node": "^18.19.44",
"openapi-typescript": "^7.3.0"
},
"dependencies": {
"openapi-fetch": "^0.9.3"
"openapi-fetch": "^0.11.1"
}
}
6 changes: 3 additions & 3 deletions packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"build": "rollup -c"
},
"devDependencies": {
"@rollup/plugin-replace": "^5.0.5",
"@types/node": "^18.0.0",
"openapi-typescript": "^6.7.5"
"@rollup/plugin-replace": "^5.0.7",
"@types/node": "^18.19.44",
"openapi-typescript": "^7.3.0"
}
}
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
},
"dependencies": {
"@argos-ci/core": "workspace:*",
"commander": "^12.0.0",
"commander": "^12.1.0",
"ora": "^8.0.1",
"update-notifier": "^7.0.0"
"update-notifier": "^7.2.0"
},
"scripts": {
"prebuild": "rm -rf dist",
Expand Down
8 changes: 4 additions & 4 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,18 @@
},
"dependencies": {
"@argos-ci/util": "workspace:*",
"axios": "^1.6.8",
"axios": "^1.7.4",
"convict": "^6.2.4",
"debug": "^4.3.4",
"debug": "^4.3.6",
"fast-glob": "^3.3.2",
"sharp": "^0.33.3",
"sharp": "^0.33.5",
"tmp": "^0.2.3"
},
"devDependencies": {
"@types/convict": "^6.1.6",
"@types/debug": "^4.1.12",
"@types/tmp": "^0.2.6",
"msw": "^2.2.13"
"msw": "^2.3.5"
},
"scripts": {
"prebuild": "rm -rf dist",
Expand Down
10 changes: 5 additions & 5 deletions packages/cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,18 @@
"@argos-ci/browser": "workspace:*",
"@argos-ci/core": "workspace:*",
"@argos-ci/util": "workspace:*",
"cypress-wait-until": "^3.0.1"
"cypress-wait-until": "^3.0.2"
},
"peerDependencies": {
"cypress": "^12.0.0 || ^13.0.0"
},
"devDependencies": {
"@argos-ci/cli": "workspace:*",
"@argos-ci/cypress": "workspace:.",
"@types/node": "^18.0.0",
"cypress": "^13.7.2",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-html": "^8.0.0"
"@types/node": "^18.19.44",
"cypress": "^13.13.3",
"eslint-plugin-cypress": "^3.5.0",
"eslint-plugin-html": "^8.1.1"
},
"scripts": {
"prebuild": "rm -rf dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/cypress/src/test-types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference types="Cypress" />
/// <reference types="cypress" />
import "./support";

// findBy*
Expand Down
6 changes: 3 additions & 3 deletions packages/gitlab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@
},
"dependencies": {
"@argos-ci/api-client": "workspace:*",
"@gitbeaker/rest": "^40.0.3",
"commander": "^12.0.0"
"@gitbeaker/rest": "^40.1.2",
"commander": "^12.1.0"
},
"devDependencies": {
"@types/node": "^18.0.0"
"@types/node": "^18.19.44"
}
}
6 changes: 3 additions & 3 deletions packages/playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@
"@argos-ci/core": "workspace:*",
"@argos-ci/util": "workspace:*",
"chalk": "^5.3.0",
"debug": "^4.3.4"
"debug": "^4.3.6"
},
"devDependencies": {
"@argos-ci/cli": "workspace:*",
"@argos-ci/playwright": "workspace:.",
"@playwright/test": "^1.43.0",
"@playwright/test": "^1.46.1",
"@types/debug": "^4.1.12",
"@types/node": "^18.0.0"
"@types/node": "^18.19.44"
},
"scripts": {
"prebuild": "rm -rf dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/playwright/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export async function argosScreenshot(
const handle =
typeof element === "string"
? page.locator(element, { has, hasText })
: element ?? page;
: (element ?? page);

const testInfo = await getTestInfo();

Expand Down
10 changes: 5 additions & 5 deletions packages/puppeteer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@
"devDependencies": {
"@argos-ci/cli": "workspace:*",
"@types/jest": "^29.5.12",
"@types/node": "^18.0.0",
"@types/node": "^18.19.44",
"eslint": "^8.57.0",
"eslint-plugin-html": "^8.0.0",
"expect-puppeteer": "^10.0.0",
"eslint-plugin-html": "^8.1.1",
"expect-puppeteer": "^10.1.0",
"jest": "^29.0.1",
"jest-light-runner": "^0.6.0",
"jest-puppeteer": "^10.0.1",
"puppeteer": "^22.6.3"
"jest-puppeteer": "^10.1.0",
"puppeteer": "^23.1.0"
},
"scripts": {
"prebuild": "rm -rf dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/util/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
"build": "rollup -c"
},
"devDependencies": {
"@types/node": "^18.0.0"
"@types/node": "^18.19.44"
}
}
21 changes: 10 additions & 11 deletions packages/webdriverio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,20 @@
"webdriverio": "^6 || ^7 || ^8"
},
"dependencies": {
"sharp": "^0.33.3"
"sharp": "^0.33.5"
},
"devDependencies": {
"@argos-ci/cli": "workspace:*",
"@types/mocha": "^10.0.6",
"@wdio/cli": "^8.38.2",
"@wdio/globals": "^8.38.2",
"@wdio/local-runner": "^8.38.2",
"@wdio/mocha-framework": "^8.38.2",
"@wdio/spec-reporter": "^8.32.4",
"@wdio/types": "^8.32.4",
"chromedriver": "^125.0.3",
"ts-node": "^10.9.2",
"@wdio/cli": "^9.0.3",
"@wdio/globals": "^9.0.1",
"@wdio/local-runner": "^9.0.1",
"@wdio/mocha-framework": "^9.0.0",
"@wdio/spec-reporter": "^9.0.0",
"@wdio/types": "^9.0.0",
"chromedriver": "^127.0.3",
"tsx": "^4.17.0",
"wdio-chromedriver-service": "^8.1.1",
"webdriverio": "^8.38.2"
"webdriverio": "^9.0.1"
},
"scripts": {
"prebuild": "rm -rf dist",
Expand Down
2 changes: 1 addition & 1 deletion packages/webdriverio/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"types": ["@wdio/globals/types", "@types/mocha"]
"types": ["@wdio/globals/types", "@wdio/mocha-framework"]
}
}
12 changes: 3 additions & 9 deletions packages/webdriverio/wdio.conf.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
import type { Options } from "@wdio/types";
export const config: Options.Testrunner = {
export const config: Options.Testrunner & {
capabilities: Options.RunnerStart["capabilities"][];
} = {
//
// ====================
// Runner Configuration
// ====================
// WebdriverIO supports running e2e tests as well as unit and component tests.
runner: "local",
autoCompileOpts: {
autoCompile: true,
tsNodeOpts: {
project: "./test/tsconfig.json",
transpileOnly: true,
},
},

//
// ==================
Expand Down Expand Up @@ -58,7 +53,6 @@ export const config: Options.Testrunner = {
//
capabilities: [
{
maxInstances: 5,
browserName: "chrome",
acceptInsecureCerts: true,
// We need to extends some Chrome flags in order to tell Chrome to run headless
Expand Down
Loading

0 comments on commit 9559283

Please sign in to comment.