Skip to content

Commit

Permalink
Issue #SB-24989 merge: Merge pull request #41 from project-sunbird/re…
Browse files Browse the repository at this point in the history
…vert-40-SB-24989

Revert "feat #SB-24989 fix: Updated angular version to 9"
  • Loading branch information
vinukumar-vs authored Aug 3, 2021
2 parents 02e36c2 + 10d03e8 commit d677c73
Show file tree
Hide file tree
Showing 9 changed files with 7,436 additions and 11,219 deletions.
7 changes: 1 addition & 6 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@
"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,578 changes: 7,406 additions & 11,172 deletions package-lock.json

Large diffs are not rendered by default.

41 changes: 21 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,42 +11,43 @@
"copy:assets": "node scripts/copy-assets"
},
"dependencies": {
"@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",
"@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",
"core-js": "^2.5.4",
"rxjs": "~6.6.7",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
"rxjs": "~6.3.3",
"tslib": "^1.9.0",
"zone.js": "~0.8.26"
},
"devDependencies": {
"@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",
"@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",
"@types/jasmine": "~2.8.8",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"@types/node": "~8.9.4",
"angular2-uuid": "^1.1.1",
"codelyzer": "^5.1.2",
"codelyzer": "~4.5.0",
"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": "^9.0.0",
"ng-packagr": "^4.2.0",
"protractor": "^7.0.0",
"ts-node": "~7.0.0",
"tsickle": ">=0.29.0",
"tslib": "^1.9.0",
"tslint": "~5.11.0",
"typescript": "~3.8.3"
"typescript": "~3.4.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-v9",
"version": "3.0.0",
"name": "@project-sunbird/chatbot-client-v8",
"version": "2.0.2",
"peerDependencies": {
"@angular/common": "^9.1.13",
"@angular/core": "^9.1.13",
"@angular/common": "^8.0.0",
"@angular/core": "^8.0.0",
"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') private msgScrollToBottom: ElementRef;
@ViewChild('msgScrollToBottom', {static: false}) private msgScrollToBottom: ElementRef;

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

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,
"enableIvy": false,
"enableResourceInlining": true
},
"exclude": [
"src/test.ts",
Expand Down
6 changes: 0 additions & 6 deletions projects/chat-lib/tsconfig.lib.prod.json

This file was deleted.

5 changes: 1 addition & 4 deletions 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": "esnext",
"module": "es2015",
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
Expand All @@ -26,8 +26,5 @@
"dist/chat-lib/*"
]
}
},
"angularCompilerOptions": {
"enableIvy": false
}
}

0 comments on commit d677c73

Please sign in to comment.