Skip to content

Commit

Permalink
Merge pull request #4314 from luke-h1/main
Browse files Browse the repository at this point in the history
merge main into dev
  • Loading branch information
luke-h1 authored Jan 14, 2024
2 parents e30106c + 4e497ce commit 757a9f4
Show file tree
Hide file tree
Showing 12 changed files with 742 additions and 738 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ node_modules/
*.min.css
*.min.js
@sanity
playwright-report/
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
sync-labels: true

- name: Check commit message
run: pnpm commitlint --from=HEAD~1
run: pnpm commitlint --from=HEAD^1

- name: format:check
run: pnpm format:check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
sync-labels: true

- name: Check commit message
run: pnpm commitlint --from=HEAD~1
run: pnpm commitlint --from=HEAD^1

- name: format:check
run: pnpm format:check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
sync-labels: true

- name: Check commit message
run: pnpm commitlint --from=HEAD~1
run: pnpm commitlint --from=HEAD^1

- name: dev UI tests
run: make e2e-install-browsers && make e2e-dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/live-ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
sync-labels: true

- name: Check commit message
run: pnpm commitlint --from=HEAD~1
run: pnpm commitlint --from=HEAD^1

- name: Install Playwright Browsers
run: make e2e-install-browsers
Expand Down
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"start:prod": "NODE_OPTIONS='-r dotenv/config @newrelic/next' next start",
"tsc": "tsc --noEmit",
"gen-env": "gen-env-types .env -o src/types/env.d.ts -e .",
"lint": "eslint \"./src/**/*.{js, jsx,ts,tsx}\" --quiet --fix && eslint \"./**/*.{js, jsx,ts,tsx}\" --quiet --fix",
"lint:style": "stylelint --fix src/**/*.{scss,css}",
"lint": "eslint --ext .ts,.tsx,.js.jsx .",
"lint:fix": "eslint --fix --ext .ts,.tsx,.js.jsx .",
"format": "prettier --write \"src/**/*.{js,jsx,ts,tsx,css,scss,html}\"",
"format:check": "prettier --list-different \"src/**/*.{js,jsx,ts,tsx,css,scss,html}\"",
"test": "jest",
Expand Down Expand Up @@ -53,7 +53,7 @@
"framer-motion": "^10.17.9",
"gen-env-types": "^1.3.4",
"gray-matter": "^4.0.3",
"groq": "3.23.4",
"groq": "3.24.1",
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"motion": "^10.16.4",
Expand Down Expand Up @@ -105,7 +105,7 @@
"@types/jest": "^29.5.11",
"@types/js-cookie": "^3.0.6",
"@types/lodash": "^4.14.202",
"@types/node": "20.10.6",
"@types/node": "20.11.0",
"@types/nprogress": "^0.2.3",
"@types/react": "18.2.47",
"@types/rss": "^0.0.32",
Expand Down Expand Up @@ -164,5 +164,10 @@
"package.json": [
"node scripts/alphabetizePackageJson.js"
]
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
}
}
}
Loading

0 comments on commit 757a9f4

Please sign in to comment.