chore: add cache for cspell

This commit is contained in:
Amin Yahyaabadi 2022-11-08 16:08:38 -08:00
parent bd7b54ade4
commit d9a686c434
6 changed files with 14 additions and 3 deletions

View File

@ -8,6 +8,7 @@ ignorePaths:
- .git/ - .git/
- dist/ - dist/
- dev/cpp_vcpkg_project - dev/cpp_vcpkg_project
- "**/node_modules/"
words: words:
- aarch - aarch
- aminya - aminya

View File

@ -1,3 +1,4 @@
/* eslint-disable import/no-extraneous-dependencies */
import { node } from "execa" import { node } from "execa"
function getPlatformName() { function getPlatformName() {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -29,7 +29,7 @@
"docs": "shx rm -rf packages/*/README.md && pnpm -r exec readme --path ../../dev/readme/template.md -y && pnpm -r exec ts-readme", "docs": "shx rm -rf packages/*/README.md && pnpm -r exec readme --path ../../dev/readme/template.md -y && pnpm -r exec ts-readme",
"format": "run-s lint.prettier", "format": "run-s lint.prettier",
"lint": "run-p --aggregate-output --continue-on-error lint.cspell lint.eslint lint.prettier lint.tsc", "lint": "run-p --aggregate-output --continue-on-error lint.cspell lint.eslint lint.prettier lint.tsc",
"lint.cspell": "cspell lint --no-progress --show-suggestions", "lint.cspell": "cspell lint --no-progress --show-suggestions --cache --cache-location ./.cache/cspell/.cspellcache",
"lint.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix", "lint.eslint": "eslint **/*.{ts,tsx,js,jsx,cjs,mjs,json,yaml} --no-error-on-unmatched-pattern --cache --cache-location ./.cache/eslint/ --fix",
"lint.prettier": "prettier --write .", "lint.prettier": "prettier --write .",
"lint.tsc": "tsc --noEmit", "lint.tsc": "tsc --noEmit",

View File

@ -18,6 +18,7 @@ importers:
'@actions/tool-cache': ^2.0.1 '@actions/tool-cache': ^2.0.1
'@npmcli/ci-detect': github:aminya/ci-detect#37fe40075bebec96794ba0a7c4a6d5c70cbea00d '@npmcli/ci-detect': github:aminya/ci-detect#37fe40075bebec96794ba0a7c4a6d5c70cbea00d
'@types/cross-spawn': ^6.0.2 '@types/cross-spawn': ^6.0.2
'@types/execa': ^2.0.0
'@types/jest': ^29.2.0 '@types/jest': ^29.2.0
'@types/mri': ^1.1.1 '@types/mri': ^1.1.1
'@types/node': ^18.11.7 '@types/node': ^18.11.7
@ -85,6 +86,7 @@ importers:
which: 2.0.2 which: 2.0.2
devDependencies: devDependencies:
'@types/cross-spawn': 6.0.2 '@types/cross-spawn': 6.0.2
'@types/execa': 2.0.0
'@types/jest': 29.2.0 '@types/jest': 29.2.0
'@types/mri': 1.1.1 '@types/mri': 1.1.1
'@types/node': 18.11.7 '@types/node': 18.11.7
@ -2330,6 +2332,13 @@ packages:
'@types/ms': 0.7.31 '@types/ms': 0.7.31
dev: true dev: true
/@types/execa/2.0.0:
resolution: {integrity: sha512-aBnkJ0r3khaZkHzu9pDZeWXrDg1N/ZtDGRQkK+KIqNVvvTvW+URXMUHQQCQMYdb2GPrcwu9Fq6l9iiT+pirIbg==}
deprecated: This is a stub types definition. execa provides its own type definitions, so you do not need this installed.
dependencies:
execa: 6.1.0
dev: true
/@types/glob/7.2.0: /@types/glob/7.2.0:
resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==}
dependencies: dependencies: