fix(core): update

This commit is contained in:
Philipp Kunz 2022-10-15 10:51:42 +02:00
parent b0de29a26a
commit 6bb30e4e5b
10 changed files with 22 additions and 33 deletions

View File

@ -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,7 +62,6 @@ testStable:
testBuild:
stage: test
script:
- npmci npm prepare
- npmci node install stable
- npmci npm install
- npmci command npm run build
@ -122,8 +112,7 @@ trigger:
pages:
stage: metadata
script:
- npmci node install stable
- npmci npm prepare
- npmci node install stable
- npmci npm install
- npmci command npm run buildDocs
tags:

View File

@ -49,4 +49,4 @@
"browserslist": [
"last 1 chrome versions"
]
}
}

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@tsclass/tsclass',
version: '4.0.22',
version: '4.0.23',
description: 'common classes for TypeScript'
}

View File

@ -1,4 +1,4 @@
import { finance } from '../index.js'
import { finance } from '../index.js';
import { business } from '../index.js';
export type TContactSalutation = 'Mr' | 'Ms' | 'Mrs';

View File

@ -2,7 +2,7 @@ export interface IPdf {
name: string;
id: string;
metadata: {
textExtraction: string;
textExtraction: string;
};
buffer: ArrayBufferLike;
}
}

View File

@ -1,3 +1,3 @@
export * from './mongodescriptor.js';
export * from './objectaction.js';
export * from './wrappeddata.js'
export * from './wrappeddata.js';

View File

@ -1,3 +1,3 @@
export interface IWrappedData<T> {
data: T;
}
}

View File

@ -11,4 +11,4 @@ export interface IPayPalConnection {
export interface IPaymentOptionInfo {
sepaConnection: ISepaConnection;
payPal: IPayPalConnection;
}
}

View File

@ -7,4 +7,4 @@ export interface IDevice {
name?: string;
ipv4?: string;
ipv6?: string;
}
}

View File

@ -1 +1 @@
export * from './menuitem.js';
export * from './menuitem.js';