Nearly Perpendicular Macaroons

    @vtex/vtex-search-mapper
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.8 • Public • Published

    vtex-search-mapper

    Usage

    yarn add @vtex/vtex-search-mapper
    
    import { convertFromBiggyProductsToCatalogApiProducts, BiggySearchResult, BiggyProduct, CatalogApiProduct } from '@vtex/vtex-search-mapper'
    
    // ...
    
    const biggySearchResult: BiggySearchResult = await myBiggyClientGetSearchResults(params)
    const biggyProducts: BiggyProduct[] = biggySearchResult.products
    
    const newProducts: CatalogApiProduct[] = convertFromBiggyProductsToCatalogApiProducts(biggyProducts)

    Developing this module

    Setup

    yarn
    

    Run tests

    yarn test
    

    Develop tests in watch mode

    yarn jest
    

    Link this app to other module and develop changes

    On this project:

    yarn link
    

    To watch changes locally:

    yarn watch
    

    On the other project:

    yarn link @vtex/vtex-search-mapper
    

    Then any changes you make on this project will reflect on the project that uses it

    Release

    To release new versions use semver pattern and follow the next commands to choose how to release this package on npm

    Patch version

    yarn release
    

    Minor version

    yarn release-minor
    

    Patch version

    yarn release-patch
    

    Install

    npm i @vtex/vtex-search-mapper

    DownloadsWeekly Downloads

    14

    Version

    0.0.8

    License

    ISC

    Unpacked Size

    38.8 kB

    Total Files

    13

    Last publish

    Collaborators

    • samuelfgs
    • mayzabel
    • tiagonapoli
    • rafabac
    • augusto.lazaro
    • tergol
    • rafarubim
    • analuizamtg
    • gustavorosolem
    • arthurepc
    • jeymisson
    • marcosvcp
    • victorhmp
    • lurian
    • ericreis
    • andreldsa
    • diegoximenes
    • salesfelipe
    • athoscouto
    • lbebber
    • tlgimenes
    • arturpimentel
    • felippenardi
    • anitavincent
    • brunojdo
    • vtexlab
    • augustob
    • guilhermebruzzi
    • brunohq
    • kevinchevallier
    • iago
    • lucasecdb
    • estacioneto
    • matheusps
    • emersonlaurentino
    • rerissondaniel
    • vwraposo
    • igorbrasileiro
    • thayannevls
    • angoncal
    • pedromtec
    • viniagostini
    • hugo.cabral
    • thiagoveras
    • lucasaarcoverde
    • lariciamota
    • wdsrocha
    • lucis
    • icazevedo
    • malvadeza
    • edunmc
    • fabits
    • marlonguimaraes
    • mateuspontes
    • gmantiqueira
    • jmgris
    • vitorlgomes
    • rodolfoams
    • rodorgas
    • policarpo
    • laurobmb
    • marcelovicentegc
    • maianabt
    • saviomuniz
    • jeffersontuc
    • hiagolcm
    • william.silva
    • bentoper