From 8ea7c53154e2c1053b3c9ead429bbbf965b24552 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Sat, 7 Jan 2023 14:05:25 +0100 Subject: [PATCH] fix(core): update --- .gitlab-ci.yml | 40 +- html/index.html | 8 +- package-lock.json | 17360 ---------------------------- package.json | 18 +- pnpm-lock.yaml | 2744 +++++ readme.md | 6 +- ts_web/00_commitinfo_data.ts | 8 + ts_web/elements/wcc-properties.ts | 28 +- ts_web/elements/wcc-sidebar.ts | 25 +- ts_web/index.ts | 2 +- tslint.json | 17 - 11 files changed, 2826 insertions(+), 17430 deletions(-) delete mode 100644 package-lock.json create mode 100644 pnpm-lock.yaml create mode 100644 ts_web/00_commitinfo_data.ts delete mode 100644 tslint.json diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7b61eb3..c96d0c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,31 +13,24 @@ stages: - metadata before_script: - - npm install -g @shipzone/npmci + - pnpm install -g pnpm + - pnpm install -g @shipzone/npmci + - npmci npm prepare # ==================== # security stage # ==================== -mirror: - stage: security - script: - - npmci git mirror - only: - - tags - tags: - - lossless - - docker - - notpriv - +# ==================== +# security stage +# ==================== 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 + - npmci command npm config set registry https://registry.npmjs.org + - npmci command pnpm audit --audit-level=high --prod tags: + - lossless - docker allow_failure: true @@ -45,11 +38,10 @@ 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 + - npmci command pnpm audit --audit-level=high --dev tags: + - lossless - docker allow_failure: true @@ -60,7 +52,6 @@ auditDevDependencies: testStable: stage: test script: - - npmci npm prepare - npmci node install stable - npmci npm install - npmci npm test @@ -71,10 +62,9 @@ testStable: testBuild: stage: test script: - - npmci npm prepare - npmci node install stable - npmci npm install - - npmci command npm run build + - npmci npm build coverage: /\d+.?\d+?\%\s*coverage/ tags: - docker @@ -122,11 +112,9 @@ trigger: pages: stage: metadata script: - - npmci node install lts - - npmci command npm install -g @gitzone/tsdoc - - npmci npm prepare + - npmci node install stable - npmci npm install - - npmci command tsdoc + - npmci command npm run buildDocs tags: - lossless - docker diff --git a/html/index.html b/html/index.html index c58ad64..80f437d 100644 --- a/html/index.html +++ b/html/index.html @@ -1,5 +1,5 @@ - + @@ -10,6 +10,12 @@ /> + + + + + +