chore: add commitlint

This commit is contained in:
Aaron Yarborough 2024-03-12 21:52:17 +00:00
parent 81ececda1a
commit 300a28b76b
5 changed files with 1046 additions and 1 deletions

1
.husky/commit-msg Normal file
View file

@ -0,0 +1 @@
npx --no -- commitlint --edit $1

2
commitlint.config.js Normal file
View file

@ -0,0 +1,2 @@
// eslint-disable-next-line import/no-anonymous-default-export
export default { extends: ['@commitlint/config-conventional'] }

View file

@ -1,6 +1,7 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
reactStrictMode: true reactStrictMode: true,
output: 'export'
} }
export default nextConfig export default nextConfig

1038
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -2,6 +2,7 @@
"name": "www-aaronjy-2024", "name": "www-aaronjy-2024",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"type": "module",
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"server": "npx decap-server", "server": "npx decap-server",
@ -20,6 +21,8 @@
"devDependencies": { "devDependencies": {
"@babel/core": "^7.24.0", "@babel/core": "^7.24.0",
"@babel/preset-react": "^7.23.3", "@babel/preset-react": "^7.23.3",
"@commitlint/cli": "^19.1.0",
"@commitlint/config-conventional": "^19.1.0",
"eslint": "^8", "eslint": "^8",
"eslint-config-next": "14.1.1", "eslint-config-next": "14.1.1",
"front-matter": "^4.0.2", "front-matter": "^4.0.2",