chat4app-client-angular 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/karma.conf.js +44 -0
  2. package/ng-package.json +7 -0
  3. package/package.json +10 -18
  4. package/src/lib/chat4app-client-angular.component.spec.ts +25 -0
  5. package/src/lib/chat4app-client-angular.component.ts +20 -0
  6. package/src/lib/chat4app-client-angular.module.ts +12 -0
  7. package/src/lib/chat4app-client-angular.service.spec.ts +16 -0
  8. package/src/lib/chat4app-client-angular.service.ts +594 -0
  9. package/{public-api.d.ts → src/public-api.ts} +7 -4
  10. package/src/test.ts +26 -0
  11. package/tsconfig.lib.json +26 -0
  12. package/tsconfig.lib.prod.json +10 -0
  13. package/tsconfig.spec.json +17 -0
  14. package/tslint.json +17 -0
  15. package/bundles/chat4app-client-angular.umd.js +0 -477
  16. package/bundles/chat4app-client-angular.umd.js.map +0 -1
  17. package/bundles/chat4app-client-angular.umd.min.js +0 -2
  18. package/bundles/chat4app-client-angular.umd.min.js.map +0 -1
  19. package/chat4app-client-angular.d.ts +0 -5
  20. package/chat4app-client-angular.d.ts.map +0 -1
  21. package/chat4app-client-angular.metadata.json +0 -1
  22. package/esm2015/chat4app-client-angular.js +0 -5
  23. package/esm2015/lib/chat4app-client-angular.component.js +0 -18
  24. package/esm2015/lib/chat4app-client-angular.module.js +0 -12
  25. package/esm2015/lib/chat4app-client-angular.service.js +0 -364
  26. package/esm2015/public-api.js +0 -7
  27. package/fesm2015/chat4app-client-angular.js +0 -402
  28. package/fesm2015/chat4app-client-angular.js.map +0 -1
  29. package/lib/chat4app-client-angular.component.d.ts +0 -6
  30. package/lib/chat4app-client-angular.component.d.ts.map +0 -1
  31. package/lib/chat4app-client-angular.module.d.ts +0 -3
  32. package/lib/chat4app-client-angular.module.d.ts.map +0 -1
  33. package/lib/chat4app-client-angular.service.d.ts +0 -144
  34. package/lib/chat4app-client-angular.service.d.ts.map +0 -1
  35. package/public-api.d.ts.map +0 -1
