Skip to content

Commit

Permalink
Update @azure/communication-react to 1.19.0 and react to 18.3.1 (#184)
Browse files Browse the repository at this point in the history
* Update communication-react from 1.4.1-beta.1 to 1.19.0 and React from 16 to 18

* Added resolver to jest config

* lint fixes

* more lint fixes

* add @azure/communication-calling-effects as peer dependency

* add @azure/communication-calling-effects as dependency

* update roomsController.ts and unit tests

* update github actions to use Node v20.17

* lint fix in server package

* update adapter creation hooks, update package-lock.json, clean up unit tests and skip some ui tests

* remove unused import, removed commneted out code, and add return types
  • Loading branch information
mgamis-msft authored Jan 16, 2025
1 parent 91a123c commit 46bb71a
Show file tree
Hide file tree
Showing 61 changed files with 35,477 additions and 10,008 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
fetch-depth: 0

# Ensure node version is great enough
- name: Use Node.js v14.19.x
- name: Use Node.js v20.17.x
uses: actions/setup-node@v3
with:
node-version: "14.19.x"
node-version: "20.17.x"

# Install client dependencies
- name: Install client dependencies
Expand Down Expand Up @@ -67,10 +67,10 @@ jobs:
fetch-depth: 0

# Ensure node version is great enough
- name: Use Node.js v14.19.x
- name: Use Node.js v20.17.x
uses: actions/setup-node@v3
with:
node-version: "14.19.x"
node-version: "20.17.x"

# Install server dependencies
- name: Install server dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/create-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ jobs:
run: git checkout ${{ github.event.inputs.branch }}

# Ensure node version is great enough
- name: Use Node.js v14.19.x
- name: Use Node.js v20.17.x
uses: actions/setup-node@v3
with:
node-version: "14.19.x"
node-version: "20.17.x"

# Increment versions
- name: Increment versions
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ jobs:
run: git checkout ${{ github.event.inputs.branch }}

# Ensure node version is great enough
- name: Use Node.js v14.19.x
- name: Use Node.js v20.17.x
uses: actions/setup-node@v3
with:
node-version: "14.19.x"
node-version: "20.17.x"

# Install dependencies
- name: Install client dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ jobs:
if: needs.checkForChanges.outputs.hasChanged == 'true'
runs-on: ubuntu-latest
steps:
- name: Install Node.js v14.19.x
- name: Install Node.js v20.17.x
uses: actions/setup-node@v3
with:
node-version: "14.19.x"
node-version: "20.17.x"

- name: Checkout repository
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
runs-on: ubuntu-latest
name: Publish Release
steps:
- name: Use Node.js v14.19.x
- name: Use Node.js v20.17.x
uses: actions/setup-node@v3
with:
node-version: "14.19.x"
node-version: "20.17.x"

- name: Checkout repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ There are two ways to start using this app:

- Create an Azure account with an active subscription. For details, see [Create an account for free](https://azure.microsoft.com/free/).
- An active Communication Services resource. [Create a Communication Services resource](https://docs.microsoft.com/azure/communication-services/quickstarts/create-communication-resource).
- [Node.js (14.19.0 and above)](https://nodejs.org/en/download/)
- [Node.js (20.17.0 and above)](https://nodejs.org/en/download/)

### Install Dependencies

Expand Down
2 changes: 2 additions & 0 deletions client/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ module.exports = {
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': '<rootDir>/mocks/FileMock.ts'
},

resolver: './resolver.js',

// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
// modulePathIgnorePatterns: [],

Expand Down
Loading

0 comments on commit 46bb71a

Please sign in to comment.