-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deprecation): marked methods and constants as deprecated (LF-766) (…
…#62) * fix(deprecation): marked methods and constants as deprecated (tools & types refactoring) * fix: removed breaking changes * refactor: added legacy support to avoid types breaking changes
- Loading branch information
Showing
5 changed files
with
87 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,9 @@ | ||
# Li.Finance - Types | ||
Types for lifi projects | ||
### Installation | ||
|
||
### Summary | ||
This package contains all common types for the [LiFi SDK](https://github.com/lifinance/sdk). | ||
Learn more about LiFi on (https://li.finance). | ||
|
||
|
||
Check out the [Changelog](./CHANGELOG.md) to see what changed in the last releases. | ||
|
||
### Install dependencies | ||
|
||
Install dependencies with yarn: | ||
|
||
```bash | ||
yarn install | ||
``` | ||
|
||
### Test | ||
|
||
Test your code with Jest framework: | ||
|
||
```bash | ||
yarn test | ||
npm install --save @lifinance/types | ||
``` | ||
|
||
**Note:** Example TypeScript Package uses [husky](https://typicode.github.io/husky/), [pinst](https://github.com/typicode/pinst) and [commitlint](https://commitlint.js.org/) to automatically execute test and [lint commit message](https://www.conventionalcommits.org/) before every commit. | ||
|
||
### Build | ||
|
||
Build production (distribution) files in your **dist** folder: | ||
|
||
```bash | ||
yarn build | ||
``` | ||
|
||
|
||
### Release | ||
In order to release a new version of the package you have to run | ||
|
||
```bash | ||
yarn release | ||
``` | ||
|
||
This will | ||
* bump the version number according to the types of the last commits (i.e. if it is a major, minor or bug fix release) | ||
* create a new git tag | ||
* update the CHANGELOG.md | ||
|
||
Afterwards, all you have to do is run | ||
### Summary | ||
|
||
```bash | ||
git push && git push --tags | ||
``` | ||
This package contains type definitions for lifinance projects (https://github.com/lifinance). |
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,54 @@ | ||
# Li.Finance - Types | ||
Types for lifi projects | ||
|
||
### Summary | ||
This package contains all common types for the [LiFi SDK](https://github.com/lifinance/sdk). | ||
Learn more about LiFi on (https://li.finance). | ||
|
||
|
||
Check out the [Changelog](./CHANGELOG.md) to see what changed in the last releases. | ||
|
||
### Install dependencies | ||
|
||
Install dependencies with yarn: | ||
|
||
```bash | ||
yarn install | ||
``` | ||
|
||
### Test | ||
|
||
Test your code with Jest framework: | ||
|
||
```bash | ||
yarn test | ||
``` | ||
|
||
**Note:** Example TypeScript Package uses [husky](https://typicode.github.io/husky/), [pinst](https://github.com/typicode/pinst) and [commitlint](https://commitlint.js.org/) to automatically execute test and [lint commit message](https://www.conventionalcommits.org/) before every commit. | ||
|
||
### Build | ||
|
||
Build production (distribution) files in your **dist** folder: | ||
|
||
```bash | ||
yarn build | ||
``` | ||
|
||
|
||
### Release | ||
In order to release a new version of the package you have to run | ||
|
||
```bash | ||
yarn release | ||
``` | ||
|
||
This will | ||
* bump the version number according to the types of the last commits (i.e. if it is a major, minor or bug fix release) | ||
* create a new git tag | ||
* update the CHANGELOG.md | ||
|
||
Afterwards, all you have to do is run | ||
|
||
```bash | ||
git push && git push --tags | ||
``` |
This file was deleted.
Oops, something went wrong.
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