Skip to content

Commit

Permalink
chore(805): restore eslint caching & some legacy lint/test commands
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTParsons authored and JohnTParsons committed Apr 28, 2023
1 parent 28cd593 commit a2af225
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,24 @@
"dev:storybook": "yarn build:icons && start-storybook --ci -p 6006",
"percy:run": "percy storybook http://localhost:6006 --config=percy.config.js",
"fetch-external-storybook-fonts": "node ./.storybook/fetch-external-fonts.js",
"lint:code:base": "eslint --ext=.js,.ts,.jsx,.tsx",
"lint:code:comps": "npx nx lint newskit-ui",
"lint:code:docs": "npx nx lint site",
"lint:code:base": "eslint --ext=.js,.ts,.jsx,.tsx --cache",
"lint:code:comps": "npx nx lint newskit-ui --ext=.js,.ts,.jsx,.tsx --cache",
"lint:code:docs": "npx nx lint site --ext=.js,.ts,.jsx,.tsx --cache",
"lint:code": "scripts/assert-files-and-folders.js && concurrently --names \"comps,docs\" \"yarn lint:code:comps\" \"yarn lint:code:docs\"",
"lint:code:fix": "scripts/assert-files-and-folders.js && concurrently --names \"comps,docs\" \"yarn lint:code:comps --fix\" \"yarn lint:code:docs --fix\"",
"lint:markdown": "nx exec -- markdownlint -c ./.markdownlint.json *.md **/*.md",
"lint:next": "nx exec -- next lint site",
"lint:packages": "npx nx report",
"lint:legacy": "concurrently --names \"code,markdown,next\" \"scripts/assert-files-and-folders.js && yarn lint:code:base .\" \"yarn markdownlint -c ./.markdownlint.json *.md **/*.md\" \"yarn next lint site\"",
"lint": "scripts/assert-files-and-folders.js && concurrently --names \"markdown,next,comps,docs\" \"yarn lint:markdown\" \"yarn lint:next\" \"yarn lint:code:comps\" \"yarn lint:code:docs\"",
"test": "yarn lint && yarn test:unit:dev --forceExit",
"test:legacy": "yarn lint:legacy && yarn test:unit:dev:legacy",
"test:unit:node": "node --max-old-space-size=8192 --expose-gc ./node_modules/.bin/jest --logHeapUsage --coverage --coverageReporters=lcov --coverageReporters=text",
"test:unit:watch": "yarn test:unit:node --maxWorkers=50% --watch",
"test:unit:run": "NODE_OPTIONS=\"--max-old-space-size=8192\" nx exec -- jest --logHeapUsage --coverage --coverageReporters=lcov --coverageReporters=text",
"test:unit:run:local": "yarn test:unit:run --maxWorkers=50% --coveragePathIgnorePatterns=/src/icons/",
"test:unit:dev": "yarn build:icons && concurrently --names \"docs,comps\" \"yarn test:unit:docs\" \"yarn test:unit:comps\"",
"test:unit:dev:legacy": "yarn build:icons && yarn test:unit:node --maxWorkers=50% --coveragePathIgnorePatterns=/src/icons/",
"test:unit:ci": "yarn test:unit:node --maxWorkers=2 --ci --reporters=default --reporters=jest-junit",
"test:unit:comps": "yarn test:unit:run:local --maxWorkers=50% --projects=src",
"test:unit:comps:experimental": "NODE_OPTIONS=\"--max-old-space-size=8192\" npx nx test newskit-ui --codeCoverage --logHeapUsage --coverage --coverageReporters=lcov --coverageReporters=text",
Expand Down

0 comments on commit a2af225

Please sign in to comment.