Skip to content

Commit

Permalink
chore(deps): update all to latest compat
Browse files Browse the repository at this point in the history
  • Loading branch information
rozsival committed Jun 21, 2024
1 parent 45795a5 commit d46f8fd
Show file tree
Hide file tree
Showing 15 changed files with 6,203 additions and 4,478 deletions.
10 changes: 10 additions & 0 deletions .changeset/grumpy-numbers-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'@apitree.cz/prettier-config': patch
'@apitree.cz/testing-library': patch
'@apitree.cz/typedoc-config': patch
'@apitree.cz/eslint-config': patch
'@apitree.cz/vitest-config': patch
'@apitree.cz/cli': patch
---

Upgrade all dependencies to their latest compatible versions.
14 changes: 7 additions & 7 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ jobs:
strategy:
matrix:
node-version:
- 20.11.0
- 22.3.0
pnpm-version:
- 8.15.7
- 9.4.0
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm v${{ matrix.pnpm-version }}
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: ${{ matrix.pnpm-version }}
- name: Setup node.js v${{ matrix.node-version }}
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: ${{ needs.setup.outputs.pnpm-version }}
- name: Setup node.js
Expand All @@ -83,7 +83,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: ${{ needs.setup.outputs.pnpm-version }}
- name: Setup node.js
Expand All @@ -106,7 +106,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: ${{ needs.setup.outputs.pnpm-version }}
- name: Setup node.js
Expand All @@ -129,7 +129,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: ${{ needs.setup.outputs.pnpm-version }}
- name: Setup node.js
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
fetch-depth: 0
token: ${{ secrets.GIT_TOKEN }}
- name: Setup pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: 8.15.7
version: 9.4.0
- name: Setup node.js
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 20.11.0
node-version: 22.3.0
- name: Cache
uses: actions/cache@v4
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: 8.15.7
version: 9.4.0
- name: Setup node.js
uses: actions/setup-node@v4
with:
cache: pnpm
node-version: 20.11.0
node-version: 22.3.0
- name: Cache
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20
v22
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,42 +26,42 @@
"postformat": "prettier --check \"./*.{json,md,yaml}\" \".github/**/*.yaml\"",
"format:fix": "turbo run format:fix --parallel",
"postformat:fix": "pnpm run postformat --write",
"postinstall": "manypkg check",
"lint": "turbo run lint",
"postlint": "eslint --cache \"./*.{cjs,js}\"",
"lint:fix": "turbo run lint:fix",
"postlint:fix": "pnpm run postlint --fix",
"postinstall": "check-dependency-version-consistency .",
"qa": "turbo run qa",
"postqa": "run-p postts postlint postformat",
"ts": "turbo run ts",
"postts": "tsc --project tsconfig.json",
"prepare": "is-ci || run-s prepare:husky build sync-project-references",
"prepare:husky": "husky install",
"qa": "turbo run qa",
"postqa": "run-p postts postlint postformat",
"sync-project-references": "apitree sync-project-references",
"test": "turbo run test"
"test": "turbo run test",
"ts": "turbo run ts",
"postts": "tsc --project tsconfig.json"
},
"devDependencies": {
"dependencies": {
"@apitree.cz/cli": "workspace:*",
"@apitree.cz/eslint-config": "workspace:*",
"@apitree.cz/prettier-config": "workspace:*",
"@apitree.cz/ts-config": "workspace:*",
"@changesets/cli": "^2.27.1",
"@commitlint/cli": "^19.2.2",
"@changesets/cli": "^2.27.5",
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@types/node": "^20.12.7",
"check-dependency-version-consistency": "^4.1.0",
"@manypkg/cli": "0.21.4",
"@types/node": "^20.14.7",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"is-ci": "^3.0.1",
"lint-staged": "^15.2.2",
"lint-staged": "^15.2.7",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"turbo": "^1.13.2",
"prettier": "^3.3.2",
"rimraf": "^5.0.7",
"turbo": "^2.0.4",
"typescript": "^5.4.5"
},
"packageManager": "pnpm@8.15.7",
"packageManager": "pnpm@9.4.0",
"engines": {
"node": ">=20"
"node": ">=22"
}
}
6 changes: 3 additions & 3 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
},
"dependencies": {
"@apitree.cz/ts-utils": "workspace:*",
"@commander-js/extra-typings": "^12.0.1",
"@commander-js/extra-typings": "^12.1.0",
"@manypkg/get-packages": "^2.2.1",
"commander": "^12.0.0",
"commander": "^12.1.0",
"deepmerge": "^4.3.1",
"path-exists": "^5.0.0",
"ts-toolbelt": "^9.6.0",
"zod": "^3.22.4"
"zod": "^3.23.8"
},
"devDependencies": {
"@apitree.cz/typedoc-config": "workspace:*",
Expand Down
36 changes: 18 additions & 18 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,38 +33,38 @@
"ts": "tsc --build tsconfig.json"
},
"dependencies": {
"@next/eslint-plugin-next": "^14.2.1",
"@types/eslint": "^8.56.9",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@next/eslint-plugin-next": "^14.2.4",
"@types/eslint": "^8.56.10",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-config-turbo": "^1.13.2",
"eslint-config-turbo": "^2.0.4",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-formatjs": "^4.13.0",
"eslint-plugin-formatjs": "^4.13.3",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest-dom": "^5.2.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-jest-dom": "^5.4.0",
"eslint-plugin-jsx-a11y": "^6.9.0",
"eslint-plugin-mdx": "^3.1.5",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-storybook": "^0.8.0",
"eslint-plugin-testing-library": "^6.2.1",
"eslint-plugin-unicorn": "^52.0.0",
"eslint-plugin-unused-imports": "^3.1.0",
"eslint-plugin-vitest": "^0.4.1",
"vitest": "^1.5.0"
"eslint-plugin-testing-library": "^6.2.2",
"eslint-plugin-unicorn": "^54.0.0",
"eslint-plugin-unused-imports": "^3.2.0",
"eslint-plugin-vitest": "^0.5.4",
"vitest": "^1.6.0"
},
"devDependencies": {
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"react": "^18.2.0",
"prettier": "^3.3.2",
"react": "^18.3.1",
"typescript": "^5.4.5"
},
"peerDependencies": {
"eslint": "^8.57.0",
"react": "^18.2.0"
"react": "^18.3.0"
},
"peerDependenciesMeta": {
"react": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/src/base/overrides/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Linter } from 'eslint';

