Skip to content

Commit e6a8a34

Browse files
committed
Merge branch 'release-candidate' into release
2 parents f71a0d7 + 3c24a62 commit e6a8a34

File tree

131 files changed

+5750
-867
lines changed

Some content is hidden

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

131 files changed

+5750
-867
lines changed

.github/workflows/test-unit-snapshot.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test - Unit and Snapshot
1+
name: Test - Unit, Integration, Snapshot
22

33
on:
44
push:
@@ -21,3 +21,11 @@ jobs:
2121
yarn test
2222
env:
2323
CI: true
24+
# Dummy environment variables for testing the access-bridge service
25+
APP_SITE_ID: test1234
26+
APP_API_SECRET: dummy_secret
27+
APP_STRIPE_SECRET: dummy_stripe_secret
28+
APP_BIND_ADDR: localhost
29+
APP_BIND_PORT: 3001
30+
APP_ACCESS_CONTROL_API_HOST: https://test-cdn.jwplayer.com
31+
APP_SIMS_API_HOST: https://test-sims.jwplayer.com

.syncpackrc.json

Lines changed: 16 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,38 @@
11
{
22
"$schema": "https://unpkg.com/[email protected]/dist/schema.json",
3-
"sortFirst": [
4-
"name",
5-
"description",
6-
"version",
7-
"private",
8-
"license",
9-
"repository",
10-
"author",
11-
"main",
12-
"exports",
13-
"engines",
14-
"workspaces",
15-
"scripts"
16-
],
3+
"sortFirst": ["name", "description", "version", "private", "license", "repository", "author", "main", "exports", "engines", "workspaces", "scripts"],
174
"semverGroups": [
185
{
19-
"dependencies": [
20-
"codeceptjs",
21-
"codeceptjs**",
22-
"react-router",
23-
"react-router-dom",
24-
"typescript"
25-
],
26-
"packages": [
27-
"**"
28-
],
6+
"dependencies": ["codeceptjs", "codeceptjs**", "react-router", "react-router-dom", "typescript"],
7+
"packages": ["**"],
298
"isIgnored": true
309
},
3110
{
3211
"range": "^",
33-
"dependencies": [
34-
"**"
35-
],
36-
"packages": [
37-
"**"
38-
],
39-
"dependencyTypes": [
40-
"prod",
41-
"dev",
42-
"peer"
43-
]
12+
"dependencies": ["**"],
13+
"packages": ["**"],
14+
"dependencyTypes": ["prod", "dev", "peer"]
4415
}
4516
],
4617
"versionGroups": [
4718
{
4819
"label": "Ensure semver ranges for locally developed packages satisfy the local version",
49-
"dependencies": [
50-
"@jwp/**",
51-
"**-config-jwp"
52-
],
53-
"dependencyTypes": [
54-
"peer"
55-
],
56-
"packages": [
57-
"**"
58-
],
20+
"dependencies": ["@jwp/**", "**-config-jwp"],
21+
"dependencyTypes": ["dev", "prod", "peer"],
22+
"packages": ["**"],
5923
"pinVersion": "*"
6024
},
6125
{
62-
"label": "Ensure local packages are installed as peerDependency",
63-
"dependencies": [
64-
"@jwp/**",
65-
"**-config-jwp"
66-
],
67-
"dependencyTypes": [
68-
"dev",
69-
"prod"
70-
],
71-
"packages": [
72-
"**"
73-
],
26+
"label": "Ensure local packages are installed as dev or prod dependency",
27+
"dependencies": ["@jwp/**", "**-config-jwp"],
28+
"dependencyTypes": ["peer"],
29+
"packages": ["**"],
7430
"isBanned": true
7531
},
7632
{
77-
"dependencies": [
78-
"@types/**"
79-
],
80-
"dependencyTypes": [
81-
"!dev"
82-
],
83-
"packages": [
84-
"**"
85-
],
33+
"dependencies": ["@types/**"],
34+
"dependencyTypes": ["!dev"],
35+
"packages": ["**"],
8636
"isBanned": true,
8737
"label": "@types packages should only be under devDependencies"
8838
}

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## [6.7.0](https://github.com/jwplayer/ott-web-app/compare/v6.6.0...v6.7.0) (2024-09-27)
2+
3+
4+
### Features
5+
6+
* access bridge service ([#616](https://github.com/jwplayer/ott-web-app/issues/616)) ([aae2551](https://github.com/jwplayer/ott-web-app/commit/aae25515bcff0e4ad8428d8b8389220eb9126d5f)), closes [#594](https://github.com/jwplayer/ott-web-app/issues/594) [#598](https://github.com/jwplayer/ott-web-app/issues/598) [#590](https://github.com/jwplayer/ott-web-app/issues/590) [#605](https://github.com/jwplayer/ott-web-app/issues/605) [#606](https://github.com/jwplayer/ott-web-app/issues/606)
7+
* **i18n:** fix lint error ([c27a1e6](https://github.com/jwplayer/ott-web-app/commit/c27a1e69c360d9ebe9abcc9cf2e8bb3a088516aa))
8+
* **menu:** fix support for media menu item ([#621](https://github.com/jwplayer/ott-web-app/issues/621)) ([4ffb849](https://github.com/jwplayer/ott-web-app/commit/4ffb84923424de05f1f62455c7822354c0842173))
9+
* **menu:** support media type for menu ([#610](https://github.com/jwplayer/ott-web-app/issues/610)) ([80acd7f](https://github.com/jwplayer/ott-web-app/commit/80acd7f6c6672baf6e4a01dbecdf8540be68dbd7))
10+
* **project:** screen animations ([#614](https://github.com/jwplayer/ott-web-app/issues/614)) ([edbb246](https://github.com/jwplayer/ott-web-app/commit/edbb246c9edf926b872f5fdeb01d8cc0379f86ae))
11+
12+
13+
### Bug Fixes
14+
15+
* card grid rendering previous items ([#613](https://github.com/jwplayer/ott-web-app/issues/613)) ([dce9f70](https://github.com/jwplayer/ott-web-app/commit/dce9f70875444ad965bb69d87a3f9445883ab9b1))
16+
* **e2e:** fix cleeng tests ([#624](https://github.com/jwplayer/ott-web-app/issues/624)) ([5231d86](https://github.com/jwplayer/ott-web-app/commit/5231d86b1aa05f6424fd8335f805fb42794d2698))
17+
* **project:** demo config reset doesnt work ([#609](https://github.com/jwplayer/ott-web-app/issues/609)) ([003e3e5](https://github.com/jwplayer/ott-web-app/commit/003e3e505929d62f3547c45def885a1b32b32e82))
18+
* **series:** first episode switching per season ([ddedb6b](https://github.com/jwplayer/ott-web-app/commit/ddedb6b6f636c720f0ba016b2fa07b41e964fe8e))
19+
* update plan types and access bridge port for the unit test workflow ([#619](https://github.com/jwplayer/ott-web-app/issues/619)) ([0e51bc4](https://github.com/jwplayer/ott-web-app/commit/0e51bc44288fb1ab2cd55dc8bdeaec8233819043))
20+
121
## [6.6.0](https://github.com/jwplayer/ott-web-app/compare/v6.5.0...v6.6.0) (2024-09-06)
222

323

configs/eslint-config-jwp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@typescript-eslint/parser": "^7.13.1",
1212
"confusing-browser-globals": "^1.0.11",
1313
"eslint-plugin-import": "^2.29.1",
14-
"eslint-plugin-react": "^7.34.2",
14+
"eslint-plugin-react": "^7.34.3",
1515
"eslint-plugin-react-hooks": "^4.6.2"
1616
}
1717
}

package.json

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jwp/ott",
3-
"version": "6.6.0",
3+
"version": "6.7.0",
44
"private": true,
55
"license": "Apache-2.0",
66
"repository": "https://github.com/jwplayer/ott-web-app.git",
@@ -33,18 +33,19 @@
3333
"prepare": "husky install",
3434
"test": "TZ=UTC LC_ALL=en_US.UTF-8 vitest run",
3535
"test-watch": "TZ=UTC LC_ALL=en_US.UTF-8 vitest",
36-
"web": "yarn --cwd platforms/web"
36+
"web": "yarn --cwd platforms/web",
37+
"access-bridge": "yarn --cwd platforms/access-bridge"
3738
},
3839
"devDependencies": {
3940
"@commitlint/cli": "^17.8.1",
4041
"@commitlint/config-conventional": "^17.8.1",
41-
"@types/node": "^18.19.36",
42+
"@types/node": "^18.19.37",
4243
"csv-parse": "^5.5.6",
4344
"eslint": "^8.57.0",
4445
"husky": "^6.0.0",
4546
"i18next-parser-workspaces": "^0.2.0",
46-
"knip": "^5.21.1",
47-
"lint-staged": "^15.2.7",
47+
"knip": "^5.30.1",
48+
"lint-staged": "^15.2.10",
4849
"npm-run-all": "^4.1.5",
4950
"prettier": "^2.8.8",
5051
"read": "^2.1.0",
@@ -56,10 +57,8 @@
5657
"eslint-config-jwp": "*"
5758
},
5859
"resolutions": {
59-
"codeceptjs/**/ansi-regex": "^4.1.1",
60-
"codeceptjs/**/minimatch": "^3.0.5",
61-
"flat": "^5.0.1",
62-
"glob-parent": "^5.1.2",
63-
"json5": "^2.2.2"
60+
"codeceptjs/**/fast-xml-parser": "^4.5.0",
61+
"micromatch": ">=4.0.8",
62+
"ws": ">=5.2.4"
6463
}
6564
}

packages/common/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"dependencies": {
1212
"@inplayer-org/inplayer.js": "^3.13.28",
1313
"broadcast-channel": "^7.0.0",
14-
"date-fns": "^2.30.0",
15-
"fast-xml-parser": "^4.4.0",
14+
"date-fns": "^3.6.0",
15+
"fast-xml-parser": "^4.5.0",
1616
"i18next": "^22.5.1",
1717
"ini": "^3.0.1",
1818
"inversify": "^6.0.2",
@@ -21,7 +21,7 @@
2121
"react-i18next": "^12.3.1",
2222
"reflect-metadata": "^0.2.2",
2323
"yup": "^0.32.11",
24-
"zustand": "^3.7.2"
24+
"zustand": "^4.5.5"
2525
},
2626
"devDependencies": {
2727
"@types/ini": "^1.3.34",

packages/common/src/constants.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,10 @@ export const EPG_TYPE = {
8686
viewNexa: 'viewnexa',
8787
} as const;
8888

89-
export const PLAYLIST_TYPE = {
89+
export const APP_CONFIG_ITEM_TYPE = {
9090
playlist: 'playlist',
9191
continue_watching: 'continue_watching',
9292
favorites: 'favorites',
9393
content_list: 'content_list',
94+
media: 'media',
9495
} as const;

0 commit comments

Comments
 (0)