Skip to content

Commit

Permalink
angular updated to @18
Browse files Browse the repository at this point in the history
  • Loading branch information
arawinters committed Oct 22, 2024
1 parent 25fedc4 commit 3742081
Show file tree
Hide file tree
Showing 14 changed files with 3,390 additions and 1,651 deletions.
4,960 changes: 3,350 additions & 1,610 deletions package-lock.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,23 @@
},
"homepage": "https://github.com/senzing-garage/rest-api-client-ng#readme",
"dependencies": {
"@angular/animations": "^17.3.12",
"@angular/common": "^17.3.12",
"@angular/compiler": "^17.3.12",
"@angular/core": "^17.3.12",
"@angular/forms": "^17.3.12",
"@angular/platform-browser": "^17.3.12",
"@angular/platform-browser-dynamic": "^17.3.12",
"@angular/router": "^17.3.12",
"@angular/animations": "^18.2.8",
"@angular/common": "^18.2.8",
"@angular/compiler": "^18.2.8",
"@angular/core": "^18.2.8",
"@angular/forms": "^18.2.8",
"@angular/platform-browser": "^18.2.8",
"@angular/platform-browser-dynamic": "^18.2.8",
"@angular/router": "^18.2.8",
"@compodoc/compodoc": "^1.1.19",
"rxjs": "~7.8.1",
"tslib": "^2.5.0",
"zone.js": "~0.14.10"
},
"devDependencies": {
"@angular-devkit/build-angular": "^17.3.10",
"@angular/cli": "~17.3.10",
"@angular/compiler-cli": "^17.3.12",
"@angular-devkit/build-angular": "^18.2.9",
"@angular/cli": "~18.2.9",
"@angular/compiler-cli": "^18.2.8",
"@types/jasmine": "~4.3.1",
"@types/jasminewd2": "~2.0.10",
"@types/node": "^16.18.10",
Expand All @@ -65,7 +65,7 @@
"karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0",
"ng-packagr": "^17.3.0",
"ng-packagr": "^18.2.1",
"ts-node": "~10.9.1",
"tslint": "~6.1.0",
"typescript": "~5.4.0"
Expand Down
4 changes: 2 additions & 2 deletions projects/rest-api-client-ng/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
},
"homepage": "https://github.com/senzing-garage/rest-api-client-ng#readme",
"peerDependencies": {
"@angular/common": "^17.0.0",
"@angular/core": "^17.0.0"
"@angular/common": "^18.0.0",
"@angular/core": "^18.0.0"
},
"dependencies": {
"tslib": "~2.5.0"
Expand Down
7 changes: 4 additions & 3 deletions projects/rest-api-client-ng/src/lib/api/admin.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ import { TestBed } from '@angular/core/testing';
import { AdminService } from './admin.service';
import { ApiModule } from '../api.module';
import { Configuration } from '../configuration';
import { HttpClientModule } from '@angular/common/http';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
//
describe('AdminService', () => {
const confFactory = () => {
return new Configuration({ basePath: '/'});
}
beforeEach(() => TestBed.configureTestingModule({
imports: [ApiModule.forRoot( confFactory ), HttpClientModule ]
}));
imports: [ApiModule.forRoot(confFactory)],
providers: [provideHttpClient(withInterceptorsFromDi())]
}));

it('should be created', () => {
const service: AdminService = TestBed.get(AdminService);
Expand Down
3 changes: 1 addition & 2 deletions projects/rest-api-client-ng/src/lib/api/admin.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
/* tslint:disable:no-unused-variable member-ordering */

import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../encoder';

import { Observable } from 'rxjs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@ import { ConfigService } from './config.service';
import { BulkDataService } from './bulkData.service';
import { ApiModule } from '../api.module';
import { Configuration } from '../configuration';
import { HttpClientModule } from '@angular/common/http';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
//
describe('BulkDataService', () => {
const confFactory = () => {
return new Configuration({ basePath: '/'});
}
beforeEach(() => TestBed.configureTestingModule({
imports: [ApiModule.forRoot( confFactory ), HttpClientModule ]
}));
imports: [ApiModule.forRoot(confFactory)],
providers: [provideHttpClient(withInterceptorsFromDi())]
}));

it('should be created', () => {
const service: BulkDataService = TestBed.get(BulkDataService);
Expand Down
3 changes: 1 addition & 2 deletions projects/rest-api-client-ng/src/lib/api/bulkData.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
*//* tslint:disable:no-unused-variable member-ordering */

import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../encoder';

import { Observable } from 'rxjs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ import { TestBed } from '@angular/core/testing';
import { ConfigService } from './config.service';
import { ApiModule } from '../api.module';
import { Configuration } from '../configuration';
import { HttpClientModule } from '@angular/common/http';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
//
describe('ConfigService', () => {
const confFactory = () => {
return new Configuration({ basePath: '/'});
}
beforeEach(() => TestBed.configureTestingModule({
imports: [ApiModule.forRoot( confFactory ), HttpClientModule ]
}));
imports: [ApiModule.forRoot(confFactory)],
providers: [provideHttpClient(withInterceptorsFromDi())]
}));

it('should be created', () => {
const service: ConfigService = TestBed.get(ConfigService);
Expand Down
3 changes: 1 addition & 2 deletions projects/rest-api-client-ng/src/lib/api/config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
*//* tslint:disable:no-unused-variable member-ordering */

import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../encoder';

import { Observable } from 'rxjs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ import { TestBed } from '@angular/core/testing';
import { EntityDataService } from './entityData.service';
import { ApiModule } from '../api.module';
import { Configuration } from '../configuration';
import { HttpClientModule } from '@angular/common/http';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
//
describe('EntityDataService', () => {
const confFactory = () => {
return new Configuration({ basePath: '/'});
}
beforeEach(() => TestBed.configureTestingModule({
imports: [ApiModule.forRoot( confFactory ), HttpClientModule ]
}));
imports: [ApiModule.forRoot(confFactory)],
providers: [provideHttpClient(withInterceptorsFromDi())]
}));

it('should be created', () => {
const service: EntityDataService = TestBed.get(EntityDataService);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
*//* tslint:disable:no-unused-variable member-ordering */

import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../encoder';

import { Observable } from 'rxjs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ import { TestBed } from '@angular/core/testing';
import { EntityGraphService } from './entityGraph.service';
import { ApiModule } from '../api.module';
import { Configuration } from '../configuration';
import { HttpClientModule } from '@angular/common/http';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
//
describe('EntityGraphService', () => {
const confFactory = () => {
return new Configuration({ basePath: '/'});
}
beforeEach(() => TestBed.configureTestingModule({
imports: [ApiModule.forRoot( confFactory ), HttpClientModule ]
}));
imports: [ApiModule.forRoot(confFactory)],
providers: [provideHttpClient(withInterceptorsFromDi())]
}));

it('should be created', () => {
const service: EntityGraphService = TestBed.get(EntityGraphService);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
*//* tslint:disable:no-unused-variable member-ordering */

import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../encoder';

import { Observable } from 'rxjs';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
*//* tslint:disable:no-unused-variable member-ordering */

import { Inject, Injectable, Optional } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams,
HttpResponse, HttpEvent } from '@angular/common/http';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent } from '@angular/common/http';
import { CustomHttpUrlEncodingCodec } from '../encoder';

import { Observable } from 'rxjs';
Expand Down

0 comments on commit 3742081

Please sign in to comment.