Coder Social home page Coder Social logo

bhadresh-lamprostech / lens-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lens-protocol/lens-sdk

0.0 0.0 0.0 844 KB

The official SDK to interact with the Lens Protocol

Home Page: https://docs.lens.xyz/docs/sdk-react-intro

License: MIT License

JavaScript 0.64% TypeScript 99.36%

lens-sdk's Introduction

Lens SDK ๐ŸŒฟ - Developer Preview

The official SDK for the Lens Protocol.

Warning

The Lens SDK is still in its initial development phase. Anything MAY change at any time. This is a Developer Preview aimed primarily at existing integrators so to gather early feedback.

Documentation

All Lens Protocol documentation, including this SDK documentation can be found at: https://docs.lens.xyz/docs

Road Map

  • Release 1.0: initial stable release.
  • Release 1.1: Low-level API abstraction client (name to be decided).
  • Release 1.2: support for Data Availability posts.
  • Release 1.3: integration with Lens Gated SDK.

Note: This road map is subject to change and is provided for informational purposes only.

Setup

Install monorepo dependencies by running this command in the root of the project:

pnpm install

Still in the root of the project, run the following command to build the packages:

pnpm build

Running tests

To run the tests for all packages, run the following command in the repo root:

pnpm test

Contributing

Note

At this time we are going to ask the community to hold on any pull requests until we reach an initial stable release (1.x).

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change (issues template will be provided)

Releasing new version

Release flow is managed by changesets.

All publishable monorepo packages follow fixed versioning scheme to keep things simple.

To release a new version follow the steps below:

  1. Document new public facing changes during development.
changeset add

The command will ask a series of questions related to the introduced changes and the version bump that's required to follow semver range.

  1. Once ready to do a release make sure that all libs are properly built (dist folders have the most up-to-date code) and the tests/lints are passing.
## run all from monorepo root
pnpm build

pnpm test

pnpm lint
  1. Update relevant package.json's versions and update CHANGELOG.md for each package.
changeset version
  1. Review and commit new release. Create a PR to main.

  2. Once all the steps above are done we are ready to publish a new release to the registry

Note: Before publishing make sure that you are logged in to the correct npm account (run pnpm whoami). If not, follow prompts from pnpm login.

changeset publish

Note: Because this command assumes that the last commit is the release commit, you should not commit any changes between calling version and publish.

  1. Don't forget to push git tags after publishing to registry.
git push --follow-tags

License

Lens SDK is MIT licensed

Support

See the Lens API channel on our Discord

lens-sdk's People

Contributors

reecejohnson avatar cesarenaldi avatar krzysu avatar desfero avatar joaquinbattilana 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.