Skip to content

Commit 61e5f7c

Browse files
authored
angular 20, package upgrade and code improvement (#17)
* angular 20, package upgrade and code improvement * YML FILE UPDATE * Update prod.yml * fixes formateing issue and package upgrade
1 parent 9a9d2d3 commit 61e5f7c

Some content is hidden

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

41 files changed

+1402
-1590
lines changed

.github/workflows/prod.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020

2121
steps:
2222
- name: 🚚 Get latest code
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

25-
- name: Use Node.js 20
26-
uses: actions/setup-node@v3
25+
- name: Use Node.js 22
26+
uses: actions/setup-node@v4
2727
with:
28-
node-version: '20.x'
28+
node-version: '22'
2929

3030
- name: 🔨 Build Project
3131
run: |
@@ -37,7 +37,8 @@ jobs:
3737
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
3838
# ARGS: "-rltgoDzvO --delete"
3939
SOURCE: 'dist/'
40-
REMOTE_HOST: 192.34.62.123
41-
REMOTE_USER: mantis
42-
TARGET: public_html/angular/free
40+
REMOTE_HOST: 145.79.3.173
41+
REMOTE_USER: u965251139
42+
REMOTE_PORT: "65002"
43+
TARGET: domains/mantisdashboard.com/public_html/angular/free
4344
EXCLUDE: '/node_modules/'

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"tabWidth": 2,
77
"useTabs": false,
88
"htmlWhitespaceSensitivity": "ignore",
9-
"bracketSameLine": false
9+
"bracketSameLine": false,
10+
"endOfLine": "lf"
1011
}

package.json

Lines changed: 30 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mantis-free-angular-admin-template",
3-
"version": "5.1.0",
3+
"version": "5.2.0",
44
"author": "CodedThemes",
55
"license": "MIT",
66
"scripts": {
@@ -16,43 +16,42 @@
1616
},
1717
"private": false,
1818
"dependencies": {
19-
"@angular/animations": "20.0.0-next.8",
20-
"@angular/cdk": "19.2.16",
21-
"@angular/common": "20.0.0-next.8",
22-
"@angular/compiler": "20.0.0-next.8",
23-
"@angular/core": "20.0.0-next.8",
24-
"@angular/forms": "20.0.0-next.8",
25-
"@angular/platform-browser": "20.0.0-next.8",
26-
"@angular/platform-browser-dynamic": "20.0.0-next.8",
27-
"@angular/router": "20.0.0-next.8",
28-
"@ant-design/icons-angular": "19.0.0",
29-
"@ng-bootstrap/ng-bootstrap": "18.0.0",
19+
"@angular/animations": "20.0.5",
20+
"@angular/cdk": "20.0.4",
21+
"@angular/common": "20.0.5",
22+
"@angular/compiler": "20.0.5",
23+
"@angular/core": "20.0.5",
24+
"@angular/forms": "20.0.5",
25+
"@angular/platform-browser": "20.0.5",
26+
"@angular/platform-browser-dynamic": "20.0.5",
27+
"@angular/router": "20.0.5",
28+
"@ant-design/icons-angular": "20.0.0",
29+
"@ng-bootstrap/ng-bootstrap": "19.0.0",
3030
"@popperjs/core": "2.11.8",
3131
"apexcharts": "4.7.0",
32-
"bootstrap": "5.3.6",
33-
"ng-apexcharts": "1.15.0",
32+
"bootstrap": "5.3.7",
33+
"ng-apexcharts": "1.16.0",
3434
"ngx-scrollbar": "18.0.0",
3535
"rxjs": "~7.8.2",
3636
"tslib": "2.8.1",
37-
"zone.js": "~0.15.0"
37+
"zone.js": "~0.15.1"
3838
},
3939
"devDependencies": {
40-
"@angular-devkit/build-angular": "20.0.0-next.8",
41-
"@angular-eslint/builder": "19.4.0",
42-
"@angular-eslint/eslint-plugin": "19.4.0",
43-
"@angular-eslint/eslint-plugin-template": "19.4.0",
44-
"@angular-eslint/schematics": "19.4.0",
45-
"@angular-eslint/template-parser": "19.4.0",
46-
"@angular/cli": "20.0.0-next.8",
47-
"@angular/compiler-cli": "20.0.0-next.8",
48-
"@eslint/eslintrc": "^3.3.1",
49-
"@eslint/js": "^9.27.0",
50-
"@types/jasmine": "~5.1.8",
51-
"@types/node": "22.15.21",
52-
"@typescript-eslint/eslint-plugin": "8.32.1",
53-
"@typescript-eslint/parser": "8.32.1",
54-
"eslint": "9.27.0",
55-
"prettier": "3.5.3",
40+
"@angular-devkit/build-angular": "20.0.4",
41+
"@angular-eslint/builder": "20.1.1",
42+
"@angular-eslint/eslint-plugin": "20.1.1",
43+
"@angular-eslint/eslint-plugin-template": "20.1.1",
44+
"@angular-eslint/schematics": "20.1.1",
45+
"@angular-eslint/template-parser": "20.1.1",
46+
"@angular/cli": "20.0.4",
47+
"@angular/compiler-cli": "20.0.5",
48+
"@eslint/eslintrc": "3.3.1",
49+
"@eslint/js": "9.29.0",
50+
"@types/node": "24.0.4",
51+
"@typescript-eslint/eslint-plugin": "8.35.0",
52+
"@typescript-eslint/parser": "8.35.0",
53+
"eslint": "9.29.0",
54+
"prettier": "3.6.1",
5655
"typescript": "5.8.3"
5756
},
5857
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"

