Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .browserslistrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@
# For additional information regarding the format and rule options, please see:
# https://github.com/browserslist/browserslist#queries

# Angular 19 - Modern browsers only (ES2015+)
# You can see what browsers were selected by your queries by running:
# npx browserslist

> 0.5%
last 2 versions
Firefox ESR
not dead
not IE 9-11 # For IE 9-11 support, remove 'not'.
not IE 11
not Android < 5
not Safari < 12
not ChromeAndroid < 80
not Chrome < 80
not Firefox < 78
not Edge < 80
not KaiOS < 3
not op_mini all
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

216 changes: 0 additions & 216 deletions .eslintrc.json

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

## [2.6.0] - 2025-09-24

- Migrate to angular 19

## [2.5.0] - 2025-09-16

- Migrate to angular 18
Expand Down
18 changes: 8 additions & 10 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser-esbuild",
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "demo-dist",
"index": "demo/index.html",
"main": "demo/main.ts",
"browser": "demo/main.ts",
"tsConfig": "demo/tsconfig.app.json",
"polyfills": "demo/polyfills.ts",
"polyfills": [
"demo/polyfills.ts"
],
"assets": [
"demo/assets",
"demo/favicon.ico"
],
"styles": [],
"scripts": [],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
Expand All @@ -42,8 +42,6 @@
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "demo/environments/environment.ts",
Expand All @@ -57,18 +55,18 @@
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "ngx-jsonapi:build"
"buildTarget": "ngx-jsonapi:build"
},
"configurations": {
"production": {
"browserTarget": "ngx-jsonapi:build:production"
"buildTarget": "ngx-jsonapi:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ngx-jsonapi:build"
"buildTarget": "ngx-jsonapi:build"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions build/demo-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import * as path from 'path';
import * as fs from 'fs';
import { cmd } from './util';

/* eslint-disable @typescript-eslint/no-var-requires,no-var */
var ghpages: any = require('gh-pages');
/* eslint-disable @typescript-eslint/no-var-requires */
var ghpages: typeof import('gh-pages') = require('gh-pages');
var dir: string = path.resolve(path.join(__dirname, '../', 'demo-dist'));

// CNAME FILE
cmd('mkdir ', [`-p ${dir}`]);
fs.writeFile(`${dir}/CNAME`, 'ngx-jsonapi.reyesoft.com', function(err: any) {
fs.writeFile(`${dir}/CNAME`, 'ngx-jsonapi.reyesoft.com', function(err: NodeJS.ErrnoException | null) {
if (err) {
return console.log(err);
}
Expand All @@ -24,4 +24,4 @@ ghpages.publish(dir, {
console.log('gh-pages: ', message);
}
});
/* eslint-enable @typescript-eslint/no-var-requires,no-var */
/* eslint-enable @typescript-eslint/no-var-requires */
Loading