-
Notifications
You must be signed in to change notification settings - Fork 54
fix: convert npm to yarn #234
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: convert npm to yarn #234
Conversation
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.
Changes are fine.
I just have 1 question that there is no yarnrc fie changes - we need to specify the node-linker in yarnrc. But since we only have 1 workspace right now its hard to know which node-linker to use, so maybe we can add the yarnrc changes as part of my PR.
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.
I think there should be some automatically created files for yarn, also we need to add the yarnrc file with yarn version atleast.
checksumBehavior: update
nodeLinker: node-modules
npmRegistryServer: "https://registry.npmjs.org"
yarnPath: .yarn/releases/yarn-4.5.0.cjs
This is the yarnrc file that I have in react-widgets created with yarn@4.5.0. We can discuss this.
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.
LGTM
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.
I'm unable to load all the files for review.
Additionally, there seems to be a lot of demo bundles inside the docs/ folder. Are these really required? Why are we committing them?
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.
Changes required in contributing.
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.
There are some changes needed here for the new commands right?
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.
I've updated the contributing.md
as well
Just one part is left in the Linking components locally section, Install peer dependencies
I'll have to test this to update. Will do so and update it and then merge the PR
@sreenara - These are available in the master branch as well and is part of the chore commit for release. So, I'd like to keep it as it is for this PR and come back to inspect it while we modernize the WebexMeetings widget |
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.
Let's fix the changelog in a later PR if needed.
# [1.28.0-alpha.1](webex/widgets@v1.27.5...v1.28.0-alpha.1) (2024-11-14) ### Bug Fixes * **release:** add-mono-repo-support-for-scemantic-release ([webex#246](webex#246)) ([4d2a572](webex@4d2a572)) * convert npm to yarn ([webex#234](webex#234)) ([432ed3c](webex@432ed3c)) * **circleci:** fix-caching-path-in-ci ([webex#243](webex#243)) ([77f40f0](webex@77f40f0)) * **circleci:** fix-test-branch-name ([webex#242](webex#242)) ([d60859a](webex@d60859a)) * **release:** remove-semantic-release-npm ([webex#248](webex#248)) ([c4e7bb1](webex@c4e7bb1)) ### Features * **release:** add-release-script-and-config ([webex#241](webex#241)) ([376e348](webex@376e348)) * **pipeline:** run-npm-publish-for-cc-store ([webex#245](webex#245)) ([d9ef7ae](webex@d9ef7ae))
🎉 This PR is included in version 1.28.0-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
🎉 This PR is included in version 1.28.0-eft-pipeline.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [1.28.0-eft-pipeline.1](webex/widgets@v1.27.5...1.28.0-eft-pipeline.1) (2024-11-18) ### Bug Fixes * convert npm to yarn ([webex#234](webex#234)) ([432ed3c](webex@432ed3c)) ### Features * **release:** create-release-pipeline ([webex#306](webex#306)) ([29bc449](webex@29bc449))
🎉 This PR is included in version 1.27.6-eft.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
## [1.27.6-eft.1](webex/widgets@v1.27.5...1.27.6-eft.1) (2024-11-19) ### Bug Fixes * convert npm to yarn ([webex#234](webex#234)) ([432ed3c](webex@432ed3c)) * **pipeline:** create-new-pipeline-for-publishing ([webex#314](webex#314)) ([f507c5c](webex@f507c5c))
🎉 This PR is included in version 1.27.6-eft.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.28.0-wxcc.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [1.28.0-wxcc.1](webex/widgets@v1.27.5...v1.28.0-wxcc.1) (2024-11-21) ### Bug Fixes * convert npm to yarn ([webex#234](webex#234)) ([432ed3c](webex@432ed3c)) ### Features * **release:** publish pipeline for wxcc widgets ([webex#324](webex#324)) ([864fb52](webex@864fb52))
## [1.27.6-eft.1](webex/widgets@v1.27.5...v1.27.6-eft.1) (2024-11-21) ### Bug Fixes * convert npm to yarn ([webex#234](webex#234)) ([432ed3c](webex@432ed3c)) * **release:** add-new-tooling ([webex#332](webex#332)) ([cbe6e24](webex@cbe6e24))
## [1.27.6-eft.1](webex/widgets@v1.27.5...v1.27.6-eft.1) (2024-11-21) ### Bug Fixes * **'release:** check-if-we-can-release-tag-with-same-names ([webex#336](webex#336)) ([b9daf11](webex@b9daf11)) * convert npm to yarn ([webex#234](webex#234)) ([432ed3c](webex@432ed3c)) * **release:** add-new-tooling ([webex#332](webex#332)) ([cbe6e24](webex@cbe6e24))
## [1.27.6-eft.1](webex/widgets@v1.27.5...v1.27.6-eft.1) (2024-11-21) ### Bug Fixes * **'release:** check-if-we-can-release-tag-with-same-names ([webex#336](webex#336)) ([b9daf11](webex@b9daf11)) * convert npm to yarn ([webex#234](webex#234)) ([432ed3c](webex@432ed3c)) * **release:** add-new-tooling ([webex#332](webex#332)) ([cbe6e24](webex@cbe6e24)) * **release:** release-a-specific-version ([webex#337](webex#337)) ([a329226](webex@a329226))
## [1.27.6-eft.1](v1.27.5...v1.27.6-eft.1) (2024-11-21) ### Bug Fixes * **'release:** check-if-we-can-release-tag-with-same-names ([webex#336](https://github.com/Shreyas281299/widgets/issues/336)) ([b9daf11](b9daf11)) * convert npm to yarn ([webex#234](https://github.com/Shreyas281299/widgets/issues/234)) ([432ed3c](432ed3c)) * **release:** add-git-tag ([da70031](da70031)) * **release:** add-new-tooling ([webex#332](https://github.com/Shreyas281299/widgets/issues/332)) ([cbe6e24](cbe6e24)) * **release:** release-a-specific-tag ([webex#338](https://github.com/Shreyas281299/widgets/issues/338)) ([8645816](8645816)) * **release:** release-a-specific-version ([webex#337](https://github.com/Shreyas281299/widgets/issues/337)) ([a329226](a329226)) * **release:** run-pipeline-with-new-tag ([424bf4f](424bf4f)) * **release:** try-publishing-tag-again ([webex#339](https://github.com/Shreyas281299/widgets/issues/339)) ([6be4631](6be4631))
## [1.27.6-eft.1](v1.27.5...v1.27.6-eft.1) (2024-11-21) ### Bug Fixes * **'release:** check-if-we-can-release-tag-with-same-names ([webex#336](https://github.com/Shreyas281299/widgets/issues/336)) ([b9daf11](b9daf11)) * convert npm to yarn ([webex#234](https://github.com/Shreyas281299/widgets/issues/234)) ([432ed3c](432ed3c)) * **release:** add-git-tag ([da70031](da70031)) * **release:** add-new-tooling ([webex#332](https://github.com/Shreyas281299/widgets/issues/332)) ([cbe6e24](cbe6e24)) * **release:** release-a-specific-tag ([webex#338](https://github.com/Shreyas281299/widgets/issues/338)) ([8645816](8645816)) * **release:** release-a-specific-version ([webex#337](https://github.com/Shreyas281299/widgets/issues/337)) ([a329226](a329226)) * **release:** run-pipeline-with-new-tag ([424bf4f](424bf4f)) * **release:** try-publishing-tag-again ([webex#339](https://github.com/Shreyas281299/widgets/issues/339)) ([6be4631](6be4631))
🎉 This PR is included in version 1.28.0-ccwidgets.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [1.28.0-ccwidgets.1](webex/widgets@v1.27.5...v1.28.0-ccwidgets.1) (2024-11-21) ### Bug Fixes * convert npm to yarn ([webex#234](webex#234)) ([432ed3c](webex@432ed3c)) * **release:** add-publish-step-in-tooling ([webex#334](webex#334)) ([ca32235](webex@ca32235)) ### Features * **release:** add new branch to circleci ([18f7bec](webex@18f7bec)) * **release:** publish pipeline for wxcc widgets ([webex#324](webex#324)) ([864fb52](webex@864fb52)) * **widget-cc-station-login:** Spark 575845 login widget ([webex#239](webex#239)) ([66b8a20](webex@66b8a20))
🎉 This PR is included in version 1.28.0-ccconnectors.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [1.28.0-ccconnectors.1](webex/widgets@v1.27.5...v1.28.0-ccconnectors.1) (2025-02-05) ### Bug Fixes * add material to all components ([webex#376](webex#376)) ([de0ca28](webex@de0ca28)) * **bundling:** fixed the multiple React instance and useRef errors ([webex#355](webex#355)) ([473cd4f](webex@473cd4f)) * **call-control:** add-call-control-widget ([webex#362](webex#362)) ([a677f5e](webex@a677f5e)) * **cc-station-login:** material design ui ([webex#377](webex#377)) ([aec7034](webex@aec7034)) * **cc-store:** receive webex on init, add store types ([webex#341](webex#341)) ([9648969](webex@9648969)) * **cc-widgets:** ship-all-widgets-together ([webex#345](webex#345)) ([83d5a37](webex@83d5a37)) * cleanup and using mobx-react-lite ([webex#356](webex#356)) ([0b304c4](webex@0b304c4)) * convert npm to yarn ([webex#234](webex#234)) ([432ed3c](webex@432ed3c)) * **release:** add-publish-step-in-tooling ([webex#334](webex#334)) ([ca32235](webex@ca32235)) * rename agent state to user state ([webex#361](webex#361)) ([fe409db](webex@fe409db)) * **samples:** change samples index html hrefs ([webex#367](webex#367)) ([ff126ab](webex@ff126ab)) * **user-state:** receive agent stateChange event ([webex#350](webex#350)) ([21d6ce7](webex@21d6ce7)) ### Features * **cc-components:** setup and move user state sample ui comp ([webex#359](webex#359)) ([16a44d0](webex@16a44d0)) * **cc-store:** add logger from sdk ([webex#354](webex#354)) ([a62494b](webex@a62494b)) * **cc-widgets:** added Agent-Multi-Login-Alert Feature ([webex#364](webex#364)) ([f7d75ca](webex@f7d75ca)) * **release:** add new branch to circleci ([18f7bec](webex@18f7bec)) * **release:** publish pipeline for wxcc widgets ([webex#324](webex#324)) ([864fb52](webex@864fb52)) * taskList and IncomingTask widgets added ([webex#348](webex#348)) ([ce3a619](webex@ce3a619)) * **user-state:** load and change state, client timer ([webex#347](webex#347)) ([f1ccaeb](webex@f1ccaeb)) * **widget-cc-station-login:** Spark 575845 login widget ([webex#239](webex#239)) ([66b8a20](webex@66b8a20)) * **widgets:** added-relogin-logic ([webex#357](webex#357)) ([94dd415](webex@94dd415)) * **widgets:** shifted-timer-to-worker ([webex#352](webex#352)) ([c06fe9c](webex@c06fe9c))
Closes: SPARK-567501
Description
This PR addresses changes in the widgets repo to convert existing npm setup to a yarn monorepo. In this PR, we have moved the entire MeetingsWidgets (@webex/widgets) repo into a separate package while the newer widgets will have newer package with their names and tooling.
Tests performed
Tested by joining my PMR from the sample app for this repo.
Screenshots
Waiting for Others to Join
Another participant joined
Screen share in Widgets
Same Screen share at receiver's side