Skip to content

Commit

Permalink
fix(readme): broken docs link on readme (#32)
Browse files Browse the repository at this point in the history
* docs(readme): fix broken docs link

* docs(readme): update npm badge and add weekly downloads badge

* build(package.json): add homepage property to link to docs

* chore: squash

* build(package.json): add elliot as a contributor and add a bugs url

* docs(readme): add social contract deatils to the readme
  • Loading branch information
kieranroneill authored Jul 5, 2024
1 parent 72413d6 commit b5235e4
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
<img alt="GitHub Pre-release" src="https://img.shields.io/github/v/release/NEARBuilders/near-social-js?include_prereleases&label=pre-release&logo=github">
</a>
<a href="https://github.com/NEARBuilders/near-social-js/releases">
<img alt="GitHub Pre-release Date - Published At" src="https://img.shields.io/github/release-date-pre/NEARBuilders/near-social-js?label=pre-release date&logo=github">
<img alt="GitHub Pre-release Date - Published At" src="https://img.shields.io/github/release-date-pre/NEARBuilders/near-social-js?label=pre-release%20date&logo=github
">
</a>
</p>

Expand All @@ -28,7 +29,10 @@

<p align="center">
<a href="https://npmjs.com/package/@builddao/near-social-js" target="_blank">
<img src="https://img.shields.io/npm/v/@builddao/near-social-js" alt="npm" />
<img src="https://img.shields.io/npm/v/%40builddao%2Fnear-social-js?logo=npm" alt="npm" />
</a>
<a href="https://npmjs.com/package/@builddao/near-social-js" target="_blank">
<img src="https://img.shields.io/npm/dw/%40builddao%2Fnear-social-js?logo=npm&label=weekly%20downloads" alt="weekly npm downloads" />
</a>
</p>

Expand All @@ -46,11 +50,14 @@
* [3.3. Build](#33-build)
* [4. Appendix](#-4-appendix)
* [4.1. Useful Commands](#41-useful-commands)
* [4.2. Social Contract](#42-social-contract)
* [5. How To Contribute](#-5-how-to-contribute)
* [6. License](#-6-license)

## 🔭 1. Overview

TBC...

<sup>[Back to top ^][table-of-contents]</sup>

## 📚 2. Documentation
Expand Down Expand Up @@ -106,6 +113,15 @@ The above command will compile the Typescript source code into a `dist/` directo

<sup>[Back to top ^][table-of-contents]</sup>

### 4.2. Social Contract

| Network | Account ID | Link |
|---------|-----------------------|------------------------------------------------------------------------------------------------------------------------|
| Mainnet | `social.near` | [https://nearblocks.io/address/social.near](https://nearblocks.io/address/social.near) |
| Testnet | `v1.social08.testnet` | [https://testnet.nearblocks.io/address/v1.social08.testnet](https://testnet.nearblocks.io/address/v1.social08.testnet) |

<sup>[Back to top ^][table-of-contents]</sup>

## 👏 5. How To Contribute

Please read the [**Contributing Guide**][contribute] to learn about the development process.
Expand All @@ -120,7 +136,7 @@ Please refer to the [LICENSE][license] file.

<!-- Links -->
[contribute]: ./CONTRIBUTING.md
[documentation]: https://https://nearbuilders.github.io//near-social-js
[documentation]: https://nearbuilders.github.io/near-social-js
[license]: ./LICENSE
[node]: https://nodejs.org/en/
[table-of-contents]: #table-of-contents
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Providers
# Usage

* [Getting Started](usage/getting-started)
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@
"name": "@builddao/near-social-js",
"version": "1.0.0",
"description": "A JavaScript SDK for interacting with the social contract (social.near) with helper functions for typical social features.",
"homepage": "https://nearbuilders.github.io/near-social-js/",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/NEARBuilders/near-social-js"
},
"contributors": [
{
"name": "Elliot Braem",
"url": "https://github.com/elliotBraem"
},
{
"name": "Jas",
"email": "jaswinder@harmonicguild.io",
Expand All @@ -20,11 +25,13 @@
"url": "https://github.com/kieranroneill"
}
],
"bugs": "https://github.com/NEARBuilders/near-social-js/issues/new?assignees=kieranroneill&labels=%F0%9F%90%9B+bug&projects=&template=bug_report_template.yml&title=%5BBug%5D%3A+",
"license": "MIT",
"keywords": [
"blockchain",
"near",
"nearprotocol"
"nearprotocol",
"social"
],
"private": false,
"engines": {
Expand Down

0 comments on commit b5235e4

Please sign in to comment.