Skip to content

Commit aff0b20

Browse files
authored
package upgrade done (#23) (#24)
1 parent a6fd09d commit aff0b20

115 files changed

Lines changed: 9286 additions & 14374 deletions

File tree

Some content is hidden

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

.github/workflows/prod.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,24 @@ jobs:
2222
- name: 🚚 Get latest code
2323
uses: actions/checkout@v2
2424

25-
- name: Install Node.js 18
25+
- name: Install Node.js 20
2626
uses: actions/setup-node@v1
2727
with:
28-
node-version: "18.x"
28+
node-version: '20.x'
2929

3030
- name: 🔨 Build Project
3131
run: |
32-
npm i --legacy-peer-deps
33-
npm run build-prod
32+
yarn
33+
yarn build-prod
3434
3535
- name: 📂 Deploy to Server
3636
uses: easingthemes/ssh-deploy@v2.1.5
3737
env:
3838
SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }}
3939
# ARGS: "-rltgoDzvO --delete"
40-
SOURCE: "dist/"
40+
SOURCE: 'dist/'
4141
REMOTE_HOST: 217.21.92.35
4242
REMOTE_USER: u778408432
43-
REMOTE_PORT: "65002"
43+
REMOTE_PORT: '65002'
4444
TARGET: domains/codedthemes.com/public_html/demos/admin-templates/datta-able/angular/free
45-
EXCLUDE: "/node_modules/"
45+
EXCLUDE: '/node_modules/'

.prettierrc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"bracketSpacing": true,
3+
"printWidth": 140,
4+
"singleQuote": true,
5+
"trailingComma": "none",
6+
"tabWidth": 2,
7+
"useTabs": false,
8+
"htmlWhitespaceSensitivity": "ignore",
9+
"bracketSameLine": false
10+
}

