diff --git a/.gitignore b/.gitignore
index f867f13..e964f32 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
node_modules/
coverage/
pages/
+public/
config.json
\ No newline at end of file
diff --git a/dist/npmci.clean.d.ts b/dist/npmci.clean.d.ts
index 46eb639..875b96a 100644
--- a/dist/npmci.clean.d.ts
+++ b/dist/npmci.clean.d.ts
@@ -1,5 +1,5 @@
///
-import * as plugins from "./npmci.plugins";
+import * as plugins from './npmci.plugins';
/**
* cleans npmci config files
*/
diff --git a/dist/npmci.clean.js b/dist/npmci.clean.js
index fcd25e3..0b2ab2a 100644
--- a/dist/npmci.clean.js
+++ b/dist/npmci.clean.js
@@ -10,4 +10,4 @@ exports.clean = () => {
done.resolve();
return done.promise;
};
-//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuY2xlYW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9ucG1jaS5jbGVhbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsMkNBQTJDO0FBQzNDLHVDQUFzQztBQUV0Qzs7R0FFRztBQUNRLFFBQUEsS0FBSyxHQUFHO0lBQ2YsSUFBSSxJQUFJLEdBQUcsT0FBTyxDQUFDLENBQUMsQ0FBQyxLQUFLLEVBQUUsQ0FBQztJQUM3QixPQUFPLENBQUMsU0FBUyxDQUFDLEVBQUUsQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDLGtCQUFrQixDQUFDLENBQUM7SUFDMUQsSUFBSSxDQUFDLE9BQU8sRUFBRSxDQUFDO0lBQ2YsTUFBTSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUM7QUFDeEIsQ0FBQyxDQUFDIn0=
\ No newline at end of file
+//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuY2xlYW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9ucG1jaS5jbGVhbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsMkNBQTBDO0FBQzFDLHVDQUFzQztBQUV0Qzs7R0FFRztBQUNRLFFBQUEsS0FBSyxHQUFHO0lBQ2YsSUFBSSxJQUFJLEdBQUcsT0FBTyxDQUFDLENBQUMsQ0FBQyxLQUFLLEVBQUUsQ0FBQTtJQUM1QixPQUFPLENBQUMsU0FBUyxDQUFDLEVBQUUsQ0FBQyxVQUFVLENBQUMsS0FBSyxDQUFDLGtCQUFrQixDQUFDLENBQUE7SUFDekQsSUFBSSxDQUFDLE9BQU8sRUFBRSxDQUFBO0lBQ2QsTUFBTSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUE7QUFDdkIsQ0FBQyxDQUFBIn0=
\ No newline at end of file
diff --git a/dist/npmci.command.d.ts b/dist/npmci.command.d.ts
index 0c4b2a7..f611a71 100644
--- a/dist/npmci.command.d.ts
+++ b/dist/npmci.command.d.ts
@@ -1,3 +1,3 @@
///
-import * as plugins from "./npmci.plugins";
+import * as plugins from './npmci.plugins';
export declare let command: () => plugins.q.Promise<{}>;
diff --git a/dist/npmci.command.js b/dist/npmci.command.js
index 68751f8..1a0e61d 100644
--- a/dist/npmci.command.js
+++ b/dist/npmci.command.js
@@ -3,15 +3,16 @@ const plugins = require("./npmci.plugins");
const npmci_bash_1 = require("./npmci.bash");
exports.command = () => {
let done = plugins.q.defer();
- let wrappedCommand = "";
+ let wrappedCommand = '';
let argvArray = process.argv;
for (let i = 3; i < argvArray.length; i++) {
wrappedCommand = wrappedCommand + argvArray[i];
- if (i + 1 != argvArray.length)
- wrappedCommand = wrappedCommand + " ";
+ if (i + 1 !== argvArray.length) {
+ wrappedCommand = wrappedCommand + ' ';
+ }
}
npmci_bash_1.bash(wrappedCommand);
done.resolve();
return done.promise;
};
-//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuY29tbWFuZC5qcyIsIn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UM7QUFFdEIsUUFBQSxPQUFPLEdBQUc7SUFDakIsSUFBSSxJQUFJLEdBQUcsT0FBTyxDQUFDLENBQUMsQ0FBQyxLQUFLLEVBQUUsQ0FBQTtJQUM1QixJQUFJLGNBQWMsR0FBVyxFQUFFLENBQUE7SUFDL0IsSUFBSSxTQUFTLEdBQUcsT0FBTyxDQUFDLElBQUksQ0FBQTtJQUM1QixHQUFHLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxHQUFHLFNBQVMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxFQUFFLEVBQUUsQ0FBQztRQUN4QyxjQUFjLEdBQUcsY0FBYyxHQUFHLFNBQVMsQ0FBQyxDQUFDLENBQUMsQ0FBQTtRQUM5QyxFQUFFLENBQUMsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxLQUFLLFNBQVMsQ0FBQyxNQUFNLENBQUMsQ0FBQyxDQUFDO1lBQUMsY0FBYyxHQUFHLGNBQWMsR0FBRyxHQUFHLENBQUE7UUFBQyxDQUFDO0lBQzdFLENBQUM7SUFDRCxpQkFBSSxDQUFDLGNBQWMsQ0FBQyxDQUFBO0lBQ3BCLElBQUksQ0FBQyxPQUFPLEVBQUUsQ0FBQTtJQUNkLE1BQU0sQ0FBQyxJQUFJLENBQUMsT0FBTyxDQUFBO0FBQ3ZCLENBQUMsQ0FBQSJ9
\ No newline at end of file
diff --git a/npmextra.json b/npmextra.json
index bf20be6..b8c0274 100644
--- a/npmextra.json
+++ b/npmextra.json
@@ -1,6 +1,7 @@
{
"npmts":{
- "mode":"default"
+ "mode":"default",
+ "coverageTreshold": "70"
},
"npmdocker":{
"baseImage":"hosttoday/ht-docker-node:npmts"
diff --git a/package.json b/package.json
index cc42975..6251682 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,7 @@
},
"scripts": {
"test": "(npmts) && (npm run testVersion)",
- "testVersion": "node dist/index.js -v"
+ "testVersion": "(cd test/assets/ && node ../../dist/index.js -v)"
},
"repository": {
"type": "git",
@@ -22,6 +22,7 @@
},
"homepage": "https://gitlab.com/pushrocks/npmci#README",
"devDependencies": {
+ "@types/should": "^8.1.30",
"npmts-g": "^5.2.8",
"should": "^11.1.1",
"typings-test": "^1.0.3"
diff --git a/test/test.js b/test/test.js
index fdfb13e..9fbf727 100644
--- a/test/test.js
+++ b/test/test.js
@@ -1,6 +1,21 @@
"use strict";
require("typings-test");
const should = require("should");
+const path = require("path");
+// set up environment
+process.env.CI_BUILD_REPO = 'https://yyyyyy:xxxxxxxx@gitlab.com/mygroup/myrepo.git';
+process.env.NPMCI_SSHKEY_1 = 'hostString|somePrivKey|##';
+process.env.NPMTS_TEST = 'true';
+process.cwd = () => {
+ return path.join(__dirname, 'assets/');
+};
+const NpmciBuildDocker = require("../dist/npmci.build.docker");
+const NpmciPublish = require("../dist/npmci.publish");
+const NpmciTest = require("../dist/npmci.test");
+const NpmciSsh = require("../dist/npmci.ssh");
+let dockerfile1;
+let dockerfile2;
+let sortableArray;
describe('NPMCI', function () {
describe('build.docker', function () {
it('should return valid Dockerfiles', function () {
@@ -70,4 +85,4 @@ describe('NPMCI', function () {
});
});
});
-//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHdCQUFxQjtBQUNyQixpQ0FBZ0M7QUFLaEMsUUFBUSxDQUFDLE9BQU8sRUFBQztJQUNiLFFBQVEsQ0FBQyxjQUFjLEVBQUM7UUFDcEIsRUFBRSxDQUFDLGlDQUFpQyxFQUFDO1lBQ2pDLFdBQVcsR0FBRyxJQUFJLGdCQUFnQixDQUFDLFVBQVUsQ0FBQyxFQUFDLFFBQVEsRUFBRSxjQUFjLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBQyxDQUFDLENBQUE7WUFDckYsV0FBV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sUUFBUSxDQUFDLENBQUE7WUFDbkMsQ0FBQyxDQUFDO2lCQUNELElBQUksQ0FBQztnQkFDRixJQUFJLEVBQUUsQ0FBQTtZQUNWLENBQUMsQ0FBQyxDQUFBO1FBQ1YsQ0FBQyxDQUFDLENBQUE7SUFDTixDQUFDLENBQUMsQ0FBQTtJQUVGLFFBQVEsQ0FBQyxhQUFhLEVBQUM7UUFDbkIsRUFBRSxDQUFDLHlCQUF5QixFQUFDLFVBQVMsSUFBSTtZQUN0QyxTQUFTLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQztpQkFDbkIsSUFBSSxDQUFDO2dCQUNGLElBQUksRUFBRSxDQUFBO1lBQ1YsQ0FBQyxDQUFDLENBQUE7UUFDVixDQUFDLENBQUMsQ0FBQTtJQUNOLENBQUMsQ0FBQyxDQUFBO0lBRUYsUUFBUSxDQUFDLG1CQUFtQixFQUFDO1FBQ3pCLEVBQUUsQ0FBQyx5QkFBeUIsRUFBQyxVQUFTLElBQUk7WUFDdEMsUUFBUSxDQUFDLEdBQUcsRUFBRTtpQkFDVCxJQUFJLENBQUM7Z0JBQ0YsSUFBSSxFQUFFLENBQUE7WUFDVixDQUFDLENBQUMsQ0FBQTtRQUNWLENBQUMsQ0FBQyxDQUFBO0lBQ04sQ0FBQyxDQUFDLENBQUE7QUFDTixDQUFDLENBQUMsQ0FBQSJ9
\ No newline at end of file
diff --git a/ts/npmci.clean.ts b/ts/npmci.clean.ts
index a12c0a5..e39dfe6 100644
--- a/ts/npmci.clean.ts
+++ b/ts/npmci.clean.ts
@@ -1,12 +1,12 @@
-import * as plugins from "./npmci.plugins";
-import * as paths from "./npmci.paths"
+import * as plugins from './npmci.plugins'
+import * as paths from './npmci.paths'
/**
* cleans npmci config files
*/
export let clean = () => {
- let done = plugins.q.defer();
- plugins.smartfile.fs.removeSync(paths.NpmciPackageConfig);
- done.resolve();
- return done.promise;
-};
\ No newline at end of file
+ let done = plugins.q.defer()
+ plugins.smartfile.fs.removeSync(paths.NpmciPackageConfig)
+ done.resolve()
+ return done.promise
+}
diff --git a/ts/npmci.command.ts b/ts/npmci.command.ts
index 25aa90a..7f6ef4a 100644
--- a/ts/npmci.command.ts
+++ b/ts/npmci.command.ts
@@ -1,15 +1,15 @@
-import * as plugins from "./npmci.plugins";
-import {bash} from "./npmci.bash";
+import * as plugins from './npmci.plugins'
+import {bash} from './npmci.bash'
export let command = () => {
let done = plugins.q.defer()
- let wrappedCommand:string = "";
- let argvArray = process.argv;
- for(let i = 3; i < argvArray.length; i++){
- wrappedCommand = wrappedCommand + argvArray[i];
- if(i + 1 != argvArray.length) wrappedCommand = wrappedCommand + " ";
+ let wrappedCommand: string = ''
+ let argvArray = process.argv
+ for (let i = 3; i < argvArray.length; i++) {
+ wrappedCommand = wrappedCommand + argvArray[i]
+ if (i + 1 !== argvArray.length) { wrappedCommand = wrappedCommand + ' ' }
}
- bash(wrappedCommand);
- done.resolve();
+ bash(wrappedCommand)
+ done.resolve()
return done.promise
-}
\ No newline at end of file
+}