export const tests = {
files: ['*.spec.ts', '*.test.ts', 'mock/**/*', 'mocks/**/*', 'tests/**/*'],
extends: ['plugin:vitest/recommended'],
extends: ['plugin:vitest/legacy-recommended'],
rules: {
'no-magic-numbers': 'off', // Allow magic numbers in tests and mocks
'unicorn/consistent-function-scoping': 'off', // Allow nested functions in tests and mocks
Expand Down
2 changes: 1 addition & 1 deletion packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"prettier-plugin-packagejson": "^2.5.0"
},
"devDependencies": {
"prettier": "^3.2.5",
"prettier": "^3.3.2",
"typescript": "^5.4.5"
},
"peerDependencies": {
Expand Down
26 changes: 13 additions & 13 deletions packages/testing-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,25 @@
"ts": "tsc --build tsconfig.json"
},
"dependencies": {
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/user-event": "^14.5.1",
"jsdom": "^24.0.0"
"jsdom": "^24.1.0"
},
"devDependencies": {
"@apitree.cz/vitest-config": "workspace:*",
"@testing-library/react": "^15.0.2",
"@types/react": "^18.2.78",
"@types/react-dom": "^18.2.25",
"@vitest/coverage-v8": "^1.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vitest": "^1.5.0"
"@testing-library/react": "^16.0.0",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitest/coverage-v8": "^1.6.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vitest": "^1.6.0"
},
"peerDependencies": {
"@testing-library/react": "^15.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@testing-library/react": "^16.0.0",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"vitest": "^1.5.0"
}
}
2 changes: 1 addition & 1 deletion packages/typedoc-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"ts": "tsc --build tsconfig.json"
},
"dependencies": {
"typedoc-plugin-markdown": "^3.16.0"
"typedoc-plugin-markdown": "^4.0.3"
},
"devDependencies": {
"typedoc": "^0.25.13",
Expand Down
10 changes: 5 additions & 5 deletions packages/vitest-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@
"ts": "tsc --build tsconfig.json"
},
"dependencies": {
"@swc/core": "^1.4.14",
"@vitejs/plugin-react": "^4.2.1",
"@swc/core": "^1.6.3",
"@vitejs/plugin-react": "^4.3.1",
"unplugin-swc": "^1.4.5",
"vite": "^5.2.8"
"vite": "^5.3.1"
},
"devDependencies": {
"@vitest/coverage-v8": "^1.5.0",
"vitest": "^1.5.0"
"@vitest/coverage-v8": "^1.6.0",
"vitest": "^1.6.0"
},
"peerDependencies": {
"@vitest/coverage-v8": "^1.5.0",
Expand Down
Loading

0 comments on commit d46f8fd

Please sign in to comment.