package/karma.conf.js ADDED
@@ -0,0 +1,44 @@
1
+ // Karma configuration file, see link for more information
2
+ // https://karma-runner.github.io/1.0/config/configuration-file.html
3
+
4
+ module.exports = function (config) {
5
+ config.set({
6
+ basePath: '',
7
+ frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
+ plugins: [
9
+ require('karma-jasmine'),
10
+ require('karma-chrome-launcher'),
11
+ require('karma-jasmine-html-reporter'),
12
+ require('karma-coverage'),
13
+ require('@angular-devkit/build-angular/plugins/karma')
14
+ ],
15
+ client: {
16
+ jasmine: {
17
+ // you can add configuration options for Jasmine here
18
+ // the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
19
+ // for example, you can disable the random execution with `random: false`
20
+ // or set a specific seed with `seed: 4321`
21
+ },
22
+ clearContext: false // leave Jasmine Spec Runner output visible in browser
23
+ },
24
+ jasmineHtmlReporter: {
25
+ suppressAll: true // removes the duplicated traces
26
+ },
27
+ coverageReporter: {
28
+ dir: require('path').join(__dirname, '../../coverage/chat4app-client-angular'),
29
+ subdir: '.',
30
+ reporters: [
31
+ { type: 'html' },
32
+ { type: 'text-summary' }
33
+ ]
34
+ },
35
+ reporters: ['progress', 'kjhtml'],
36
+ port: 9876,
37
+ colors: true,
38
+ logLevel: config.LOG_INFO,
39
+ autoWatch: true,
40
+ browsers: ['Chrome'],
41
+ singleRun: false,
42
+ restartOnFileChange: true
43
+ });
44
+ };
@@ -0,0 +1,7 @@
1
+ {
2
+ "$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
3
+ "dest": "../../dist/chat4app-client-angular",
4
+ "lib": {
5
+ "entryFile": "src/public-api.ts"
6
+ }
7
+ }
package/package.json CHANGED
@@ -1,19 +1,11 @@
1
- {
2
- "name": "chat4app-client-angular",
3
- "version": "0.0.6",
4
- "peerDependencies": {
5
- "@angular/common": "^11.1.1",
6
- "@angular/core": "^11.1.1"
7
- },
8
- "dependencies": {
9
- "tslib": "^2.0.0"
10
- },
11
- "main": "bundles/chat4app-client-angular.umd.js",
12
- "module": "fesm2015/chat4app-client-angular.js",
13
- "es2015": "fesm2015/chat4app-client-angular.js",
14
- "esm2015": "esm2015/chat4app-client-angular.js",
15
- "fesm2015": "fesm2015/chat4app-client-angular.js",
16
- "typings": "chat4app-client-angular.d.ts",
17
- "metadata": "chat4app-client-angular.metadata.json",
18
- "sideEffects": false
1
+ {
2
+ "name": "chat4app-client-angular",
3
+ "version": "0.0.8",
4
+ "peerDependencies": {
5
+ "@angular/common": "^11.1.1",
6
+ "@angular/core": "^11.1.1"
7
+ },
8
+ "dependencies": {
9
+ "tslib": "^2.0.0"
10
+ }
19
11
  }
@@ -0,0 +1,25 @@
1
+ import { ComponentFixture, TestBed } from '@angular/core/testing';
2
+
3
+ import { Chat4appClientAngularComponent } from './chat4app-client-angular.component';
4
+
5
+ describe('Chat4appClientAngularComponent', () => {
6
+ let component: Chat4appClientAngularComponent;
7
+ let fixture: ComponentFixture<Chat4appClientAngularComponent>;
8
+
9
+ beforeEach(async () => {
10
+ await TestBed.configureTestingModule({
11
+ declarations: [ Chat4appClientAngularComponent ]
12
+ })
13
+ .compileComponents();
14
+ });
15
+
16
+ beforeEach(() => {
17
+ fixture = TestBed.createComponent(Chat4appClientAngularComponent);
18
+ component = fixture.componentInstance;
19
+ fixture.detectChanges();
20
+ });
21
+
22
+ it('should create', () => {
23
+ expect(component).toBeTruthy();
24
+ });
25
+ });
@@ -0,0 +1,20 @@
1
+ import { Component, OnInit } from '@angular/core';
2
+
3
+ @Component({
4
+ selector: 'lib-chat4app-client-angular',
5
+ template: `
6
+ <p>
7
+ chat4app-client-angular works!
8
+ </p>
9
+ `,
10
+ styles: [
11
+ ]
12
+ })
13
+ export class Chat4appClientAngularComponent implements OnInit {
14
+
15
+ constructor() { }
16
+
17
+ ngOnInit(): void {
18
+ }
19
+
20
+ }
@@ -0,0 +1,12 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { Chat4appClientAngularComponent } from './chat4app-client-angular.component';
3
+
4
+
5
+
6
+ @NgModule({
7
+ declarations: [Chat4appClientAngularComponent],
8
+ imports: [
9
+ ],
10
+ exports: [Chat4appClientAngularComponent]
11
+ })
12
+ export class Chat4appClientAngularModule { }
@@ -0,0 +1,16 @@
1
+ import { TestBed } from '@angular/core/testing';
2
+
3
+ import { Chat4appClientAngularService } from './chat4app-client-angular.service';
4
+
5
+ describe('Chat4appClientAngularService', () => {
6
+ let service: Chat4appClientAngularService;
7
+
8
+ beforeEach(() => {
9
+ TestBed.configureTestingModule({});
10
+ service = TestBed.inject(Chat4appClientAngularService);
11
+ });
12
+
13
+ it('should be created', () => {
14
+ expect(service).toBeTruthy();
15
+ });
16
+ });