ci: increase npm package install speed

This commit is contained in:
Rainer Killinger
2021-08-03 17:59:03 +02:00
parent 7afa66e01a
commit 02cc2a8879
4 changed files with 35 additions and 39 deletions

View File

@@ -23,7 +23,7 @@ describe('Settings', () => {
describe('settings-page', () => {
beforeEach(() => {
page.navigateTo('#/settings');
page.navigateTo('/settings');
});
it('should have a localized title saying "Einstellungen"', () => {

38
package-lock.json generated
View File

@@ -2047,6 +2047,15 @@
"integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
"dev": true
},
"i18next": {
"version": "17.3.1",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-17.3.1.tgz",
"integrity": "sha512-4nY+yaENaoZKmpbiDXPzucVHCN3hN9Z9Zk7LyQXVOKVIpnYOJ3L/yxHJlBPtJDq3PGgjFwA0QBFm/26Z0iDT5A==",
"dev": true,
"requires": {
"@babel/runtime": "^7.3.1"
}
},
"jsonfile": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz",
@@ -11302,12 +11311,11 @@
"dev": true
},
"i18next": {
"version": "17.3.1",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-17.3.1.tgz",
"integrity": "sha512-4nY+yaENaoZKmpbiDXPzucVHCN3hN9Z9Zk7LyQXVOKVIpnYOJ3L/yxHJlBPtJDq3PGgjFwA0QBFm/26Z0iDT5A==",
"dev": true,
"version": "20.3.5",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-20.3.5.tgz",
"integrity": "sha512-//MGeU6n4TencJmCgG+TCrpdgAD/NDEU/KfKQekYbJX6QV7sD/NjWQdVdBi+bkT0snegnSoB7QhjSeatrk3a0w==",
"requires": {
"@babel/runtime": "^7.3.1"
"@babel/runtime": "^7.12.0"
}
},
"i18next-browser-languagedetector": {
@@ -11316,16 +11324,6 @@
"integrity": "sha512-YDzIGHhMRvr7M+c8B3EQUKyiMBhfqox4o1qkFvt4QXuu5V2cxf74+NCr+VEkUuU0y+RwcupA238eeolW1Yn80g==",
"requires": {
"@babel/runtime": "^7.14.6"
},
"dependencies": {
"@babel/runtime": {
"version": "7.14.6",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.14.6.tgz",
"integrity": "sha512-/PCB2uJ7oM44tz8YhC4Z/6PeOKXp4K588f+5M3clr1M4zbqztlo0XEfJ2LEzj/FgwfgGcIdl8n7YYjTCI0BYwg==",
"requires": {
"regenerator-runtime": "^0.13.4"
}
}
}
},
"iconv-lite": {
@@ -14559,16 +14557,6 @@
"i18next": "^20.2.1",
"i18next-browser-languagedetector": "^6.1.0",
"suncalc": "^1.8.0"
},
"dependencies": {
"i18next": {
"version": "20.3.2",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-20.3.2.tgz",
"integrity": "sha512-e8CML2R9Ng2sSQOM80wb/PrM2j8mDm84o/T4Amzn9ArVyNX5/ENWxxAXkRpZdTQNDaxKImF93Wep4mAoozFrKw==",
"requires": {
"@babel/runtime": "^7.12.0"
}
}
}
},
"opn": {

View File

@@ -15,8 +15,7 @@
*ngIf="characteristic.image"
[src]="characteristic.image"
alt=""
/><span>&nbsp;{{ characteristic.name }}</span
>&nbsp;&nbsp;
/><span> {{ characteristic.name }}</span>
</p>
</ion-card-content>
</ion-card>

View File

@@ -13,27 +13,36 @@
<ion-note
*ngIf="item.categories && item.type !== 'building'; else onlyType"
>
{{ 'categories' | thingTranslate: item | join: ', ' | titlecase }}
<ul>
<li>
{{
'categories' | thingTranslate: item | join: ', ' | titlecase
}}
</li>
<li *ngIf="distance">
<ion-icon name="walk"></ion-icon
>{{ distance | numberLocalized: 'style:unit,unit:meter,notation:compact' }}
</li>
</ul>
</ion-note>
</p>
<ng-template #onlyType>
<ion-note>
{{ 'type' | thingTranslate: item }}
</ion-note>
</ng-template>
</ng-container>
<p *ngIf="item.description">
{{ 'description' | thingTranslate: item }}
</p>
<ion-note>
<ul>
<li>{{ 'type' | thingTranslate: item }}</li>
<li>
{{ 'type' | thingTranslate: item }}
</li>
<li *ngIf="distance">
<ion-icon name="walk"></ion-icon
>{{ distance | numberLocalized: '1.0-0' }} m
</li>
</ul>
</ion-note>
</ng-template>
</ng-container>
<p *ngIf="item.description">
{{ 'description' | thingTranslate: item }}
</p>
</div>
</ion-col>
<div *ngIf="item.type !== 'building'">