chore: test precommit

This commit is contained in:
Ayo Ayco 2024-12-27 21:18:36 +01:00
parent 6fa8e2124c
commit b384210f1b
4 changed files with 1805 additions and 1692 deletions

View file

@ -1,2 +1,4 @@
npm run lint
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npm run lint

View file

@ -9,6 +9,12 @@ import { includeIgnoreFile } from '@eslint/compat'
import path from 'node:path'
import { fileURLToPath } from 'node:url'
const unused = 'hey'
const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const gitignorePath = path.resolve(__dirname, '.gitignore')

View file

@ -18,37 +18,37 @@
"publish:minor": "npm version minor && npm publish --access public",
"deploy:client": "astro build && scp -r dist/client/ ayo@ayco.io:~/cozy/dist/",
"test": "vitest",
"prepare": "husky",
"prepare": "husky && husky install",
"lint": "eslint . --config eslint.config.mjs",
"format": "prettier . --write"
},
"devDependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^3.1.8",
"@astrojs/node": "^8.3.4",
"@astrojs/rss": "^4.0.9",
"@astrojs/mdx": "^4.0.3",
"@astrojs/node": "^9.0.0",
"@astrojs/rss": "^4.0.10",
"@astrojs/sitemap": "^3.2.1",
"@ayco/astro-sw": "^0.8.14",
"@eslint/compat": "^1.2.4",
"@eslint/js": "^9.17.0",
"@extractus/article-extractor": "^8.0.10",
"@fastify/middie": "^8.3.1",
"@fastify/static": "^7.0.4",
"astro": "^4.16.7",
"@extractus/article-extractor": "^8.0.16",
"@fastify/middie": "^9.0.2",
"@fastify/static": "^8.0.3",
"astro": "^5.1.1",
"astro-eslint-parser": "^1.1.0",
"astro-iconify": "^1.2.0",
"eslint": "^9.17.0",
"eslint-plugin-astro": "^1.3.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"fastify": "^4.28.1",
"fastify": "^5.2.0",
"globals": "^15.14.0",
"husky": "^9.1.7",
"prettier": "^3.4.2",
"prettier-plugin-astro": "^0.14.1",
"sass": "^1.77.8",
"typescript": "^5.5.4",
"sass": "^1.83.0",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.2",
"ultrahtml": "^1.5.3",
"vitest": "^2.1.4"
"vitest": "^2.1.8"
}
}

File diff suppressed because it is too large Load diff