Skip to content

Commit 07e0d3b

Browse files
authored
Dev 1174 actualizar ngx jsonapi a angular 17 (#376)
1 parent 0920ba1 commit 07e0d3b

19 files changed

+2071
-7313
lines changed

.github/workflows/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Use Node 16
1212
uses: actions/setup-node@v4
1313
with:
14-
node-version: '16.x'
14+
node-version: '20.x'
1515
- name: Install dependencies
1616
run: yarn install
1717
- name: Prettier check

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,17 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [Unreleased]
8+
9+
## [2.4.0] - 2025-08-15
10+
11+
- Migrate to angular 17
12+
13+
714
## [2.3.1] - 2025-08-01
815

916
- Changed CircleCI to GitHub Action and command fix
1017

11-
## [Unreleased]
1218

1319
## [2.3.0-dev-test] - 2023-08-11
1420

demo/app/app.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
import { Component, OnInit } from '@angular/core';
1+
import { Component } from '@angular/core';
22
import { JsonapiCore } from 'ngx-jsonapi';
33

44
@Component({
55
selector: 'demo-app',
66
styleUrls: ['./app.component.scss'],
7+
standalone: false,
78
templateUrl: './app.component.html'
89
})
910
export class AppComponent /* implements OnInit */ {

demo/app/app.module.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@ import { BrowserModule } from '@angular/platform-browser';
33
import { RouterModule, Routes } from '@angular/router';
44
import { HttpClientModule } from '@angular/common/http';
55
import { environment } from '../environments/environment';
6-
import { NgxJsonapiModule, JSONAPI_RIPPER_SERVICE, JSONAPI_STORE_SERVICE } from 'ngx-jsonapi';
6+
import { NgxJsonapiModule, JSONAPI_RIPPER_SERVICE, JSONAPI_STORE_SERVICE, StoreService, JsonRipper } from 'ngx-jsonapi';
77

88
import { AppComponent } from './app.component';
99
import { AuthorsService } from './authors/authors.service';
1010
import { BooksService } from './books/books.service';
1111
import { PhotosService } from './photos/photos.service';
1212
import { SharedModule } from './shared/shared.module';
1313

14-
import { StoreService } from 'ngx-jsonapi/sources/store.service';
15-
import { JsonRipper } from 'ngx-jsonapi/services/json-ripper';
16-
1714
const appRoutes: Routes = [
1815
{
1916
path: '',

demo/app/authors/components/author.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { BooksService } from '../../books/books.service';
77

88
@Component({
99
selector: 'demo-author',
10+
standalone: false,
1011
templateUrl: './author.component.html'
1112
})
1213
export class AuthorComponent {

demo/app/authors/components/authors.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import { Photo } from './../../../../src/tests/factories/photos.service';
21
import { BooksService } from './../../books/books.service';
32
import { Component } from '@angular/core';
4-
import { DocumentCollection } from 'ngx-jsonapi';
3+
import { DocumentCollection, Photo } from 'ngx-jsonapi';
54
import { AuthorsService, Author } from './../authors.service';
65
import { ActivatedRoute } from '@angular/router';
76

87
@Component({
98
selector: 'demo-authors',
9+
standalone: false,
1010
templateUrl: './authors.component.html'
1111
})
1212
export class AuthorsComponent {

demo/app/books/components/book.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { PhotosService } from '../../photos/photos.service';
77

88
@Component({
99
selector: 'demo-book',
10+
standalone: false,
1011
templateUrl: './book.component.html'
1112
})
1213
export class BookComponent {

demo/app/books/components/books.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { Observable } from 'rxjs';
88

99
@Component({
1010
selector: 'demo-books',
11+
standalone: false,
1112
templateUrl: './books.component.html'
1213
})
1314
export class BooksComponent {

demo/app/photos/photos.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Photo } from './photos.service';
44

55
@Component({
66
selector: 'demo-photos',
7+
standalone: false,
78
templateUrl: './photos.component.html'
89
})
910
export class PhotosComponent {

demo/app/shared/collection-info.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
import { Component, Input } from '@angular/core';
22
import { DocumentCollection } from 'ngx-jsonapi';
3+
34
@Component({
45
selector: 'demo-collection-info',
6+
standalone: false,
57
templateUrl: './collection-info.component.html'
68
})
79
export class CollectionInfoComponent {

0 commit comments

Comments
 (0)