From ddb3faaf4e1c95ae31920fa3df73111e2dd0b403 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 27 Jul 2024 15:51:00 +0100 Subject: [PATCH] script tweaks --- .config/{.markdownlint.json => markdownlint.json} | 0 package.json | 7 ++++--- 2 files changed, 4 insertions(+), 3 deletions(-) rename .config/{.markdownlint.json => markdownlint.json} (100%) diff --git a/.config/.markdownlint.json b/.config/markdownlint.json similarity index 100% rename from .config/.markdownlint.json rename to .config/markdownlint.json diff --git a/package.json b/package.json index 54f73128..e8b621e2 100644 --- a/package.json +++ b/package.json @@ -12,13 +12,14 @@ "preview": "astro preview", "typecheck:astro": "astro check", "typecheck:tsc": "tsc --noEmit --pretty", - "typecheck": "npm run typecheck:astro && npm run typecheck:tsc", + "typecheck": "run-p --silent typecheck:astro typecheck:tsc", "prebuild": "run-p --silent --continue-on-error create:symlinks create:icons move:downloads", "test:unit": "vitest run --config './test/vitest.config.ts' --coverage", "test:unit:watch": "vitest watch --config './test/vitest.config.ts' --coverage", "test:e2e": "playwright test --config './test/playwright.config.ts'", - "lint:md": "markdownlint --config '.config/.markdownlint.json' --ignore-path .gitignore --dot './**/*.{md,markdown}'", - "lint": "biome check --write .", + "lint:md": "markdownlint --config '.config/markdownlint.json' --ignore-path .gitignore --dot './**/*.{md,markdown}'", + "lint:biome": "biome check --write .", + "lint": "run-p --silent lint:biome lint:md", "deploy:s3": "./scripts/deploy-s3.sh", "new": "tsx scripts/new/index.ts", "create:icons": "tsx scripts/create-icons/index.ts",