diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 32c7cb7..0f6389a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,17 +1,10 @@ image: hosttoday/ht-docker-node:npmts stages: - - test + - test1 + - test2 - release -testLEGACY: - stage: test - script: - - npmci test legacy - tags: - - docker - - lossless - testLTS: stage: test script: @@ -21,7 +14,7 @@ testLTS: - lossless testSTABLE: - stage: test + stage: test2 script: - npmci test stable tags: diff --git a/package.json b/package.json index a5d9f15..541e4eb 100644 --- a/package.json +++ b/package.json @@ -28,9 +28,11 @@ "cflare": "0.0.6", "fs-extra": "^0.30.0", "letsencrypt": "^1.4.4", + "q": "^1.4.1", "smartcli": "^1.0.2", "smartfile": "^3.0.10", "smartgit": "0.0.10", + "smartstring": "^2.0.9", "typings-global": "^1.0.3" }, "devDependencies": { diff --git a/test/test.ts b/test/test.ts index 61a640b..8de9922 100644 --- a/test/test.ts +++ b/test/test.ts @@ -3,4 +3,5 @@ import "should"; import * as cert from "../dist/index"; import {Qenv} from "qenv"; -let testQenv = new Qenv(process.cwd(), process.cwd() + "/.nogit"); \ No newline at end of file +let testQenv = new Qenv(process.cwd(), process.cwd() + "/.nogit"); + diff --git a/ts/cert.hook.ts b/ts/cert.hook.ts index e7d2da5..333cdb9 100644 --- a/ts/cert.hook.ts +++ b/ts/cert.hook.ts @@ -1,2 +1,3 @@ import * as smartcli from "smartcli"; -import * as cflare from "cflare"; \ No newline at end of file +import * as cflare from "cflare"; + diff --git a/ts/cert.plugins.ts b/ts/cert.plugins.ts index e69de29..253e3b3 100644 --- a/ts/cert.plugins.ts +++ b/ts/cert.plugins.ts @@ -0,0 +1,6 @@ +import "typings-global"; +export import path = require("path"); +export let q = require("q"); +export import smartfile = require("smartfile"); +export import smartstring = require("smartstring"); +