17 Commits

Author SHA1 Message Date
1e5e1ced6a 1.0.22 2019-09-05 17:17:34 +02:00
4d3df85041 fix(core): update 2019-09-05 17:17:33 +02:00
fa2a5607c4 1.0.21 2019-06-04 13:55:57 +02:00
36f79cac12 fix(core): update 2019-06-04 13:55:56 +02:00
c446c50d75 1.0.20 2019-06-04 11:46:17 +02:00
0ccff2a370 fix(core): update 2019-06-04 11:46:16 +02:00
1b54d2ca30 1.0.19 2019-06-04 11:41:48 +02:00
691e78ecbc fix(core): update 2019-06-04 11:41:47 +02:00
e42cdcf339 1.0.18 2019-06-04 11:33:38 +02:00
49c56c3d53 fix(core): update 2019-06-04 11:33:38 +02:00
18454e53dc 1.0.17 2019-06-04 11:27:28 +02:00
4d219d37d7 1.0.16 2019-06-04 11:25:51 +02:00
42e6898dc5 fix(core): update 2019-06-04 11:25:51 +02:00
67b0d0bd37 1.0.15 2019-05-23 15:53:30 +02:00
f9054f6bfd fix(core): remove obsolete @types/open 2019-05-23 15:53:30 +02:00
b959d8566e 1.0.14 2019-05-23 15:52:30 +02:00
86632619fd fix(core): update 2019-05-23 15:52:30 +02:00
8 changed files with 547 additions and 465 deletions

20
.gitignore vendored
View File

@ -1,4 +1,22 @@
node_modules/ .nogit/
# artifacts
coverage/ coverage/
public/ public/
pages/ pages/
# installs
node_modules/
# caches
.yarn/
.cache/
.rpt2_cache
# builds
dist/
dist_web/
dist_serve/
dist_ts_web/
# custom

View File

@ -1,5 +1,5 @@
# gitzone standard # gitzone ci_default
image: hosttoday/ht-docker-node:npmci image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
cache: cache:
paths: paths:
@ -38,19 +38,7 @@ snyk:
# test stage # test stage
# ==================== # ====================
testLTS: testStable:
stage: test
script:
- npmci npm prepare
- npmci node install lts
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
- notpriv
testSTABLE:
stage: test stage: test
script: script:
- npmci npm prepare - npmci npm prepare
@ -60,12 +48,24 @@ testSTABLE:
coverage: /\d+.?\d+?\%\s*coverage/ coverage: /\d+.?\d+?\%\s*coverage/
tags: tags:
- docker - docker
- priv
testBuild:
stage: test
script:
- npmci npm prepare
- npmci node install lts
- npmci npm install
- npmci command npm run build
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
- notpriv - notpriv
release: release:
stage: release stage: release
script: script:
- npmci node install stable - npmci node install lts
- npmci npm publish - npmci npm publish
only: only:
- tags - tags
@ -78,19 +78,11 @@ release:
# ==================== # ====================
codequality: codequality:
stage: metadata stage: metadata
image: docker:stable
allow_failure: true allow_failure: true
services:
- docker:stable-dind
script: script:
- export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') - npmci command npm install -g tslint typescript
- docker run - npmci npm install
--env SOURCE_CODE="$PWD" - npmci command "tslint -c tslint.json ./ts/**/*.ts"
--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: tags:
- docker - docker
- priv - priv
@ -106,13 +98,15 @@ trigger:
- notpriv - notpriv
pages: pages:
image: hosttoday/ht-docker-node:npmci image: hosttoday/ht-docker-dbase:npmci
services:
- docker:stable-dind
stage: metadata stage: metadata
script: script:
- npmci command npm install -g typedoc typescript - npmci command npm install -g @gitzone/tsdoc
- npmci npm prepare - npmci npm prepare
- npmci npm install - npmci npm install
- npmci command typedoc --module "commonjs" --target "ES2016" --out public/ ts/ - npmci command tsdoc
tags: tags:
- docker - docker
- notpriv - notpriv

View File

@ -31,6 +31,6 @@ run();
For further information read the linked docs at the top of this readme. For further information read the linked docs at the top of this readme.
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) > 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)

View File

@ -1,10 +1,6 @@
{ {
"npmci": { "npmci": {
"npmGlobalTools": [ "npmGlobalTools": [],
"npmts",
"ts-node",
"typescript"
],
"npmAccessLevel": "public" "npmAccessLevel": "public"
}, },
"npmts": { "npmts": {

893
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartopen", "name": "@pushrocks/smartopen",
"version": "1.0.13", "version": "1.0.22",
"description": "open things", "description": "open things",
"main": "dist/index.js", "main": "dist/index.js",
"typings": "dist/index.d.ts", "typings": "dist/index.d.ts",
@ -22,15 +22,26 @@
}, },
"homepage": "https://gitlab.com/pushrocks/smartopen#README", "homepage": "https://gitlab.com/pushrocks/smartopen#README",
"dependencies": { "dependencies": {
"@types/open": "^0.0.29", "open": "^6.4.0"
"@types/opn": "^5.1.0",
"opn": "^5.3.0"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.8", "@gitzone/tsbuild": "^2.1.17",
"@gitzone/tstest": "^1.0.20", "@gitzone/tstest": "^1.0.24",
"@types/node": "^10.1.2", "@pushrocks/tapbundle": "^3.0.13",
"tapbundle": "^2.0.0" "@types/node": "^12.7.4",
"tslint": "^5.19.0",
"tslint-config-prettier": "^1.18.0"
}, },
"private": true "private": false,
"files": [
"ts/*",
"ts_web/*",
"dist/*",
"dist_web/*",
"dist_ts_web/*",
"assets/*",
"cli.js",
"npmextra.json",
"readme.md"
]
} }

View File

@ -1,4 +1,4 @@
import { expect, tap } from 'tapbundle'; import { expect, tap } from '@pushrocks/tapbundle';
import * as smartopen from '../ts/index'; import * as smartopen from '../ts/index';

View File

@ -1,4 +1,4 @@
import open = require('opn'); import open from 'open';
import { ChildProcess } from 'child_process'; import { ChildProcess } from 'child_process';
export let openUrl = async urlArg => { export let openUrl = async urlArg => {