From 4a63e8f225c79acdf81d6dd2d4c464e958fbb304 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Fri, 8 Sep 2017 18:24:34 +0200 Subject: [PATCH] fix package.json bug --- dist/npmci.env.d.ts | 5 ----- dist/npmci.env.js | 8 +------- dist/npmci.monitor.js | 4 ++-- ts/npmci.env.ts | 6 ------ ts/npmci.monitor.ts | 2 +- 5 files changed, 4 insertions(+), 21 deletions(-) diff --git a/dist/npmci.env.d.ts b/dist/npmci.env.d.ts index 7604c0c..da29dd8 100644 --- a/dist/npmci.env.d.ts +++ b/dist/npmci.env.d.ts @@ -1,10 +1,5 @@ import { GitRepo } from 'smartstring'; -import { ProjectInfo } from 'projectinfo'; /** * a info instance about the git respoitory at cwd :) */ export declare let repo: GitRepo; -/** - * Info about the project at cwd - */ -export declare let cwdProjectInfo: ProjectInfo; diff --git a/dist/npmci.env.js b/dist/npmci.env.js index bcf8551..1bc4f6b 100644 --- a/dist/npmci.env.js +++ b/dist/npmci.env.js @@ -1,13 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -const paths = require("./npmci.paths"); const smartstring_1 = require("smartstring"); -const projectinfo_1 = require("projectinfo"); if (process.env.CI_REPOSITORY_URL) { exports.repo = new smartstring_1.GitRepo(process.env.CI_REPOSITORY_URL); } -/** - * Info about the project at cwd - */ -exports.cwdProjectInfo = new projectinfo_1.ProjectInfo(paths.cwd); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuZW52LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuZW52LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EsdUNBQXNDO0FBQ3RDLDZDQUFxQztBQUNyQyw2Q0FBeUM7QUFPekMsRUFBRSxDQUFDLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDLENBQUM7SUFDbEMsWUFBSSxHQUFHLElBQUkscUJBQU8sQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLGlCQUFpQixDQUFDLENBQUE7QUFDbkQsQ0FBQztBQUVEOztHQUVHO0FBQ1EsUUFBQSxjQUFjLEdBQUcsSUFBSSx5QkFBVyxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQSJ9 \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuZW52LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuZW52LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBRUEsNkNBQXFDO0FBT3JDLEVBQUUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxDQUFDO0lBQ2xDLFlBQUksR0FBRyxJQUFJLHFCQUFPLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxpQkFBaUIsQ0FBQyxDQUFBO0FBQ25ELENBQUMifQ== \ No newline at end of file diff --git a/dist/npmci.monitor.js b/dist/npmci.monitor.js index 90d3f67..e962ea7 100644 --- a/dist/npmci.monitor.js +++ b/dist/npmci.monitor.js @@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true }); const plugins = require("./npmci.plugins"); const smartanalytics_1 = require("smartanalytics"); exports.npmciAnalytics = new smartanalytics_1.Analytics({ - apiEndPoint: 'https://pubapi-1.lossless.one/analytics', + apiEndPoint: 'https://pubapi.lossless.one/analytics', projectId: 'gitzone', appName: 'npmci' }); exports.npmciAnalytics.recordEvent('npmToolExecution', {}).catch(err => { plugins.beautylog.warn('Lossless Analytics API not available...'); }); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kubW9uaXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLm1vbml0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwyQ0FBMEM7QUFHMUMsbURBQTBDO0FBRS9CLFFBQUEsY0FBYyxHQUFHLElBQUksMEJBQVMsQ0FBQztJQUN4QyxXQUFXLEVBQUUseUNBQXlDO0lBQ3RELFNBQVMsRUFBRSxTQUFTO0lBQ3BCLE9BQU8sRUFBRSxPQUFPO0NBQ2pCLENBQUMsQ0FBQTtBQUVGLHNCQUFjLENBQUMsV0FBVyxDQUFDLGtCQUFrQixFQUFFLEVBRTlDLENBQUMsQ0FBQyxLQUFLLENBQUMsR0FBRztJQUNWLE9BQU8sQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLHlDQUF5QyxDQUFDLENBQUE7QUFDbkUsQ0FBQyxDQUFDLENBQUEifQ== \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kubW9uaXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLm1vbml0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwyQ0FBMEM7QUFHMUMsbURBQTBDO0FBRS9CLFFBQUEsY0FBYyxHQUFHLElBQUksMEJBQVMsQ0FBQztJQUN4QyxXQUFXLEVBQUUsdUNBQXVDO0lBQ3BELFNBQVMsRUFBRSxTQUFTO0lBQ3BCLE9BQU8sRUFBRSxPQUFPO0NBQ2pCLENBQUMsQ0FBQTtBQUVGLHNCQUFjLENBQUMsV0FBVyxDQUFDLGtCQUFrQixFQUFFLEVBRTlDLENBQUMsQ0FBQyxLQUFLLENBQUMsR0FBRztJQUNWLE9BQU8sQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLHlDQUF5QyxDQUFDLENBQUE7QUFDbkUsQ0FBQyxDQUFDLENBQUEifQ== \ No newline at end of file diff --git a/ts/npmci.env.ts b/ts/npmci.env.ts index 2fb7e20..6ba8be8 100644 --- a/ts/npmci.env.ts +++ b/ts/npmci.env.ts @@ -1,7 +1,6 @@ import * as plugins from './npmci.plugins' import * as paths from './npmci.paths' import { GitRepo } from 'smartstring' -import { ProjectInfo } from 'projectinfo' import { Dockerfile } from './mod_docker/index' /** @@ -11,8 +10,3 @@ export let repo: GitRepo if (process.env.CI_REPOSITORY_URL) { repo = new GitRepo(process.env.CI_REPOSITORY_URL) } - -/** - * Info about the project at cwd - */ -export let cwdProjectInfo = new ProjectInfo(paths.cwd) diff --git a/ts/npmci.monitor.ts b/ts/npmci.monitor.ts index 0a6db67..1d51344 100644 --- a/ts/npmci.monitor.ts +++ b/ts/npmci.monitor.ts @@ -4,7 +4,7 @@ import * as env from './npmci.env' import { Analytics } from 'smartanalytics' export let npmciAnalytics = new Analytics({ - apiEndPoint: 'https://pubapi-1.lossless.one/analytics', + apiEndPoint: 'https://pubapi.lossless.one/analytics', projectId: 'gitzone', appName: 'npmci' })