angular.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@
2525
"tsConfig": "tsconfig.app.json",
2626
"inlineStyleLanguage": "scss",
2727
"assets": ["src/favicon.ico", "src/assets", "src/fake-data"],
28-
"styles": [
29-
"node_modules/bootstrap/scss/bootstrap.scss",
30-
"src/styles.scss"
31-
],
28+
"styles": ["node_modules/bootstrap/scss/bootstrap.scss", "src/styles.scss"],
3229
"scripts": ["node_modules/apexcharts/dist/apexcharts.min.js"]
3330
},
3431
"configurations": {

karma.conf.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33

44
module.exports = function (config) {
55
config.set({
6-
basePath: "",
7-
frameworks: ["jasmine", "@angular-devkit/build-angular"],
6+
basePath: '',
7+
frameworks: ['jasmine', '@angular-devkit/build-angular'],
88
plugins: [
9-
require("karma-jasmine"),
10-
require("karma-chrome-launcher"),
11-
require("karma-jasmine-html-reporter"),
12-
require("karma-coverage"),
13-
require("@angular-devkit/build-angular/plugins/karma"),
9+
require('karma-jasmine'),
10+
require('karma-chrome-launcher'),
11+
require('karma-jasmine-html-reporter'),
12+
require('karma-coverage'),
13+
require('@angular-devkit/build-angular/plugins/karma')
1414
],
1515
client: {
1616
jasmine: {
@@ -19,23 +19,23 @@ module.exports = function (config) {
1919
// for example, you can disable the random execution with `random: false`
2020
// or set a specific seed with `seed: 4321`
2121
},
22-
clearContext: false, // leave Jasmine Spec Runner output visible in browser
22+
clearContext: false // leave Jasmine Spec Runner output visible in browser
2323
},
2424
jasmineHtmlReporter: {
25-
suppressAll: true, // removes the duplicated traces
25+
suppressAll: true // removes the duplicated traces
2626
},
2727
coverageReporter: {
28-
dir: require("path").join(__dirname, "./coverage/datta-able-free"),
29-
subdir: ".",
30-
reporters: [{ type: "html" }, { type: "text-summary" }],
28+
dir: require('path').join(__dirname, './coverage/datta-able-free'),
29+
subdir: '.',
30+
reporters: [{ type: 'html' }, { type: 'text-summary' }]
3131
},
32-
reporters: ["progress", "kjhtml"],
32+
reporters: ['progress', 'kjhtml'],
3333
port: 9876,
3434
colors: true,
3535
logLevel: config.LOG_INFO,
3636
autoWatch: true,
37-
browsers: ["Chrome"],
37+
browsers: ['Chrome'],
3838
singleRun: false,
39-
restartOnFileChange: true,
39+
restartOnFileChange: true
4040
});
4141
};

package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "datta-able-free-angular-admin-template",
3-
"version": "5.0.0",
3+
"version": "5.1.0",
44
"author": "CodedThemes",
55
"scripts": {
66
"ng": "ng",
@@ -12,40 +12,40 @@
1212
},
1313
"private": false,
1414
"dependencies": {
15-
"@angular/animations": "^18.0.0-next.3",
16-
"@angular/cdk": "^18.0.0-next.3",
17-
"@angular/common": "^18.0.0-next.3",
18-
"@angular/compiler": "^18.0.0-next.3",
19-
"@angular/core": "^18.0.0-next.3",
20-
"@angular/forms": "^18.0.0-next.3",
21-
"@angular/localize": "^18.0.0-next.3",
22-
"@angular/platform-browser": "^18.0.0-next.3",
23-
"@angular/platform-browser-dynamic": "^18.0.0-next.3",
24-
"@angular/router": "^18.0.0-next.3",
25-
"@ng-bootstrap/ng-bootstrap": "^16.0.0",
15+
"@angular/animations": "^18.0.5",
16+
"@angular/cdk": "^18.0.5",
17+
"@angular/common": "^18.0.5",
18+
"@angular/compiler": "^18.0.5",
19+
"@angular/core": "^18.0.5",
20+
"@angular/forms": "^18.0.5",
21+
"@angular/localize": "^18.0.5",
22+
"@angular/platform-browser": "^18.0.5",
23+
"@angular/platform-browser-dynamic": "^18.0.5",
24+
"@angular/router": "^18.0.5",
25+
"@ng-bootstrap/ng-bootstrap": "^17.0.0",
2626
"@popperjs/core": "^2.11.8",
27-
"apexcharts": "^3.49.0",
27+
"apexcharts": "^3.49.2",
2828
"bootstrap": "^5.3.3",
29-
"ng-apexcharts": "^1.10.0",
30-
"ngx-scrollbar": "^13.0.3",
29+
"ng-apexcharts": "^1.11.0",
30+
"ngx-scrollbar": "^15.0.1",
3131
"rxjs": "~7.8.1",
3232
"screenfull": "^6.0.2",
33-
"tslib": "^2.6.2",
34-
"zone.js": "~0.14.4"
33+
"tslib": "^2.6.3",
34+
"zone.js": "~0.14.7"
3535
},
3636
"devDependencies": {
37-
"@angular-devkit/build-angular": "^18.0.0-next.3",
38-
"@angular/cli": "~18.0.0-next.3",
39-
"@angular/compiler-cli": "^18.0.0-next.3",
37+
"@angular-devkit/build-angular": "^18.0.6",
38+
"@angular/cli": "~18.0.6",
39+
"@angular/compiler-cli": "^18.0.5",
4040
"@types/jasmine": "~5.1.4",
41-
"@types/node": "^20.12.7",
41+
"@types/node": "^20.14.9",
4242
"jasmine-core": "~5.1.2",
4343
"karma": "~6.4.3",
4444
"karma-chrome-launcher": "~3.2.0",
4545
"karma-coverage": "~2.2.1",
4646
"karma-jasmine": "~5.1.0",
4747
"karma-jasmine-html-reporter": "~2.1.0",
48-
"prettier": "3.2.5",
48+
"prettier": "3.3.2",
4949
"typescript": "5.4"
5050
}
5151
}

src/app/app-routing.module.ts

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -11,62 +11,48 @@ const routes: Routes = [
1111
{
1212
path: '',
1313
redirectTo: 'dashboard',
14-
pathMatch: 'full',
14+
pathMatch: 'full'
1515
},
1616
{
1717
path: 'dashboard',
18-
loadComponent: () => import('./demo/dashboard/dashboard.component'),
18+
loadComponent: () => import('./demo/dashboard/dashboard.component')
1919
},
2020
{
2121
path: 'basic',
22-
loadChildren: () =>
23-
import('./demo/ui-elements/ui-basic/ui-basic.module').then(
24-
(m) => m.UiBasicModule,
25-
),
22+
loadChildren: () => import('./demo/ui-elements/ui-basic/ui-basic.module').then((m) => m.UiBasicModule)
2623
},
2724
{
2825
path: 'forms',
29-
loadChildren: () =>
30-
import('./demo/pages/form-elements/form-elements.module').then(
31-
(m) => m.FormElementsModule,
32-
),
26+
loadChildren: () => import('./demo/pages/form-elements/form-elements.module').then((m) => m.FormElementsModule)
3327
},
3428
{
3529
path: 'tables',
36-
loadChildren: () =>
37-
import('./demo/pages/tables/tables.module').then(
38-
(m) => m.TablesModule,
39-
),
30+
loadChildren: () => import('./demo/pages/tables/tables.module').then((m) => m.TablesModule)
4031
},
4132
{
4233
path: 'apexchart',
43-
loadComponent: () =>
44-
import('./demo/chart/apex-chart/apex-chart.component'),
34+
loadComponent: () => import('./demo/chart/apex-chart/apex-chart.component')
4535
},
4636
{
4737
path: 'sample-page',
48-
loadComponent: () =>
49-
import('./demo/extra/sample-page/sample-page.component'),
50-
},
51-
],
38+
loadComponent: () => import('./demo/extra/sample-page/sample-page.component')
39+
}
40+
]
5241
},
5342
{
5443
path: '',
5544
component: GuestComponent,
5645
children: [
5746
{
5847
path: 'auth',
59-
loadChildren: () =>
60-
import('./demo/pages/authentication/authentication.module').then(
61-
(m) => m.AuthenticationModule,
62-
),
63-
},
64-
],
65-
},
48+
loadChildren: () => import('./demo/pages/authentication/authentication.module').then((m) => m.AuthenticationModule)
49+
}
50+
]
51+
}
6652
];
6753

