-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Fix minor unaddressed TS 4 upgrade PR comments #18027
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "none", | ||
"comment": "Add parameter to ComboBox internal method to avoid cast", | ||
"packageName": "@fluentui/react", | ||
"email": "[email protected]", | ||
"dependentChangeType": "none" | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,7 @@ | |
"vrtest": "cd apps && cd vr-tests && yarn screener" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "7.13.0", | ||
"@storybook/addon-a11y": "6.0.28", | ||
"@storybook/addon-actions": "6.0.28", | ||
"@storybook/addon-info": "6.0.0-alpha.2", | ||
|
@@ -150,17 +151,14 @@ | |
"@fluentui/make-styles/stylis", | ||
"@fluentui/react-bindings/stylis", | ||
"@fluentui/react-northstar-fela-renderer/stylis", | ||
"@fluentui/web-components/**/typescript", | ||
"@fluentui/web-components/@microsoft/eslint-config-fast-dna", | ||
"@fluentui/web-components/@storybook/**", | ||
"@fluentui/web-components/build", | ||
"@fluentui/web-components/build/**", | ||
"@fluentui/web-components/ts-loader", | ||
"@fluentui/web-components/ts-loader/**", | ||
"@fluentui/web-components/ts-node", | ||
"@fluentui/web-components/ts-node/**", | ||
"@fluentui/web-components/typescript", | ||
"@fluentui/web-components/typescript/**", | ||
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. typescript has no dependencies |
||
"@fluentui/web-components/**/typescript", | ||
"@fluentui/web-components/webpack" | ||
] | ||
}, | ||
|
@@ -184,14 +182,6 @@ | |
"scripts/package.json" | ||
], | ||
"versionGroups": [ | ||
{ | ||
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 is unneeded because test-bundles no longer uses a different webpack version |
||
"packages": [ | ||
"test-bundles" | ||
], | ||
"dependencies": [ | ||
"webpack" | ||
] | ||
}, | ||
{ | ||
"packages": [ | ||
"@fluentui/web-components" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,7 +122,11 @@ async function run() { | |
|
||
// do these before deleting node_nodules | ||
console.log('\nClearing Jest cache...'); | ||
spawn(os.platform() === 'win32' ? 'npx.cmd' : 'npx', ['jest', '--clearCache']); | ||
try { | ||
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 have never seen this script being used, can we just remove it ? 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. +1, this is a ticking bomb IMHO for anyone not familiar with this monorepo setup - removing untracked files etc should be done manually by git by current user. 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. lets discuss this during @microsoft/fluentui-react-build sync 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 is never run automatically, and it explicitly requires confirmation when you start the script. It's intended to help recover the repo from a bad state, in a way compatible with Windows (IIRC |
||
spawn(os.platform() === 'win32' ? 'npx.cmd' : 'npx', ['jest', '--clearCache']); | ||
} catch (err) { | ||
console.error('Clearing jest cache failed, likely due to it or a dep not being installed.'); | ||
} | ||
try { | ||
console.log('\nAttempting to clear gulp-cache...'); | ||
const cache = require('gulp-cache'); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not a package