fix(core): Fixed incorrect import paths and updated configurations for package publication.

This commit is contained in:
Philipp Kunz 2024-06-26 20:28:09 +02:00
parent 94685bf46e
commit d2243d2376
19 changed files with 4009 additions and 2125 deletions

View File

@ -1,132 +0,0 @@
# gitzone ci_default_private
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
cache:
paths:
- .npmci_cache/
key: '$CI_BUILD_STAGE'
stages:
- security
- test
- release
- metadata
before_script:
- pnpm install -g pnpm
- pnpm install -g @shipzone/npmci
- npmci npm prepare
# ====================
# security stage
# ====================
# ====================
# security stage
# ====================
auditProductionDependencies:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
stage: security
script:
- npmci command npm config set registry https://registry.npmjs.org
- npmci command pnpm audit --audit-level=high --prod
tags:
- lossless
- docker
auditDevDependencies:
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
stage: security
script:
- npmci command npm config set registry https://registry.npmjs.org
- npmci command pnpm audit --audit-level=high --dev
tags:
- lossless
- docker
allow_failure: true
# ====================
# test stage
# ====================
testStable:
stage: test
script:
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- lossless
- docker
- notpriv
testBuild:
stage: test
script:
- npmci node install stable
- npmci npm install
- npmci command npm run build
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- lossless
- docker
- notpriv
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 install
- npmci command tsdoc
tags:
- lossless
- docker
- notpriv
only:
- tags
artifacts:
expire_in: 1 week
paths:
- public
allow_failure: true

46
changelog.md Normal file
View File

@ -0,0 +1,46 @@
# Changelog
## 2024-06-26 - 1.0.72 - fix(core)
Fixed incorrect import paths and updated configurations for package publication.
- Fixed import paths for various dependencies in TypeScript files.
- Updated npm package name and scope in package.json.
- Deleted .gitlab-ci.yml file.
- Adjusted tsconfig.json for ESModule compatibility.
- Adjusted npmextra.json for correct repository and license information.
- Updated documentation links in readme.md.
## 2023-01-05 - 1.0.69 to 1.0.71 - core
Multiple updates.
- fix(core): update
## 2022-03-24 - 1.0.67 to 1.0.69 - core
Multiple updates.
- fix(core): update
## 2021-09-27 - 1.0.60 to 1.0.66 - core
Multiple updates.
- fix(core): update
## 2021-09-24 - 1.0.59 to 1.0.60 - core
Fixes and updates.
- fix(core): update
## 2021-09-23 - 1.0.58 to 1.0.59 - core
Fixes and updates.
- fix(core): update
## 2020-11-29 - 1.0.57 to 1.0.58 - core
Fixes and updates.
- fix(core): update
## 2020-09-19 - 1.0.55 to 1.0.57 - core
Fixes and updates.
- fix(core): update

View File

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

View File

@ -2,12 +2,12 @@
"gitzone": { "gitzone": {
"projectType": "wcc", "projectType": "wcc",
"module": { "module": {
"githost": "gitlab.com", "githost": "code.foss.global",
"gitscope": "uptimelink/private", "gitscope": "uptime.link",
"gitrepo": "catalog", "gitrepo": "statuspage",
"description": "a catalog with webcomponents for uptimelink dashboard", "description": "a catalog with webcomponents for uptimelink dashboard",
"npmPackagename": "@uptimelink_private/catalog", "npmPackagename": "@uptime.link/statuspage",
"license": "UNLICENSED", "license": "MIT",
"projectDomain": "uptime.link" "projectDomain": "uptime.link"
} }
}, },

View File

