Skip to content

Commit

Permalink
feat!: cleanup and complete removal of ether.js (#183)
Browse files Browse the repository at this point in the history
Co-authored-by: Mathias Möller <mathias@li.finance>
  • Loading branch information
chybisov and mathiasmoeller committed Jan 3, 2024
1 parent ccea2f1 commit 3633dc8
Show file tree
Hide file tree
Showing 54 changed files with 3,076 additions and 12,755 deletions.
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
12 changes: 12 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parser": "@typescript-eslint/parser",
"extends": ["plugin:@typescript-eslint/recommended", "prettier"],
"parserOptions": {
"sourceType": "module"
},
"rules": {
"prettier/prettier": "error",
"@typescript-eslint/no-explicit-any": "warn"
},
"plugins": ["@typescript-eslint", "prettier"]
}
11 changes: 0 additions & 11 deletions .eslintrc.js

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/logoURITest.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Create Release
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
Expand All @@ -33,12 +33,12 @@ jobs:
- name: Setup .npmrc file to publish to npm
uses: actions/setup-node@v3
with:
node-version: 18
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
uses: ./.github/actions/yarn-install
- name: Build
run: npm run build
run: yarn build
- name: Publish to npm
run: |
npm publish --access public \
Expand Down
41 changes: 0 additions & 41 deletions .github/workflows/test.yaml

This file was deleted.

5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# build
_cjs
_esm
_types

# idea
.idea/

Expand Down
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

6 changes: 3 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
. "$(dirname -- "$0")/common.sh"

npx --no-install commitlint --edit $1
6 changes: 3 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
. "$(dirname -- "$0")/common.sh"

npm run pre-commit
4 changes: 2 additions & 2 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run pre-push
6 changes: 6 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "always"
}
7 changes: 0 additions & 7 deletions .prettierrc.js

This file was deleted.

541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

873 changes: 0 additions & 873 deletions .yarn/releases/yarn-3.5.0.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.1.cjs

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
nodeLinker: node-modules
compressionLevel: mixed

enableGlobalCache: false

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.5.0.cjs
yarnPath: .yarn/releases/yarn-4.0.1.cjs
19 changes: 1 addition & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ Learn more about LI.FI on (https://li.fi).

Check out the [Changelog](./CHANGELOG.md) to see what changed in the last releases.

## Install dependencies

Install dependencies with yarn:
## Installation

```bash
yarn add @lifi/types
Expand All @@ -31,18 +29,3 @@ or
```bash
npm install --save @lifi/types
```

## How to make a release

1. PR with changes
2. Merge PR into main
3. Checkout main
4. `git pull`
5. `yarn release`
6. Make sure everything looks good (e.g. in CHANGELOG.md)
7. `git push --follow-tags`
8. Done

## Summary

This package contains type definitions for LI.FI projects (https://github.com/lifinance).
1 change: 0 additions & 1 deletion commitlint.config.js

This file was deleted.

54 changes: 0 additions & 54 deletions git.README.md

This file was deleted.

9 changes: 0 additions & 9 deletions npm.README.md

This file was deleted.

0 comments on commit 3633dc8

Please sign in to comment.