Skip to content

Commit

Permalink
chore: upgrade to angular v14 (#85)
Browse files Browse the repository at this point in the history
* chore: upgrade to angular v14

* ci: fix workflow
  • Loading branch information
manekinekko committed Feb 22, 2023
1 parent 5eb3dbd commit 7185def
Show file tree
Hide file tree
Showing 13 changed files with 5,532 additions and 5,999 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/angular.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:

strategy:
matrix:
node-version: [14.x, 15.x, 16.x]
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci --legacy-peer-deps
Expand Down
1 change: 0 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@
}
}
},
"defaultProject": "angular-web-bluetooth-starter",
"cli": {
"analytics": "6c503e91-213a-464d-801c-5af37e13087c"
}
Expand Down
53 changes: 25 additions & 28 deletions docs/components/BatteryLevelComponent.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ <h3>Metadata</h3>
mat-icon {
position: absolute;
bottom: 255px;
font-size: 38px;
}
</code></td>
</tr>
Expand Down Expand Up @@ -270,7 +269,7 @@ <h3 id="constructor">Constructor</h3>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="76" class="link-to-prism">src/app/thingy52/battery-level.component.ts:76</a></div>
<div class="io-line">Defined in <a href="" data-line="75" class="link-to-prism">src/app/thingy52/battery-level.component.ts:75</a></div>
</td>
</tr>

Expand Down Expand Up @@ -363,8 +362,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="127"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:127</a></div>
<div class="io-line">Defined in <a href="" data-line="126"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:126</a></div>
</td>
</tr>

Expand Down Expand Up @@ -402,8 +401,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="100"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:100</a></div>
<div class="io-line">Defined in <a href="" data-line="99"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:99</a></div>
</td>
</tr>

Expand Down Expand Up @@ -441,8 +440,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="133"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:133</a></div>
<div class="io-line">Defined in <a href="" data-line="132"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:132</a></div>
</td>
</tr>

Expand Down Expand Up @@ -511,8 +510,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="137"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:137</a></div>
<div class="io-line">Defined in <a href="" data-line="136"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:136</a></div>
</td>
</tr>

Expand Down Expand Up @@ -550,8 +549,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="90"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:90</a></div>
<div class="io-line">Defined in <a href="" data-line="89"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:89</a></div>
</td>
</tr>

Expand Down Expand Up @@ -589,8 +588,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="116"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:116</a></div>
<div class="io-line">Defined in <a href="" data-line="115"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:115</a></div>
</td>
</tr>

Expand Down Expand Up @@ -628,8 +627,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="121"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:121</a></div>
<div class="io-line">Defined in <a href="" data-line="120"
class="link-to-prism">src/app/thingy52/battery-level.component.ts:120</a></div>
</td>
</tr>

Expand Down Expand Up @@ -707,7 +706,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="69" class="link-to-prism">src/app/thingy52/battery-level.component.ts:69</a></div>
<div class="io-line">Defined in <a href="" data-line="68" class="link-to-prism">src/app/thingy52/battery-level.component.ts:68</a></div>
</td>
</tr>

Expand Down Expand Up @@ -735,7 +734,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="81" class="link-to-prism">src/app/thingy52/battery-level.component.ts:81</a></div>
<div class="io-line">Defined in <a href="" data-line="80" class="link-to-prism">src/app/thingy52/battery-level.component.ts:80</a></div>
</td>
</tr>

Expand All @@ -762,7 +761,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="72" class="link-to-prism">src/app/thingy52/battery-level.component.ts:72</a></div>
<div class="io-line">Defined in <a href="" data-line="71" class="link-to-prism">src/app/thingy52/battery-level.component.ts:71</a></div>
</td>
</tr>

Expand Down Expand Up @@ -794,7 +793,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="68" class="link-to-prism">src/app/thingy52/battery-level.component.ts:68</a></div>
<div class="io-line">Defined in <a href="" data-line="67" class="link-to-prism">src/app/thingy52/battery-level.component.ts:67</a></div>
</td>
</tr>

Expand Down Expand Up @@ -822,7 +821,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="79" class="link-to-prism">src/app/thingy52/battery-level.component.ts:79</a></div>
<div class="io-line">Defined in <a href="" data-line="78" class="link-to-prism">src/app/thingy52/battery-level.component.ts:78</a></div>
</td>
</tr>

