fix: use prettier --write in lint-staged for auto-formatting

This commit is contained in:
Deivid Soto 2026-02-12 17:54:47 +01:00
parent 92ed47ebdf
commit e874401001
2 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "torrentclaw-mcp", "name": "torrentclaw-mcp",
"version": "1.0.0", "version": "0.1.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "torrentclaw-mcp", "name": "torrentclaw-mcp",
"version": "1.0.0", "version": "0.1.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@modelcontextprotocol/sdk": "^1.12.0", "@modelcontextprotocol/sdk": "^1.12.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "torrentclaw-mcp", "name": "torrentclaw-mcp",
"version": "1.0.0", "version": "0.1.0",
"description": "MCP server for TorrentClaw — search and discover movies and TV shows with torrent downloads, magnet links, streaming availability, and cast/crew metadata", "description": "MCP server for TorrentClaw — search and discover movies and TV shows with torrent downloads, magnet links, streaming availability, and cast/crew metadata",
"type": "module", "type": "module",
"bin": { "bin": {
@ -25,7 +25,7 @@
"release:major": "commit-and-tag-version --release-as major" "release:major": "commit-and-tag-version --release-as major"
}, },
"lint-staged": { "lint-staged": {
"*.{ts,js,json,md,yml,yaml}": "prettier --check" "*.{ts,js,json,md,yml,yaml}": "prettier --write"
}, },
"keywords": [ "keywords": [
"mcp", "mcp",