@bitgenics/fab-upload-cli
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -1,10 +0,10 @@ | ||
declare const generateFab: () => Promise<{ | ||
import { BuildStatus } from "../enums"; | ||
export default function generateFab(): Promise<{ | ||
started_at: number; | ||
finished_at: number; | ||
status: any; | ||
status: BuildStatus; | ||
logs: { | ||
cmd: string; | ||
log: any; | ||
log: string; | ||
}[]; | ||
}>; | ||
export default generateFab; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const util = require("util"); | ||
const { BuildStatus } = require("../enums"); | ||
const exec = util.promisify(require("child_process").exec); | ||
const generateFab = async () => { | ||
const util_1 = require("util"); | ||
const enums_1 = require("../enums"); | ||
const clipBuildLog_1 = require("./clipBuildLog"); | ||
const exec = util_1.promisify(require("child_process").exec); | ||
async function generateFab() { | ||
const started_at = Date.now(); | ||
@@ -14,7 +15,7 @@ try { | ||
finished_at: Date.now(), | ||
status: BuildStatus.SUCCESS, | ||
status: enums_1.BuildStatus.SUCCESS, | ||
logs: [ | ||
{ | ||
cmd: "npm run build:fab", | ||
log: stdout | ||
log: clipBuildLog_1.default(stdout, 30000) | ||
} | ||
@@ -30,7 +31,7 @@ ] | ||
finished_at: Date.now(), | ||
status: BuildStatus.FAILED, | ||
status: enums_1.BuildStatus.FAILED, | ||
logs: [ | ||
{ | ||
cmd: "npm run build:fab", | ||
log: stdout + stderr | ||
log: clipBuildLog_1.default(stdout + stderr, 30000) | ||
} | ||
@@ -40,3 +41,4 @@ ] | ||
} | ||
}; | ||
} | ||
exports.default = generateFab; | ||
; |
{ | ||
"name": "@bitgenics/fab-upload-cli", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"author": "Tom Trinca @plexey", | ||
@@ -12,10 +12,9 @@ "bin": { | ||
"dependencies": { | ||
"@oclif/command": "^1", | ||
"@oclif/config": "^1", | ||
"@oclif/plugin-help": "^2", | ||
"@types/node-fetch": "^2.5.3", | ||
"chalk": "^3.0.0", | ||
"@oclif/command": "^1.5.19", | ||
"@oclif/config": "^1.14.0", | ||
"@oclif/plugin-help": "^2.2.3", | ||
"chalk": "^4.0.0", | ||
"mime": "^2.4.4", | ||
"node-fetch": "^2.6.0", | ||
"tslib": "^1" | ||
"tslib": "^1.11.1" | ||
}, | ||
@@ -25,11 +24,12 @@ "devDependencies": { | ||
"@oclif/tslint": "^3", | ||
"@types/chai": "^4", | ||
"@types/mocha": "^5", | ||
"@types/node": "^10", | ||
"@types/chai": "^4.2.11", | ||
"@types/mocha": "^7.0.2", | ||
"@types/node": "^13.11.1", | ||
"@types/node-fetch": "^2.5.6", | ||
"chai": "^4", | ||
"mocha": "^5", | ||
"nyc": "^14", | ||
"ts-node": "^8", | ||
"tslint": "^5", | ||
"typescript": "^3.3" | ||
"mocha": "^7.1.1", | ||
"nyc": "^15.0.1", | ||
"ts-node": "^8.8.2", | ||
"tslint": "^6.1.1", | ||
"typescript": "^3.8.3" | ||
}, | ||
@@ -36,0 +36,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28871
7
32
653
12
- Removed@types/node-fetch@^2.5.3
- Removed@types/node@22.10.4(transitive)
- Removed@types/node-fetch@2.6.12(transitive)
- Removedasynckit@0.4.0(transitive)
- Removedchalk@3.0.0(transitive)
- Removedcombined-stream@1.0.8(transitive)
- Removeddelayed-stream@1.0.0(transitive)
- Removedform-data@4.0.1(transitive)
- Removedmime-db@1.52.0(transitive)
- Removedmime-types@2.1.35(transitive)
- Removedundici-types@6.20.0(transitive)
Updated@oclif/command@^1.5.19
Updated@oclif/config@^1.14.0
Updated@oclif/plugin-help@^2.2.3
Updatedchalk@^4.0.0
Updatedtslib@^1.11.1