fix(core): update

This commit is contained in:
Philipp Kunz 2019-02-20 23:54:38 +01:00
parent ff4c66b25a
commit 81383b5498
9 changed files with 890 additions and 241 deletions

View File

@ -26,6 +26,7 @@ mirror:
snyk: snyk:
stage: security stage: security
script: script:
- npmci npm prepare
- npmci command npm install -g snyk - npmci command npm install -g snyk
- npmci command npm install --ignore-scripts - npmci command npm install --ignore-scripts
- npmci command snyk test - npmci command snyk test
@ -33,24 +34,39 @@ snyk:
- docker - docker
- notpriv - notpriv
sast:
stage: security
image: registry.gitlab.com/hosttoday/ht-docker-dbase:npmci
variables:
DOCKER_DRIVER: overlay2
allow_failure: true
services:
- docker:stable-dind
script:
- npmci npm prepare
- npmci npm install
- npmci command npm run build
- export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
- docker run
--env SAST_CONFIDENCE_LEVEL="${SAST_CONFIDENCE_LEVEL:-3}"
--volume "$PWD:/code"
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/sast:$SP_VERSION" /app/bin/run /code
artifacts:
reports:
sast: gl-sast-report.json
tags:
- docker
- priv
# ==================== # ====================
# test stage # test stage
# ==================== # ====================
testLEGACY:
stage: test
script:
- npmci node install legacy
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
- notpriv
allow_failure: true
testLTS: testLTS:
stage: test stage: test
script: script:
- npmci npm prepare
- npmci node install lts - npmci node install lts
- npmci npm install - npmci npm install
- npmci npm test - npmci npm test
@ -62,6 +78,7 @@ testLTS:
testSTABLE: testSTABLE:
stage: test stage: test
script: script:
- npmci npm prepare
- npmci node install stable - npmci node install stable
- npmci npm install - npmci npm install
- npmci npm test - npmci npm test
@ -118,6 +135,7 @@ pages:
stage: metadata stage: metadata
script: script:
- npmci command npm install -g typedoc typescript - npmci command npm install -g typedoc typescript
- npmci npm prepare
- npmci npm install - npmci npm install
- npmci command typedoc --module "commonjs" --target "ES2016" --out public/ ts/ - npmci command typedoc --module "commonjs" --target "ES2016" --out public/ ts/
tags: tags:
@ -130,13 +148,3 @@ pages:
paths: paths:
- public - public
allow_failure: true 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

View File

@ -2,5 +2,15 @@
"npmci": { "npmci": {
"npmGlobalTools": [], "npmGlobalTools": [],
"npmAccessLevel": "public" "npmAccessLevel": "public"
},
"gitzone": {
"module": {
"githost": "gitlab.com",
"gitscope": "pushrocks",
"gitrepo": "smartevent",
"shortDescription": "lightweight gulp replacement",
"npmPackagename": "@pushrocks/smartgulp",
"license": "MIT"
}
} }
} }

994
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -23,21 +23,19 @@
}, },
"homepage": "https://gitlab.com/pushrocks/smartgulp#README", "homepage": "https://gitlab.com/pushrocks/smartgulp#README",
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.0.22", "@gitzone/tsbuild": "^2.1.8",
"@gitzone/tsrun": "^1.1.12", "@gitzone/tsrun": "^1.1.17",
"@gitzone/tstest": "^1.0.15", "@gitzone/tstest": "^1.0.18",
"@pushrocks/tapbundle": "^3.0.5", "@pushrocks/tapbundle": "^3.0.7",
"@types/node": "^10.9.4", "@types/node": "^11.9.4",
"gulp-function": "^2.2.14" "gulp-function": "^2.2.14"
}, },
"dependencies": { "dependencies": {
"@pushrocks/smartfile": "^6.0.8", "@pushrocks/smartevent": "^2.0.3",
"@pushrocks/smartfile": "^7.0.0",
"@pushrocks/smartpromise": "^2.0.5", "@pushrocks/smartpromise": "^2.0.5",
"@types/lodash": "^4.14.116", "@pushrocks/smartstream": "^1.0.14",
"@types/through2": "^2.0.33", "@types/through2": "^2.0.34",
"lodash": "^4.17.10", "through2": "^3.0.0"
"smartevent": "^1.0.1",
"smartstream": "^1.0.10",
"through2": "^2.0.3"
} }
} }

26
readme.md Normal file
View File

@ -0,0 +1,26 @@
# @pushrocks/smartevent
lightweight gulp replacement
## Availabililty and Links
* [npmjs.org (npm package)](https://www.npmjs.com/package/@pushrocks/smartgulp)
* [gitlab.com (source)](https://gitlab.com/pushrocks/smartevent)
* [github.com (source mirror)](https://github.com/pushrocks/smartevent)
* [docs (typedoc)](https://pushrocks.gitlab.io/smartevent/)
## Status for master
[![build status](https://gitlab.com/pushrocks/smartevent/badges/master/build.svg)](https://gitlab.com/pushrocks/smartevent/commits/master)
[![coverage report](https://gitlab.com/pushrocks/smartevent/badges/master/coverage.svg)](https://gitlab.com/pushrocks/smartevent/commits/master)
[![npm downloads per month](https://img.shields.io/npm/dm/@pushrocks/smartgulp.svg)](https://www.npmjs.com/package/@pushrocks/smartgulp)
[![Known Vulnerabilities](https://snyk.io/test/npm/@pushrocks/smartgulp/badge.svg)](https://snyk.io/test/npm/@pushrocks/smartgulp)
[![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-standard-brightgreen.svg)](http://standardjs.com/)
## 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)

View File

@ -1,7 +1,7 @@
import { expect, tap } from '@pushrocks/tapbundle'; import { expect, tap } from '@pushrocks/tapbundle';
import * as smartgulp from '../ts/index'; import * as smartgulp from '../ts/index';
import * as smartstream from 'smartstream'; import * as smartstream from '@pushrocks/smartstream';
import * as gulpFunction from 'gulp-function'; import * as gulpFunction from 'gulp-function';
import * as smartq from 'smartq'; import * as smartq from 'smartq';

View File

@ -14,7 +14,7 @@ export let src = (minimatchPathArrayArg: string[]): Transform => {
process.cwd(), process.cwd(),
minimatchPath minimatchPath
); );
smartfileArray = plugins.lodash.concat(smartfileArray, localSmartfileArray); smartfileArray = [...smartfileArray, ...localSmartfileArray];
} }
gulpStream.pipeSmartfileArray(smartfileArray); gulpStream.pipeSmartfileArray(smartfileArray);
}; };

View File

@ -1,7 +1,6 @@
import * as smartevent from 'smartevent'; import * as smartevent from '@pushrocks/smartevent';
import * as smartfile from '@pushrocks/smartfile'; import * as smartfile from '@pushrocks/smartfile';
import * as smartstream from 'smartstream'; import * as smartstream from '@pushrocks/smartstream';
import * as lodash from 'lodash';
import * as through2 from 'through2'; import * as through2 from 'through2';
export { lodash, smartevent, smartfile, smartstream, through2 }; export { smartevent, smartfile, smartstream, through2 };

View File

@ -1,3 +1,17 @@
{ {
"extends": "tslint-config-standard" "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"
]
}
}
},
"defaultSeverity": "warning"
} }