fix(core): update

This commit is contained in:
Philipp Kunz 2023-01-05 13:37:28 +01:00
parent 484741e052
commit d69a7f530b
15 changed files with 2858 additions and 17127 deletions

View File

@ -13,43 +13,32 @@ stages:
- metadata - metadata
before_script: before_script:
- npm install -g @shipzone/npmci - pnpm install -g pnpm
- pnpm install -g @shipzone/npmci
- npmci npm prepare
# ==================== # ====================
# security stage # security stage
# ==================== # ====================
mirror: # ====================
stage: security # security stage
script: # ====================
- npmci git mirror
only:
- tags
tags:
- lossless
- docker
- notpriv
auditProductionDependencies: auditProductionDependencies:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
stage: security stage: security
script: script:
- npmci npm prepare - npmci command npm config set registry https://registry.npmjs.org
- npmci command npm install --production --ignore-scripts - npmci command pnpm audit --audit-level=high --prod
- npmci command npm config set registry https://registry.npmjs.org
- npmci command npm audit --audit-level=high --only=prod --production
tags: tags:
- lossless - lossless
- docker - docker
allow_failure: true
auditDevDependencies: auditDevDependencies:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
stage: security stage: security
script: script:
- npmci npm prepare
- npmci command npm install --ignore-scripts
- npmci command npm config set registry https://registry.npmjs.org - npmci command npm config set registry https://registry.npmjs.org
- npmci command npm audit --audit-level=high --only=dev - npmci command pnpm audit --audit-level=high --dev
tags: tags:
- lossless - lossless
- docker - docker
@ -62,7 +51,6 @@ auditDevDependencies:
testStable: testStable:
stage: test stage: test
script: script:
- npmci npm prepare
- npmci node install stable - npmci node install stable
- npmci npm install - npmci npm install
- npmci npm test - npmci npm test
@ -75,7 +63,6 @@ testStable:
testBuild: testBuild:
stage: test stage: test
script: script:
- npmci npm prepare
- npmci node install stable - npmci node install stable
- npmci npm install - npmci npm install
- npmci command npm run build - npmci command npm run build
@ -130,7 +117,6 @@ pages:
script: script:
- npmci node install lts - npmci node install lts
- npmci command npm install -g @gitzone/tsdoc - npmci command npm install -g @gitzone/tsdoc
- npmci npm prepare
- npmci npm install - npmci npm install
- npmci command tsdoc - npmci command tsdoc
tags: tags:

View File

@ -1,5 +1,5 @@
<!--gitzone element--> <!--gitzone element-->
<!-- made by Lossless GmbH --> <!-- made by Task Venture Capital GmbH -->
<!-- checkout https://maintainedby.lossless.com for awesome OpenSource projects --> <!-- checkout https://maintainedby.lossless.com for awesome OpenSource projects -->
<html lang="en"> <html lang="en">
<head> <head>
@ -10,6 +10,17 @@
/> />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="preconnect" href="https://rsms.me/">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link
crossorigin="anonymous"
href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet"
/>
<link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<style> <style>
body { body {
margin: 0px; margin: 0px;

17058
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,7 +9,8 @@
"scripts": { "scripts": {
"test": "npm run build", "test": "npm run build",
"build": "tsbuild element --allowimplicitany --skiplibcheck && tsbundle element --production", "build": "tsbuild element --allowimplicitany --skiplibcheck && tsbundle element --production",
"watch": "tswatch element" "watch": "tswatch element",
"buildDocs": "tsdoc"
}, },
"author": "Lossless GmbH", "author": "Lossless GmbH",
"license": "UNLICENSED", "license": "UNLICENSED",
@ -17,17 +18,17 @@
"@designestate/dees-domtools": "^2.0.1", "@designestate/dees-domtools": "^2.0.1",
"@designestate/dees-element": "^2.0.4", "@designestate/dees-element": "^2.0.4",
"@designestate/dees-wcctools": "^1.0.73", "@designestate/dees-wcctools": "^1.0.73",
"@gitzone/tsrun": "^1.2.31",
"@losslessone_private/loint-pubapi": "^1.0.10", "@losslessone_private/loint-pubapi": "^1.0.10",
"@uptimelink/interfaces": "^1.0.10", "@uptimelink/interfaces": "^1.0.10"
"typescript": "^4.6.2"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.61", "@gitzone/tsbuild": "^2.1.61",
"@gitzone/tsbundle": "^1.0.101", "@gitzone/tsbundle": "^2.0.7",
"@gitzone/tswatch": "^1.0.73", "@gitzone/tsrun": "^1.2.39",
"@pushrocks/projectinfo": "^4.0.5", "@gitzone/tswatch": "^2.0.5",
"@pushrocks/smartenv": "^5.0.0" "@pushrocks/projectinfo": "^5.0.1",
"@pushrocks/smartenv": "^5.0.0",
"@types/node": "^18.11.18"
}, },
"files": [ "files": [
"ts/**/*", "ts/**/*",
@ -44,4 +45,4 @@
"browserslist": [ "browserslist": [
"last 1 Chrome versions" "last 1 Chrome versions"
] ]
} }

