Skip to content

Commit

Permalink
added jellyfish prefix to api related projects (#85)
Browse files Browse the repository at this point in the history
* rename @defichain/json to @defichain/jellyfish-json

* updated copyright and contributors

* synced all jest.config.js

* rename api-core

* rename api-jsonrpc

* minor shuffling

* updated husky

* added badge to each repo
  • Loading branch information
fuxingloh authored Mar 26, 2021
1 parent 56aa664 commit 1e1a09e
Show file tree
Hide file tree
Showing 46 changed files with 195 additions and 150 deletions.
10 changes: 6 additions & 4 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@

/website/ @fuxingloh

/packages/jellyfish/ @fuxingloh @thedoublejay
/packages/api-core/ @fuxingloh @thedoublejay @fullstackninja864 @saurabh391
/packages/api-jsonrpc/ @fuxingloh @thedoublejay
/packages/testcontainers/ @fuxingloh @thedoublejay @fullstackninja864 @saurabh391
/packages/jellyfish/ @fuxingloh @thedoublejay @fullstackninja864
/packages/jellyfish-api-core/ @fuxingloh @thedoublejay @fullstackninja864
/packages/jellyfish-api-jsonrpc/ @fuxingloh @thedoublejay @fullstackninja864
/packages/jellyfish-json/ @fuxingloh
/packages/jellyfish-network/ @fuxingloh
/packages/testcontainers/ @fuxingloh

lerna.json @fuxingloh
tsconfig.json @fuxingloh
Expand Down
8 changes: 2 additions & 6 deletions .github/governance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,13 @@ issue:
owner: true

- prefix: area
list: [ "jellyfish", "testcontainers", "api-core", "api-jsonrpc", "wallet-core", "wallet-node", "wallet-mnemonic", "website" ]
list: [ "jellyfish", "api-core", "api-jsonrpc", "json", "network", "testcontainers", "website" ]
multiple: true
needs:
comment: |
@$AUTHOR: There are no 'area' labels on this issue. Adding an appropriate label will greatly expedite the process for us. You can add as many area as you see fit. **If you are unsure what to do you can ignore this!**
You can add area labels by leaving a `/area` comment. The supported labels are:
```txt
/area jellyfish api-core api-jsonrpc wallet-core ...
```
You can add area labels by leaving a `/area` comment.
author_association:
author: true
collaborator: true
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ jobs:
- uses: actions/checkout@v2

- uses: micnncim/action-label-syncer@0e9c5104859d0e78219af63791636eba42382b5d
with:
prune: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 2 additions & 0 deletions .idea/dictionaries/fuxing.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# DeFiChain Jellyfish Contributing Guide
# DeFi Jellyfish Contributing Guide

## All features must be unit tested with accepted coverage. (Target 100%)

Expand Down
5 changes: 3 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
MIT License

Copyright (c) DeFiChain Foundation
Copyright (c) DeFiChain Jellyfish Contributors
Copyright (c) 2021 DeFiChain Foundation
Copyright (c) 2021 DeFi Blockchain Contributors
Copyright (c) 2021 DeFi Jellyfish Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[![Netlify Status](https://api.netlify.com/api/v1/badges/c5b7a65e-aeec-4e12-a7b7-300cbc1a8069/deploy-status)](https://app.netlify.com/sites/cranky-franklin-5e59ef/deploys)
[![CI](https://github.com/DeFiCh/jellyfish/actions/workflows/ci.yml/badge.svg)](https://github.com/DeFiCh/jellyfish/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/DeFiCh/jellyfish/branch/main/graph/badge.svg?token=IYL9K0WROA)](https://codecov.io/gh/DeFiCh/jellyfish)
[![Maintainability](https://api.codeclimate.com/v1/badges/7019f1d74a0500951b2a/maintainability)](https://codeclimate.com/github/DeFiCh/jellyfish/maintainability)
Expand Down Expand Up @@ -64,6 +63,8 @@ const oceanClient = new Client(new OceanProvider(), options)
## Documentation & Community
[![Netlify Status](https://api.netlify.com/api/v1/badges/c5b7a65e-aeec-4e12-a7b7-300cbc1a8069/deploy-status)](https://app.netlify.com/sites/cranky-franklin-5e59ef/deploys)
```
// TODO(fuxingloh):
Documentation can be found at `https://jellyfish.defichain.com`?
Expand All @@ -74,9 +75,11 @@ Documentation can be found at `https://jellyfish.defichain.com`?
* `@defichain/jellyfish` bundled usage entrypoint with conventional defaults for 4 bundles: `umd`, `esm`, `cjs`
and `d.ts`
* `@defichain/api-core` is a protocol agnostic DeFiChain client interfaces, with a "foreign function interface"
* `@defichain/jellyfish-api-core` is a protocol agnostic DeFiChain client interfaces, with a "foreign function interface"
design.
* `@defichain/api-jsonrpc` implements the [JSON-RPC 1.0](https://www.jsonrpc.org/specification_v1) specification.
* `@defichain/jellyfish-api-jsonrpc` implements the [JSON-RPC 1.0](https://www.jsonrpc.org/specification_v1) specification.
* `@defichain/jellyfish-json` allows parsing of JSON with `'lossless'`, `'bignumber'` and `'number'` numeric precision.
* `@defichain/jellyfish-network` contains DeFi blockchain various network configuration for main, net and regtest.
* `@defichain/testcontainers` provides a lightweight, throw away instances for DeFiD node provisioned automatically in
Docker container.
Expand All @@ -85,8 +88,10 @@ Documentation can be found at `https://jellyfish.defichain.com`?
|package|@latest|@next|
|---|---|---|
|`@defichain/jellyfish`|[![npm](https://img.shields.io/npm/v/@defichain/jellyfish)](https://www.npmjs.com/package/@defichain/jellyfish/v/latest)|[![npm@next](https://img.shields.io/npm/v/@defichain/jellyfish/next)](https://www.npmjs.com/package/@defichain/jellyfish/v/next)|
|`@defichain/api-core`|[![npm](https://img.shields.io/npm/v/@defichain/api-core)](https://www.npmjs.com/package/@defichain/api-core/v/latest)|[![npm@next](https://img.shields.io/npm/v/@defichain/api-core/next)](https://www.npmjs.com/package/@defichain/api-core/v/next)|
|`@defichain/api-jsonrpc`|[![npm](https://img.shields.io/npm/v/@defichain/api-jsonrpc)](https://www.npmjs.com/package/@defichain/api-jsonrpc/v/latest)|[![npm@next](https://img.shields.io/npm/v/@defichain/api-jsonrpc/next)](https://www.npmjs.com/package/@defichain/api-jsonrpc/v/next)|
|`@defichain/jellyfish-api-core`|[![npm](https://img.shields.io/npm/v/@defichain/jellyfish-api-core)](https://www.npmjs.com/package/@defichain/jellyfish-api-core/v/latest)|[![npm@next](https://img.shields.io/npm/v/@defichain/jellyfish-api-core/next)](https://www.npmjs.com/package/@defichain/jellyfish-api-core/v/next)|
|`@defichain/jellyfish-api-jsonrpc`|[![npm](https://img.shields.io/npm/v/@defichain/jellyfish-api-jsonrpc)](https://www.npmjs.com/package/@defichain/jellyfish-api-jsonrpc/v/latest)|[![npm@next](https://img.shields.io/npm/v/@defichain/jellyfish-api-jsonrpc/next)](https://www.npmjs.com/package/@defichain/jellyfish-api-jsonrpc/v/next)|
|`@defichain/jellyfish-json`|[![npm](https://img.shields.io/npm/v/@defichain/jellyfish-json)](https://www.npmjs.com/package/@defichain/jellyfish-json/v/latest)|[![npm@next](https://img.shields.io/npm/v/@defichain/jellyfish-json/next)](https://www.npmjs.com/package/@defichain/jellyfish-json/v/next)|
|`@defichain/jellyfish-network`|[![npm](https://img.shields.io/npm/v/@defichain/jellyfish-network)](https://www.npmjs.com/package/@defichain/jellyfish-network/v/latest)|[![npm@next](https://img.shields.io/npm/v/@defichain/jellyfish-network/next)](https://www.npmjs.com/package/@defichain/jellyfish-network/v/next)|
|`@defichain/testcontainers`|[![npm](https://img.shields.io/npm/v/@defichain/testcontainers)](https://www.npmjs.com/package/@defichain/testcontainers/v/latest)|[![npm@next](https://img.shields.io/npm/v/@defichain/testcontainers/next)](https://www.npmjs.com/package/@defichain/testcontainers/v/next)|
## Developing & Contributing
Expand Down
137 changes: 70 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
"url": "https://defichain.com/"
},
{
"name": "DeFiChain Jellyfish Contributors"
"name": "DeFi Blockchain Contributors"
},
{
"name": "DeFi Jellyfish Contributors"
}
],
"workspaces": [
Expand All @@ -26,7 +29,7 @@
},
"devDependencies": {
"@size-limit/preset-app": "^4.10.1",
"husky": "^5.1.3",
"husky": "^5.2.0",
"jest": "^26.6.3",
"lerna": "^4.0.0",
"lint-staged": "^10.5.4",
Expand Down
Loading

0 comments on commit 1e1a09e

Please sign in to comment.