Skip to content

Commit

Permalink
fix: revert next 14.1.1 -> 13.5.6 (#224)
Browse files Browse the repository at this point in the history
* fix: revert next `14.1.1` -> `13.5.6`

* ci: add image build script

- useful for testing

* ci: use `pnpm` in command (#226)

* fix: revert next `14.1.1` -> `13.5.6`

* ci: add image build script

- useful for testing

* deps: update app dependencies

* chore: upgrade husky

- `8.0.3` -> `9.0.11`

* ci: use native audit

* ci: ignore CVE-2024-34351 until next upgrade is feasible
  • Loading branch information
JeffreyArt1 authored May 15, 2024
1 parent 1caa5e8 commit 826f3e8
Show file tree
Hide file tree
Showing 7 changed files with 9,475 additions and 8,068 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

- uses: pnpm/[email protected]
with:
version: 8
version: 9

- name: Use Node.js ${{ matrix.node }}
uses: actions/[email protected]
Expand All @@ -73,7 +73,7 @@ jobs:
cache: pnpm

- name: Audit for vulnerabilities
run: pnpx audit-ci@^6 --config ./audit-ci.jsonc
run: pnpm audit

- name: Install and Build
run: |
Expand Down
4 changes: 0 additions & 4 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/usr/bin/env sh
# shellcheck disable=SC1091
. "$(dirname -- "$0")/_/husky.sh"

npm run commitlint "$1"
4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
#!/usr/bin/env sh
# shellcheck disable=SC1091
. "$(dirname -- "$0")/_/husky.sh"

pnpm lint-staged
pnpm install --frozen-lockfile
17 changes: 0 additions & 17 deletions audit-ci.jsonc

This file was deleted.

53 changes: 30 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"build:docker": "scripts/docker-build.sh",
"start": "next start",
"lint": "next lint",
"commitlint": "commitlint --edit",
Expand All @@ -26,62 +27,68 @@
"npm": ">=10.1.0 <11.0.0",
"node": ">=20.9.0 <21.0.0"
},
"pnpm": {
"auditConfig": {
"ignoreCves": [
"CVE-2024-34351"
]
}
},
"dependencies": {
"@aws-amplify/ui-react": "^5.3.2",
"@aws-amplify/ui-react-liveness": "^2.0.11",
"@aws-sdk/client-rekognition": "^3.449.0",
"@emotion/cache": "^11.11.0",
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@formatjs/intl-localematcher": "^0.5.0",
"@google-cloud/logging-bunyan": "^5.0.1",
"@hookform/resolvers": "^3.3.2",
"@mui/icons-material": "^5.14.16",
"@mui/material": "^5.14.17",
"@ory/client": "^1.2.17",
"@ory/integrations": "^1.1.5",
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@formatjs/intl-localematcher": "^0.5.4",
"@hookform/resolvers": "^3.4.0",
"@mui/icons-material": "^5.15.17",
"@mui/material": "^5.15.17",
"@ory/client": "^1.9.0",
"@ory/integrations": "^1.2.1",
"@sentry/nextjs": "^7.80.0",
"@thgh/next-gtm": "^0.1.4",
"@thgh/next-gtm": "^0.1.5",
"@types/bunyan": "^1.8.11",
"@types/react-gtm-module": "^2.0.3",
"aws-amplify": "^5.3.12",
"bunyan": "^1.8.15",
"check-password-strength": "^2.0.7",
"check-password-strength": "^2.0.10",
"eslint": "^8.53.0",
"eslint-config-next": "^13.5.6",
"hibp": "^13.0.0",
"negotiator": "^0.6.3",
"next": "^14.1.1",
"next-recaptcha-v3": "^1.3.0",
"next": "^13.5.6",
"next-recaptcha-v3": "^1.4.1",
"react": "^18.2.0",
"react-gtm-module": "^2.0.11",
"react-hook-form": "7.47.0",
"react-imask": "^7.1.3",
"react-imask": "^7.6.0",
"sharp": "^0.32.6",
"typescript": "^5.2.2",
"zod": "^3.22.4"
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/cli": "^18.4.0",
"@commitlint/config-conventional": "^18.4.0",
"@types/cookie": "^0.5.4",
"@types/negotiator": "^0.6.3",
"@types/node": "^20.9.0",
"@types/node": "^20.12.12",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"@types/react-google-recaptcha": "^2.1.8",
"@types/react-google-recaptcha": "^2.1.9",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"aws-crt": "^1.19.0",
"encoding": "^0.1.13",
"eslint-config-prettier": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"husky": "^8.0.3",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"husky": "^9.0.11",
"install-peers": "^1.0.4",
"lint-staged": "^15.1.0",
"lint-staged": "^15.2.2",
"prettier": "^3.0.3",
"vitest": "^1.6.0"
}
}
}
Loading

0 comments on commit 826f3e8

Please sign in to comment.