Skip to content

Commit 85b402c

Browse files
authored
chore: apply the new package naming scheme (#15)
1 parent 616532a commit 85b402c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+56
-56
lines changed

README.md

Lines changed: 4 additions & 4 deletions

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
{
2-
"name": "@stream-io/video-react",
3-
"description": "The React Video SDK",
2+
"name": "@stream-io/video-js-root",
3+
"description": "Stream Video JS SDKs",
44
"author": "https://getstream.io",
55
"packageManager": "[email protected]",
66
"private": true,
77
"workspaces": [
88
"packages/*"
99
],
1010
"scripts": {
11-
"start:components": "yarn workspace @stream-io/video-components-react run start",
11+
"start:react:sdk": "yarn workspace @stream-io/video-react-sdk run start",
12+
"start:react:app": "yarn workspace @stream-io/video-react-sample-app run start",
13+
"build:react:dogfood": "yarn workspace @stream-io/video-react-dogfood run build",
14+
"build:react:sdk": "yarn workspace @stream-io/video-react-sdk run build",
15+
"build:vercel": "yarn build:client && yarn build:react:sdk && yarn build:react:dogfood",
16+
"build:client": "yarn workspace @stream-io/video-client run build",
1217
"start:client": "yarn workspace @stream-io/video-client run start",
13-
"start:app": "yarn workspace @stream-io/video-react-app run start",
1418
"start:angular-sample-app": "yarn workspace angular-sample-app run start",
1519
"build:all": "yarn workspaces foreach -vt run build",
16-
"build:components": "yarn workspace @stream-io/video-components-react run build",
17-
"build:client": "yarn workspace @stream-io/video-client run build",
18-
"build:dogfood": "yarn workspace @stream-io/video-dogfood run build",
19-
"build:vercel": "yarn build:client && yarn build:components && yarn build:dogfood",
2020
"clean:all": "yarn workspaces foreach -vt run clean",
2121
"lint:all": "eslint --fix 'packages/**/*.{ts,tsx}'"
2222
},
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/dogfood/package.json renamed to packages/react-dogfood/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@stream-io/video-dogfood",
2+
"name": "@stream-io/video-react-dogfood",
33
"packageManager": "[email protected]",
44
"private": true,
55
"scripts": {
@@ -13,7 +13,7 @@
1313
"@mui/icons-material": "5.10.6",
1414
"@mui/material": "5.10.8",
1515
"@stream-io/video-client": "workspace:^",
16-
"@stream-io/video-components-react": "workspace:^",
16+
"@stream-io/video-react-sdk": "workspace:^",
1717
"jsonwebtoken": "^8.5.1",
1818
"nanoid": "^4.0.0",
1919
"next": "^12.3.1",

packages/dogfood/pages/_app.tsx renamed to packages/react-dogfood/pages/_app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* eslint-disable jsx-a11y/anchor-is-valid */
22
import '../style/app.css';
3-
import '@stream-io/video-components-react/dist/css/styles.css';
3+
import '@stream-io/video-react-sdk/dist/css/styles.css';
44
import { SessionProvider, useSession, signOut } from 'next-auth/react';
55
import Image from 'next/image';
66
import Link from 'next/link';

packages/dogfood/pages/join/[callId].tsx renamed to packages/react-dogfood/pages/join/[callId].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
useCreateStreamVideoClient,
88
StreamVideo,
99
StreamCall,
10-
} from '@stream-io/video-components-react';
10+
} from '@stream-io/video-react-sdk';
1111
import { UserInput } from '@stream-io/video-client';
1212
import { useMemo } from 'react';
1313

File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/app/package.json renamed to packages/react-sample-app/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@stream-io/video-react-app",
2+
"name": "@stream-io/video-react-sample-app",
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
@@ -8,7 +8,7 @@
88
"@mui/icons-material": "^5.10.6",
99
"@mui/material": "^5.10.8",
1010
"@stream-io/video-client": "workspace:^",
11-
"@stream-io/video-components-react": "workspace:^",
11+
"@stream-io/video-react-sdk": "workspace:^",
1212
"@testing-library/jest-dom": "^5.16.5",
1313
"@testing-library/react": "^13.4.0",
1414
"@testing-library/user-event": "^13.5.0",

packages/app/src/App.tsx renamed to packages/react-sample-app/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ import {
1919
StreamCall,
2020
StreamVideo,
2121
useCreateStreamVideoClient,
22-
} from '@stream-io/video-components-react';
22+
} from '@stream-io/video-react-sdk';
2323
import { useCallback, useEffect, useMemo, useState } from 'react';
2424
import { NavigationBar } from './components/NavigationBar';
2525
import { ParticipantControls } from './components/ParticipantControls';
2626
import { Ringer } from './components/Ringer';
2727

28-
import '@stream-io/video-components-react/dist/css/styles.css';
28+
import '@stream-io/video-react-sdk/dist/css/styles.css';
2929

3030
// use different browser tabs
3131
export type Participants = { [name: string]: string };

packages/app/src/components/CreateCall.tsx renamed to packages/react-sample-app/src/components/CreateCall.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
ListItemText,
1515
ListSubheader,
1616
} from '@mui/material';
17-
import { useStreamVideoClient } from '@stream-io/video-components-react';
17+
import { useStreamVideoClient } from '@stream-io/video-react-sdk';
1818
import React, { useCallback, useEffect, useState } from 'react';
1919
import type { Participants } from '../App';
2020

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/components/package.json renamed to packages/react-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@stream-io/video-components-react",
2+
"name": "@stream-io/video-react-sdk",
33
"packageManager": "[email protected]",
44
"main": "./dist/index.js",
55
"types": "./dist/index.d.ts",
File renamed without changes.

