Skip to content

Commit 2efff14

Browse files
committed
feat: upgrade to angular 19
Signed-off-by: Stefano Cappa <stefano.cappa.ks89@gmail.com>
1 parent 87f7764 commit 2efff14

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+6401
-3938
lines changed

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
paths-ignore:
66
- 'node_modules'
7-
- 'examples/angular-cli-18/node_modules'
7+
- 'examples/angular-cli-19/node_modules'
88
- 'examples/angular-cli-material/node_modules'
99
- 'examples/universal/node_modules'
1010

@@ -36,7 +36,7 @@ jobs:
3636
- name: Installing all deps
3737
run: |
3838
npm ci
39-
cd examples/angular-cli-18
39+
cd examples/angular-cli-19
4040
npm ci
4141
cd ../..
4242
cd examples/angular-cli-material
@@ -54,7 +54,7 @@ jobs:
5454
5555
- name: Building angular-cli example
5656
run: |
57-
cd examples/angular-cli-18
57+
cd examples/angular-cli-19
5858
npm run build:dev
5959
npm run build:prod
6060
cd ../..

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ docs/
5151
**/coverage/
5252

5353
# Examples
54-
examples/angular-cli-18/dist/
54+
examples/angular-cli-19/dist/
5555
examples/angular-cli-material/dist/
5656
examples/universal/dist/
5757
examples/universal/out-tsc/

.prettierignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
**/node_modules/
1010
reports/
1111

12-
examples/angular-cli-18/dist/
12+
examples/angular-cli-19/dist/
1313
examples/angular-cli-material/dist/
1414
examples/universal/dist/
1515
examples/universal/server.ts

CONTRIBUTING.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Every time you'll run `npm install` inside an example's folder, you must rebuild
1010
2. remove all `node_modules` and temp folders with compiled files (if necessary)
1111
3. `npm install` (from the root of this project)
1212
4. `npm run clean:all`
13-
5. `cd examples/angular-cli-18`
13+
5. `cd examples/angular-cli-19`
1414
6. `npm install`
1515
7. `cd ../..`
1616
8. `cd examples/universal`
@@ -31,8 +31,8 @@ Every time you'll run `npm install` inside an example's folder, you must rebuild
3131
6. `cd dist/angular-modal-gallery/browser && lite-server` => if everything is ok (also in browser's console), kill the process and go to the next step
3232
7. `cd ../../../../..`
3333

34-
# C. Run angular-cli-18 example
35-
1. `cd examples/angular-cli-18`
34+
# C. Run angular-cli-19 example
35+
1. `cd examples/angular-cli-19`
3636
2. `npm start` => if everything is ok (also in browser's console), kill the process and go to the next step
3737
3. `npm run build:dev`
3838
4. `cd dist/angular-cli/browser && lite-server` => if everything is ok (also in browser's console), kill the process and go to the next step

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Despite its name, this library is more than for modal galleries, because I'm int
128128
- configurable side-previews (visible only on bigger screen)
129129
- configurable dots navigation (visible only on bigger screen)
130130
- configurable previews (visible only on bigger screen)
131-
- and many more... (check the official documentation [HERE](https://ks89.github.io/angular-modal-gallery-2024-v12.github.io/))
131+
- and many more... (check the official documentation [HERE](https://ks89.github.io/angular-modal-gallery-2024-v13.github.io/))
132132

133133
<br>
134134

@@ -138,7 +138,7 @@ Despite its name, this library is more than for modal galleries, because I'm int
138138
- `npm install --save @angular/cdk`
139139

140140
From version @ks89/angular-modal-gallery >= 5.0.0, **font-awesome isn't a mandatory dependency**.
141-
You can use all default features without font-awesome. For more info, check official [documentation website](https://ks89.github.io/angular-modal-gallery-2024-v12.github.io/).
141+
You can use all default features without font-awesome. For more info, check official [documentation website](https://ks89.github.io/angular-modal-gallery-2024-v13.github.io/).
142142
From version @ks89/angular-modal-gallery >= 11.0.0, **mousetrap and hammerjs have been removed as dependencies**.
143143

144144
<br>
@@ -147,7 +147,7 @@ From version @ks89/angular-modal-gallery >= 11.0.0, **mousetrap and hammerjs hav
147147

148148
*Image loading could be slow, because this website is hosted on Github pages*
149149

150-
[OFFICIAL DOCUMENTATION WEBSITE](https://ks89.github.io/angular-modal-gallery-2024-v12.github.io/)
150+
[OFFICIAL DOCUMENTATION WEBSITE](https://ks89.github.io/angular-modal-gallery-2024-v13.github.io/)
151151

152152
<br>
153153

@@ -179,6 +179,7 @@ From version @ks89/angular-modal-gallery >= 11.0.0, **mousetrap and hammerjs hav
179179

180180
**More than 100 releases in two years**, and more to come... :)
181181

182+
- 22/12/2024 - 13.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
182183
- 31/05/2024 - 12.0.0 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
183184
- 31/01/2024 - 11.1.2 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
184185
- 09/12/2023 - 11.1.1 - @ks89/angular-modal-gallery - [HERE](https://github.com/Ks89/angular-modal-gallery/releases)
@@ -219,7 +220,7 @@ From version @ks89/angular-modal-gallery >= 11.0.0, **mousetrap and hammerjs hav
219220
1. Question: **How can I remove images using DELETE button without issues?**<br>
220221
**Answer**: **You cannot change the input image array. Instead, you should reassign it with a newer array** without the deleted element.
221222
In other words, **you must think in a functional way**, without changing the input array of images.
222-
For more information check this official demo [HERE](https://ks89.github.io/angular-modal-gallery-2024-v12.github.io/demo/buttons-strategies).
223+
For more information check this official demo [HERE](https://ks89.github.io/angular-modal-gallery-2024-v13.github.io/demo/buttons-strategies).
223224

224225
<br>
225226

SECURITY.MD

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ Only these versions are supported with security updates:
1717
| 9.x.x | :x: |
1818
| 10.x.x | :x: |
1919
| 11.x.x | :x: |
20-
| 12.x.x | :white_check_mark: |
20+
| 12.x.x | :x: |
21+
| 13.x.x | :white_check_mark: |
2122

2223
## Reporting a Vulnerability
2324

0 commit comments

Comments
 (0)