Expand Down Expand Up @@ -850,7 +849,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="80" class="link-to-prism">src/app/thingy52/battery-level.component.ts:80</a></div>
<div class="io-line">Defined in <a href="" data-line="79" class="link-to-prism">src/app/thingy52/battery-level.component.ts:79</a></div>
</td>
</tr>

Expand All @@ -877,7 +876,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="71" class="link-to-prism">src/app/thingy52/battery-level.component.ts:71</a></div>
<div class="io-line">Defined in <a href="" data-line="70" class="link-to-prism">src/app/thingy52/battery-level.component.ts:70</a></div>
</td>
</tr>

Expand Down Expand Up @@ -909,7 +908,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="67" class="link-to-prism">src/app/thingy52/battery-level.component.ts:67</a></div>
<div class="io-line">Defined in <a href="" data-line="66" class="link-to-prism">src/app/thingy52/battery-level.component.ts:66</a></div>
</td>
</tr>

Expand All @@ -936,7 +935,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="70" class="link-to-prism">src/app/thingy52/battery-level.component.ts:70</a></div>
<div class="io-line">Defined in <a href="" data-line="69" class="link-to-prism">src/app/thingy52/battery-level.component.ts:69</a></div>
</td>
</tr>

Expand Down Expand Up @@ -965,7 +964,7 @@ <h3 id="accessors">
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="74" class="link-to-prism">src/app/thingy52/battery-level.component.ts:74</a></div>
<div class="io-line">Defined in <a href="" data-line="73" class="link-to-prism">src/app/thingy52/battery-level.component.ts:73</a></div>
</td>
</tr>

Expand Down Expand Up @@ -1036,7 +1035,6 @@ <h3 id="accessors">
mat-icon {
position: absolute;
bottom: 255px;
font-size: 38px;
}
&#x60;],
providers: PROVIDERS
Expand Down Expand Up @@ -1149,7 +1147,6 @@ <h3 id="accessors">
mat-icon {
position: absolute;
bottom: 255px;
font-size: 38px;
}

