Skip to content

Commit e67722d

Browse files
[OCE] update beta calling SDK (#5906)
* update beta SDK * fix package * bump ecma test * update just storybook ecma * update loader options to fix minification collision * update transpile to only be in dev mode * only transpile --------- Co-authored-by: prabhjot-msft <97124699+prabhjot-msft@users.noreply.github.com>
1 parent 7c68775 commit e67722d

15 files changed

Lines changed: 67 additions & 56 deletions

File tree

common/config/rush/common-versions.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* instead of the latest version.
2525
*/
2626
// "some-library": "1.2.3"
27-
"@azure/communication-calling": "1.36.3-beta.1",
27+
"@azure/communication-calling": "1.37.1-beta.1",
2828
"@azure/communication-common": "2.3.2-beta.1",
2929
"@azure/communication-chat": "1.6.0-beta.7",
3030
"@azure/communication-signaling": "1.0.0-beta.33",
@@ -56,7 +56,7 @@
5656
* This design avoids unnecessary churn in this file.
5757
*/
5858
"allowedAlternativeVersions": {
59-
"@azure/communication-calling": ["1.36.3-beta.1"],
59+
"@azure/communication-calling": ["1.37.1-beta.1"],
6060
"@azure/communication-common": ["2.3.2-beta.1"],
6161
"@azure/communication-chat": ["1.6.0-beta.7"],
6262
"@azure/communication-signaling": ["1.0.0-beta.33"],

common/config/rush/pnpm-lock.yaml

Lines changed: 34 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/calling-component-bindings/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
},
4141
"peerDependencies": {
4242
"@azure/communication-calling-effects": "^1.1.4",
43-
"@azure/communication-calling": "1.36.3-beta.1 || ^1.36.1",
43+
"@azure/communication-calling": "1.37.1-beta.1 || ^1.36.1",
4444
"@types/react": ">=16.8.0 <19.0.0",
4545
"react": ">=16.8.0 <19.0.0"
4646
},
4747
"devDependencies": {
48-
"@azure/communication-calling": "1.36.3-beta.1 || ^1.36.1",
48+
"@azure/communication-calling": "1.37.1-beta.1 || ^1.36.1",
4949
"@azure/communication-calling-effects": "^1.1.4",
5050
"@babel/cli": "^7.27.2",
5151
"@babel/core": "^7.27.4",

packages/calling-stateful-client/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
"immer": "10.1.1"
3939
},
4040
"peerDependencies": {
41-
"@azure/communication-calling": "1.36.3-beta.1 || ^1.36.1"
41+
"@azure/communication-calling": "1.37.1-beta.1 || ^1.36.1"
4242
},
4343
"devDependencies": {
44-
"@azure/communication-calling": "1.36.3-beta.1 || ^1.36.1",
44+
"@azure/communication-calling": "1.37.1-beta.1 || ^1.36.1",
4545
"@azure/core-auth": "^1.7.2",
4646
"@babel/cli": "^7.27.2",
4747
"@babel/core": "^7.27.4",

packages/communication-react/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
},
5757
"peerDependencies": {
5858
"@azure/communication-calling-effects": "^1.1.4",
59-
"@azure/communication-calling": "1.36.3-beta.1 || ^1.36.1",
59+
"@azure/communication-calling": "1.37.1-beta.1 || ^1.36.1",
6060
"@azure/communication-chat": "1.6.0-beta.7 || >=1.5.4",
6161
"@types/react": ">=16.8.0 <19.0.0",
6262
"@types/react-dom": ">=16.8.0 <19.0.0",
@@ -111,7 +111,7 @@
111111
"_by-flavor": "rushx _current-flavor && env-cmd -f ../../common/config/env/.env --use-shell"
112112
},
113113
"devDependencies": {
114-
"@azure/communication-calling": "1.36.3-beta.1 || ^1.36.1",
114+
"@azure/communication-calling": "1.37.1-beta.1 || ^1.36.1",
115115
"@azure/communication-calling-effects": "^1.1.4",
116116
"@azure/core-auth": "^1.7.2",
117117
"@babel/cli": "^7.27.2",

packages/react-composites/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
},
7575
"peerDependencies": {
7676
"@azure/communication-calling-effects": "^1.1.4",
77-
"@azure/communication-calling": "1.36.3-beta.1 || ^1.36.1",
77+
"@azure/communication-calling": "1.37.1-beta.1 || ^1.36.1",
7878
"@azure/communication-chat": "1.6.0-beta.7 || >=1.5.4",
7979
"@types/react": ">=16.8.0 <19.0.0",
8080
"@types/react-dom": ">=16.8.0 <19.0.0",

packages/storybook8/.storybook/main.ts

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,22 @@ const storybookConfig: StorybookConfig = {
9090

9191
// Custom rule for ts files
9292
const tsRule = {
93-
test: /\.(tsx?|jsx?)$/,
94-
loader: 'ts-loader',
95-
options: {
96-
transpileOnly: true,
97-
},
93+
test: /\.(tsx?|jsx?)$/,
94+
loader: 'ts-loader',
95+
options: {
96+
transpileOnly: true,
97+
compilerOptions: {
98+
// Create a unique output format to avoid collisions
99+
module: 'esnext',
100+
moduleResolution: 'node',
101+
// Generate unique source maps
102+
sourceMap: true,
103+
inlineSources: true,
104+
// Ensure unique output
105+
declaration: true
106+
}
107+
},
108+
exclude: /node_modules/,
98109
};
99110

100111
const txtRule = {

packages/storybook8/eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module.exports = defineConfig([
2727
},
2828

2929
parser: tsParser,
30-
ecmaVersion: 2020,
30+
ecmaVersion: 2022,
3131
sourceType: 'module',
3232

3333
parserOptions: {

packages/storybook8/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"license": "MIT",
2323
"dependencies": {
24-
"@azure/communication-calling": "1.36.3-beta.1 || ^1.36.1",
24+
"@azure/communication-calling": "1.37.1-beta.1 || ^1.36.1",
2525
"@azure/communication-chat": "1.6.0-beta.7 || ^1.5.4",
2626
"@azure/communication-common": "^2.3.2-beta.1 || ^2.3.1",
2727
"@azure/communication-identity": "^1.3.0",

samples/CallWithChat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"dependencies": {
3636
"@azure/abort-controller": "^1.1.0",
3737
"@azure/communication-identity": "^1.3.0",
38-
"@azure/communication-calling": "1.36.3-beta.1 || ^1.36.1",
38+
"@azure/communication-calling": "1.37.1-beta.1 || ^1.36.1",
3939
"@azure/communication-chat": "1.6.0-beta.7 || ^1.5.4",
4040
"@azure/communication-react": "1.29.0-beta.0",
4141
"@azure/communication-common": "^2.3.2-beta.1 || ^2.3.1",

0 commit comments

Comments
 (0)