From 1712f8e628ebb154699226956c0005b57ed885ba Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 5 May 2019 17:43:44 +0200 Subject: [PATCH] fix(core): update --- .gitlab-ci.yml | 22 ---------------------- npmextra.json | 12 +++++++++++- package.json | 2 +- readme.md | 26 ++++++++++++++++++++++++++ tslint.json | 20 +++++++++++++++----- 5 files changed, 53 insertions(+), 29 deletions(-) create mode 100644 readme.md diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 67fd2eb..8321aed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,18 +37,6 @@ snyk: # ==================== # test stage # ==================== -testLEGACY: - stage: test - script: - - npmci npm prepare - - npmci node install legacy - - npmci npm install - - npmci npm test - coverage: /\d+.?\d+?\%\s*coverage/ - tags: - - docker - - notpriv - allow_failure: true testLTS: stage: test @@ -135,13 +123,3 @@ pages: paths: - public allow_failure: true - -windowsCompatibility: - image: stefanscherer/node-windows:10-build-tools - stage: metadata - script: - - npm install & npm test - coverage: /\d+.?\d+?\%\s*coverage/ - tags: - - windows - allow_failure: true diff --git a/npmextra.json b/npmextra.json index 193d59b..bd99d7b 100644 --- a/npmextra.json +++ b/npmextra.json @@ -2,5 +2,15 @@ "npmci": { "npmGlobalTools": [], "npmAccessLevel": "public" + }, + "gitzone": { + "module": { + "githost": "gitlab.com", + "gitscope": "pushrocks", + "gitrepo": "smartmarkdown", + "shortDescription": "do more with markdown files", + "npmPackagename": "@pushrocks/smartmarkdown", + "license": "MIT" + } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 0ea692d..5728ca7 100644 --- a/package.json +++ b/package.json @@ -22,4 +22,4 @@ "@types/marked": "^0.6.5", "marked": "^0.6.2" } -} +} \ No newline at end of file diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..aede05f --- /dev/null +++ b/readme.md @@ -0,0 +1,26 @@ +# @pushrocks/smartmarkdown +do more with markdown files + +## Availabililty and Links +* [npmjs.org (npm package)](https://www.npmjs.com/package/@pushrocks/smartmarkdown) +* [gitlab.com (source)](https://gitlab.com/pushrocks/smartmarkdown) +* [github.com (source mirror)](https://github.com/pushrocks/smartmarkdown) +* [docs (typedoc)](https://pushrocks.gitlab.io/smartmarkdown/) + +## Status for master +[![build status](https://gitlab.com/pushrocks/smartmarkdown/badges/master/build.svg)](https://gitlab.com/pushrocks/smartmarkdown/commits/master) +[![coverage report](https://gitlab.com/pushrocks/smartmarkdown/badges/master/coverage.svg)](https://gitlab.com/pushrocks/smartmarkdown/commits/master) +[![npm downloads per month](https://img.shields.io/npm/dm/@pushrocks/smartmarkdown.svg)](https://www.npmjs.com/package/@pushrocks/smartmarkdown) +[![Known Vulnerabilities](https://snyk.io/test/npm/@pushrocks/smartmarkdown/badge.svg)](https://snyk.io/test/npm/@pushrocks/smartmarkdown) +[![TypeScript](https://img.shields.io/badge/TypeScript->=%203.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/) +[![node](https://img.shields.io/badge/node->=%2010.x.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/) +[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-prettier-ff69b4.svg)](https://prettier.io/) + +## Usage + +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) + +[![repo-footer](https://pushrocks.gitlab.io/assets/repo-footer.svg)](https://maintainedby.lossless.com) diff --git a/tslint.json b/tslint.json index 566dd3b..d4ea2e9 100644 --- a/tslint.json +++ b/tslint.json @@ -1,7 +1,17 @@ { - "extends": ["tslint:latest", "tslint-config-prettier"], - "rules": { - "semicolon": [true, "always"] + "extends": ["tslint:latest", "tslint-config-prettier"], + "rules": { + "semicolon": [true, "always"], + "no-console": false, + "ordered-imports": false, + "object-literal-sort-keys": false, + "member-ordering": { + "options":{ + "order": [ + "static-method" + ] + } } - } - \ No newline at end of file + }, + "defaultSeverity": "warning" +}