Skip to content

Commit

Permalink
Issue #KN-982 feat: Angular migration to 16 (#155)
Browse files Browse the repository at this point in the history
* Issue #KN-945 fix: updated the dev-dependencies to angular 14

* Issue #KN-945 feat: updated angular version from 14 to 15

* Issue #KN-945 docs: REDME udpated

* Issue #KN-945 feat: ng script updated

* Issue #KN-945 chore: circleci browser version updated

* Issue #KN-945 feat: added audit steps in circleci

* Issue #KN-945 fix: Build

* Issue #KN-945 feat: added audit steps in circleci

* Issue KN-945 docs: web component readme updated

* Issue #KN-945 feat: updated the package version

* Issue #KN-945 doc: README doc updated

* ssue #KN-945 doc: README doc updated

* Issue #KN-982 feat: Updated the eslint versions

* Issue #KN-982 feat: Angular version migration to 16

* Issue #KN-982 feat: update the dependecies

* Issue #KN-982 feat: migration changes

* Issue #KN-982 feat: migration changes

* Issue #KN-982 chore: Updated the build steps

* Issue #KN-982 chore: Node module dependecy build fix
  • Loading branch information
HarishGangula authored Mar 22, 2024
1 parent efdf934 commit 42bb70e
Show file tree
Hide file tree
Showing 24 changed files with 8,880 additions and 22,790 deletions.
13 changes: 11 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@
version: 2.1
orbs:
browser-tools: circleci/[email protected]
jobs:
build:
working_directory: ~/sunbird-video-player
docker:
- image: circleci/node:16.13.1-browsers
- image: cimg/node:20.4.0-browsers
steps:
- browser-tools/install-chrome
- browser-tools/install-chromedriver
- run:
command: |
google-chrome --version
chromedriver --version
name: Check install
- checkout:
path: ~/sunbird-video-player
- run:
name: Show current branch
command: echo ${CIRCLE_BRANCH}
- run:
name: Install dependecies and audit for critical
command: cd projects/sunbird-video-player && npm install --no-progress --legacy-peer-deps && npx audit-ci@^6 --config ./audit-ci.jsonc
command: cd projects/sunbird-video-player && npm install --no-progress --legacy-peer-deps && npx audit-ci@^6 --config ./audit-ci.jsonc && rm -rf node_modules
- run:
name: ng lint
command: cd ~/sunbird-video-player && npm install --no-progress --legacy-peer-deps && npm run lint
Expand Down
6 changes: 3 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
{
"glob": "**/*",
"input": "node_modules/@project-sunbird/sunbird-quml-player-v9/lib/assets/",
"input": "node_modules/@project-sunbird/sunbird-quml-player/lib/assets/",
"output": "/assets/"
}
],
Expand All @@ -41,13 +41,13 @@
"./quml-carousel.css",
"node_modules/@project-sunbird/sb-styles/assets/_styles.scss",
"node_modules/video.js/dist/video-js.min.css",
"dist/sunbird-video-player/lib/assets/videojs.markers.min.css",
"node_modules/@project-sunbird/sunbird-video-player-v9/lib/assets/videojs.markers.min.css",
"node_modules/videojs-http-source-selector/dist/videojs-http-source-selector.css"
],
"scripts": [
"node_modules/@project-sunbird/telemetry-sdk/index.js",
"node_modules/video.js/dist/video.js",
"dist/sunbird-video-player/lib/assets/videojs-markers.js",
"node_modules/@project-sunbird/sunbird-video-player-v9/lib/assets/videojs-markers.js",
"node_modules/videojs-contrib-quality-levels/dist/videojs-contrib-quality-levels.min.js",
"node_modules/videojs-http-source-selector/dist/videojs-http-source-selector.min.js"
],
Expand Down
2 changes: 1 addition & 1 deletion assets-copy.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const fs = require('fs-extra');
(async () => {
try {
var source = "projects/sunbird-video-player/node_modules/@project-sunbird/sunbird-player-sdk-v9/lib/assets";
var source = "node_modules/@project-sunbird/sunbird-player-sdk-v9/lib/assets";
const dest = "dist/sunbird-video-player/lib/assets/";
const isAssetsExists = await fs.pathExists(dest)
var libsource = "projects/sunbird-video-player/src/lib/assets";
Expand Down
Loading

0 comments on commit 42bb70e

Please sign in to comment.