diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e276113..b14b4ac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,16 @@ # gitzone ci_default image: registry.gitlab.com/hosttoday/ht-docker-node:npmci -variables: - GIT_STRATEGY: clone cache: paths: - - .npmci_cache/ - key: "$CI_BUILD_STAGE" + - .npmci_cache/ + key: '$CI_BUILD_STAGE' stages: -- security -- test -- release -- metadata + - security + - test + - release + - metadata # ==================== # security stage @@ -20,10 +18,11 @@ stages: mirror: stage: security script: - - npmci git mirror + - npmci git mirror tags: - - docker - - notpriv + - lossless + - docker + - notpriv snyk: stage: security @@ -33,47 +32,51 @@ snyk: - npmci command npm install --ignore-scripts - npmci command snyk test tags: - - docker - - notpriv + - lossless + - docker + - notpriv # ==================== # test stage # ==================== -testLTS: +testStable: stage: test script: - - npmci npm prepare - - npmci node install lts - - npmci npm install - - npmci npm test + - npmci npm prepare + - npmci node install stable + - npmci npm install + - npmci npm test coverage: /\d+.?\d+?\%\s*coverage/ tags: - - docker - - priv + - lossless + - docker + - priv testBuild: stage: test script: - - npmci npm prepare - - npmci node install lts - - npmci npm install - - npmci command npm run build + - npmci npm prepare + - npmci node install stable + - npmci npm install + - npmci command npm run build coverage: /\d+.?\d+?\%\s*coverage/ tags: - - docker - - notpriv + - lossless + - docker + - notpriv release: stage: release script: - - npmci node install lts - - npmci npm publish + - npmci node install stable + - npmci npm publish only: - - tags + - tags tags: - - docker - - notpriv + - lossless + - docker + - notpriv # ==================== # metadata stage @@ -83,33 +86,35 @@ 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: - - docker - - priv + - lossless + - docker + - priv trigger: stage: metadata script: - - npmci trigger + - npmci trigger only: - - tags + - tags tags: - - docker - - notpriv + - lossless + - docker + - notpriv pages: - image: hosttoday/ht-docker-dbase:npmci - services: - - docker:18-dind stage: metadata script: + - npmci node install lts - npmci command npm install -g @gitzone/tsdoc - npmci npm prepare - npmci npm install - npmci command tsdoc tags: + - lossless - docker - notpriv only: @@ -117,5 +122,5 @@ pages: artifacts: expire_in: 1 week paths: - - public + - public allow_failure: true diff --git a/README.md b/README.md index ad031ce..a5ed2e4 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,10 @@ tap.test('my awesome test 5', async () => { tap.start(); // start the test, will automtically plan tests for you (so the tap parser knows when tests exit bofore they are finished) ``` +## Contribution + +We are always happy for code contributions. If you are not the code contributing type that is ok. Still, maintaining Open Source repositories takes considerable time and thought. If you like the quality of what we do and our modules are useful to you we would appreciate a little monthly contribution: You can [contribute one time](https://lossless.link/contribute-onetime) or [contribute monthly](https://lossless.link/contribute). :) + For further information read the linked docs at the top of this readme. > MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml deleted file mode 100644 index 5efc6fc..0000000 --- a/docs/mkdocs.yml +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright (c) 2016-2017 Martin Donath - -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: - -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. - -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. - -# Project information -site_name: tapbundle | docs -site_description: a taprunner -site_author: Lossless GmbH -site_url: https://push.rocks - -# Repository -repo_name: pushrocks/tapbundle -repo_url: https://gitlab.com/pushrocks/tapbundle - -# Copyright -copyright: 'Copyright © 2014 Lossless GmbH' - -# Theme directory -theme: material -theme_dir: 'theme' - -# Options -extra: - feature: - tabs: false - palette: - primary: indigo - accent: indigo - social: - - type: globe - link: http://lossless.com - - type: github-alt - link: https://github.com/philkunz - - type: twitter - link: https://twitter.com/philkunzcom - - type: linkedin - link: https://linkedin.com/in/philippkunz - -# Extensions -markdown_extensions: - - markdown.extensions.admonition - - markdown.extensions.codehilite(guess_lang=false, linenums=true) - - markdown.extensions.def_list - - markdown.extensions.footnotes - - markdown.extensions.meta - - markdown.extensions.toc(permalink=true) - - pymdownx.arithmatex - - pymdownx.betterem(smart_enable=all) - - pymdownx.caret - - pymdownx.critic - - pymdownx.details - - pymdownx.emoji: - emoji_generator: !!python/name:pymdownx.emoji.to_svg - - pymdownx.inlinehilite - - pymdownx.magiclink - - pymdownx.mark - - pymdownx.smartsymbols - - pymdownx.superfences - - pymdownx.tasklist(custom_checkbox=true) - - pymdownx.tilde - -# Page tree -pages: - - Repo Readme: index.md - - Get Started: getstarted.md - - License: license.md - -# Google Analytics -google_analytics: - - !!python/object/apply:os.getenv ["GOOGLE_ANALYTICS_KEY"] - - auto \ No newline at end of file diff --git a/docs/theme/partials/footer.html b/docs/theme/partials/footer.html deleted file mode 100644 index 06759af..0000000 --- a/docs/theme/partials/footer.html +++ /dev/null @@ -1,56 +0,0 @@ -{% import "partials/language.html" as lang %} - \ No newline at end of file diff --git a/package.json b/package.json index b1bb4f3..3d98099 100644 --- a/package.json +++ b/package.json @@ -35,14 +35,14 @@ "tslint-config-prettier": "^1.18.0" }, "files": [ - "ts/*", - "ts_web/*", - "dist/*", - "dist_web/*", - "dist_ts_web/*", - "assets/*", + "ts/**/*", + "ts_web/**/*", + "dist/**/*", + "dist_web/**/*", + "dist_ts_web/**/*", + "assets/**/*", "cli.js", "npmextra.json", "readme.md" ] -} +} \ No newline at end of file