Git Product home page Git Product logo

auth-client-js's Introduction

WalletConnect AuthClient

Requirements

Installation

npm install

Commands

  • clean - Removes build folders from all packages
  • lint - Runs eslint checks
  • prettier - Runs prettier checks
  • build - Builds all packages
  • test - Tests all packages
  • npm-publish - Publishes packages to NPM. Requires an OTP code to be input on publish.

Unit Tests

  • The vitest test environment automatically pulls in the environment variables defined in testEnv.json
  • These can be manually overridden by prefixing the desired custom vars: TEST_PROJECT_ID=... yarn test

Publishing

  1. Bump the version for the specific package and create the equivalent tag, e.g. for a patch:
cd packages/auth-client
npm version patch # will update package.json and package-lock.json
git commit -m "chore(release): 2.x.x"
git tag 2.x.x
  1. Run the desired npm-publish script from the root directory:
npm run npm-publish # will auto-trigger each pkg's prepare/prepublishOnly scripts

Publishing Canaries

To publish canary versions under the canary dist tag, follow the same steps as above, but set the version using the last commit's short hash (git log --oneline | head -n1), e.g. if the current version is 2.2.2:

# ...
npm version 2.2.2-bb147cb
# ...

Then from the root directory, run:

npm run npm-publish:canary # will auto-trigger each pkg's prepare/prepublishOnly scripts

License

Apache 2.0

auth-client-js's People

Contributors

devceline avatar bkrem avatar ganchoradkov avatar jonathanconn avatar xzilja avatar cali93 avatar turtus avatar matias-la 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.