Skip to content

Commit 1bb5099

Browse files
Rakshitha-DsantoshilimiHarishGangulapallakartheekreddyyashashkumar
authored
Release 8.1.0 (#182)
* Issue #KN-617 feat: Video Player angular version update from 12 to 13 * Issue #KN-617 feat: Video Player tslint update to eslint * Issue #KN-617 feat: Video Player tslint update to eslint * Issue #KN-617 feat: Video Player angular version update from 12 to 13 * Issue #KN-617 feat: Video Player readme file updated with different integration steps * Issue #KN-617 feat: Video Player readme file updated with different integration steps * Issue #KN-617 feat: Video Player angular version update from 12 to 13 * Issue #KN-617 feat: Video Player angular version update from 13 to 14 * Issue #KN-617 feat: updated script for single css and js file for web component * Issue #KN-617 feat: Video Player angular version update from 13 to 14 * Issue #KN-617 feat: Minified the css and js files * Issue #KN-617 feat: updated script for single css and js file for web component * Issue #KN-733 feat: visited length issue fixed * Issue KN-733 feat: updated web component * Issue #733 feat: visited length issue fix * Issue #733 feat: added unique visited length * Issue #733 fix: updated visited time spent * Issue #733 fix: updated visited time spent * Issue #KN-710 fix: updated visited time spent * Issue #KN-710 fix: test cases * Issue #KN-710 feat: updated the summary key name * Issue #KN-710 fix: summary event data * Issue #710 fix: config warning fix * Issue #KN-834 feat: changes to publish as web component to npm * Issue #KN-834 chore: Updated the build script * Issue #KN-834 docs: development docs updated * Issue #KN-834 chore: updated the build script for web component * Issue #KN-834 docs: updated the read me links * Issue #KN-834 chore: circle ci build * Issue #KN-834 chore: updated package version * Issue #KN-834 feat: updated the document * Fix #FP-I9: upgraded sunbird-player-sdk-v9 package (#169) * Fix #FP-I43: Handle language resource bundle for video player (#170) * Fix #FP-I43: Handle language resource bundle for video player * Fix #FP-I43: Handle language resource bundle for video player * Show actual time and added disable picture in picture mode (#173) * #FP-I86: showing actual time in endpage * #FP-I86: added disablePictureInPicture mode * #FP-I86: Upgraded version * Show actual time (#174) * Fix #FP-I9: upgraded sunbird-player-sdk-v9 package * #FP-I86: showing actual time in endpage * #FP-I86: added disablePictureInPicture mode * #FP-I86: Upgraded version * #FP-I86: added more attributes * Update package-lock.json * Update package-lock.json * #FP-I86: added condition * #FP-I86: added remove event listener condition * Update projects/sunbird-video-player/src/lib/components/video-player/video-player.component.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Harish Kumar Gangula <harish@sanketika.in> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Show actual time (#175) * Fix #FP-I9: upgraded sunbird-player-sdk-v9 package * #FP-I86: showing actual time in endpage * #FP-I86: added disablePictureInPicture mode * #FP-I86: Upgraded version * #FP-I86: added more attributes * Update package-lock.json * Update package-lock.json * #FP-I86: added condition * #FP-I86: added remove event listener condition * Update projects/sunbird-video-player/src/lib/components/video-player/video-player.component.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * #FP-I86: handled endpage when watchtime is zero * #FP-I86: updated package version --------- Co-authored-by: Harish Kumar Gangula <harish@sanketika.in> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * End page fixes (#179) * SB-I212: fixed timer in endpage (#176) * Added GitHub workflow files (#178) --------- Co-authored-by: Deeksha Deepak <77612609+Deeksha1502@users.noreply.github.com> * GitHub actions for pr (#180) * Added github actions for raising pull request * removed caching step and added package-lock.json file * Updated .github/workflows/pull_request.yml with npm clean install Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Santosh Mattikoppa <santosh.mattikoppa@ilimi.in> Co-authored-by: harishkumar gangula <harish@sanketika.in> Co-authored-by: Kartheek Palla <palla.kartheekreddy@gmail.com> Co-authored-by: yashash <126703764+yashashkumar@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Deeksha Deepak <77612609+Deeksha1502@users.noreply.github.com>
1 parent d0a591c commit 1bb5099

35 files changed

Lines changed: 17728 additions & 10179 deletions

.circleci/config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ jobs:
2424
- run:
2525
name: Sonar scanner
2626
command: cd ~/sunbird-video-player && sonar-scanner
27+
- run:
28+
name: Publish Web component to NPM
29+
command: |
30+
if [ -z $CIRCLE_PR_NUMBER ]; then
31+
npm run build-web-component && npm pack ./web-component
32+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
33+
npm publish project-sunbird-sunbird-video-player-web-component-* --access public
34+
else
35+
npm run build-web-component && npm pack ./web-component
36+
fi
2737
- run:
2838
name: Publish to NPM
2939
command: |
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish Video Player Package
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '22.15.0'
19+
20+
- name: Install dependencies
21+
run: npm ci --legacy-peer-deps
22+
23+
- name: Build and publish package
24+
env:
25+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
26+
run: |
27+
npm run build-lib
28+
npm pack ./dist/sunbird-video-player
29+
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
30+
npm publish project-sunbird-sunbird-video-player-v9-*
31+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Publish Video Player Package
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '22.15.0'
19+
20+
- name: Install dependencies
21+
run: npm ci --legacy-peer-deps
22+
23+
- name: Build and publish package
24+
env:
25+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
26+
run: |
27+
npm run build-web-component
28+
npm pack ./web-component
29+
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
30+
npm publish project-sunbird-sunbird-video-player-web-component-* --access public
31+

.github/workflows/pull_request.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Code Quality Checks
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '**'
7+
8+
jobs:
9+
code-quality:
10+
name: Run Code Quality Checks
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '22.15.0'
21+
22+
- name: Restore node_modules cache
23+
id: cache
24+
uses: actions/cache@v4
25+
with:
26+
path: node_modules
27+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
28+
restore-keys: |
29+
${{ runner.os }}-node-modules-
30+
31+
- name: Install dependencies
32+
run: npm ci --legacy-peer-deps
33+
34+
- name: Save node_modules cache
35+
if: steps.cache.outputs.cache-hit != 'true'
36+
uses: actions/cache@v4
37+
with:
38+
path: node_modules
39+
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
40+
41+
- name: Run lint
42+
run: npm run lint
43+
44+
- name: Run test
45+
run: npm run test

0 commit comments

Comments
 (0)