chore: enable prettier caching and quiet output (#26681)

This commit is contained in:
Min Idzelis
2026-03-03 22:34:48 -05:00
committed by GitHub
parent 56f14162f6
commit e4c24bdec8
7 changed files with 14 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
{ {
"scripts": { "scripts": {
"format": "prettier --check .", "format": "prettier --cache --check .",
"format:fix": "prettier --write ." "format:fix": "prettier --cache --write --list-different ."
}, },
"devDependencies": { "devDependencies": {
"prettier": "^3.7.4" "prettier": "^3.7.4"

View File

@@ -49,8 +49,8 @@
"prepack": "pnpm run build", "prepack": "pnpm run build",
"test": "vitest", "test": "vitest",
"test:cov": "vitest --coverage", "test:cov": "vitest --coverage",
"format": "prettier --check .", "format": "prettier --cache --check .",
"format:fix": "prettier --write .", "format:fix": "prettier --cache --write --list-different .",
"check": "tsc --noEmit" "check": "tsc --noEmit"
}, },
"repository": { "repository": {

View File

@@ -4,8 +4,8 @@
"private": true, "private": true,
"scripts": { "scripts": {
"docusaurus": "docusaurus", "docusaurus": "docusaurus",
"format": "prettier --check .", "format": "prettier --cache --check .",
"format:fix": "prettier --write .", "format:fix": "prettier --cache --write --list-different .",
"start": "docusaurus start --port 3005", "start": "docusaurus start --port 3005",
"copy:openapi": "jq -c < ../open-api/immich-openapi-specs.json > ./static/openapi.json || exit 0", "copy:openapi": "jq -c < ../open-api/immich-openapi-specs.json > ./static/openapi.json || exit 0",
"build": "pnpm run copy:openapi && docusaurus build", "build": "pnpm run copy:openapi && docusaurus build",

View File

@@ -14,8 +14,8 @@
"start:web": "pnpm exec playwright test --ui --project=web", "start:web": "pnpm exec playwright test --ui --project=web",
"start:web:maintenance": "pnpm exec playwright test --ui --project=maintenance", "start:web:maintenance": "pnpm exec playwright test --ui --project=maintenance",
"start:web:ui": "pnpm exec playwright test --ui --project=ui", "start:web:ui": "pnpm exec playwright test --ui --project=ui",
"format": "prettier --check .", "format": "prettier --cache --check .",
"format:fix": "prettier --write .", "format:fix": "prettier --cache --write --list-different .",
"lint": "eslint \"src/**/*.ts\" --max-warnings 0", "lint": "eslint \"src/**/*.ts\" --max-warnings 0",
"lint:fix": "pnpm run lint --fix", "lint:fix": "pnpm run lint --fix",
"check": "tsc --noEmit" "check": "tsc --noEmit"

View File

@@ -3,8 +3,8 @@
"version": "2.5.6", "version": "2.5.6",
"private": true, "private": true,
"scripts": { "scripts": {
"format": "prettier --check .", "format": "prettier --cache --check .",
"format:fix": "prettier --write ." "format:fix": "prettier --cache --write --list-different ."
}, },
"devDependencies": { "devDependencies": {
"prettier": "^3.7.4", "prettier": "^3.7.4",

View File

@@ -7,8 +7,8 @@
"license": "GNU Affero General Public License version 3", "license": "GNU Affero General Public License version 3",
"scripts": { "scripts": {
"build": "nest build", "build": "nest build",
"format": "prettier --check .", "format": "prettier --cache --check .",
"format:fix": "prettier --write .", "format:fix": "prettier --cache --write --list-different .",
"start": "pnpm run start:dev", "start": "pnpm run start:dev",
"nest": "nest", "nest": "nest",
"start:dev": "nest start --watch --", "start:dev": "nest start --watch --",

View File

@@ -16,8 +16,8 @@
"check:all": "pnpm run check:code && pnpm run test:cov", "check:all": "pnpm run check:code && pnpm run test:cov",
"lint": "eslint . --max-warnings 0 --concurrency 4", "lint": "eslint . --max-warnings 0 --concurrency 4",
"lint:fix": "pnpm run lint --fix", "lint:fix": "pnpm run lint --fix",
"format": "prettier --check .", "format": "prettier --cache --check .",
"format:fix": "prettier --write .", "format:fix": "prettier --cache --write --list-different .",
"test": "vitest", "test": "vitest",
"test:cov": "vitest --coverage", "test:cov": "vitest --coverage",
"test:watch": "vitest dev", "test:watch": "vitest dev",