Skip to content
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

chore: upgrading fast-foundation to v2.32.0 #21443

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Updating fast-foundation to v2.32.0",
"packageName": "@fluentui/web-components",
"email": "robarb@microsoft.com",
"dependentChangeType": "patch"
}
6 changes: 3 additions & 3 deletions packages/web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@
},
"dependencies": {
"@microsoft/fast-colors": "^5.1.0",
"@microsoft/fast-element": "^1.6.0",
"@microsoft/fast-foundation": "^2.27.1",
"@microsoft/fast-web-utilities": "^5.0.0",
"@microsoft/fast-element": "^1.7.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep this at 1.6.0 if we can.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could not get it to build without errors and run unless I updated fast-element and fast-web-utilities. Maybe it was being caused by the yarn.lock file?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'd do a full rebuild with the yarn.lock file. Just check to ensure only one version of FAST Element is included. If you have trouble building, push up the changes and I can look and advise.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it will pull 2 versions. I was seeing @microsoft/fast-element^1.7.0 and @microsoft/fast-web-utilities^5.0.2 dependencies for @micrsoft/fast-foundation^2.32.0 in the yarn.lock file. Should I upgrade to the last fast-foundation version using fast-element v1.6 and fast-web-utilities v5.0.0?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should be able to manually adjust. Yarn is finicky, but you can adjust the lock file manually if need be to ensure proper resolution.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In some cases for deduplication you can run yarn-deduplicate locally. Just be sure to supply either --packages or --scopes to avoid deduplicating the entire lock file and breaking things.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it building that time. I've pushed an update.

"@microsoft/fast-foundation": "^2.32.0",
"@microsoft/fast-web-utilities": "^5.0.2",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can stay at 5.0.0.

"tslib": "^1.13.0"
}
}
Loading