yarn.lock

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -3261,38 +3261,32 @@ __metadata:
32613261
languageName: unknown
32623262
linkType: soft
32633263

3264-
"@stream-io/video-components-react@workspace:^, @stream-io/video-components-react@workspace:packages/components":
3264+
"@stream-io/video-js-root@workspace:.":
32653265
version: 0.0.0-use.local
3266-
resolution: "@stream-io/video-components-react@workspace:packages/components"
3266+
resolution: "@stream-io/video-js-root@workspace:."
32673267
dependencies:
3268-
"@popperjs/core": ^2.11.6
3269-
"@stream-io/video-client": "workspace:^"
3270-
"@types/rimraf": ^3.0.2
3271-
"@types/uuid": ^8.3.4
3272-
clsx: ^1.2.1
3273-
react: ^18.2.0
3274-
react-dom: ^18.2.0
3275-
react-popper: ^2.3.0
3276-
rimraf: ^3.0.2
3277-
sass: ^1.55.0
3278-
typescript: ^4.8.4
3279-
uuid: ^9.0.0
3280-
peerDependencies:
3281-
react: ^18.0.0
3282-
react-dom: ^18.0.0
3268+
"@types/eslint": ^8.4.6
3269+
"@typescript-eslint/eslint-plugin": ^5.39.0
3270+
"@typescript-eslint/parser": ^5.39.0
3271+
eslint: ^8.25.0
3272+
eslint-config-react-app: ^7.0.1
3273+
eslint-import-resolver-typescript: ^3.5.1
3274+
eslint-plugin-import: ^2.26.0
3275+
eslint-plugin-prettier: ^4.2.1
3276+
prettier: ^2.7.1
32833277
languageName: unknown
32843278
linkType: soft
32853279

3286-
"@stream-io/video-dogfood@workspace:packages/dogfood":
3280+
"@stream-io/video-react-dogfood@workspace:packages/react-dogfood":
32873281
version: 0.0.0-use.local
3288-
resolution: "@stream-io/video-dogfood@workspace:packages/dogfood"
3282+
resolution: "@stream-io/video-react-dogfood@workspace:packages/react-dogfood"
32893283
dependencies:
32903284
"@emotion/react": 11.10.4
32913285
"@emotion/styled": 11.10.4
32923286
"@mui/icons-material": 5.10.6
32933287
"@mui/material": 5.10.8
32943288
"@stream-io/video-client": "workspace:^"
3295-
"@stream-io/video-components-react": "workspace:^"
3289+
"@stream-io/video-react-sdk": "workspace:^"
32963290
"@types/jsonwebtoken": ^8.5.9
32973291
jsonwebtoken: ^8.5.1
32983292
nanoid: ^4.0.0
@@ -3303,16 +3297,16 @@ __metadata:
33033297
languageName: unknown
33043298
linkType: soft
33053299

3306-
"@stream-io/video-react-app@workspace:packages/app":
3300+
"@stream-io/video-react-sample-app@workspace:packages/react-sample-app":
33073301
version: 0.0.0-use.local
3308-
resolution: "@stream-io/video-react-app@workspace:packages/app"
3302+
resolution: "@stream-io/video-react-sample-app@workspace:packages/react-sample-app"
33093303
dependencies:
33103304
"@emotion/react": ^11.10.4
33113305
"@emotion/styled": ^11.10.4
33123306
"@mui/icons-material": ^5.10.6
33133307
"@mui/material": ^5.10.8
33143308
"@stream-io/video-client": "workspace:^"
3315-
"@stream-io/video-components-react": "workspace:^"
3309+
"@stream-io/video-react-sdk": "workspace:^"
33163310
"@testing-library/jest-dom": ^5.16.5
33173311
"@testing-library/react": ^13.4.0
33183312
"@testing-library/user-event": ^13.5.0
@@ -3330,19 +3324,25 @@ __metadata:
33303324
languageName: unknown
33313325
linkType: soft
33323326

3333-
"@stream-io/video-react@workspace:.":
3327+
"@stream-io/video-react-sdk@workspace:^, @stream-io/video-react-sdk@workspace:packages/react-sdk":
33343328
version: 0.0.0-use.local
3335-
resolution: "@stream-io/video-react@workspace:."
3329+
resolution: "@stream-io/video-react-sdk@workspace:packages/react-sdk"
33363330
dependencies:
3337-
"@types/eslint": ^8.4.6
3338-
"@typescript-eslint/eslint-plugin": ^5.39.0
3339-
"@typescript-eslint/parser": ^5.39.0
3340-
eslint: ^8.25.0
3341-
eslint-config-react-app: ^7.0.1
3342-
eslint-import-resolver-typescript: ^3.5.1
3343-
eslint-plugin-import: ^2.26.0
3344-
eslint-plugin-prettier: ^4.2.1
3345-
prettier: ^2.7.1
3331+
"@popperjs/core": ^2.11.6
3332+
"@stream-io/video-client": "workspace:^"
3333+
"@types/rimraf": ^3.0.2
3334+
"@types/uuid": ^8.3.4
3335+
clsx: ^1.2.1
3336+
react: ^18.2.0
3337+
react-dom: ^18.2.0
3338+
react-popper: ^2.3.0
3339+
rimraf: ^3.0.2
3340+
sass: ^1.55.0
3341+
typescript: ^4.8.4
3342+
uuid: ^9.0.0
3343+
peerDependencies:
3344+
react: ^18.0.0
3345+
react-dom: ^18.0.0
33463346
languageName: unknown
33473347
linkType: soft
33483348

0 commit comments

Comments
 (0)