Skip to content

Commit

Permalink
improve caching
Browse files Browse the repository at this point in the history
  • Loading branch information
sndrs committed Apr 29, 2024
1 parent 3d6cfd0 commit 32b68c3
Show file tree
Hide file tree
Showing 17 changed files with 110 additions and 59 deletions.
12 changes: 8 additions & 4 deletions libs/@guardian/ab-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"command": "eslint --cache --color . --fix",
"clean": false,
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": [
Expand All @@ -68,15 +69,17 @@
"lint": {
"command": "eslint --cache --color .",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": []
},
"test": {
"command": "jest",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand All @@ -87,7 +90,8 @@
"build"
],
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand Down
12 changes: 8 additions & 4 deletions libs/@guardian/ab-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
"command": "eslint --cache --color . --fix",
"clean": false,
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": [
Expand All @@ -81,15 +82,17 @@
"lint": {
"command": "eslint --cache --color .",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": []
},
"test": {
"command": "jest",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand All @@ -100,7 +103,8 @@
"build"
],
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand Down
3 changes: 2 additions & 1 deletion libs/@guardian/browserslist-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"files": [
"**",
"../../../.eslint*"
]
],
"output": []
}
}
}
3 changes: 2 additions & 1 deletion libs/@guardian/cobalt-plugin-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"files": [
"**",
"../../../.eslint*"
]
],
"output": []
}
}
}
12 changes: 8 additions & 4 deletions libs/@guardian/core-web-vitals/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
"command": "eslint --cache --color . --fix",
"clean": false,
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": [
Expand All @@ -71,15 +72,17 @@
"lint": {
"command": "eslint --cache --color .",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": []
},
"test": {
"command": "jest",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand All @@ -90,7 +93,8 @@
"build"
],
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand Down
9 changes: 6 additions & 3 deletions libs/@guardian/design-tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"command": "eslint --cache --color . --fix",
"clean": false,
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": [
Expand All @@ -48,9 +49,11 @@
"lint": {
"command": "eslint --cache --color .",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
]
],
"output": []
}
}
}
12 changes: 8 additions & 4 deletions libs/@guardian/eslint-plugin-source-foundations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@
"command": "eslint --cache --color . --fix",
"clean": false,
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": [
Expand All @@ -79,15 +80,17 @@
"lint": {
"command": "eslint --cache --color .",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": []
},
"test": {
"command": "jest",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand All @@ -98,7 +101,8 @@
"build"
],
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@
"command": "eslint --cache --color . --fix",
"clean": false,
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": [
Expand All @@ -82,15 +83,17 @@
"lint": {
"command": "eslint --cache --color .",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": []
},
"test": {
"command": "jest",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand All @@ -101,7 +104,8 @@
"build"
],
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand Down
12 changes: 8 additions & 4 deletions libs/@guardian/identity-auth-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
"command": "eslint --cache --color . --fix",
"clean": false,
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": [
Expand All @@ -76,7 +77,8 @@
"lint": {
"command": "eslint --cache --color .",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": []
Expand All @@ -87,7 +89,8 @@
"../identity-auth:build"
],
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand All @@ -98,7 +101,8 @@
"build"
],
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand Down
12 changes: 8 additions & 4 deletions libs/@guardian/identity-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"command": "eslint --cache --color . --fix",
"clean": false,
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": [
Expand All @@ -74,15 +75,17 @@
"lint": {
"command": "eslint --cache --color .",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": []
},
"test": {
"command": "jest",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand All @@ -93,7 +96,8 @@
"build"
],
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand Down
15 changes: 10 additions & 5 deletions libs/@guardian/libs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"e2e": {
"command": "cypress run --headless",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"!(jest*)"
],
"output": [],
Expand All @@ -76,7 +77,8 @@
"command": "eslint --cache --color . --fix",
"clean": false,
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": [
Expand All @@ -86,15 +88,17 @@
"lint": {
"command": "eslint --cache --color .",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": []
},
"test": {
"command": "jest",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand All @@ -105,7 +109,8 @@
"build"
],
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../jest.*"
],
"output": []
Expand Down
9 changes: 6 additions & 3 deletions libs/@guardian/newsletter-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@
"command": "eslint --cache --color . --fix",
"clean": false,
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
],
"output": [
Expand All @@ -62,9 +63,11 @@
"lint": {
"command": "eslint --cache --color .",
"files": [
"**",
"!(dist)/**",
"!(.eslintcache)",
"../../../.eslint*"
]
],
"output": []
}
}
}
Loading

0 comments on commit 32b68c3

Please sign in to comment.