diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2966014e..1c635b80 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,10 +16,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node ${{ matrix.node }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} @@ -42,9 +42,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: 'Use Node ${{ matrix.node }}' - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '${{ matrix.node }}' registry-url: 'https://registry.npmjs.org/' diff --git a/examples/package.json b/examples/package.json index 96208b1c..1c175fa6 100644 --- a/examples/package.json +++ b/examples/package.json @@ -8,22 +8,22 @@ "preview": "vite preview" }, "dependencies": { - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", "react-hook-form": "^7.47.0", "react-telephone": "^1.4.3", "styled-components": "^6.0.8" }, "devDependencies": { - "@types/node": "^20.8.0", - "@types/react": "^18.2.24", - "@types/react-dom": "^18.2.8", + "@types/node": "^22.10.10", + "@types/react": "^19.0.8", + "@types/react-dom": "^19.0.3", "@types/styled-components": "^5.1.28", "@vitejs/plugin-react": "^4.1.0", "autoprefixer": "^10.4.16", "postcss": "^8.4.31", - "tailwindcss": "^3.3.3", + "tailwindcss": "^4.0.0", "typescript": "^5.2.2", - "vite": "^4.4.9" + "vite": "^6.0.11" } } diff --git a/package.json b/package.json index 7e2a2537..235fc2a9 100644 --- a/package.json +++ b/package.json @@ -53,33 +53,33 @@ "url": "https://joris.re" }, "peerDependencies": { - "react": "^16 || ^17 || ^18", - "react-dom": "^16 || ^17 || ^18" + "react": "^16 || ^17 || ^18 || ^19.0.0", + "react-dom": "^16 || ^17 || ^18 || ^19.0.0" }, "devDependencies": { - "@testing-library/jest-dom": "^5.17.0", - "@testing-library/react": "^14.0.0", + "@testing-library/jest-dom": "^6.6.3", + "@testing-library/react": "^16.2.0", "@testing-library/user-event": "^14.5.1", - "@types/node": "^20.8.0", - "@types/react": "^18.2.24", - "@types/react-dom": "^18.2.8", - "@typescript-eslint/eslint-plugin": "^6.7.3", - "@typescript-eslint/parser": "^6.7.3", + "@types/node": "^22.10.10", + "@types/react": "^19.0.8", + "@types/react-dom": "^19.0.3", + "@typescript-eslint/eslint-plugin": "^8.21.0", + "@typescript-eslint/parser": "^8.21.0", "@vitejs/plugin-react": "^4.1.0", - "c8": "^8.0.1", - "eslint": "^8.50.0", - "eslint-config-prettier": "^9.0.0", + "c8": "^10.1.3", + "eslint": "^9.19.0", + "eslint-config-prettier": "^10.0.1", "eslint-plugin-react": "^7.33.2", - "husky": "^8.0.3", - "jsdom": "^22.1.0", - "lint-staged": "^14.0.1", + "husky": "^9.1.7", + "jsdom": "^26.0.0", + "lint-staged": "^15.4.2", "microbundle": "^0.15.1", "prettier": "^3.0.3", - "react": "^18.2.0", - "react-dom": "^18.2.0", + "react": "^19.0.0", + "react-dom": "^19.0.0", "typescript": "^5.2.2", - "vite": "^4.4.9", - "vitest": "^0.34.6" + "vite": "^6.0.11", + "vitest": "^3.0.4" }, "lint-staged": { "*.js": "npm run lint --cache --fix",