@ -1,5 +1,5 @@
{ {
"name": "@uptimelink_private/catalog", "name": "@uptime.link/statuspage",
"version": "1.0.71", "version": "1.0.71",
"private": false, "private": false,
"description": "a catalog with webcomponents for uptimelink dashboard", "description": "a catalog with webcomponents for uptimelink dashboard",
@ -8,26 +8,25 @@
"type": "module", "type": "module",
"scripts": { "scripts": {
"test": "npm run build", "test": "npm run build",
"build": "tsbuild element --allowimplicitany && tsbundle element --production", "build": "tsbuild tsfolders --allowimplicitany && tsbundle element --production",
"watch": "tswatch element", "watch": "tswatch element",
"buildDocs": "tsdoc" "buildDocs": "tsdoc"
}, },
"author": "Lossless GmbH", "author": "Lossless GmbH",
"license": "UNLICENSED", "license": "UNLICENSED",
"dependencies": { "dependencies": {
"@designestate/dees-domtools": "^2.0.1", "@design.estate/dees-domtools": "^2.0.1",
"@designestate/dees-element": "^2.0.4", "@design.estate/dees-element": "^2.0.4",
"@designestate/dees-wcctools": "^1.0.73", "@design.estate/dees-wcctools": "^1.0.73",
"@losslessone_private/loint-pubapi": "^1.0.10", "@uptime.link/interfaces": "^2.0.21"
"@uptimelink/interfaces": "^1.0.10"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.61", "@git.zone/tsbuild": "^2.1.61",
"@gitzone/tsbundle": "^2.0.7", "@git.zone/tsbundle": "^2.0.7",
"@gitzone/tsrun": "^1.2.39", "@git.zone/tsrun": "^1.2.39",
"@gitzone/tswatch": "^2.0.5", "@git.zone/tswatch": "^2.0.5",
"@pushrocks/projectinfo": "^5.0.1", "@push.rocks/projectinfo": "^5.0.1",
"@pushrocks/smartenv": "^5.0.0", "@push.rocks/smartenv": "^5.0.0",
"@types/node": "^18.11.18" "@types/node": "^18.11.18"
}, },
"files": [ "files": [

5847
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

0
readme.hints.md Normal file
View File

View File

@ -1,4 +1,4 @@
# @uptimelink/private/catalog # @uptime.link/private/catalog
a catalog with webcomponents for uptimelink dashboard a catalog with webcomponents for uptimelink dashboard
## Availabililty and Links ## Availabililty and Links

View File

@ -1,8 +1,8 @@
/** /**
* autocreated commitinfo by @pushrocks/commitinfo * autocreated commitinfo by @push.rocks/commitinfo
*/ */
export const commitinfo = { export const commitinfo = {
name: '@uptimelink_private/catalog', name: '@uptime.link/statuspage',
version: '1.0.71', version: '1.0.72',
description: 'a catalog with webcomponents for uptimelink dashboard' description: 'a catalog with webcomponents for uptimelink dashboard'
} }

View File

@ -1,6 +1,6 @@
import { customElement, DeesElement, html, TemplateResult } from '@designestate/dees-element'; import { customElement, DeesElement, html, type TemplateResult } from '@design.estate/dees-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@design.estate/dees-domtools';
@customElement('uplinternal-miniheading') @customElement('uplinternal-miniheading')
export class UplinternalMiniheading extends DeesElement { export class UplinternalMiniheading extends DeesElement {

View File

@ -3,11 +3,11 @@ import {
property, property,
html, html,
customElement, customElement,
TemplateResult, type TemplateResult,
cssManager, cssManager,
css, css,
} from '@designestate/dees-element'; } from '@design.estate/dees-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@design.estate/dees-domtools';
import './internal/uplinternal-miniheading.js'; import './internal/uplinternal-miniheading.js';

View File

@ -1,5 +1,5 @@
import { DeesElement, property, html, customElement, TemplateResult, css, cssManager } from '@designestate/dees-element'; import { DeesElement, property, html, customElement, type TemplateResult, css, cssManager } from '@design.estate/dees-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@design.estate/dees-domtools';
declare global { declare global {
interface HTMLElementTagNameMap { interface HTMLElementTagNameMap {

View File

@ -1,5 +1,5 @@
import { DeesElement, property, html, customElement, TemplateResult, css, cssManager } from '@designestate/dees-element'; import { DeesElement, property, html, customElement, type TemplateResult, css, cssManager } from '@design.estate/dees-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@design.estate/dees-domtools';
declare global { declare global {
interface HTMLElementTagNameMap { interface HTMLElementTagNameMap {

View File

@ -4,10 +4,10 @@ import {
property, property,
html, html,
customElement, customElement,
TemplateResult, type TemplateResult,
css, css,
cssManager, cssManager,
} from '@designestate/dees-element'; } from '@design.estate/dees-element';
declare global { declare global {
interface HTMLElementTagNameMap { interface HTMLElementTagNameMap {

View File

@ -1,5 +1,5 @@
import { DeesElement, property, html, customElement, TemplateResult, cssManager, css } from '@designestate/dees-element'; import { DeesElement, property, html, customElement, type TemplateResult, cssManager, css } from '@design.estate/dees-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@design.estate/dees-domtools';
declare global { declare global {
interface HTMLElementTagNameMap { interface HTMLElementTagNameMap {

View File

@ -4,10 +4,10 @@ import {
property, property,
html, html,
customElement, customElement,
TemplateResult, type TemplateResult,
css, css,
cssManager, cssManager,
} from '@designestate/dees-element'; } from '@design.estate/dees-element';
import './internal/uplinternal-miniheading.js'; import './internal/uplinternal-miniheading.js';

View File

@ -3,11 +3,11 @@ import {
property, property,
html, html,
customElement, customElement,
TemplateResult, type TemplateResult,
css, css,
cssManager cssManager
} from '@designestate/dees-element'; } from '@design.estate/dees-element';
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@design.estate/dees-domtools';
import './internal/uplinternal-miniheading.js'; import './internal/uplinternal-miniheading.js';

View File

@ -1,5 +1,5 @@
import * as domtools from '@designestate/dees-domtools'; import * as domtools from '@design.estate/dees-domtools';
import * as uplInterfaces from '@uptimelink/interfaces'; import * as uplInterfaces from '@uptime.link/interfaces';
export { export {
domtools, domtools,

View File

@ -1,8 +1,14 @@
{ {
"compilerOptions": { "compilerOptions": {
"experimentalDecorators": true, "experimentalDecorators": true,
"useDefineForClassFields": false,
"target": "ES2022", "target": "ES2022",
"module": "ES2022", "module": "NodeNext",
"moduleResolution": "nodenext" "moduleResolution": "NodeNext",
} "esModuleInterop": true,
"verbatimModuleSyntax": true
},
"exclude": [
"dist_*/**/*.d.ts"
]
} }