fix(core): update

This commit is contained in:
Philipp Kunz 2023-10-06 13:58:03 +02:00
parent 2e24d99f56
commit 0c4f2773cf
9 changed files with 3208 additions and 18830 deletions

View File

@ -1,140 +0,0 @@
# gitzone ci_default
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
cache:
paths:
- .npmci_cache/
key: '$CI_BUILD_STAGE'
stages:
- security
- test
- release
- metadata
before_script:
- npm install -g @shipzone/npmci
# ====================
# security stage
# ====================
mirror:
stage: security
script:
- npmci git mirror
only:
- tags
tags:
- lossless
- docker
- notpriv
auditProductionDependencies:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
stage: security
script:
- npmci npm prepare
- npmci command npm install --production --ignore-scripts
- npmci command npm config set registry https://registry.npmjs.org
- npmci command npm audit --audit-level=high --only=prod --production
tags:
- docker
allow_failure: true
auditDevDependencies:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
stage: security
script:
- npmci npm prepare
- npmci command npm install --ignore-scripts
- npmci command npm config set registry https://registry.npmjs.org
- npmci command npm audit --audit-level=high --only=dev
tags:
- docker
allow_failure: true
# ====================
# test stage
# ====================
testStable:
stage: test
script:
- npmci npm prepare
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
testBuild:
stage: test
script:
- npmci npm prepare
- npmci node install stable
- npmci npm install
- npmci command npm run build
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
release:
stage: release
script:
- npmci node install stable
- npmci npm publish
only:
- tags
tags:
- lossless
- docker
- notpriv
# ====================
# metadata stage
# ====================
codequality:
stage: metadata
allow_failure: true
only:
- tags
script:
- npmci command npm install -g typescript
- npmci npm prepare
- npmci npm install
tags:
- lossless
- docker
- priv
trigger:
stage: metadata
script:
- npmci trigger
only:
- tags
tags:
- lossless
- docker
- notpriv
pages:
stage: metadata
script:
- npmci node install lts
- npmci command npm install -g @gitzone/tsdoc
- npmci npm prepare
- npmci npm install
- npmci command tsdoc
tags:
- lossless
- docker
- notpriv
only:
- tags
artifacts:
expire_in: 1 week
paths:
- public
allow_failure: true

View File

@ -1,5 +1,5 @@
<!--gitzone element-->
<!-- made by Lossless GmbH -->
<!-- made by Task Venture Capital GmbH -->
<!-- checkout https://maintainedby.lossless.com for awesome OpenSource projects -->
<html lang="en">
<head>
@ -10,6 +10,10 @@
/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--Lets load standard fonts-->
<link rel="preconnect" href="https://assetbroker.lossless.one/" crossorigin>
<link rel="stylesheet" href="https://assetbroker.lossless.one/fonts/fonts.css">
<style>
body {
margin: 0px;

View File

@ -1,6 +1,6 @@
// dees tools
import * as deesWccTools from '@designestate/dees-wcctools';
import * as deesDomTools from '@designestate/dees-domtools';
import * as deesWccTools from '@design.estate/dees-wcctools';
import * as deesDomTools from '@design.estate/dees-domtools';
// elements and pages
import * as elements from '../ts_web/elements/index.js';

18657
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -8,25 +8,22 @@
"type": "module",
"scripts": {
"test": "npm run build",
"build": "tsbuild element --allowimplicitany --skiplibcheck && tsbundle element --production",
"build": "tsbuild element --allowimplicitany && tsbundle element --production",
"watch": "tswatch element"
},
"author": "Lossless GmbH",
"license": "UNLICENSED",
"dependencies": {
"@designestate/dees-domtools": "^2.0.1",
"@designestate/dees-element": "^2.0.4",
"@designestate/dees-wcctools": "^1.0.73",
"@gitzone/tsrun": "^1.2.32",
"typescript": "^4.2.3"
"@design.estate/dees-domtools": "^2.0.1",
"@design.estate/dees-element": "^2.0.4",
"@design.estate/dees-wcctools": "^1.0.73"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.61",
"@gitzone/tsbundle": "^1.0.101",
"@gitzone/tswatch": "^1.0.73",
"@pushrocks/projectinfo": "^4.0.5",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.17.0"
"@git.zone/tsbuild": "^2.1.61",
"@git.zone/tsbundle": "^2.0.10",
"@git.zone/tsrun": "^1.2.32",
"@git.zone/tswatch": "^2.0.13",
"@push.rocks/projectinfo": "^5.0.2"
},
"files": [
"ts/**/*",

3162
pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@uptimelink/webwidget',
version: '1.0.70',
description: 'the webwidget for public use of uptimelink'
}

View File

@ -1,5 +1,5 @@
import { DeesElement, property, html, customElement, TemplateResult } from '@designestate/dees-element';
import * as domtools from '@designestate/dees-domtools';
import { DeesElement, property, html, customElement, type TemplateResult } from '@design.estate/dees-element';
import * as domtools from '@design.estate/dees-domtools';
declare global {
interface HTMLElementTagNameMap {
@ -46,8 +46,8 @@ export class UptimelinkWebwidget extends DeesElement {
line-height: 1em;
margin: auto;
font-family: Roboto;
font-weight: 400;
font-size: 13px;
font-weight: 540;
font-size: 12px;
box-sizing: border-box;
width: 150px;
border-radius: 15px;
@ -67,8 +67,8 @@ export class UptimelinkWebwidget extends DeesElement {
}
.mainbox.focused {
width: 200px;
height: 118px;
width: 182px;
height: 117px;
}
.statusindicator {
@ -78,7 +78,7 @@ export class UptimelinkWebwidget extends DeesElement {
border-radius: 10px;
}
.statustext {
padding-top: 3px;
line-height: 20px;
}
.expanded {
@ -90,8 +90,7 @@ export class UptimelinkWebwidget extends DeesElement {
position: absolute;
width: 190px;
top: 25px;
left: calc(50% - 95px);
left: 5px;
margin-top: 10px;
font-size: 12px;
}
@ -99,10 +98,10 @@ export class UptimelinkWebwidget extends DeesElement {
.miniOverview24h {
position: absolute;
top: 55px;
left: calc(50% - 95px);
left: 5px;
background: ${this.goBright ? 'rgba(0,0,0,0.07)' : 'rgba(255,255,255,0.07)'};
border-radius: 3px;
width: 190px;
width: 172px;
height: 30px;
display: grid;
padding: 3px 3px;
@ -121,9 +120,9 @@ export class UptimelinkWebwidget extends DeesElement {
.viewStatuspage {
position: absolute;
width: 190px;
width: 172px;
top: 80px;
left: calc(50% - 95px);
left: 5px;
text-align: center;
background: ${this.goBright ? 'rgba(0,0,0,0.07)' : 'rgba(255,255,255,0.07)'};
border-radius: 3px 3px 10px 10px;
@ -144,13 +143,13 @@ export class UptimelinkWebwidget extends DeesElement {
${this.showExpanded ? html`
<div class="expanded">
<div class="miniHeading">
last 26 hours:
last 24 hours:
</div>
<div class="miniOverview24h">
${(() => {
let counter = 0;
const returnArray = [];
while(counter < 26) {
while(counter < 24) {
returnArray.push(html`<div class="statusBar ok"></div>`)
counter++;
};

View File

@ -3,7 +3,12 @@
"experimentalDecorators": true,
"useDefineForClassFields": false,
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "nodenext"
}
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"verbatimModuleSyntax": true
},
"exclude": [
"dist_*/**/*.d.ts"
]
}