Skip to content

Commit 447c85c

Browse files
authored
🚀Angular 15 upgrade 🚀 (#408)
* update node * upgrade to ng 15 * upgrade readme
1 parent 22cca89 commit 447c85c

File tree

35 files changed

+1615
-1787
lines changed

35 files changed

+1615
-1787
lines changed

‎.tool-versions‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 16.14.2
1+
nodejs 18.14.1

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121

2222
# AngularSpree
2323

24-
**AngularSpree is an Angular(14) e-commerce application.**
24+
**AngularSpree is an Angular(15) e-commerce application.**
2525

26-
It is a plug and play frontend application for [AviaCommerce API](https://www.aviacommerce.org/docs/apis-getting-started.html) built using Angular(14), Redux, Observables & ImmutableJs.
26+
It is a plug and play frontend application for [AviaCommerce API](https://www.aviacommerce.org/docs/apis-getting-started.html) built using Angular(15), Redux, Observables & ImmutableJs.
2727

2828
**It is not limited to aviacommerce and can also be used with any e-commerce solution with an api interface. Such as spreecommerce, magento, opencart etc.**
2929

‎package.json‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@
3333
"private": true,
3434
"dependencies": {
3535
"@angular-slider/ngx-slider": "^2.0.3",
36-
"@angular/animations": "^14.0.6",
37-
"@angular/common": "^14.0.6",
38-
"@angular/compiler": "^14.0.6",
39-
"@angular/core": "^14.0.6",
40-
"@angular/forms": "^14.0.6",
41-
"@angular/platform-browser": "^14.0.6",
42-
"@angular/platform-browser-dynamic": "^14.0.6",
43-
"@angular/platform-server": "^14.0.6",
36+
"@angular/animations": "^15.1.5",
37+
"@angular/common": "^15.1.5",
38+
"@angular/compiler": "^15.1.5",
39+
"@angular/core": "^15.1.5",
40+
"@angular/forms": "^15.1.5",
41+
"@angular/platform-browser": "^15.1.5",
42+
"@angular/platform-browser-dynamic": "^15.1.5",
43+
"@angular/platform-server": "^15.1.5",
4444
"@angular/pwa": "^0.10.6",
45-
"@angular/router": "^14.0.6",
46-
"@angular/service-worker": "^14.0.6",
45+
"@angular/router": "^15.1.5",
46+
"@angular/service-worker": "^15.1.5",
4747
"@ngrx/core": "^1.2.0",
4848
"@ngrx/effects": "^10.0.1",
4949
"@ngrx/entity": "^10.0.1",
@@ -69,7 +69,7 @@
6969
"ng-lazyload-image": "^7.0.1",
7070
"ng2-ui-auth": "^9.2.0",
7171
"ngx-bootstrap": "^6.2.0",
72-
"ngx-toastr": "^11.2.0",
72+
"ngx-toastr": "^16.0.2",
7373
"picturefill": "^3.0.3",
7474
"reselect": "^4.0.0",
7575
"rxjs": "~6.5.3",
@@ -80,10 +80,10 @@
8080
"zone.js": "~0.11.4"
8181
},
8282
"devDependencies": {
83-
"@angular-devkit/build-angular": "^14.0.6",
84-
"@angular/cli": "^14.0.6",
85-
"@angular/compiler-cli": "^14.0.6",
86-
"@angular/language-service": "^14.0.6",
83+
"@angular-devkit/build-angular": "^15.1.6",
84+
"@angular/cli": "^15.1.6",
85+
"@angular/compiler-cli": "^15.1.5",
86+
"@angular/language-service": "^15.1.5",
8787
"@angularclass/hmr": "^2.1.3",
8888
"@compodoc/compodoc": "^1.1.6",
8989
"@ngrx/schematics": "^9.0.0",
@@ -109,7 +109,7 @@
109109
"sw-precache": "^5.2.1",
110110
"ts-node": "~7.0.1",
111111
"tslint": "~6.1.0",
112-
"typescript": "4.6.4",
112+
"typescript": "4.9.5",
113113
"webpack-cli": "^3.1.2"
114114
},
115115
"description": "Spree for Angular2",

‎src/app/app.component.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
}
99

1010
.issearchopen :host ::ng-deep .main-body {
11-
@media screen and(min-width: 320px) and(max-width: 768px) {
11+
@media screen and (min-width: 320px) and (max-width: 768px) {
1212
margin-top: 48px;
1313
}
1414
}

‎src/app/app.module.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ import { AddressService } from './checkout/address/services/address.service';
3838
],
3939
imports: [
4040
RouterModule.forRoot(routes, {
41-
preloadingStrategy: AppPreloadingStrategy,
42-
// initialNavigation: 'enabled',
43-
relativeLinkResolution: 'legacy'
41+
preloadingStrategy: AppPreloadingStrategy
4442
}),
4543
StoreModule.forRoot(reducers, { metaReducers, runtimeChecks: { strictStateImmutability: true, strictActionImmutability: true } }),
4644

‎src/app/auth/components/forget-password/forget-password.component.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ p {
327327
display: flex;
328328
align-items: center;
329329
padding-left: 3rem;
330-
@media screen and(min-width: 310px) and(max-width: 768px) {
330+
@media screen and (min-width: 310px) and (max-width: 768px) {
331331
padding-left: 0rem;
332332
}
333333
}

‎src/app/auth/components/login/login.component.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ p {
321321
display: flex;
322322
align-items: center;
323323
padding-left: 3rem;
324-
@media screen and(min-width: 310px) and(max-width: 768px) {
324+
@media screen and (min-width: 310px) and (max-width: 768px) {
325325
padding-left: 15px;
326326
}
327327
}

‎src/app/checkout/address/address.component.scss‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
display: inline-block;
88
border-right: 1px solid $gray-10;
99
vertical-align: top;
10-
@media screen and(min-width: 320px) and(max-width: 768px) {
10+
@media screen and (min-width: 320px) and (max-width: 768px) {
1111
min-height: auto;
1212
border-right: 0 solid $gray-10;
1313
padding: 0;
@@ -39,7 +39,7 @@
3939
display: inline-block;
4040
vertical-align: top;
4141
padding-left: 35px;
42-
@media screen and(min-width: 320px) and(max-width: 768px) {
42+
@media screen and (min-width: 320px) and (max-width: 768px) {
4343
padding: 0;
4444
}
4545
}

‎src/app/checkout/address/delivery-address/delivery-address.component.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
border-radius: 4px;
1414
position: relative;
1515

16-
@media screen and(min-width: 320px) and(max-width: 768px) {
16+
@media screen and (min-width: 320px) and (max-width: 768px) {
1717
height: auto;
1818
width: 100%;
1919
margin-right: 0px;

‎src/app/checkout/cart/cart.component.scss‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
position: relative;
44
.left {
55
padding-right: 40px;
6-
@media screen and(min-width: 320px) and(max-width: 768px) {
6+
@media screen and (min-width: 320px) and (max-width: 768px) {
77
padding: 0;
88
border-radius: 0px;
99
}
@@ -34,7 +34,7 @@
3434
background-color: $white;
3535
border-radius: 4px;
3636
box-shadow: 0px 0px 3px $gray-10;
37-
@media screen and(min-width: 320px) and(max-width: 768px) {
37+
@media screen and (min-width: 320px) and (max-width: 768px) {
3838
border-radius: 0px;
3939
padding: 0;
4040
box-shadow: none;
@@ -67,7 +67,7 @@
6767
.right {
6868
vertical-align: top;
6969
position: absolute;
70-
@media screen and(min-width: 320px) and(max-width: 768px) {
70+
@media screen and (min-width: 320px) and (max-width: 768px) {
7171
position: relative;
7272
box-shadow: none;
7373
padding: 0 15px;

0 commit comments

Comments
 (0)