Skip to content

Commit

Permalink
feat #SB-24989 fix: Updated angular version to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Nik720 committed Aug 3, 2021
1 parent f4dcf7c commit 90cff29
Show file tree
Hide file tree
Showing 9 changed files with 11,162 additions and 7,379 deletions.
7 changes: 6 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
"tsConfig": "projects/chat-lib/tsconfig.lib.json",
"project": "projects/chat-lib/ng-package.json"
}
},
, "configurations": {
"production": {
"tsConfig": "projects/chat-lib/tsconfig.lib.prod.json"
}
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
Expand Down
18,464 changes: 11,115 additions & 7,349 deletions package-lock.json

Large diffs are not rendered by default.

41 changes: 20 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,43 +11,42 @@
"copy:assets": "node scripts/copy-assets"
},
"dependencies": {
"@angular/animations": "^8.0.0",
"@angular/common": "^8.0.0",
"@angular/compiler": "^8.0.0",
"@angular/core": "^8.0.0",
"@angular/forms": "^8.0.0",
"@angular/platform-browser": "^8.0.0",
"@angular/platform-browser-dynamic": "^8.0.0",
"@angular/router": "^8.0.0",
"@angular/animations": "^9.1.13",
"@angular/common": "^9.1.13",
"@angular/compiler": "^9.1.13",
"@angular/core": "^9.1.13",
"@angular/forms": "^9.1.13",
"@angular/platform-browser": "^9.1.13",
"@angular/platform-browser-dynamic": "^9.1.13",
"@angular/router": "^9.1.13",
"core-js": "^2.5.4",
"rxjs": "~6.3.3",
"tslib": "^1.9.0",
"zone.js": "~0.8.26"
"rxjs": "~6.6.7",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.801.3",
"@angular-devkit/build-ng-packagr": "~0.801.3",
"@angular/cli": "^8.0.0",
"@angular/compiler-cli": "^8.0.0",
"@angular/language-service": "^8.0.0",
"@angular-devkit/build-angular": "~0.901.15",
"@angular-devkit/build-ng-packagr": "~0.901.15",
"@angular/cli": "^9.1.15",
"@angular/compiler-cli": "^9.1.13",
"@angular/language-service": "^9.1.13",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"@types/node": "^12.11.1",
"angular2-uuid": "^1.1.1",
"codelyzer": "~4.5.0",
"codelyzer": "^5.1.2",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "^5.0.9",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.1",
"karma-jasmine": "~1.1.2",
"karma-jasmine-html-reporter": "^0.2.2",
"ng-packagr": "^4.2.0",
"ng-packagr": "^9.0.0",
"protractor": "^7.0.0",
"ts-node": "~7.0.0",
"tsickle": ">=0.29.0",
"tslib": "^1.9.0",
"tslint": "~5.11.0",
"typescript": "~3.4.3"
"typescript": "~3.8.3"
}
}
8 changes: 4 additions & 4 deletions projects/chat-lib/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@project-sunbird/chatbot-client-v8",
"version": "2.0.2",
"name": "@project-sunbird/chatbot-client-v9",
"version": "3.0.0",
"peerDependencies": {
"@angular/common": "^8.0.0",
"@angular/core": "^8.0.0",
"@angular/common": "^9.1.13",
"@angular/core": "^9.1.13",
"angular2-uuid": "^1.1.1"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Subject} from 'rxjs';
styleUrls: ['./chat-message-list.component.scss']
})
export class ChatMessageListComponent implements OnInit, AfterViewChecked {
@ViewChild('msgScrollToBottom', {static: false}) private msgScrollToBottom: ElementRef;
@ViewChild('msgScrollToBottom') private msgScrollToBottom: ElementRef;

@Input() did: string;
@Input() userId: string;
Expand Down
4 changes: 4 additions & 0 deletions projects/chat-lib/src/public_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@

export * from './lib/chat-lib.service';
export * from './lib/chat-lib.module';
export * from './lib/chat-window/chat-window.component';
export * from './lib/chat-message-list/chat-message-list.component';
export * from './lib/chat-message-bottom-bar/chat-message-bottom-bar.component';
export * from './lib/chat-message/chat-message.component';

4 changes: 2 additions & 2 deletions projects/chat-lib/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
]
},
"angularCompilerOptions": {
"annotateForClosureCompiler": true,
"skipTemplateCodegen": true,
"strictMetadataEmit": true,
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true,
"enableResourceInlining": true
"enableResourceInlining": true,
"enableIvy": false,
},
"exclude": [
"src/test.ts",
Expand Down
6 changes: 6 additions & 0 deletions projects/chat-lib/tsconfig.lib.prod.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "./tsconfig.lib.json",
"angularCompilerOptions": {
"enableIvy": false
}
}
5 changes: 4 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"module": "es2015",
"module": "esnext",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
Expand All @@ -26,5 +26,8 @@
"dist/chat-lib/*"
]
}
},
"angularCompilerOptions": {
"enableIvy": false
}
}

0 comments on commit 90cff29

Please sign in to comment.