</code></pre>
Expand Down
20 changes: 10 additions & 10 deletions docs/dependencies.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,25 @@
</ol>
<ul class="dependencies-list">
<li>
<b>@angular/animations</b> : ~13.3.10</li>
<b>@angular/animations</b> : ^14.2.10</li>
<li>
<b>@angular/cdk</b> : ^13.3.9</li>
<b>@angular/cdk</b> : ^14.2.7</li>
<li>
<b>@angular/common</b> : ~13.3.10</li>
<b>@angular/common</b> : ^14.2.10</li>
<li>
<b>@angular/compiler</b> : ~13.3.10</li>
<b>@angular/compiler</b> : ^14.2.10</li>
<li>
<b>@angular/core</b> : ~13.3.12</li>
<b>@angular/core</b> : ^14.2.12</li>
<li>
<b>@angular/forms</b> : ~13.3.10</li>
<b>@angular/forms</b> : ^14.2.10</li>
<li>
<b>@angular/material</b> : ^13.3.9</li>
<b>@angular/material</b> : ^14.2.7</li>
<li>
<b>@angular/platform-browser</b> : ~13.3.10</li>
<b>@angular/platform-browser</b> : ^14.2.10</li>
<li>
<b>@angular/platform-browser-dynamic</b> : ~13.3.10</li>
<b>@angular/platform-browser-dynamic</b> : ^14.2.10</li>
<li>
<b>@angular/router</b> : ~13.3.10</li>
<b>@angular/router</b> : ^14.2.10</li>
<li>
<b>@release-it/conventional-changelog</b> : ^1.1.4</li>
<li>
Expand Down
4 changes: 2 additions & 2 deletions docs/js/search/search_index.js

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/miscellaneous/variables.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,27 +58,27 @@ <h3 id="index">Index</h3>
<tr>
<td class="col-md-4">
<ul class="index-list">
<li>
<a href="#bleCore" title="src/app/thingy52/battery-level.component.ts"><b>bleCore</b>&nbsp;&nbsp;&nbsp;(src/.../battery-level.component.ts)</a>
</li>
<li>
<a href="#bleCore" title="src/app/thingy52/humidity.component.ts"><b>bleCore</b>&nbsp;&nbsp;&nbsp;(src/.../humidity.component.ts)</a>
</li>
<li>
<a href="#bleCore" title="src/app/thingy52/stepcounter.component.ts"><b>bleCore</b>&nbsp;&nbsp;&nbsp;(src/.../stepcounter.component.ts)</a>
</li>
<li>
<a href="#bleCore" title="src/app/thingy52/battery-level.component.ts"><b>bleCore</b>&nbsp;&nbsp;&nbsp;(src/.../battery-level.component.ts)</a>
<a href="#bleCore" title="src/app/thingy52/temperature.component.ts"><b>bleCore</b>&nbsp;&nbsp;&nbsp;(src/.../temperature.component.ts)</a>
</li>
<li>
<a href="#bleCore" title="src/app/thingy52/temperature.component.ts"><b>bleCore</b>&nbsp;&nbsp;&nbsp;(src/.../temperature.component.ts)</a>
<a href="#bleService" title="src/app/thingy52/battery-level.component.ts"><b>bleService</b>&nbsp;&nbsp;&nbsp;(src/.../battery-level.component.ts)</a>
</li>
<li>
<a href="#bleService" title="src/app/thingy52/humidity.component.ts"><b>bleService</b>&nbsp;&nbsp;&nbsp;(src/.../humidity.component.ts)</a>
</li>
<li>
<a href="#bleService" title="src/app/thingy52/stepcounter.component.ts"><b>bleService</b>&nbsp;&nbsp;&nbsp;(src/.../stepcounter.component.ts)</a>
</li>
<li>
<a href="#bleService" title="src/app/thingy52/battery-level.component.ts"><b>bleService</b>&nbsp;&nbsp;&nbsp;(src/.../battery-level.component.ts)</a>
</li>
<li>
<a href="#bleService" title="src/app/thingy52/temperature.component.ts"><b>bleService</b>&nbsp;&nbsp;&nbsp;(src/.../temperature.component.ts)</a>
</li>
Expand All @@ -89,13 +89,13 @@ <h3 id="index">Index</h3>
<a href="#environment" title="src/environments/environment.ts"><b>environment</b>&nbsp;&nbsp;&nbsp;(src/.../environment.ts)</a>
</li>
<li>
<a href="#PROVIDERS" title="src/app/thingy52/humidity.component.ts"><b>PROVIDERS</b>&nbsp;&nbsp;&nbsp;(src/.../humidity.component.ts)</a>
<a href="#PROVIDERS" title="src/app/thingy52/battery-level.component.ts"><b>PROVIDERS</b>&nbsp;&nbsp;&nbsp;(src/.../battery-level.component.ts)</a>
</li>
<li>
<a href="#PROVIDERS" title="src/app/thingy52/stepcounter.component.ts"><b>PROVIDERS</b>&nbsp;&nbsp;&nbsp;(src/.../stepcounter.component.ts)</a>
<a href="#PROVIDERS" title="src/app/thingy52/humidity.component.ts"><b>PROVIDERS</b>&nbsp;&nbsp;&nbsp;(src/.../humidity.component.ts)</a>
</li>
<li>
<a href="#PROVIDERS" title="src/app/thingy52/battery-level.component.ts"><b>PROVIDERS</b>&nbsp;&nbsp;&nbsp;(src/.../battery-level.component.ts)</a>
<a href="#PROVIDERS" title="src/app/thingy52/stepcounter.component.ts"><b>PROVIDERS</b>&nbsp;&nbsp;&nbsp;(src/.../stepcounter.component.ts)</a>
</li>
<li>
<a href="#PROVIDERS" title="src/app/thingy52/temperature.component.ts"><b>PROVIDERS</b>&nbsp;&nbsp;&nbsp;(src/.../temperature.component.ts)</a>
Expand All @@ -113,7 +113,7 @@ <h3 id="index">Index</h3>
</table>
</section>

<h3>src/app/thingy52/humidity.component.ts</h3>
<h3>src/app/thingy52/battery-level.component.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
Expand Down Expand Up @@ -193,7 +193,7 @@ <h3></h3> <table class="table table-sm table-bordered">
</tbody>
</table>
</section>
<h3>src/app/thingy52/stepcounter.component.ts</h3>
<h3>src/app/thingy52/humidity.component.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
Expand Down Expand Up @@ -273,7 +273,7 @@ <h3></h3> <table class="table table-sm table-bordered">
</tbody>
</table>
</section>
<h3>src/app/thingy52/battery-level.component.ts</h3>
<h3>src/app/thingy52/stepcounter.component.ts</h3>
<section>
<h3></h3> <table class="table table-sm table-bordered">
<tbody>
Expand Down
Loading

0 comments on commit 7185def

Please sign in to comment.