Skip to content

Instantly share code, notes, and snippets.

@shrutiburman
Created October 17, 2022 04:54
Show Gist options
  • Save shrutiburman/1e427538e826569835b9ca84d97f7a72 to your computer and use it in GitHub Desktop.
Save shrutiburman/1e427538e826569835b9ca84d97f7a72 to your computer and use it in GitHub Desktop.
twilio-video-app-react testing with plugin-rtc update
➜ CLI git clone https://github.com/twilio/twilio-video-app-react.git
Cloning into 'twilio-video-app-react'...
remote: Enumerating objects: 8006, done.
remote: Counting objects: 100% (385/385), done.
remote: Compressing objects: 100% (157/157), done.
remote: Total 8006 (delta 241), reused 332 (delta 217), pack-reused 7621
Receiving objects: 100% (8006/8006), 37.14 MiB | 4.83 MiB/s, done.
Resolving deltas: 100% (5052/5052), done.
➜ CLI cd twilio-video-app-react
➜ twilio-video-app-react git:(master) npm install
npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated cli-ux@5.6.7: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm WARN deprecated svgo@1.3.2: This SVGO version is no longer supported. Upgrade to v2.x.x.
npm WARN deprecated @types/dotenv@8.2.0: This is a stub types definition. dotenv provides its own type definitions, so you do not need this installed.
npm WARN deprecated puppeteer@5.5.0: Version no longer supported. Upgrade to @latest
npm WARN deprecated mkdirp@0.5.4: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated core-js@3.6.5: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
> twilio-video-app-react@0.7.1 postinstall
> rimraf public/virtualbackground && copyfiles -f node_modules/@twilio/video-processors/dist/build/* public/virtualbackground
added 3461 packages, and audited 3462 packages in 3m
398 packages are looking for funding
run `npm fund` for details
48 vulnerabilities (1 moderate, 47 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues possible (including breaking changes), run:
npm audit fix --force
Some issues need review, and may require choosing
a different dependency.
Run `npm audit` for details.
➜ twilio-video-app-react git:(master) twilio profiles:list
ID Account SID Active
testingv5.0.0_1 ---------------------------------- false
testPipeCmdsOct2022 ---------------------------------- false
Oct22 ---------------------------------- false
testVideo AC1---------------------------25df true
➜ twilio-video-app-react git:(master) twilio plugins
@oclif/plugin-autocomplete 1.3.1 (link) /Users/sburman/CLI/CLI_GA/plugin-autocomplete
@twilio-labs/plugin-rtc 0.8.5 (link) /Users/sburman/CLI/CLI_GA/plugin-rtc
@twilio-labs/plugin-serverless 3.0.4
@twilio-labs/plugin-signal2021 1.0.5
@twilio-labs/plugin-watch 4.0.0
➜ twilio-video-app-react git:(master) npm run deploy:twilio-cli
> twilio-video-app-react@0.7.1 deploy:twilio-cli
> cross-env REACT_APP_SET_AUTH=passcode npm run build && twilio rtc:apps:video:deploy --authentication=passcode --app-directory ./build
> twilio-video-app-react@0.7.1 build
> node ./scripts/build.js
Creating an optimized production build...
Compiled successfully.
File sizes after gzip:
877.86 kB build/static/js/main.73f623bb.js
3.41 kB build/static/css/main.32f81bc4.css
The bundle size is significantly larger than recommended.
Consider reducing it with code splitting: https://goo.gl/9VhYWB
You can also analyze the project dependencies: https://goo.gl/LeUzfb
The project was built assuming it is hosted at /.
Find out more about deployment here:
https://cra.link/deployment
› Warning: twilio-cli update available from 2.30.0 to 5.0.0.
deploying app... done
Web App URL: https://video-app-5032-8419-dev.twil.io?passcode=63184250328419
Passcode: 631 842 5032 8419
Expires: Mon Oct 24 2022 10:13:26 GMT+0530
Room Type: group
Edit your token server at: https://www.twilio.com/console/functions/editor/ZSd45642d8a277c7172b248da7b588c24b/environment/ZE53b45d900f81e06f5bf6d5fff07c1f09/function/ZH59d01aeb3a5bb517e4f0bfcc0b96251c
➜ twilio-video-app-react git:(master) twilio rtc:apps:video:view
Web App URL: https://video-app-5032-8419-dev.twil.io?passcode=63184250328419
Passcode: 631 842 5032 8419
Expires: Mon Oct 24 2022 10:13:26 GMT+0530
Room Type: group
Edit your token server at: https://www.twilio.com/console/functions/editor/ZSd45642d8a277c7172b248da7b588c24b/environment/ZE53b45d900f81e06f5bf6d5fff07c1f09/function/ZH59d01aeb3a5bb517e4f0bfcc0b96251c
➜ twilio-video-app-react git:(master)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment