Skip to content

Commit

Permalink
Issue #IQ-7 fix: Updated QUML-player package name and version
Browse files Browse the repository at this point in the history
  • Loading branch information
itsvick committed Sep 16, 2022
1 parent f4965e9 commit d9d460a
Show file tree
Hide file tree
Showing 9 changed files with 190 additions and 199 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For existing apps, follow below-mentioned steps:
## :label: Step 1: Install the packages
These are the peerDependencies of the library, need to be installed in order to use this library.

npm install @project-sunbird/sunbird-quml-player-v9 --save
npm install @project-sunbird/sunbird-quml-player --save
npm install @project-sunbird/sb-styles --save
npm install @project-sunbird/client-services --save
npm install [email protected] --save
Expand Down Expand Up @@ -50,7 +50,7 @@ For more information refer [question-cursor-implementation.service.ts](https://g
...
{
"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 Down Expand Up @@ -78,7 +78,7 @@ Import the required modules such as **CarouselModule**, **QumlLibraryModule**, *

```javascript
import { HttpClientModule } from '@angular/common/http';
import { QumlLibraryModule, QuestionCursor } from '@project-sunbird/sunbird-quml-player-v9';
import { QumlLibraryModule, QuestionCursor } from '@project-sunbird/sunbird-quml-player';
import { CarouselModule } from 'ngx-bootstrap/carousel';
import { QuestionCursorImplementationService } from './question-cursor-implementation.service';

Expand Down
4 changes: 2 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"projects/quml-demo-app/src/assets",
{
"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 Down Expand Up @@ -210,7 +210,7 @@
"./projects/quml-player-wc/src/assets",
{
"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 Down
357 changes: 174 additions & 183 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion projects/quml-demo-app/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { CarouselModule } from 'ngx-bootstrap/carousel';
import { QuestionCursorImplementationService } from './question-cursor-implementation.service';
import { QumlLibraryModule, QuestionCursor } from '@project-sunbird/sunbird-quml-player-v9';
import { QumlLibraryModule, QuestionCursor } from '@project-sunbird/sunbird-quml-player';
import { HttpClientModule } from '@angular/common/http';

@NgModule({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { HttpClient } from '@angular/common/http';
import { Injectable } from "@angular/core";
import { QuestionCursor } from '@project-sunbird/sunbird-quml-player-v9';
import { QuestionCursor } from '@project-sunbird/sunbird-quml-player';
import { Observable, of, throwError as observableThrowError } from 'rxjs';
import { map, mergeMap } from 'rxjs/operators';
import { ApiEndPoints } from './app.constant';
Expand Down
6 changes: 3 additions & 3 deletions projects/quml-library/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ For existing apps, follow below-mentioned steps:
## :label: Step 1: Install the packages
These are the peerDependencies of the library, need to be installed in order to use this library.

npm install @project-sunbird/sunbird-quml-player-v9 --save
npm install @project-sunbird/sunbird-quml-player --save
npm install @project-sunbird/sb-styles --save
npm install @project-sunbird/client-services --save
npm install [email protected] --save
Expand Down Expand Up @@ -50,7 +50,7 @@ For more information refer [question-cursor-implementation.service.ts](https://g
...
{
"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 Down Expand Up @@ -78,7 +78,7 @@ Import the required modules such as **CarouselModule**, **QumlLibraryModule**, *

```javascript
import { HttpClientModule } from '@angular/common/http';
import { QumlLibraryModule, QuestionCursor } from '@project-sunbird/sunbird-quml-player-v9';
import { QumlLibraryModule, QuestionCursor } from '@project-sunbird/sunbird-quml-player';
import { CarouselModule } from 'ngx-bootstrap/carousel';
import { QuestionCursorImplementationService } from './question-cursor-implementation.service';

Expand Down
4 changes: 2 additions & 2 deletions projects/quml-library/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions projects/quml-library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-sunbird/sunbird-quml-player-v9",
"version": "5.1.5",
"name": "@project-sunbird/sunbird-quml-player",
"version": "5.1.0",
"peerDependencies": {
"@angular/common": ">=12.2.16",
"@angular/core": ">=12.2.16",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
"quml-library/*": [
"dist/quml-library/*",
],
"@project-sunbird/sunbird-quml-player-v9":[
"@project-sunbird/sunbird-quml-player":[
"dist/quml-library",
],
"@project-sunbird/sunbird-quml-player-v9/*":[
"@project-sunbird/sunbird-quml-player/*":[
"dist/quml-library/*",
],
"@project-sunbird/sunbird-player-sdk-v9": [
Expand Down

0 comments on commit d9d460a

Please sign in to comment.