src/app/app.component.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// This file is intentionally left empty to allow customers to add custom CSS if needed.

src/app/app.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// angular import
22
import { Component } from '@angular/core';
33
import { RouterOutlet } from '@angular/router';
4+
5+
// project import
46
import { SpinnerComponent } from './theme/shared/components/spinner/spinner.component';
57

68
@Component({

src/app/demo/admin-panel/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Please continue reading below to explore the features of the Pro version:
66

77
Elevate your project with the Pro Version of the <b>Mantis Admin Panel!</b> Built to cater to modern web applications, the Pro version is loaded with advanced features, intuitive design elements, and dynamic tools that ensure seamless functionality.
88

9-
This page (folder) is a sneak peek into the premium features available in <b>version 2.2.0</b>. Upgrade to the Pro version to unlock exclusive pages and components that will take your project to the next level.
9+
This page (folder) is a sneak peek into the premium features available in <b>version 2.3.0</b>. Upgrade to the Pro version to unlock exclusive pages and components that will take your project to the next level.
1010

1111
## Included in the Pro Version:
1212

src/app/demo/application/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Please continue reading below to explore the features of the Pro version:
66

77
Elevate your project with the Pro Version of the <b>Mantis Admin Panel!</b> Built to cater to modern web applications, the Pro version is loaded with advanced features, intuitive design elements, and dynamic tools that ensure seamless functionality.
88

9-
This page (folder) is a sneak peek into the premium features available in <b>version 2.2.0</b>. Upgrade to the Pro version to unlock exclusive pages and components that will take your project to the next level.
9+
This page (folder) is a sneak peek into the premium features available in <b>version 2.3.0</b>. Upgrade to the Pro version to unlock exclusive pages and components that will take your project to the next level.
1010

1111
## Included in the Pro Version:
1212

src/app/demo/chart/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Please continue reading below to explore the features of the Pro version:
66

77
Elevate your project with the Pro Version of the <b>Mantis Admin Panel!</b> Built to cater to modern web applications, the Pro version is loaded with advanced features, intuitive design elements, and dynamic tools that ensure seamless functionality.
88

9-
This page (folder) is a sneak peek into the premium features available in <b>version 2.2.0</b>. Upgrade to the Pro version to unlock exclusive pages and components that will take your project to the next level.
9+
This page (folder) is a sneak peek into the premium features available in <b>version 2.3.0</b>. Upgrade to the Pro version to unlock exclusive pages and components that will take your project to the next level.
1010

1111
## Included in the Pro Version:
1212

src/app/demo/component/advance-component/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Please continue reading below to explore the features of the Pro version:
66

77
Elevate your project with the Pro Version of the <b>Mantis Admin Panel!</b> Built to cater to modern web applications, the Pro version is loaded with advanced features, intuitive design elements, and dynamic tools that ensure seamless functionality.
88

9-
This page (folder) is a sneak peek into the premium features available in <b>version 2.2.0</b>. Upgrade to the Pro version to unlock exclusive pages and components that will take your project to the next level.
9+
This page (folder) is a sneak peek into the premium features available in <b>version 2.3.0</b>. Upgrade to the Pro version to unlock exclusive pages and components that will take your project to the next level.
1010

1111
## Included in the Pro Version:
1212

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// This file is intentionally left empty to allow customers to add custom CSS if needed.

0 commit comments

Comments
 (0)