Skip to content

Commit

Permalink
Upgrade nextjs and everything else (#106)
Browse files Browse the repository at this point in the history
* chore(yarn): upgrade yarn to v4

* chore(dependency): bumping all dependencies

* chore(CI): make sure CI enable corepack

* chore(superjson): downgrade superjson due to nextjs-superjson not ready yet
  • Loading branch information
PaiJi authored Dec 16, 2023
1 parent a9a8419 commit 90c600a
Show file tree
Hide file tree
Showing 7 changed files with 2,680 additions and 3,088 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ jobs:
ENABLE_TRACK: ${{ vars.ENABLE_TRACK }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: lts/hydrogen
- run: "corepack enable"
- name: Build
run: "yarn && yarn build"
- name: Upload
Expand All @@ -35,7 +36,7 @@ jobs:
needs: global-build
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download Artifact
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -65,11 +66,12 @@ jobs:
NEXT_PUBLIC_SENTRY_DSN: ${{vars.SENTRY_DSN}}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: lts/hydrogen
- run: "corepack enable"
- name: Build
run: "yarn && yarn build"
- name: Upload
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ jobs:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
ENABLE_TRACK: ${{ vars.ENABLE_TRACK }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/hydrogen
- run: "corepack enable"
- run: "yarn && yarn build"
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

# dependencies
/node_modules
/.pnp
.pnp.js
.pnp.*
.yarn/*
!.yarn/patches
Expand Down
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.0.cjs

This file was deleted.

11 changes: 3 additions & 8 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
enableGlobalCache: true
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

progressBarStyle: hogsfather

yarnPath: .yarn/releases/yarn-3.6.0.cjs

packageExtensions:
"next-sitemap@*":
dependencies:
"@next/env": "*"
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,36 @@
},
"dependencies": {
"@headlessui/react": "^1.7.17",
"@sentry/nextjs": "^7.54.0",
"@xata.io/client": "^0.24.2",
"autoprefixer": "^10.4.14",
"clsx": "^1.2.1",
"@sentry/nextjs": "^7.88.0",
"@xata.io/client": "^0.28.1",
"autoprefixer": "^10.4.16",
"clsx": "^2.0.0",
"date-fns": "^2.30.0",
"eslint": "8.42.0",
"eslint-config-next": "13.4.4",
"eslint": "8.56.0",
"eslint-config-next": "14.0.4",
"git-revision-webpack-plugin": "^5.0.0",
"lodash-es": "^4.17.21",
"next": "13.4.2",
"next-sitemap": "^4.1.3",
"next-superjson-plugin": "^0.5.7",
"postcss": "^8.4.24",
"next": "14.0.4",
"next-sitemap": "^4.2.3",
"next-superjson-plugin": "^0.5.10",
"postcss": "^8.4.32",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^8.4.2",
"postcss-preset-env": "^9.3.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hot-toast": "^2.4.1",
"react-icons": "^4.9.0",
"superjson": "^1.12.3",
"tailwindcss": "^3.3.2",
"typescript": "5.1.3"
"react-icons": "^4.12.0",
"superjson": "1.13.3",
"tailwindcss": "^3.3.6",
"typescript": "5.3.3"
},
"devDependencies": {
"@next/bundle-analyzer": "^13.4.4",
"@types/lodash-es": "^4.17.7",
"@types/node": "20.1.4",
"@types/react": "18.2.0",
"@types/react-dom": "18.2.0"
"@next/bundle-analyzer": "^14.0.4",
"@types/lodash-es": "^4.17.12",
"@types/node": "20.10.4",
"@types/react": "18.2.45",
"@types/react-dom": "18.2.18"
},
"packageManager": "yarn@3.6.0"
"packageManager": "yarn@4.0.2"
}
Loading

0 comments on commit 90c600a

Please sign in to comment.