-
Notifications
You must be signed in to change notification settings - Fork 2.9k
chore: enable proper type checking within all just.config.ts and its dependents #25852
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
d2ad8b2
a125a6b
76207da
1779f5b
a0aea55
10c20e1
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 |
|---|---|---|
| @@ -1,7 +1,5 @@ | ||
| // You don't have to add scenarios to this structure unless you want their iterations to differ from the default. | ||
| const scenarioIterations = { | ||
| export const scenarioIterations = { | ||
| MakeStyles: 50000, | ||
| FluentProviderWithTheme: 10, | ||
| }; | ||
|
|
||
| module.exports = scenarioIterations; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| // You don't have to add scenarios to this structure unless you want their display name to differ | ||
| // from their scenario name. | ||
| const scenarioNames = {}; | ||
|
|
||
| module.exports = scenarioNames; | ||
| export const scenarioNames = {}; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,9 @@ | ||
| // You don't have to add scenarios to this structure unless you want their display name to differ | ||
| // from their scenario name. | ||
| const scenarioNames = { | ||
| export const scenarioNames = { | ||
| DetailsRowFast: 'DetailsRow (fast icons)', | ||
| DetailsRowNoStyles: 'DetailsRow without styles', | ||
| DocumentCardTitle: 'DocumentCardTitle with truncation', | ||
| StackWithIntrinsicChildren: 'Stack with Intrinsic children', | ||
| StackWithTextChildren: 'Stack with Text children', | ||
| }; | ||
|
|
||
| module.exports = scenarioNames; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,5 +6,5 @@ preset(); | |
| task('generate-json', () => generatePageJsonFiles(require('./config/api-docs'))); | ||
|
|
||
| // copied from scripts/just.config.js with addition of generate-json | ||
| task('build', series('clean', 'copy', 'sass', 'generate-json', 'ts')).cached(); | ||
| task('build', series('clean', 'copy', 'sass', 'generate-json', 'ts')).cached!(); | ||
|
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. whilst using |
||
| task('dev', series('copy', 'sass', 'generate-json', 'webpack-dev-server')); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| import { preset, task, resolveCwd } from '@fluentui/scripts'; | ||
| // eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
| // @ts-ignore - parallel-webpack has no types | ||
|
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. I could write types manually for this package but I decided to not do so ATM (its the only usage in whole repo) |
||
| import { run } from 'parallel-webpack'; | ||
|
|
||
| preset(); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| import { preset, task } from '@fluentui/scripts'; | ||
|
|
||
| preset(); | ||
| task('build', 'build:node-lib').cached(); | ||
| task('build', 'build:node-lib').cached!(); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| import { preset, task } from '@fluentui/scripts'; | ||
|
|
||
| preset(); | ||
| task('build', 'build:node-lib').cached(); | ||
| task('build', 'build:node-lib').cached!(); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: enable strict checking in all just-config files and their dependencies", | ||
| "packageName": "@fluentui/api-docs", | ||
| "email": "martinhochel@microsoft.com", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: enable strict checking in all just-config files and their dependencies", | ||
| "packageName": "@fluentui/azure-themes", | ||
| "email": "martinhochel@microsoft.com", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: enable strict checking in all just-config files and their dependencies", | ||
| "packageName": "@fluentui/codemods", | ||
| "email": "martinhochel@microsoft.com", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: enable strict checking in all just-config files and their dependencies", | ||
| "packageName": "@fluentui/common-styles", | ||
| "email": "martinhochel@microsoft.com", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: enable strict checking in all just-config files and their dependencies", | ||
| "packageName": "@fluentui/fluent2-theme", | ||
| "email": "martinhochel@microsoft.com", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: enable strict checking in all just-config files and their dependencies", | ||
| "packageName": "@fluentui/jest-serializer-merge-styles", | ||
| "email": "martinhochel@microsoft.com", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: enable strict checking in all just-config files and their dependencies", | ||
| "packageName": "@fluentui/monaco-editor", | ||
| "email": "martinhochel@microsoft.com", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: enable strict checking in all just-config files and their dependencies", | ||
| "packageName": "@fluentui/react-conformance", | ||
| "email": "martinhochel@microsoft.com", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: enable strict checking in all just-config files and their dependencies", | ||
| "packageName": "@fluentui/react-conformance-griffel", | ||
| "email": "martinhochel@microsoft.com", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: enable strict checking in all just-config files and their dependencies", | ||
| "packageName": "@fluentui/react-monaco-editor", | ||
| "email": "martinhochel@microsoft.com", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "none", | ||
| "comment": "chore: enable strict checking in all just-config files and their dependencies", | ||
| "packageName": "@fluentui/test-utilities", | ||
| "email": "martinhochel@microsoft.com", | ||
| "dependentChangeType": "none" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| import { preset, just } from '@fluentui/scripts'; | ||
| import { preset } from '@fluentui/scripts'; | ||
|
|
||
| preset(); |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| import { preset, just } from '@fluentui/scripts'; | ||
| import { preset } from '@fluentui/scripts'; | ||
|
|
||
| preset(); |
Uh oh!
There was an error while loading. Please reload this page.