Skip to content

Commit

Permalink
Create no-cache variants of the lint checkers to use with test
Browse files Browse the repository at this point in the history
  • Loading branch information
simar0at committed Feb 4, 2025
1 parent e78b9c1 commit 766dd9a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
"generate:api-client": "swagger-typescript-api --path \"https://raw.githubusercontent.com/acdh-oeaw/vicav-app-api/master/openapi.json\" --clean-output --name index.ts --output ./lib/api-client/",
"lint:check": "run-p --continue-on-error \"lint:*:check\"",
"lint:fix": "run-p --continue-on-error \"lint:*:fix\"",
"lint:code:check": "eslint . --cache",
"lint:code:check": "pnpm run lint:code:check-no-cache --cache",
"lint:code:check-no-cache": "eslint .",
"lint:code:fix": "pnpm run lint:code:check --fix",
"lint:styles:check": "stylelint \"./**/*.@(css|vue)\" --cache --ignore-path ./.gitignore",
"lint:styles:check": "pnpm run lint:styles:check-no-cache --cache",
"lint:styles:check-no-cache": "stylelint \"./**/*.@(css|vue)\" --ignore-path ./.gitignore",
"lint:styles:fix": "pnpm run lint:styles:check --fix",
"postinstall": "nuxt prepare",
"preinstall": "npx only-allow pnpm",
Expand All @@ -30,7 +32,7 @@
"start:preview": "nuxt preview --dotenv ./.env.local",
"start": "node .output/server/index.mjs",
"start:local": "dotenv -e .env.local -- pnpm run start",
"test": "dotenv -e .env.local -- node checkenv.mjs && pnpm playwright install && pnpm validate",
"test": "dotenv -e .env.local -- node checkenv.mjs && pnpm playwright install && run-p format:check \"lint:*:check-no-cache\" types:check test:unit test:e2e",
"test:e2e": "playwright test",
"test:e2e:codegen": "playwright codegen",
"test:e2e:debug": "playwright test --debug",
Expand Down

0 comments on commit 766dd9a

Please sign in to comment.