Skip to content

Commit

Permalink
Update dependencies to stable versions
Browse files Browse the repository at this point in the history
Downgraded React and related packages from version 19.0.0-rc to 18.3.1 for better stability and compatibility. Successfully upgraded Babel-related dependencies and other dev dependencies to their latest stable versions. Removed redundant entries to clean up the `pnpm-lock.yaml` file.
  • Loading branch information
ryota-murakami committed Aug 17, 2024
1 parent 22eebcc commit 7f0a0bc
Show file tree
Hide file tree
Showing 5 changed files with 3,810 additions and 1,768 deletions.
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ updates:
schedule:
interval: 'daily'
ignore:
- dependency-name: 'react'
- dependency-name: 'react-dom'
- dependency-name: 'eslint'
34 changes: 10 additions & 24 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,14 @@
name: Dependabot auto-merge
name: Auto merge
on: pull_request

permissions:
contents: write
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
merge:
if: ${{ github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/prepare
- run: pnpm lint
- run: pnpm build
- run: pnpm test
- run: pnpm typecheck
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- uses: actions/checkout@v4
- run: gh pr merge "${GITHUB_HEAD_REF}" --merge --auto
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"lint:fix": "eslint . --ext .ts,.tsx,.js,jsx,cjs,mjs --fix",
"typecheck": "tsc --noEmit",
"prettier": "prettier --ignore-unknown --write .",
"clean": "rimraf node_modules package-lock.json dist",
"clean": "rimraf node_modules pnpm-lock.yaml dist",
"validate": "./scripts/validate",
"remove:tailwind": "scripts/remove_tailwind.js",
"prepare": "husky"
},
"dependencies": {
"clsx": "^2.1.1",
"react": "19.0.0-rc-f38c22b244-20240704",
"react-dom": "19.0.0-rc-f38c22b244-20240704",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.1"
},
"devDependencies": {
Expand All @@ -41,8 +41,8 @@
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/eslint": "^8.56.7",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-react-swc": "^3.7.0",
Expand Down Expand Up @@ -77,6 +77,6 @@
"vitest": "^1.4.0"
},
"volta": {
"node": "20.15.1"
"node": "20.16.0"
}
}
Loading

0 comments on commit 7f0a0bc

Please sign in to comment.