fix package.json bug
This commit is contained in:
parent
aface1fec6
commit
4a63e8f225
5
dist/npmci.env.d.ts
vendored
5
dist/npmci.env.d.ts
vendored
@ -1,10 +1,5 @@
|
|||||||
import { GitRepo } from 'smartstring';
|
import { GitRepo } from 'smartstring';
|
||||||
import { ProjectInfo } from 'projectinfo';
|
|
||||||
/**
|
/**
|
||||||
* a info instance about the git respoitory at cwd :)
|
* a info instance about the git respoitory at cwd :)
|
||||||
*/
|
*/
|
||||||
export declare let repo: GitRepo;
|
export declare let repo: GitRepo;
|
||||||
/**
|
|
||||||
* Info about the project at cwd
|
|
||||||
*/
|
|
||||||
export declare let cwdProjectInfo: ProjectInfo;
|
|
||||||
|
8
dist/npmci.env.js
vendored
8
dist/npmci.env.js
vendored
@ -1,13 +1,7 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
Object.defineProperty(exports, "__esModule", { value: true });
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||||||
const paths = require("./npmci.paths");
|
|
||||||
const smartstring_1 = require("smartstring");
|
const smartstring_1 = require("smartstring");
|
||||||
const projectinfo_1 = require("projectinfo");
|
|
||||||
if (process.env.CI_REPOSITORY_URL) {
|
if (process.env.CI_REPOSITORY_URL) {
|
||||||
exports.repo = new smartstring_1.GitRepo(process.env.CI_REPOSITORY_URL);
|
exports.repo = new smartstring_1.GitRepo(process.env.CI_REPOSITORY_URL);
|
||||||
}
|
}
|
||||||
/**
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuZW52LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuZW52LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBRUEsNkNBQXFDO0FBT3JDLEVBQUUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxHQUFHLENBQUMsaUJBQWlCLENBQUMsQ0FBQyxDQUFDO0lBQ2xDLFlBQUksR0FBRyxJQUFJLHFCQUFPLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxpQkFBaUIsQ0FBQyxDQUFBO0FBQ25ELENBQUMifQ==
|
||||||
* Info about the project at cwd
|
|
||||||
*/
|
|
||||||
exports.cwdProjectInfo = new projectinfo_1.ProjectInfo(paths.cwd);
|
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuZW52LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuZW52LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQ0EsdUNBQXNDO0FBQ3RDLDZDQUFxQztBQUNyQyw2Q0FBeUM7QUFPekMsRUFBRSxDQUFDLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxpQkFBaUIsQ0FBQyxDQUFDLENBQUM7SUFDbEMsWUFBSSxHQUFHLElBQUkscUJBQU8sQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLGlCQUFpQixDQUFDLENBQUE7QUFDbkQsQ0FBQztBQUVEOztHQUVHO0FBQ1EsUUFBQSxjQUFjLEdBQUcsSUFBSSx5QkFBVyxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQSJ9
|
|
4
dist/npmci.monitor.js
vendored
4
dist/npmci.monitor.js
vendored
@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|||||||
const plugins = require("./npmci.plugins");
|
const plugins = require("./npmci.plugins");
|
||||||
const smartanalytics_1 = require("smartanalytics");
|
const smartanalytics_1 = require("smartanalytics");
|
||||||
exports.npmciAnalytics = new smartanalytics_1.Analytics({
|
exports.npmciAnalytics = new smartanalytics_1.Analytics({
|
||||||
apiEndPoint: 'https://pubapi-1.lossless.one/analytics',
|
apiEndPoint: 'https://pubapi.lossless.one/analytics',
|
||||||
projectId: 'gitzone',
|
projectId: 'gitzone',
|
||||||
appName: 'npmci'
|
appName: 'npmci'
|
||||||
});
|
});
|
||||||
exports.npmciAnalytics.recordEvent('npmToolExecution', {}).catch(err => {
|
exports.npmciAnalytics.recordEvent('npmToolExecution', {}).catch(err => {
|
||||||
plugins.beautylog.warn('Lossless Analytics API not available...');
|
plugins.beautylog.warn('Lossless Analytics API not available...');
|
||||||
});
|
});
|
||||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kubW9uaXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLm1vbml0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwyQ0FBMEM7QUFHMUMsbURBQTBDO0FBRS9CLFFBQUEsY0FBYyxHQUFHLElBQUksMEJBQVMsQ0FBQztJQUN4QyxXQUFXLEVBQUUseUNBQXlDO0lBQ3RELFNBQVMsRUFBRSxTQUFTO0lBQ3BCLE9BQU8sRUFBRSxPQUFPO0NBQ2pCLENBQUMsQ0FBQTtBQUVGLHNCQUFjLENBQUMsV0FBVyxDQUFDLGtCQUFrQixFQUFFLEVBRTlDLENBQUMsQ0FBQyxLQUFLLENBQUMsR0FBRztJQUNWLE9BQU8sQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLHlDQUF5QyxDQUFDLENBQUE7QUFDbkUsQ0FBQyxDQUFDLENBQUEifQ==
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kubW9uaXRvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLm1vbml0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwyQ0FBMEM7QUFHMUMsbURBQTBDO0FBRS9CLFFBQUEsY0FBYyxHQUFHLElBQUksMEJBQVMsQ0FBQztJQUN4QyxXQUFXLEVBQUUsdUNBQXVDO0lBQ3BELFNBQVMsRUFBRSxTQUFTO0lBQ3BCLE9BQU8sRUFBRSxPQUFPO0NBQ2pCLENBQUMsQ0FBQTtBQUVGLHNCQUFjLENBQUMsV0FBVyxDQUFDLGtCQUFrQixFQUFFLEVBRTlDLENBQUMsQ0FBQyxLQUFLLENBQUMsR0FBRztJQUNWLE9BQU8sQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLHlDQUF5QyxDQUFDLENBQUE7QUFDbkUsQ0FBQyxDQUFDLENBQUEifQ==
|
@ -1,7 +1,6 @@
|
|||||||
import * as plugins from './npmci.plugins'
|
import * as plugins from './npmci.plugins'
|
||||||
import * as paths from './npmci.paths'
|
import * as paths from './npmci.paths'
|
||||||
import { GitRepo } from 'smartstring'
|
import { GitRepo } from 'smartstring'
|
||||||
import { ProjectInfo } from 'projectinfo'
|
|
||||||
import { Dockerfile } from './mod_docker/index'
|
import { Dockerfile } from './mod_docker/index'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -11,8 +10,3 @@ export let repo: GitRepo
|
|||||||
if (process.env.CI_REPOSITORY_URL) {
|
if (process.env.CI_REPOSITORY_URL) {
|
||||||
repo = new GitRepo(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)
|
|
||||||
|
@ -4,7 +4,7 @@ import * as env from './npmci.env'
|
|||||||
import { Analytics } from 'smartanalytics'
|
import { Analytics } from 'smartanalytics'
|
||||||
|
|
||||||
export let npmciAnalytics = new Analytics({
|
export let npmciAnalytics = new Analytics({
|
||||||
apiEndPoint: 'https://pubapi-1.lossless.one/analytics',
|
apiEndPoint: 'https://pubapi.lossless.one/analytics',
|
||||||
projectId: 'gitzone',
|
projectId: 'gitzone',
|
||||||
appName: 'npmci'
|
appName: 'npmci'
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user