diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8d4acf4..f7a8a53 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,22 +38,34 @@ snyk: # test stage # ==================== -testLTS: +testStable: stage: test script: - npmci npm prepare - - npmci node install lts + - npmci node install stable - npmci npm install - npmci npm test coverage: /\d+.?\d+?\%\s*coverage/ tags: - docker + - priv + +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 - notpriv release: stage: release script: - - npmci node install lts + - npmci node install stable - npmci npm publish only: - tags @@ -69,6 +81,7 @@ codequality: allow_failure: true script: - npmci command npm install -g tslint typescript + - npmci npm prepare - npmci npm install - npmci command "tslint -c tslint.json ./ts/**/*.ts" tags: @@ -86,9 +99,9 @@ trigger: - notpriv pages: - image: hosttoday/ht-docker-node:npmci stage: metadata script: + - npmci node install lts - npmci command npm install -g @gitzone/tsdoc - npmci npm prepare - npmci npm install diff --git a/package.json b/package.json index bc6a9fe..eb999ca 100644 --- a/package.json +++ b/package.json @@ -25,13 +25,14 @@ }, "private": true, "files": [ - "ts/*", - "ts_web/*", - "dist/*", - "dist_web/*", - "assets/*", + "ts/**/*", + "ts_web/**/*", + "dist/**/*", + "dist_web/**/*", + "dist_ts_web/**/*", + "assets/**/*", "cli.js", "npmextra.json", "readme.md" ] -} +} \ No newline at end of file diff --git a/readme.md b/readme.md index b9c8693..79d475c 100644 --- a/readme.md +++ b/readme.md @@ -21,6 +21,6 @@ simple cloud independent object storage For further information read the linked docs at the top of this readme. > MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) -| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html) +| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy) -[![repo-footer](https://pushrocks.gitlab.io/assets/repo-footer.svg)](https://maintainedby.lossless.com) +[![repo-footer](https://lossless.gitlab.io/publicrelations/repofooter.svg)](https://maintainedby.lossless.com) diff --git a/ts/smartbucket.classes.bucket.ts b/ts/smartbucket.classes.bucket.ts index cf70c89..288210f 100644 --- a/ts/smartbucket.classes.bucket.ts +++ b/ts/smartbucket.classes.bucket.ts @@ -1,5 +1,3 @@ import * as plugins from './smartbucket.plugins'; -export class Bucket { - -} \ No newline at end of file +export class Bucket {} diff --git a/ts/smartbucket.classes.directory.ts b/ts/smartbucket.classes.directory.ts index f36f191..cca3b9a 100644 --- a/ts/smartbucket.classes.directory.ts +++ b/ts/smartbucket.classes.directory.ts @@ -1,5 +1,3 @@ import * as plugins from './smartbucket.plugins'; -export class Directory { - -} +export class Directory {} diff --git a/ts/smartbucket.classes.file.ts b/ts/smartbucket.classes.file.ts index 6c3e39e..df7f2cd 100644 --- a/ts/smartbucket.classes.file.ts +++ b/ts/smartbucket.classes.file.ts @@ -1,5 +1,3 @@ import * as plugins from './smartbucket.plugins'; -export class File { - -} \ No newline at end of file +export class File {} diff --git a/ts/smartbucket.classes.smartbucket.ts b/ts/smartbucket.classes.smartbucket.ts index da0cee6..eca16bf 100644 --- a/ts/smartbucket.classes.smartbucket.ts +++ b/ts/smartbucket.classes.smartbucket.ts @@ -19,7 +19,5 @@ export class SmartBucket { /** * initializes the Smartbucket */ - public async init() { - - } + public async init() {} }