2776
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -21,14 +21,12 @@ Code Style | [![Code Style](https://badgen.net/badge/style/prettier/purple)](htt
PackagePhobia (total standalone install weight) | [![PackagePhobia](https://badgen.net/packagephobia/install/@uptimelink_private/catalog)](https://lossless.cloud) PackagePhobia (total standalone install weight) | [![PackagePhobia](https://badgen.net/packagephobia/install/@uptimelink_private/catalog)](https://lossless.cloud)
PackagePhobia (package size on registry) | [![PackagePhobia](https://badgen.net/packagephobia/publish/@uptimelink_private/catalog)](https://lossless.cloud) PackagePhobia (package size on registry) | [![PackagePhobia](https://badgen.net/packagephobia/publish/@uptimelink_private/catalog)](https://lossless.cloud)
BundlePhobia (total size when bundled) | [![BundlePhobia](https://badgen.net/bundlephobia/minzip/@uptimelink_private/catalog)](https://lossless.cloud) BundlePhobia (total size when bundled) | [![BundlePhobia](https://badgen.net/bundlephobia/minzip/@uptimelink_private/catalog)](https://lossless.cloud)
Platform support | [![Supports Windows 10](https://badgen.net/badge/supports%20Windows%2010/yes/green?icon=windows)](https://lossless.cloud) [![Supports Mac OS X](https://badgen.net/badge/supports%20Mac%20OS%20X/yes/green?icon=apple)](https://lossless.cloud)
## Usage ## Usage
Use TypeScript for best in class intellisense Use TypeScript for best in class intellisense
For further information read the linked docs at the top of this readme. For further information read the linked docs at the top of this readme.
> UNLICENSED licensed | **&copy;** [Lossless GmbH](https://lossless.gmbh) ## Legal
> UNLICENSED licensed | **&copy;** [Task Venture Capital GmbH](https://task.vc)
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy) | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)
[![repo-footer](https://lossless.gitlab.io/publicrelations/repofooter.svg)](https://maintainedby.lossless.com)

View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@uptimelink_private/catalog',
version: '1.0.70',
description: 'a catalog with webcomponents for uptimelink dashboard'
}

View File

@ -10,7 +10,7 @@ export class UplinternalMiniheading extends DeesElement {
<style> <style>
:host { :host {
display: block; display: block;
font-family: Roboto Mono; font-family: Inter;
} }
h5 { h5 {

View File

@ -4,6 +4,8 @@ import {
html, html,
customElement, customElement,
TemplateResult, TemplateResult,
cssManager,
css,
} from '@designestate/dees-element'; } from '@designestate/dees-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@designestate/dees-domtools';
@ -25,15 +27,14 @@ export class UplStatuspageAssetsselector extends DeesElement {
super(); super();
} }
public render(): TemplateResult { public static styles = [
return html` cssManager.defaultStyles,
${domtools.elementBasic.styles} css`
<style> :host {
:host {
padding: 0px 0px 15px 0px; padding: 0px 0px 15px 0px;
display: block; display: block;
background: #222222; background: ${cssManager.bdTheme('#eeeeeb', '#222222')};
font-family: Roboto Mono; font-family: Inter;
color: #fff; color: #fff;
} }
@ -43,8 +44,15 @@ export class UplStatuspageAssetsselector extends DeesElement {
text-align: center; text-align: center;
height: 50px; height: 50px;
border-radius: 3px; border-radius: 3px;
background: #404040; background: ${cssManager.bdTheme('#ffffff', '#333333')};;
} }
`,
]
public render(): TemplateResult {
return html`
<style>
</style> </style>
<uplinternal-miniheading>Monitored Assets</uplinternal-miniheading> <uplinternal-miniheading>Monitored Assets</uplinternal-miniheading>
<div class="mainbox"> <div class="mainbox">

View File

@ -34,7 +34,7 @@ export class UplStatuspageFooter extends DeesElement {
:host { :host {
display: block; display: block;
background: ${cssManager.bdTheme('#ffffff', '#000000')}; background: ${cssManager.bdTheme('#ffffff', '#000000')};
font-family: Roboto Mono; font-family: Inter;
color: ${cssManager.bdTheme('#333333', '#ffffff')}; color: ${cssManager.bdTheme('#333333', '#ffffff')};
} }

View File

@ -29,7 +29,7 @@ export class UplStatuspageHeader extends DeesElement {
:host { :host {
display: block; display: block;
background: ${cssManager.bdTheme('#eeeeeb', '#222222')}; background: ${cssManager.bdTheme('#eeeeeb', '#222222')};
font-family: Roboto Mono; font-family: Inter;
color: ${cssManager.bdTheme('#333333', '#ffffff')}; color: ${cssManager.bdTheme('#333333', '#ffffff')};
} }
@ -65,7 +65,7 @@ export class UplStatuspageHeader extends DeesElement {
h1 { h1 {
margin: 0px; margin: 0px;
text-align: center; text-align: center;
font-weight: 300; font-weight: 600;
font-size: 35px; font-size: 35px;
} }
@ -73,7 +73,7 @@ export class UplStatuspageHeader extends DeesElement {
margin: 0px; margin: 0px;
margin-top: 10px; margin-top: 10px;
text-align: center; text-align: center;
font-weight: 300; font-weight: 600;
font-size: 18px; font-size: 18px;
} }
` `

View File

@ -46,7 +46,7 @@ export class UplStatuspageIncidents extends DeesElement {
:host { :host {
display: block; display: block;
background: ${cssManager.bdTheme('#eeeeeb', '#222222')}; background: ${cssManager.bdTheme('#eeeeeb', '#222222')};
font-family: Roboto Mono; font-family: Inter;
color: ${cssManager.bdTheme('#333333', '#ffffff')}; color: ${cssManager.bdTheme('#333333', '#ffffff')};
} }
@ -56,7 +56,7 @@ export class UplStatuspageIncidents extends DeesElement {
} }
.noIncidentBox { .noIncidentBox {
background: #333; background: ${cssManager.bdTheme('#ffffff', '#333333')};;
padding: 10px; padding: 10px;
margin-bottom: 15px; margin-bottom: 15px;
border-radius: 3px; border-radius: 3px;

View File

@ -1,4 +1,4 @@
import { DeesElement, property, html, customElement, TemplateResult } from '@designestate/dees-element'; import { DeesElement, property, html, customElement, TemplateResult, cssManager, css } from '@designestate/dees-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@designestate/dees-domtools';
declare global { declare global {
@ -13,21 +13,18 @@ export class UplStatuspageStatusbar extends DeesElement {
<upl-statuspage-statusbar></upl-statuspage-statusbar> <upl-statuspage-statusbar></upl-statuspage-statusbar>
`; `;
constructor() { constructor() {
super(); super();
} }
public render(): TemplateResult { public static styles = [
return html` cssManager.defaultStyles,
${domtools.elementBasic.styles} css`
<style> :host {
:host {
padding: 20px 0px 15px 0px; padding: 20px 0px 15px 0px;
display: block; display: block;
background: #222222; background: ${cssManager.bdTheme('#eeeeeb', '#222222')};;
font-family: Roboto Mono; font-family: Inter;
color: #fff; color: #fff;
} }
@ -39,8 +36,12 @@ export class UplStatuspageStatusbar extends DeesElement {
line-height: 50px; line-height: 50px;
border-radius: 3px; border-radius: 3px;
} }
`,
]
public render(): TemplateResult {
return html`
<style>
</style> </style>
<div class="mainbox"> <div class="mainbox">
Everything is working normally! Everything is working normally!

View File

@ -32,8 +32,8 @@ export class UplStatuspageStatusdetails extends DeesElement {
position: relative; position: relative;
padding: 0px 0px 15px 0px; padding: 0px 0px 15px 0px;
display: block; display: block;
background: #222222; background: ${cssManager.bdTheme('#eeeeeb', '#222222')};;
font-family: Roboto Mono; font-family: Inter;
color: #fff; color: #fff;
} }
@ -41,7 +41,7 @@ export class UplStatuspageStatusdetails extends DeesElement {
margin: auto; margin: auto;
max-width: 900px; max-width: 900px;
text-align: right; text-align: right;
background: #404040; background: ${cssManager.bdTheme('#ffffff', '#333333')};;
line-height: 50px; line-height: 50px;
border-radius: 3px; border-radius: 3px;
} }

View File

@ -32,8 +32,8 @@ export class UplStatuspageStatusmonth extends DeesElement {
position: relative; position: relative;
padding: 0px 0px 15px 0px; padding: 0px 0px 15px 0px;
display: block; display: block;
background: #222222; background: ${cssManager.bdTheme('#eeeeeb', '#222222')};;
font-family: Roboto Mono; font-family: Inter;
color: #fff; color: #fff;
} }
@ -46,7 +46,7 @@ export class UplStatuspageStatusmonth extends DeesElement {
} }
.statusMonth { .statusMonth {
background: #404040; background: ${cssManager.bdTheme('#ffffff', '#333333')};;
min-height: 20px; min-height: 20px;
display: grid; display: grid;
padding: 10px; padding: 10px;