Skip to content

Commit d02cd7f

Browse files
authored
ran workspace formatter for all files (aviabird#331)
### Why ? - A lot of typescript files and html files were not properly formatted. ### This change addresses the need by : - - Formatting all the files using standard language formatters present in visual studio code marketplace
1 parent 0daa3ca commit d02cd7f

519 files changed

Lines changed: 7658 additions & 5450 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.

.docker/development.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ RUN chown -R app:app $HOME/*
1616
USER app
1717
WORKDIR $HOME/$APP_NAME
1818

19-
RUN npm install
19+
RUN npm install

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ e2e/*.map
2828

2929
#System Files
3030
.DS_Store
31-
Thumbs.db
31+
Thumbs.db

CHANGELOG.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@
44

55
### UI
66

7-
* **Product detail**: Cash On Delivery Pincode check (#219)
8-
* **Product detail**: Circular Rating progressbar (#220)
7+
- **Product detail**: Cash On Delivery Pincode check (#219)
8+
- **Product detail**: Circular Rating progressbar (#220)
99

1010
### Feature
1111

12-
* **SEO**: Angular universal integration 🔥🚀 🍰 (#224)
13-
* **User Profile**: Added User profile features (#227) (#229)
12+
- **SEO**: Angular universal integration 🔥🚀 🍰 (#224)
13+
- **User Profile**: Added User profile features (#227) (#229)
1414

1515
### Fixes
1616

17-
* **Product detail**: Buynow action fixes (#222)
18-
* **Payment & searching**: Retry Payment & Sortfilters (#225)
19-
* **Product reviews**: Added revies show more-less & email modal (#230)
20-
* **SEO**: Added fixes for jsonld format and added currency_iso format. (#236)
17+
- **Product detail**: Buynow action fixes (#222)
18+
- **Payment & searching**: Retry Payment & Sortfilters (#225)
19+
- **Product reviews**: Added revies show more-less & email modal (#230)
20+
- **SEO**: Added fixes for jsonld format and added currency_iso format. (#236)
2121

2222
## [`v1.0.0-beta-1`][tag-1_0_0-beta-1] (2018-07-30)
2323

@@ -37,60 +37,60 @@
3737
- **Enable Touch** : All carousels and product list now support mobile touch events. Thanks to [ngu-carousel](https://github.com/sheikalthaf/ngu-carousel) by @sheikalthaf
3838
- **Bug** : COD order success fixes [#204](https://github.com/aviabird/angularspree/pull/204)
3939
- **Bugs** : Other bug fixes [#205](https://github.com/aviabird/angularspree/pull/205)
40-
- **Product Detail** : zoom fixes [#e910d6b](
41-
https://github.com/aviabird/angularspree/pull/218/commits/e910d6b5048eff58d9af53e61e1305dbef73cc64)
42-
40+
- **Product Detail** : zoom fixes [#e910d6b](https://github.com/aviabird/angularspree/pull/218/commits/e910d6b5048eff58d9af53e61e1305dbef73cc64)
4341

4442
## [`v1.0.0-alpha-2`][tag-1_0_0-alpha-2] (2018-07-18)
4543

4644
#### UI
4745

48-
* Product Page UI [#168](https://github.com/aviabird/angularspree/pull/168)
49-
* Updated theme colour [#171](https://github.com/aviabird/angularspree/pull/171)
50-
* checkout Flow UI
51-
* Search Page UI
52-
* Order Details
46+
- Product Page UI [#168](https://github.com/aviabird/angularspree/pull/168)
47+
- Updated theme colour [#171](https://github.com/aviabird/angularspree/pull/171)
48+
- checkout Flow UI
49+
- Search Page UI
50+
- Order Details
5351

5452
#### Feature
5553

56-
* Payubiz Payment integration. [#179](https://github.com/aviabird/angularspree/pull/179)
57-
* Individual category page. [#196](https://github.com/aviabird/angularspree/pull/196)
58-
* Updatable delivery address.
59-
60-
#### Fixes
54+
- Payubiz Payment integration. [#179](https://github.com/aviabird/angularspree/pull/179)
55+
- Individual category page. [#196](https://github.com/aviabird/angularspree/pull/196)
56+
- Updatable delivery address.
6157

62-
* Product variant option fixes. [#194](https://github.com/aviabird/angularspree/pull/194)
63-
* Duplicate review fixes. [#194](https://github.com/aviabird/angularspree/pull/194)
64-
* Order list with individual order details associated with user. [#193](https://github.com/aviabird/angularspree/pull/193)
58+
#### Fixes
6559

60+
- Product variant option fixes. [#194](https://github.com/aviabird/angularspree/pull/194)
61+
- Duplicate review fixes. [#194](https://github.com/aviabird/angularspree/pull/194)
62+
- Order list with individual order details associated with user. [#193](https://github.com/aviabird/angularspree/pull/193)
6663

6764
## [`v1.0.0-alpha`][tag-1_0_0-alpha] (2018-06-12)
6865

6966
### Core
70-
* Updated versions for Angular(6), ngrx(6), rxjs(6) [#151](https://github.com/aviabird/angularspree/pull/151)
71-
* Adds google login support. [#90](https://github.com/aviabird/angularspree/pull/90)
72-
* Adds feature to favorite a products [#100](https://github.com/aviabird/angularspree/pull/100)
73-
* Landing page [#94](https://github.com/aviabird/angularspree/pull/94), [#107](https://github.com/aviabird/angularspree/pull/107), [#129](https://github.com/aviabird/angularspree/pull/129)
74-
* Search feature [#134](https://github.com/aviabird/angularspree/pull/134), [#136](https://github.com/aviabird/angularspree/pull/136), [#140](https://github.com/aviabird/angularspree/pull/140)
75-
* Product image zoomer [#141](https://github.com/aviabird/angularspree/pull/141)
76-
* Product Review and Rating feature [#152](https://github.com/aviabird/angularspree/pull/152)
67+
68+
- Updated versions for Angular(6), ngrx(6), rxjs(6) [#151](https://github.com/aviabird/angularspree/pull/151)
69+
- Adds google login support. [#90](https://github.com/aviabird/angularspree/pull/90)
70+
- Adds feature to favorite a products [#100](https://github.com/aviabird/angularspree/pull/100)
71+
- Landing page [#94](https://github.com/aviabird/angularspree/pull/94), [#107](https://github.com/aviabird/angularspree/pull/107), [#129](https://github.com/aviabird/angularspree/pull/129)
72+
- Search feature [#134](https://github.com/aviabird/angularspree/pull/134), [#136](https://github.com/aviabird/angularspree/pull/136), [#140](https://github.com/aviabird/angularspree/pull/140)
73+
- Product image zoomer [#141](https://github.com/aviabird/angularspree/pull/141)
74+
- Product Review and Rating feature [#152](https://github.com/aviabird/angularspree/pull/152)
7775

7876
## [`v0.2`][tag-0_2] (2018-06-12)
7977

8078
### Core Pacakges updated
81-
* Angular 5.2.0
82-
* NgRx 4.1.1
79+
80+
- Angular 5.2.0
81+
- NgRx 4.1.1
8382

8483
## [`v0.1.0`][tag-0_1_0] (2018-06-12)
8584

8685
### Core
87-
* Angular 2+, ngrx
88-
* Pages added
89-
* Home
90-
* Product Detail
91-
* Cart
92-
* Address
93-
* My Orders
86+
87+
- Angular 2+, ngrx
88+
- Pages added
89+
- Home
90+
- Product Detail
91+
- Cart
92+
- Address
93+
- My Orders
9494

9595
[tag-1_0_0-beta-2]: https://github.com/aviabird/angularspree/releases/tag/v1.0.0-beta-2
9696
[tag-1_0_0-beta-1]: https://github.com/aviabird/angularspree/releases/tag/v1.0.0-beta-1

CODE_OF_CONDUCT.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ In the interest of fostering an open and welcoming environment, we as contributo
88

99
Examples of behavior that contributes to creating a positive environment include:
1010

11-
* Using welcoming and inclusive language
12-
* Being respectful of differing viewpoints and experiences
13-
* Gracefully accepting constructive criticism
14-
* Focusing on what is best for the community
15-
* Showing empathy towards other community members
11+
- Using welcoming and inclusive language
12+
- Being respectful of differing viewpoints and experiences
13+
- Gracefully accepting constructive criticism
14+
- Focusing on what is best for the community
15+
- Showing empathy towards other community members
1616

1717
Examples of unacceptable behavior by participants include:
1818

19-
* The use of sexualized language or imagery and unwelcome sexual attention or advances
20-
* Trolling, insulting/derogatory comments, and personal or political attacks
21-
* Public or private harassment
22-
* Publishing others' private information, such as a physical or electronic address, without explicit permission
23-
* Other conduct which could reasonably be considered inappropriate in a professional setting
19+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
20+
- Trolling, insulting/derogatory comments, and personal or political attacks
21+
- Public or private harassment
22+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
23+
- Other conduct which could reasonably be considered inappropriate in a professional setting
2424

2525
## Our Responsibilities
2626

CONTRIBUTING.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ Even if you have little to no experience with Angular, I'll be more than happy t
1515
8. Work your magic
1616
9. Run `ng build --prod --aot` or `ng serve --prod --aot` to kick off a production build and make sure nothing is broken
1717
10. To test service worker changes:
18-
* `ng build --prod --aot` to kick off a fresh build and update the `dist/` directory
19-
* `npm run precache` to generate the service worker file
20-
* `npm run static-serve` to load the application along with the service worker asset using [live-server](https://github.com/tapio/live-server)
18+
19+
- `ng build --prod --aot` to kick off a fresh build and update the `dist/` directory
20+
- `npm run precache` to generate the service worker file
21+
- `npm run static-serve` to load the application along with the service worker asset using [live-server](https://github.com/tapio/live-server)
22+
2123
11. Add yourself to the [contributor's list](https://github.com/aviabird/angularspree#contributors) in the README!
2224
12. Commit your changes and reference the issue you're addressing (for example: `git commit -am 'Commit message. Closes #5'`)
2325
13. Push your branch to your fork

README.md

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,28 @@ It is a plug and play frontend application for [AviaCommerce API](https://www.av
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

30-
* 🌍 [aviacommerce](https://aviacommerce.org/) - Learn more about AngularSpree
31-
* 📖 [Documentation](https://www.aviacommerce.org/docs/frontend-install.html)
32-
* 📚 [API Documentation](https://www.aviacommerce.org/docs/apis-getting-started.html)
33-
* 👍 Like us on [Facebook](https://www.facebook.com/aviacommerce)
34-
* 🕊 Twitter: [@aviacommerce](https://twitter.com/aviacommerce) - Get the latest news
35-
* 🐞 Issue Tracker: - [Issues](https://github.com/aviacommerce/avia/issues) - Report bugs here
36-
* 🗨 [Forums](https://forum.aviacommerce.org/) - Discussions(Coming soon)
37-
* 👪 [Community Chat](https://gitter.im/avia-commerce/Lobby) - Gitter
30+
- 🌍 [aviacommerce](https://aviacommerce.org/) - Learn more about AngularSpree
31+
- 📖 [Documentation](https://www.aviacommerce.org/docs/frontend-install.html)
32+
- 📚 [API Documentation](https://www.aviacommerce.org/docs/apis-getting-started.html)
33+
- 👍 Like us on [Facebook](https://www.facebook.com/aviacommerce)
34+
- 🕊 Twitter: [@aviacommerce](https://twitter.com/aviacommerce) - Get the latest news
35+
- 🐞 Issue Tracker: - [Issues](https://github.com/aviacommerce/avia/issues) - Report bugs here
36+
- 🗨 [Forums](https://forum.aviacommerce.org/) - Discussions(Coming soon)
37+
- 👪 [Community Chat](https://gitter.im/avia-commerce/Lobby) - Gitter
3838

3939
### Important Note
40-
AngularSpree is now a part of [Aviacommerce Project](https://aviacommerce.org). Further development of angularspree will happen in *this repository only*. Also, check the [aviacommerce repo](https://github.com/aviacommerce/avia) where this repository exists as a submodule.
40+
41+
AngularSpree is now a part of [Aviacommerce Project](https://aviacommerce.org). Further development of angularspree will happen in _this repository only_. Also, check the [aviacommerce repo](https://github.com/aviacommerce/avia) where this repository exists as a submodule.
4142

4243
## Features
44+
4345
Please check the online demo [here](https://www.aviacommerce.org/demo/demo.html).
4446

4547
### Features of this mobile appliction are:-
4648

4749
1. Product List Page
4850
2. Product Detail Page
49-
3. Filters by Category, options, size etc
51+
3. Filters by Category, options, size etc
5052
4. Sort(New arrival, Price)
5153
5. Advanced searching and autocomplete with Elasticsearch
5254
6. Add/update to cart
@@ -56,19 +58,20 @@ Please check the online demo [here](https://www.aviacommerce.org/demo/demo.html)
5658

5759
### Admin has following features for sellers:-
5860

59-
1. Add/update products/inventory.
60-
2. Manage orders
61-
3. Manage Categories/Taxonomies
61+
1. Add/update products/inventory.
62+
2. Manage orders
63+
3. Manage Categories/Taxonomies
6264
4. Support for Variants and Option Types, Option Sets
6365
5. Shipping settings/policy(free shipping, shipping rules)
6466
6. Promotions(coupons per user, total usage count)
65-
5. Manage Users(admin, user types)
66-
6. Taxation
67-
7. Send emails and notifications.
67+
7. Manage Users(admin, user types)
68+
8. Taxation
69+
9. Send emails and notifications.
6870

6971
### Quick Links
70-
[Gitter](https://gitter.im/avia-commerce/Lobby) | [Contributing](https://www.aviacommerce.org/docs/how-to-contribute.html) | [API Specs](https://www.aviacommerce.org/docs/apis-getting-started.html) |
71-
|---|---|---|
72+
73+
| [Gitter](https://gitter.im/avia-commerce/Lobby) | [Contributing](https://www.aviacommerce.org/docs/how-to-contribute.html) | [API Specs](https://www.aviacommerce.org/docs/apis-getting-started.html) |
74+
| ----------------------------------------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
7275

7376

7477
This project is an open-source initiative by[ Aviabird Technologies](https://aviabird.com) under the [Aviacommerce](https://aviacommerce.org) open-source project.

angular.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,7 @@
223223
"lint": {
224224
"builder": "@angular-devkit/build-angular:tslint",
225225
"options": {
226-
"tsConfig": [
227-
"src/tsconfig.app.json",
228-
"src/tsconfig.spec.json"
229-
],
226+
"tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"],
230227
"exclude": []
231228
}
232229
}
@@ -248,9 +245,7 @@
248245
"lint": {
249246
"builder": "@angular-devkit/build-angular:tslint",
250247
"options": {
251-
"tsConfig": [
252-
"e2e/tsconfig.e2e.json"
253-
],
248+
"tsConfig": ["e2e/tsconfig.e2e.json"],
254249
"exclude": []
255250
}
256251
}

contributors.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
Angularspree Contributors
2-
============================================
1+
# Angularspree Contributors
32

43
1. **[Chandra Shekhar](https://github.com/zeus999)** | [Twitter]
54
2. **[Pankaj Kumar Rawat](https://github.com/pkrawat1)** | [Twitter]
@@ -10,4 +9,4 @@ Angularspree Contributors
109
7. **[Dmitry Teplov](https://github.com/t-p-l-k)** | [Twitter]
1110
8. **[mirvel](https://github.com/mirvel)** | [Twitter]
1211
9. **[Tiep Phan](https://github.com/tieppt)** | [Twitter]
13-
10. **[Mayor](https://github.com/tieppt)** | [Twitter]
12+
10. **[Mayor](https://github.com/tieppt)** | [Twitter]

database.rules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
".read": "auth != null",
44
".write": "auth != null"
55
}
6-
}
6+
}

docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
version: '2'
22

33
services:
4-
54
angularspree-client:
65
build:
76
context: .
@@ -18,4 +17,4 @@ services:
1817

1918
networks:
2019
dev-network:
21-
driver: bridge
20+
driver: bridge

0 commit comments

Comments
 (0)