-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
fix: Optimizations for Turborepo setup #6662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -83,41 +83,33 @@ | |
| ] | ||
| }, | ||
| "lint:js": { | ||
| "cache": false, | ||
| "inputs": [ | ||
| "{app,components,hooks,i18n,layouts,middlewares,pages,providers,types,util}/**/*.{ts,tsx,mjs}", | ||
| "{next-data,scripts,i18n}/**/*.{mjs,json}", | ||
| "{.storybook,public}/**/*.{ts,js,json}", | ||
| "*.{json,ts,tsx}" | ||
| ], | ||
| "outputs": [".eslintjscache"] | ||
| }, | ||
| "lint:md": { | ||
| "cache": false, | ||
| "inputs": ["{app,pages}/**/*.{md,mdx}", "*.{md,mdx}"], | ||
| "outputs": [".eslintmdcache"] | ||
| }, | ||
| "lint:css": { | ||
| "cache": false, | ||
| "inputs": ["{app,components,layouts,pages,styles}/**/*.css"], | ||
| "outputs": [".stylelintcache"] | ||
| }, | ||
| "lint": { | ||
| "cache": false, | ||
| "outputs": [".eslintjscache", ".eslintmdcache", ".stylelintcache"] | ||
| }, | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't end up needing this task because we can use the other linting tasks in parallel instead. An example of this can be found in the |
||
| "lint:fix": { | ||
| "cache": false, | ||
| "outputs": [".eslintjscache", ".eslintmdcache", ".stylelintcache"] | ||
| "cache": false | ||
| }, | ||
| "prettier": { | ||
| "cache": false, | ||
| "outputs": [".prettiercache"] | ||
| }, | ||
| "prettier:fix": { | ||
| "cache": false, | ||
| "outputs": [".prettiercache"] | ||
| "cache": false | ||
| }, | ||
| "format": { | ||
| "cache": false, | ||
| "outputs": [ | ||
| ".eslintjscache", | ||
| ".eslintmdcache", | ||
| ".stylelintcache", | ||
| ".prettiercache" | ||
| ] | ||
| "cache": false | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any time |
||
| }, | ||
| "storybook": { | ||
| "cache": false, | ||
|
|
@@ -143,16 +135,6 @@ | |
| "*.{md,mdx,json,ts,tsx,mjs,yml}" | ||
| ], | ||
| "outputs": ["coverage/**", "junit.xml"] | ||
| }, | ||
| "test": { | ||
| "inputs": [ | ||
| "{app,components,hooks,i18n,layouts,middlewares,pages,providers,types,util}/**/*.{ts,tsx,mjs}", | ||
| "{app,components,layouts,pages,styles}/**/*.css", | ||
| "{next-data,scripts,i18n}/**/*.{mjs,json}", | ||
| "{app,pages}/**/*.{mdx,md}", | ||
| "*.{md,mdx,json,ts,tsx,mjs,yml}" | ||
| ], | ||
| "outputs": ["coverage/**", "junit.xml"] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This appears to be a duplicate of the |
||
| } | ||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.