Skip to content

Commit

Permalink
Merge pull request #137 from nongrata081/release/v0.5.0
Browse files Browse the repository at this point in the history
Release/v0.5.0
  • Loading branch information
nongrata081 authored Jul 4, 2019
2 parents c02eb07 + 45bcc23 commit 3f08717
Show file tree
Hide file tree
Showing 123 changed files with 2,425 additions and 29,628 deletions.
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"printWidth": 60,
"printWidth": 90,
"tabWidth": 2,
"useTabs": true,
"semi": true,
Expand Down
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,36 @@
<a name="0.5.0"></a>

# [0.5.0](https://github.com/nongrata081/ng-assessment/compare/v0.4.0...v0.5.0) (2019-07-04)

### Features

- **angular-material:** add material components library for angular ([9e1b442](https://github.com/nongrata081/ng-assessment/commit/9e1b442)), closes [#119](https://github.com/nongrata081/ng-assessment/issues/119)
- **currency-api-mock:** add currency mocked rest api (json-server) ([6895e36](https://github.com/nongrata081/ng-assessment/commit/6895e36)), closes [#114](https://github.com/nongrata081/ng-assessment/issues/114)
- **footer:** add reusable footer ui component ([35ddc58](https://github.com/nongrata081/ng-assessment/commit/35ddc58)), closes [#125](https://github.com/nongrata081/ng-assessment/issues/125)
- **header-ui-component:** add resuable ui component header ([5541c4d](https://github.com/nongrata081/ng-assessment/commit/5541c4d)), closes [#121](https://github.com/nongrata081/ng-assessment/issues/121)
- **itcss:** implement proper styles layered structure ([5edc5da](https://github.com/nongrata081/ng-assessment/commit/5edc5da)), closes [#117](https://github.com/nongrata081/ng-assessment/issues/117)
- **mdb-ui-lib:** add mdb components library ([70b6bb0](https://github.com/nongrata081/ng-assessment/commit/70b6bb0)), closes [#122](https://github.com/nongrata081/ng-assessment/issues/122)
- **shipment-form:** add shipment form ([3b6180a](https://github.com/nongrata081/ng-assessment/commit/3b6180a)), closes [#113](https://github.com/nongrata081/ng-assessment/issues/113)

<a name="0.4.0"></a>

# [0.4.0](https://github.com/nongrata081/ng-assessment/compare/v0.3.0...v0.4.0) (2019-06-27)

### Bug Fixes

- **disable-i18n-for-ssr:** postpone i18n for universal ssr ([9b3eac4](https://github.com/nongrata081/ng-assessment/commit/9b3eac4)), closes [#16](https://github.com/nongrata081/ng-assessment/issues/16) [#31](https://github.com/nongrata081/ng-assessment/issues/31)
- **disable-i18n-for-ssr:** postpone i18n for universal ssr ([685597e](https://github.com/nongrata081/ng-assessment/commit/685597e)), closes [#16](https://github.com/nongrata081/ng-assessment/issues/16) [#31](https://github.com/nongrata081/ng-assessment/issues/31)

### Features

- **a11y-testing:** add a11y-testing with pa11y tool ([8cba77f](https://github.com/nongrata081/ng-assessment/commit/8cba77f)), closes [#25](https://github.com/nongrata081/ng-assessment/issues/25)
- **bundle-analyzer:** add webpack-bundle-analyzer ([785a313](https://github.com/nongrata081/ng-assessment/commit/785a313)), closes [#21](https://github.com/nongrata081/ng-assessment/issues/21)
- **bundle-analyzer:** add webpack-bundle-analyzer ([9036ffb](https://github.com/nongrata081/ng-assessment/commit/9036ffb)), closes [#21](https://github.com/nongrata081/ng-assessment/issues/21)
- **compodoc-docs-generation:** add docs generation for apps (compodoc) ([1234d97](https://github.com/nongrata081/ng-assessment/commit/1234d97)), closes [#34](https://github.com/nongrata081/ng-assessment/issues/34)
- **performance-metrics:** perf metrics & best practice audit ([e62f8e4](https://github.com/nongrata081/ng-assessment/commit/e62f8e4)), closes [#22](https://github.com/nongrata081/ng-assessment/issues/22)
- **storybook:** add styleguide app for ui lib components ([dd8c6dd](https://github.com/nongrata081/ng-assessment/commit/dd8c6dd)), closes [#35](https://github.com/nongrata081/ng-assessment/issues/35)
- **travis-ci:** add .travis.yml to enable travis ci ([58a9949](https://github.com/nongrata081/ng-assessment/commit/58a9949)), closes [#19](https://github.com/nongrata081/ng-assessment/issues/19)
- **travis-ci:** add .travis.yml to enable travis ci ([1dc0b45](https://github.com/nongrata081/ng-assessment/commit/1dc0b45)), closes [#19](https://github.com/nongrata081/ng-assessment/issues/19)
- **visual-regression-testing:** add visual regression via backstop ([25f07de](https://github.com/nongrata081/ng-assessment/commit/25f07de)), closes [#18](https://github.com/nongrata081/ng-assessment/issues/18)

<a name="0.3.0"></a>
Expand Down
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# NgAssessment

# Prerequisites

To start the app required are:

- [email protected]
- [email protected]

## Start app

Run `npm start` to start the application. This will start:

- fake rest api server at http://localhost:3000
- angular app at http://localhost:4200

## Guidelines for monorepo

[Enterprise angular monorepo patterns](enterprise-angular-mono-repo-patterns.pdf)
Expand Down
227 changes: 108 additions & 119 deletions a11y/pa11y-test-report.html
Original file line number Diff line number Diff line change
@@ -1,122 +1,111 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>
Accessibility Report For "http://localhost:4000/" (Thu
Jun 27 2019 17:16:47 GMT+0200 (Central European Summer
Time))
</title>

<style>
html,
body {
margin: 0;
padding: 0;
background-color: #fff;
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 22px;
color: #333;
}
li {
margin-bottom: 15px;
}
h1,
h2,
p,
pre,
ul {
margin-top: 0;
margin-bottom: 0;
}
h1 {
margin-bottom: 10px;
font-size: 24px;
line-height: 24px;
}
h2 {
font-size: 16px;
}
pre {
white-space: pre-wrap;
overflow: auto;
}

.page {
max-width: 800px;
margin: 0 auto;
padding: 25px;
}

.counts {
margin-top: 30px;
font-size: 20px;
}
.count {
display: inline-block;
padding: 5px;
border-radius: 5px;
border: 1px solid #eee;
}

.clean-list {
margin-left: 0;
padding-left: 0;
list-style: none;
}
.results-list {
margin-top: 30px;
}

.result {
padding: 10px;
border-radius: 5px;
border: 1px solid #eee;
}
.error {
background-color: #fdd;
border-color: #ff9696;
}
.warning {
background-color: #ffd;
border-color: #e7c12b;
}
.notice {
background-color: #eef4ff;
border-color: #b6d0ff;
}
</style>
</head>
<body>
<div class="page">
<h1>
Accessibility Report For "http://localhost:4000/"
</h1>
<p>
Generated at: Thu Jun 27 2019 17:16:47 GMT+0200
(Central European Summer Time)
</p>

<p class="counts">
<span class="count error">1 errors</span>
<span class="count warning">0 warnings</span>
<span class="count notice">0 notices</span>
</p>

<ul class="clean-list results-list">
<li class="result error">
<h2>
Error: Img element missing an alt attribute. Use
the alt attribute to specify a short text
alternative.
</h2>
<p>WCAG2AA.Principle1.Guideline1_1.1_1_1.H37</p>
<pre>
&lt;img _ngcontent-serverapp-c0=&quot;&quot; src=&quot;https://raw.githubusercontent.com/nrwl/nx/master/nx-logo.png&quot; width=&quot;450&quot;&gt; (select with "html &gt; body &gt; ship-root &gt; div &gt; img")</pre
>
</li>
</ul>
</div>
</body>
<head>

<meta charset="utf-8"/>
<title>Accessibility Report For "http://localhost:4200/" (Tue Jul 02 2019 21:07:45 GMT+0200 (Central European Summer Time))</title>

<style>

html, body {
margin: 0;
padding: 0;
background-color: #fff;
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
line-height: 22px;
color: #333;
}
li {
margin-bottom: 15px;
}
h1, h2, p, pre, ul {
margin-top: 0;
margin-bottom: 0;
}
h1 {
margin-bottom: 10px;
font-size: 24px;
line-height: 24px;
}
h2 {
font-size: 16px;
}
pre {
white-space: pre-wrap;
overflow: auto;
}

.page {
max-width: 800px;
margin: 0 auto;
padding: 25px;
}

.counts {
margin-top: 30px;
font-size: 20px;
}
.count {
display: inline-block;
padding: 5px;
border-radius: 5px;
border: 1px solid #eee;
}

.clean-list {
margin-left: 0;
padding-left: 0;
list-style: none;
}
.results-list {
margin-top: 30px;
}

.result {
padding: 10px;
border-radius: 5px;
border: 1px solid #eee;
}
.error {
background-color: #fdd;
border-color: #ff9696;
}
.warning {
background-color: #ffd;
border-color: #e7c12b;
}
.notice {
background-color: #eef4ff;
border-color: #b6d0ff;
}

</style>

</head>
<body>

<div class="page">

<h1>Accessibility Report For "http://localhost:4200/"</h1>
<p>Generated at: Tue Jul 02 2019 21:07:45 GMT+0200 (Central European Summer Time)</p>

<p class="counts">
<span class="count error">1 errors</span>
<span class="count warning">0 warnings</span>
<span class="count notice">0 notices</span>
</p>

<ul class="clean-list results-list">
<li class="result error">
<h2>Error: Img element missing an alt attribute. Use the alt attribute to specify a short text alternative.</h2>
<p>WCAG2AA.Principle1.Guideline1_1.1_1_1.H37</p>
<pre>&lt;img _ngcontent-serverapp-c0=&quot;&quot; src=&quot;&quot;&gt; (select with "html &gt; body &gt; ship-root &gt; img")</pre>
</li>
</ul>

</div>

</body>
</html>

Loading

0 comments on commit 3f08717

Please sign in to comment.