@allcapsdev/cvcsv-cli
Advanced tools
Comparing version 1.1.9 to 1.1.10
@@ -5,2 +5,9 @@ # Changelog | ||
### [1.1.10](https://github.com/allcapsdev/cvcsv-cli/compare/v1.1.9...v1.1.10) (2020-03-03) | ||
### Bug Fixes | ||
- **codeclimate:** forgot to update the jest settings ([0aa2afc](https://github.com/allcapsdev/cvcsv-cli/commit/0aa2afcba7e47f70c3e909a292de376adec97bd0)) | ||
- **test:** fixed tests based on Code Climate findings ([392f239](https://github.com/allcapsdev/cvcsv-cli/commit/392f239857be60ce3a6f5d9e252cd2aeecf6f644)) | ||
### [1.1.9](https://github.com/allcapsdev/cvcsv-cli/compare/v1.1.8...v1.1.9) (2020-02-25) | ||
@@ -7,0 +14,0 @@ |
export declare class CVCSVCLI { | ||
private static config; | ||
private static logger; | ||
private static data; | ||
@@ -5,0 +4,0 @@ private static file; |
@@ -1,1 +0,1 @@ | ||
!function(e){var t={};function o(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(i,r,function(t){return e[t]}.bind(null,r));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=5)}([function(e,t){e.exports=require("kleur")},function(e,t){e.exports=require("fs")},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(8);t.directoryQuestion=i.default;var r=o(9);t.bucketQuestion=r.default;var n=o(10);t.productCategoryQuestion=n.default;var u=o(12);t.productSetQuestion=u.default;var s=o(13);t.fileLocationQuestion=s.default;var c=o(14);t.filenameQuestion=c.default;var a=o(15);t.fullQuestions=a.default},function(e,t){e.exports=require("path")},function(e,t){e.exports=require("prompts")},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(6).CVCSVCLI.run()},function(e,t,o){"use strict";var i=this&&this.__awaiter||function(e,t,o,i){return new(o||(o=Promise))((function(r,n){function u(e){try{c(i.next(e))}catch(e){n(e)}}function s(e){try{c(i.throw(e))}catch(e){n(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(u,s)}c((i=i.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=o(7),u=o(2),s=r(o(4)),c=o(16),a=r(o(3)),l=o(19),d=o(20);class f{static run(){return i(this,void 0,void 0,(function*(){this.logger.showTitleAndBanner(),yield this.getConfig(),this.data=yield this.buildData(),this.file=yield this.writeToFile(),this.file&&this.data&&this.logger.success(this.data.length)}))}static getConfig(){return i(this,void 0,void 0,(function*(){const e=yield n.Config.readFile();let t;t=null===e?yield s.default(u.fullQuestions):yield n.Config.completeConfig(e),t.rootDirectory=this.formatDirectory(t.rootDirectory),t.csvFileLocation=this.formatDirectory(t.csvFileLocation),this.config=t}))}static formatDirectory(e){return e.match(/\/$/)?e:`${e}/`}static formatRootDir(e){return e.match(/^\.\//)?e.replace("./",""):e}static buildData(){return i(this,void 0,void 0,(function*(){const{bucketName:e,rootDirectory:t,productCategory:o,productSet:i}=this.config,r=yield d.readFiles(t);if(r.length<1)throw Error("No images");const n=[];return r.forEach(r=>{const u=a.default.basename(r),s=r.replace(this.formatRootDir(t),""),c=s.replace(/\/|_/g," ").replace(u,"").replace(/\w+/g,e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).trim(),l=c.replace(/\s/g,"").toUpperCase(),d=`gs://${e}/images/${s}`,f=s.replace(u,"").split(/\//).filter(e=>""!==e).map(e=>`tag=${e}`).toString();n.push({"image-uri":d,"product-id":l,"product-display-name":c,"product-category":o,"product-set-id":i,labels:f})}),n}))}static writeToFile(){return i(this,void 0,void 0,(function*(){const e=a.default.join(this.config.csvFileLocation,this.config.csvFilename),t=l.createObjectCsvWriter({path:e,header:["image-uri","image-id","product-set-id","product-id","product-category","product-display-name","labels","bounding-poly"]});try{return yield t.writeRecords(this.data),!0}catch(e){throw new Error(e)}}))}}t.CVCSVCLI=f,f.logger=new c.Logger},function(e,t,o){"use strict";var i=this&&this.__awaiter||function(e,t,o,i){return new(o||(o=Promise))((function(r,n){function u(e){try{c(i.next(e))}catch(e){n(e)}}function s(e){try{c(i.throw(e))}catch(e){n(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(u,s)}c((i=i.apply(e,t||[])).next())}))},r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const u=r(o(1)),s=n(o(3)),c=o(2),a=n(o(4));class l{static readFile(){return i(this,void 0,void 0,(function*(){const e=s.default.join(process.cwd(),".cvcsvrc");if(u.existsSync(e))try{const t=u.readFileSync(e,"utf-8");return JSON.parse(t)}catch(e){throw Error(e)}return null}))}static completeConfig(e){return i(this,void 0,void 0,(function*(){const t=Object.keys(e),o=[this.configKeys,t].reduce((e,t)=>e.filter(e=>!t.includes(e))).map(e=>this.configQuestions[e]);if(0===o.length)return yield Promise.resolve(e);const i=yield a.default(o);return Object.assign(Object.assign({},i),e)}))}}t.Config=l,l.configKeys=["bucketName","csvFileLocation","csvFilename","productCategory","productSet","rootDirectory"],l.configQuestions={bucketName:c.bucketQuestion,csvFileLocation:c.fileLocationQuestion,csvFilename:c.filenameQuestion,productCategory:c.productCategoryQuestion,productSet:c.productSetQuestion,rootDirectory:c.directoryQuestion}},function(e,t,o){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=o(0),n=i(o(1)),u={name:"rootDirectory",type:"text",message:`${r.blue("Enter the root directory: ")}`,initial:"./",validate:e=>!!n.default.existsSync(e)||"😱 Sorry! The directory doesn't exist, please try again"};t.default=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i={name:"bucketName",type:"text",message:`${o(0).blue("Enter the name of the Storage Bucket where the images are stored: ")}`,initial:"gcp-storage-bucket"};t.default=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=o(0),r=o(11),n=[{title:"apparel",value:r.ProductCategoryChoiceValue.APPAREL},{title:"home goods",value:r.ProductCategoryChoiceValue.HOMEGOODS},{title:"packaged goods",value:r.ProductCategoryChoiceValue.PACKAGEDGOODS},{title:"toys",value:r.ProductCategoryChoiceValue.TOYS}],u={name:"productCategory",type:"list",message:`${i.blue("Which product category are these images for?")}`,choices:n};t.default=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.HOMEGOODS="homegoods-v2",e.APPAREL="apparel-v2",e.TOYS="toys-v2",e.PACKAGEDGOODS="packagedgoods-v1"}(t.ProductCategoryChoiceValue||(t.ProductCategoryChoiceValue={}))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i={name:"productSet",type:"text",message:`${o(0).blue("Enter the product set id: ")}`,initial:"test-product-set"};t.default=i},function(e,t,o){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=o(0),n=i(o(1)),u={name:"csvFileLocation",type:"text",message:`${r.blue("Where would you like the csv file to be output?")}`,initial:"./",validate:e=>!!n.default.existsSync(e)||"😱 Sorry! That location doesn't exist, please try again"};t.default=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i={name:"csvFilename",type:"text",message:`${o(0).blue("What would you like the output file to be called?")}`,initial:"images.csv"};t.default=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=o(2),r=[i.directoryQuestion,i.filenameQuestion,i.fileLocationQuestion,i.bucketQuestion,i.productCategoryQuestion,i.productSetQuestion];t.default=r},function(e,t,o){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=o(0),n=o(17),u=i(o(18));t.Logger=class{showTitleAndBanner(){console.log(r.bold().blue(u.default.textSync(n.ConsoleMessage.TITLE,{font:"Graffiti"}))),console.log(r.blue(n.ConsoleMessage.BANNER)),console.log("\n")}success(e){const t=e>1?"files":"file";console.log("\n"),console.log(r.bold().bgWhite().blue(`Added ${e} ${t} to your CSV file.`)),console.log("\n"),console.log(r.bold().blue(u.default.textSync(n.ConsoleMessage.DONE,{font:"Graffiti"})))}error(e){console.log(r.bold().red(`${n.ConsoleMessage.ERROR}${e}`)),process.exit(1)}msg(e){console.log(r.green(`${e}`))}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.TITLE="CV CSV",e.BANNER="Generate the csv for the Google Cloud Vision Product Search API",e.ERROR="ERROR: ",e.DONE="DONE"}(t.ConsoleMessage||(t.ConsoleMessage={}))},function(e,t){e.exports=require("figlet")},function(e,t){e.exports=require("csv-writer")},function(e,t,o){"use strict";var i=this&&this.__awaiter||function(e,t,o,i){return new(o||(o=Promise))((function(r,n){function u(e){try{c(i.next(e))}catch(e){n(e)}}function s(e){try{c(i.throw(e))}catch(e){n(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(u,s)}c((i=i.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(o(21));t.readFiles=e=>i(void 0,void 0,void 0,(function*(){const t=e||"./";return yield n.default(t,{expandDirectories:{files:["*"],extensions:["jpg","jpeg","png"]}})}))},function(e,t){e.exports=require("globby")}]); | ||
!function(e){var t={};function o(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(i,r,function(t){return e[t]}.bind(null,r));return i},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=5)}([function(e,t){e.exports=require("kleur")},function(e,t){e.exports=require("fs")},function(e,t){e.exports=require("path")},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=o(8);t.directoryQuestion=i.default;var r=o(9);t.bucketQuestion=r.default;var n=o(10);t.productCategoryQuestion=n.default;var u=o(12);t.productSetQuestion=u.default;var s=o(13);t.fileLocationQuestion=s.default;var c=o(14);t.filenameQuestion=c.default;var a=o(15);t.fullQuestions=a.default},function(e,t){e.exports=require("prompts")},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(6).CVCSVCLI.run()},function(e,t,o){"use strict";var i=this&&this.__awaiter||function(e,t,o,i){return new(o||(o=Promise))((function(r,n){function u(e){try{c(i.next(e))}catch(e){n(e)}}function s(e){try{c(i.throw(e))}catch(e){n(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(u,s)}c((i=i.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=o(7),u=r(o(4)),s=o(16),c=r(o(2)),a=o(19),l=o(20);t.CVCSVCLI=class{static run(){return i(this,void 0,void 0,(function*(){s.Logger.showTitleAndBanner(),yield this.getConfig(),this.data=yield this.buildData(),this.file=yield this.writeToFile(),this.file&&this.data&&s.Logger.success(this.data.length)}))}static getConfig(){return i(this,void 0,void 0,(function*(){const e=yield n.Config.readFile();let t;t=null===e?yield u.default(Object.values(n.Config.configQuestions)):yield n.Config.completeConfig(e),t.rootDirectory=this.formatDirectory(t.rootDirectory),t.csvFileLocation=this.formatDirectory(t.csvFileLocation),this.config=t}))}static formatDirectory(e){return e.match(/\/$/)?e:`${e}/`}static formatRootDir(e){return e.match(/^\.\//)?e.replace("./",""):e}static buildData(){return i(this,void 0,void 0,(function*(){const{bucketName:e,rootDirectory:t,productCategory:o,productSet:i}=this.config,r=yield l.readFiles(t);if(r.length<1)throw Error("No images");const n=[];return r.forEach(r=>{const u=c.default.basename(r),s=r.replace(this.formatRootDir(t),""),a=s.replace(/\/|_/g," ").replace(u,"").replace(/\w+/g,e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).trim(),l=a.replace(/\s/g,"").toUpperCase(),d=`gs://${e}/images/${s}`,f=s.replace(u,"").split(/\//).filter(e=>""!==e).map(e=>`tag=${e}`).toString();n.push({"image-uri":d,"product-id":l,"product-display-name":a,"product-category":o,"product-set-id":i,labels:f})}),n}))}static writeToFile(){return i(this,void 0,void 0,(function*(){const e=c.default.join(this.config.csvFileLocation,this.config.csvFilename),t=a.createObjectCsvWriter({path:e,header:["image-uri","image-id","product-set-id","product-id","product-category","product-display-name","labels","bounding-poly"]});try{return yield t.writeRecords(this.data),!0}catch(e){throw new Error(e)}}))}}},function(e,t,o){"use strict";var i=this&&this.__awaiter||function(e,t,o,i){return new(o||(o=Promise))((function(r,n){function u(e){try{c(i.next(e))}catch(e){n(e)}}function s(e){try{c(i.throw(e))}catch(e){n(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(u,s)}c((i=i.apply(e,t||[])).next())}))},r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)Object.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t.default=e,t},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const u=r(o(1)),s=n(o(2)),c=o(3),a=n(o(4));class l{static readFile(){return i(this,void 0,void 0,(function*(){const e=s.default.join(process.cwd(),".cvcsvrc");if(u.existsSync(e))try{const t=u.readFileSync(e,"utf-8");return JSON.parse(t)}catch(e){throw Error(e)}return null}))}static completeConfig(e){return i(this,void 0,void 0,(function*(){const t=Object.keys(e),o=[this.configKeys,t].reduce((e,t)=>e.filter(e=>!t.includes(e))).map(e=>this.configQuestions[e]);if(0===o.length)return yield Promise.resolve(e);const i=yield a.default(o);return Object.assign(Object.assign({},i),e)}))}}t.Config=l,l.configKeys=["bucketName","csvFileLocation","csvFilename","productCategory","productSet","rootDirectory"],l.configQuestions={bucketName:c.bucketQuestion,csvFileLocation:c.fileLocationQuestion,csvFilename:c.filenameQuestion,productCategory:c.productCategoryQuestion[0],productSet:c.productSetQuestion,rootDirectory:c.directoryQuestion}},function(e,t,o){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=o(0),n=i(o(1)),u={name:"rootDirectory",type:"text",message:`${r.blue("Enter the root directory: ")}`,initial:"./",validate:e=>!!n.default.existsSync(e)||"😱 Sorry! The directory doesn't exist, please try again"};t.default=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i={name:"bucketName",type:"text",message:`${o(0).blue("Enter the name of the Storage Bucket where the images are stored: ")}`,initial:"gcp-storage-bucket"};t.default=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=o(0),r=o(11),n=[{title:"apparel",value:r.ProductCategoryChoiceValue.APPAREL},{title:"home goods",value:r.ProductCategoryChoiceValue.HOMEGOODS},{title:"packaged goods",value:r.ProductCategoryChoiceValue.PACKAGEDGOODS},{title:"toys",value:r.ProductCategoryChoiceValue.TOYS}],u={name:"productCategory",type:"list",message:`${i.blue("Which product category are these images for?")}`,choices:n};t.default=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.HOMEGOODS="homegoods-v2",e.APPAREL="apparel-v2",e.TOYS="toys-v2",e.PACKAGEDGOODS="packagedgoods-v1"}(t.ProductCategoryChoiceValue||(t.ProductCategoryChoiceValue={}))},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i={name:"productSet",type:"text",message:`${o(0).blue("Enter the product set id: ")}`,initial:"test-product-set"};t.default=i},function(e,t,o){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=o(0),n=i(o(1)),u={name:"csvFileLocation",type:"text",message:`${r.blue("Where would you like the csv file to be output?")}`,initial:"./",validate:e=>!!n.default.existsSync(e)||"😱 Sorry! That location doesn't exist, please try again"};t.default=u},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i={name:"csvFilename",type:"text",message:`${o(0).blue("What would you like the output file to be called?")}`,initial:"images.csv"};t.default=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=o(3),r=[i.directoryQuestion,i.filenameQuestion,i.fileLocationQuestion,i.bucketQuestion,i.productCategoryQuestion,i.productSetQuestion];t.default=r},function(e,t,o){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=o(0),n=o(17),u=i(o(18));t.Logger=class{static showTitleAndBanner(){this.log(`${r.bold().blue(u.default.textSync(n.ConsoleMessage.TITLE,{font:"Graffiti"}))}\n\n${r.blue(n.ConsoleMessage.BANNER)}\n\n`)}static success(e){const t=e>1?"files":"file";this.log(`\n\n${r.bold().bgWhite().blue(`Added ${e} ${t} to your CSV file.`)}\n${r.bold().blue(u.default.textSync(n.ConsoleMessage.DONE,{font:"Graffiti"}))}`)}static error(e){this.log(r.bold().red(`${n.ConsoleMessage.ERROR}${e}`),!0),process.exit(1)}static log(e,t){console[t?"error":"log"](e)}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.TITLE="CV CSV",e.BANNER="Generate the csv for the Google Cloud Vision Product Search API",e.ERROR="ERROR: ",e.DONE="DONE"}(t.ConsoleMessage||(t.ConsoleMessage={}))},function(e,t){e.exports=require("figlet")},function(e,t){e.exports=require("csv-writer")},function(e,t,o){"use strict";var i=this&&this.__awaiter||function(e,t,o,i){return new(o||(o=Promise))((function(r,n){function u(e){try{c(i.next(e))}catch(e){n(e)}}function s(e){try{c(i.throw(e))}catch(e){n(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(u,s)}c((i=i.apply(e,t||[])).next())}))},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(o(21));t.readFiles=e=>i(void 0,void 0,void 0,(function*(){const t=e||"./";return yield n.default(t,{expandDirectories:{files:["*"],extensions:["jpg","jpeg","png"]}})}))},function(e,t){e.exports=require("globby")}]); |
export declare class Logger { | ||
showTitleAndBanner(): void; | ||
success(files: number): void; | ||
error(msg: string): void; | ||
msg(msg: string): void; | ||
static showTitleAndBanner(): void; | ||
static success(files: number): void; | ||
static error(msg: string): void; | ||
private static log; | ||
} |
{ | ||
"name": "@allcapsdev/cvcsv-cli", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"description": "CLI for creating CSV for Cloud Vision Product Search API", | ||
@@ -57,7 +57,7 @@ "main": "./lib/index.js", | ||
"@commitlint/config-conventional": "8.3.4", | ||
"@liftr/tscov": "1.4.4", | ||
"@liftr/tscov": "1.4.5", | ||
"@size-limit/preset-small-lib": "^4.0.0", | ||
"@types/figlet": "1.2.0", | ||
"@types/jest": "25.1.3", | ||
"@types/node": "13.7.4", | ||
"@types/node": "13.7.7", | ||
"@types/prompts": "2.0.3", | ||
@@ -78,4 +78,4 @@ "babel-loader": "^8.0.5", | ||
"ts-node": "8.6.2", | ||
"typedoc": "0.16.10", | ||
"typescript": "3.8.2", | ||
"typedoc": "0.16.11", | ||
"typescript": "3.8.3", | ||
"webpack": "^4.29.0", | ||
@@ -82,0 +82,0 @@ "webpack-cli": "^3.2.1", |
# cvcsv-cli | ||
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/ALLCAPSDEV/cvcsv-cli.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/ALLCAPSDEV/cvcsv-cli/context:javascript) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![npm](https://img.shields.io/npm/dm/@allcapsdev/cvcsv-cli)](https://www.npmjs.com/package/@allcapsdev/cvcsv-cli) | ||
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/ALLCAPSDEV/cvcsv-cli.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/ALLCAPSDEV/cvcsv-cli/context:javascript) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) [![npm](https://img.shields.io/npm/dm/@allcapsdev/cvcsv-cli)](https://www.npmjs.com/package/@allcapsdev/cvcsv-cli) [![Test Coverage](https://api.codeclimate.com/v1/badges/eb16470ddd4349898ad9/test_coverage)](https://codeclimate.com/github/ALLCAPSDEV/cvcsv-cli/test_coverage) [![Maintainability](https://api.codeclimate.com/v1/badges/eb16470ddd4349898ad9/maintainability)](https://codeclimate.com/github/ALLCAPSDEV/cvcsv-cli/maintainability) | ||
@@ -5,0 +5,0 @@ This is a tool to make the process of creating the bulk import CSV file for [Google Clouds Vision Product Search API](https://cloud.google.com/vision/product-search/docs/) a little easier. |
46388
93