Git Product home page Git Product logo

cli's Introduction

Percy CLI

Test

The Percy CLI is used to interact with, and upload snapshots to, percy.io via the command line.

Installation

$ npm install --save-dev @percy/cli

Command Topics

Advanced

In addition to the CLI packages, this repo contains core libraries responsible for Percy's CI/CD integrations, Percy API communication, DOM serialization, asset discovery, etc.

Issues

For problems directly related to the CLI, add an issue on GitHub.

For other issues, open a support request.

Developing

This project is built with lerna. The core libaries and CLI plugins are located in ./packages. Run yarn to install dependencies after cloning the repo and use the following scripts for various development tasks:

  • yarn build - build all packages

  • yarn build:watch - build and watch all packages in parallel

  • yarn clean - clean up build and coverage output

  • yarn lint - lint all packages

  • yarn readme - generate cli commands readme usage

  • yarn test - run all tests, one package after another

  • yarn test:coverage - run all tests with coverage, one package after another

  • yarn global:link - links all packages being developed as global.

    • requires yarn build to be run before consuming.
    • we can then consume this package using yarn link @percy/[core|cli..]
    • Note: linking is only required once, subsequent changes for development requires running build command.
  • yarn global:unlink - unlinks all packages globally

Individual package scripts can be invoked using yarn's workspace command. For example:

$ yarn workspace @percy/core test

How to update Chromium revision?

check in Core Package's readme here.

cli's People

Contributors

dependabot[bot] avatar wwilsman avatar robdel12 avatar itsjwala avatar ninadbstack avatar samarsault avatar amit3200 avatar pankaj443 avatar chinmay-browserstack avatar shantanuk-browserstack avatar dependabot-preview[bot] avatar prklm10 avatar rishigupta1599 avatar nilshah98 avatar hiteshsalavi avatar bstack-security-github avatar this-is-shivamsingh avatar aaronbuxbaum avatar andrewdmoore408 avatar techn1x avatar emilgoldsmith avatar ybiquitous avatar mmorel-35 avatar fotinakis avatar olebedev avatar shahidk8 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.