6854
@NgModule({
6955
imports: [RouterModule.forRoot(routes)],
70-
exports: [RouterModule],
56+
exports: [RouterModule]
7157
})
7258
export class AppRoutingModule {}

src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { NavigationEnd, Router } from '@angular/router';
44
@Component({
55
selector: 'app-root',
66
templateUrl: './app.component.html',
7-
styleUrls: ['./app.component.scss'],
7+
styleUrls: ['./app.component.scss']
88
})
99
export class AppComponent implements OnInit {
1010
title = 'datta-able';

src/app/app.module.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,10 @@ import { ToggleFullScreenDirective } from './theme/shared/components/full-screen
4040
NavGroupComponent,
4141
NavItemComponent,
4242
NavSearchComponent,
43-
ToggleFullScreenDirective,
44-
],
45-
imports: [
46-
BrowserModule,
47-
AppRoutingModule,
48-
FormsModule,
49-
ReactiveFormsModule,
50-
SharedModule,
51-
BrowserAnimationsModule,
43+
ToggleFullScreenDirective
5244
],
45+
imports: [BrowserModule, AppRoutingModule, FormsModule, ReactiveFormsModule, SharedModule, BrowserAnimationsModule],
5346
providers: [NavigationItem],
54-
bootstrap: [AppComponent],
47+
bootstrap: [AppComponent]
5548
})
5649
export class AppModule {}

0 commit comments

Comments
 (0)