Skip to content

Commit

Permalink
chore: update deps (#28)
Browse files Browse the repository at this point in the history
* deps: update tooling

* deps: update npm libs

* fix: breaking changes to vitest timers

* refactor: github ci
  • Loading branch information
jollyjerr committed Oct 7, 2023
1 parent ec86942 commit 816e76c
Show file tree
Hide file tree
Showing 9 changed files with 1,600 additions and 1,242 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: CI

on:
push:
Expand All @@ -9,19 +9,17 @@ on:
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- uses: pnpm/action-setup@v2
with:
version: 8.8.0
run_install: false
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm install -g pnpm
- run: pnpm i
node-version: 18
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- run: pnpm format:check
- run: pnpm test:coverage
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs 16.17.0
pnpm 7.11.0
nodejs 18.12.0
pnpm 8.8.0
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
39 changes: 19 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,29 +39,28 @@
"react-dom": "18.2.0"
},
"devDependencies": {
"@testing-library/dom": "^8.19.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.2.4",
"@types/node": "^18.11.15",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"@vitejs/plugin-react": "^3.0.0",
"@vitest/coverage-c8": "^0.25.8",
"c8": "^7.12.0",
"eslint": "^8.29.0",
"eslint-plugin-jest": "^27.1.6",
"eslint-plugin-react": "^7.31.11",
"@testing-library/dom": "^9.3.3",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.5",
"@types/node": "^20.8.3",
"@types/react": "^18.2.25",
"@types/react-dom": "^18.2.11",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^0.34.6",
"eslint": "^8.51.0",
"eslint-plugin-jest": "^27.4.2",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"jsdom": "^20.0.3",
"prettier": "^2.8.1",
"jsdom": "^22.1.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.9.4",
"vite": "^4.0.1",
"vitest": "^0.25.8"
"typescript": "^5.2.2",
"vite": "^4.4.11",
"vitest": "^0.34.6"
},
"peerDependencies": {
"react": "^17.x.x || ^18.x.x",
Expand Down
Loading

0 comments on commit 816e76c

Please sign in to comment.