Compare commits

...

8 Commits

Author SHA1 Message Date
e0611f3f64 8.0.37 2018-05-04 00:27:35 +02:00
928f3212a3 update dependencies 2018-05-04 00:27:31 +02:00
7c7e45ad54 8.0.36 2018-05-03 18:05:42 +02:00
797d9e2bcd add codequality step 2018-05-03 18:05:37 +02:00
578cd2d097 8.0.35 2018-05-03 13:30:05 +02:00
5a7dd901f0 update ci 2018-05-03 13:30:01 +02:00
2104fc01e6 update build 2018-05-03 13:28:46 +02:00
4eacef56d5 8.0.34 2018-05-03 13:05:24 +02:00
7 changed files with 4070 additions and 20 deletions

3
.gitignore vendored
View File

@ -4,4 +4,5 @@ test/
pages/
public/
npm-debug/
.DS_Store
.DS_Store
.yarn/

View File

@ -19,6 +19,7 @@ mirror:
- npmci git mirror
tags:
- docker
- notpriv
snyk:
stage: security
@ -28,6 +29,26 @@ snyk:
- npmci command snyk test
tags:
- docker
- notpriv
codequality:
stage: security
image: docker:stable
allow_failure: true
services:
- docker:stable-dind
script:
- export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
- docker run
--env SOURCE_CODE="$PWD"
--volume "$PWD":/code
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
artifacts:
paths: [codeclimate.json]
tags:
- docker
- priv
testLEGACY:
stage: test
@ -38,6 +59,7 @@ testLEGACY:
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
- notpriv
allow_failure: true
testLTS:
@ -49,6 +71,7 @@ testLTS:
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
- notpriv
testSTABLE:
stage: test
@ -59,6 +82,7 @@ testSTABLE:
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
- notpriv
release:
stage: release
@ -70,6 +94,7 @@ release:
- tags
tags:
- docker
- notpriv
trigger:
stage: trigger
@ -79,6 +104,7 @@ trigger:
- tags
tags:
- docker
- notpriv
pages:
image: hosttoday/ht-docker-node:npmci
@ -88,6 +114,7 @@ pages:
- npmci command npmpage
tags:
- docker
- notpriv
only:
- tags
artifacts:

View File

@ -1,6 +0,0 @@
compile/
coverage/
test/
docs/
examples
.gitignore

View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/npmts",
"version": "8.0.33",
"version": "8.0.37",
"description": "best practice npm TypeScript modules",
"main": "dist/index.js",
"bin": {
@ -8,6 +8,7 @@
},
"scripts": {
"test": "(npm run compile && npm run prepareTest && npm run setupCheck && npm run check && npm run checkVersion && npm run checkNoTest && npm run checkNoDocs)",
"build": "npm test",
"testShort": "(npm run compile && npm run check)",
"prepareTest": "(rm -rf test/)",
"compile": "(rm -rf dist/ && tsc)",
@ -34,7 +35,7 @@
},
"homepage": "https://gitlab.com/gitzone/npmts#readme",
"dependencies": {
"@pushrocks/smartcli": "^3.0.0",
"@pushrocks/smartcli": "^3.0.1",
"@types/gulp-sourcemaps": "0.0.32",
"@types/minimatch": "^3.0.1",
"@types/through2": "^2.0.33",

View File

@ -51,11 +51,10 @@ export let run = async () => {
);
plugins.beautylog.log('---------------------------------------------');
let npmtsCli = new plugins.smartcli.Smartcli();
// build
npmtsCli
.addCommand('build')
.subscribe(async (argvArg) => {
npmtsCli.addCommand('build').subscribe(
async argvArg => {
let done = q.defer();
plugins.beautylog.info('npmts version: ' + npmtsProjectInfo.version);
const configArg: NpmtsConfig.INpmtsConfig = await NpmtsConfig.run(argvArg);
@ -94,16 +93,18 @@ export let run = async () => {
.then(NpmtsShip.run);
return done.promise;
}, err => {
},
err => {
if (err instanceof Error) {
console.log(err);
}
})
}
);
// standard task
npmtsCli.standardTask().subscribe(async argvArg => {
await npmtsCli.trigger('build')
})
await npmtsCli.trigger('build');
});
// cli metadata
npmtsCli.addVersion(npmtsProjectInfo.version);

4026
yarn-error.log Normal file

File diff suppressed because it is too large Load Diff

View File

@ -19,9 +19,9 @@
normalize-path "^2.0.1"
through2 "^2.0.3"
"@pushrocks/smartcli@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@pushrocks/smartcli/-/smartcli-3.0.0.tgz#1840db8c8e5504ac136ce4051f3906158338192a"
"@pushrocks/smartcli@^3.0.1":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@pushrocks/smartcli/-/smartcli-3.0.1.tgz#330ca93f83ecaa23f9213cefa23270105a7728fc"
dependencies:
"@types/yargs" "^11.0.0"
beautylog "^6.1.10"