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

feat(calling): port calling code into next #3040

Merged
merged 17 commits into from
Sep 5, 2023
Merged

Conversation

sreenara
Copy link
Contributor

@sreenara sreenara commented Aug 31, 2023

COMPLETES # NA

This pull request

Brings in the calling code into the next branch for the upcoming release of the Public Calling SDK.

by making the following changes

  1. Merge with calling branch
  2. Move calling code into packages/calling from packges/calling/calling
  3. Add babel.config.js under packages/webex and update package.json to start building the webex package.
  4. Update webpack.config.js to include build of calling.min.js
  5. Avoid version injection in tooling/babel-plugin-inject-package-version.js by putting in a dummy string for version for now. This is a TODO item.

Change Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tooling change
  • Internal code refactor

The following scenarios where tested

< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >

I certified that

  • I have read and followed contributing guidelines

  • I discussed changes with code owners prior to submitting this pull request

  • I have not skipped any automated checks

  • All existing and new tests passed

  • I have updated the documentation accordingly


Make sure to have followed the contributing guidelines before submitting.

@sreenara sreenara added the validated If the pull request is validated for automation. label Aug 31, 2023
@sreenara sreenara marked this pull request as ready for review September 4, 2023 03:49
@sreenara sreenara requested review from a team as code owners September 4, 2023 03:49
package.json Show resolved Hide resolved
@@ -37,17 +38,34 @@
"envify"
]
},
"scripts": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did we need these changes here ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Kesari3008 we weren't building the webex package so far in the next branch. We were only building the remaining plugins and testing deployments to npm. As part of this change, we will be building the webex package as well. This was needed in order to get the calling bundle built as well.

Copy link
Contributor Author

@sreenara sreenara Sep 5, 2023

Choose a reason for hiding this comment

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

If we don't have these scripts, we observe the following error when doing yarn run build at webex-js-sdk level. Without this, the *.min.js files do not get created.

ERROR in ./packages/webex/src/calling.js 11:0-47
Module not found: Error: Can't resolve '@webex/calling' in '/Users/sreenara/Stuff/Repos/webex-js-sdk/packages/webex/src'
resolve '@webex/calling' in '/Users/sreenara/Stuff/Repos/webex-js-sdk/packages/webex/src'
  Parsed request is a module

@sreenara sreenara merged commit c6caa40 into webex:next Sep 5, 2023
6 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
validated If the pull request is validated for automation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants