Skip to content

Commit ac3d054

Browse files
authored
upgrading to ng19 (#653)
* upgrading to ng19 * change log and version bump * npm algin * lint fix * fixing e2e * fixing demo build script * update lib deps to latest * fixig package.json * setting version to stable
1 parent b9fd252 commit ac3d054

36 files changed

+6617
-5813
lines changed

.eslintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
"@angular-eslint/no-output-on-prefix": [
4242
"off"
4343
],
44+
"@angular-eslint/prefer-standalone": [
45+
"warn"
46+
],
4447
"no-console": [
4548
"error",
4649
{

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Use Node.js
2424
uses: actions/setup-node@v1
2525
with:
26-
node-version: 18
26+
node-version: 22
2727

2828
- name: install deps
2929
run: npm ci

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
[18.0.0] (2025-02-14)
5+
6+
### Improvements
7+
- Update to Angular 19 ([643](https://github.com/vlio20/angular-datepicker/pull/653)) closes [#638](https://github.com/vlio20/angular-datepicker/issues/650)
8+
49
# [18.0.0] (2024-06-20)
510

611
### Improvements

angular.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@
99
"projectType": "application",
1010
"architect": {
1111
"build": {
12-
"builder": "@angular-devkit/build-angular:browser",
12+
"builder": "@angular-devkit/build-angular:application",
1313
"options": {
14-
"outputPath": "dist",
14+
"outputPath": {
15+
"base": "dist"
16+
},
1517
"index": "src/index.html",
16-
"main": "src/main.ts",
1718
"tsConfig": "tsconfig.app.json",
18-
"polyfills": "src/polyfills.ts",
19+
"polyfills": [
20+
"src/polyfills.ts"
21+
],
1922
"assets": [
2023
"src/assets",
2124
"src/favicon.ico"
@@ -25,12 +28,11 @@
2528
"node_modules/@angular/cdk/overlay-prebuilt.css"
2629
],
2730
"scripts": [],
28-
"vendorChunk": true,
2931
"extractLicenses": false,
30-
"buildOptimizer": false,
3132
"sourceMap": true,
3233
"optimization": false,
33-
"namedChunks": true
34+
"namedChunks": true,
35+
"browser": "src/main.ts"
3436
},
3537
"configurations": {
3638
"production": {
@@ -45,8 +47,6 @@
4547
"sourceMap": false,
4648
"namedChunks": false,
4749
"extractLicenses": true,
48-
"vendorChunk": false,
49-
"buildOptimizer": true,
5050
"fileReplacements": [
5151
{
5252
"replace": "src/environments/environment.ts",

build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const fs = require('fs').promises;
22

33
async function setGa() {
4-
const html = await fs.readFile('./dist/index.html', 'utf-8');
4+
const html = await fs.readFile('./dist/browser/index.html', 'utf-8');
55
const newHtml = html.replace('<!--GA-->', `
66
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-86826463-1"></script>
77
<script>

0 commit comments

Comments
 (0)