-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
123 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. This | ||
project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## 0.0.2 | ||
|
||
- Update the README to include usage examples | ||
|
||
## 0.0.1 | ||
|
||
- Initial version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Unstoppable Domains Config | ||
|
||
A common configuration reference for Unstoppable Domains environments 🛠️ | ||
|
||
[![CI Status](https://github.com/unstoppabledomains/domain-profiles/actions/workflows/push.yml/badge.svg)](https://github.com/unstoppabledomains/domain-profiles/actions/workflows/push.yml) | ||
|
||
### Installation | ||
|
||
To use the Unstoppable Domains config in your own project, install the | ||
module in your project directory: | ||
|
||
```shell | ||
// with npm | ||
npm install --save @unstoppabledomains/config | ||
|
||
// with yarn | ||
yarn add @unstoppabledomains/config | ||
``` | ||
|
||
## Usage | ||
|
||
```typescript | ||
import config from '@unstoppabledomains/config'; | ||
|
||
console.log("Unstoppable Domains smart contract", config.UNSTOPPABLE_CONTRACT_ADDRESS); | ||
``` | ||
|
||
## Contributing | ||
|
||
To contribute changes to the `domain-profiles` project, you'll need to clone the | ||
project and build it in your local environment. | ||
|
||
```shell | ||
# Clone the project | ||
git clone [email protected]:unstoppabledomains/domain-profiles.git | ||
cd domain-profiles | ||
|
||
# Build the project locally | ||
yarn install # install dependencies | ||
yarn build # build shared packages | ||
|
||
# Run the development server | ||
yarn workspace server run dev | ||
``` | ||
|
||
### Testing | ||
|
||
To run the tests (`src/**/*.test.tsx` files): | ||
|
||
```shell | ||
yarn test # run all tests | ||
yarn test:ci # run all tests and generate coverage report | ||
``` | ||
|
||
### Linting and code formatting | ||
|
||
```shell | ||
yarn lint # automatically fixes linting errors | ||
yarn format # checks for formatting errors | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters