Skip to content

Commit

Permalink
refactor: change each interface exporter to solidity exporter (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDiscotech authored Oct 24, 2023
1 parent ac1cb20 commit 953212c
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:

jobs:
analyze:
if: github.repository == 'defi-wonderland/interface-exporter-action'
if: github.repository == 'defi-wonderland/solidity-exporter-action'
name: Analyze
runs-on: ubuntu-latest
permissions:
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[![build-test](https://github.com/defi-wonderland/interface-exporter-action/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/interface-exporter-action/actions/workflows/test.yml)
[![tag badge](https://img.shields.io/github/v/tag/defi-wonderland/interface-exporter-action)](https://github.com/defi-wonderland/interface-exporter-action/tags)
[![license badge](https://img.shields.io/github/license/defi-wonderland/interface-exporter-action)](./LICENSE)
[![build-test](https://github.com/defi-wonderland/solidity-exporter-action/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/defi-wonderland/solidity-exporter-action/actions/workflows/test.yml)
[![tag badge](https://img.shields.io/github/v/tag/defi-wonderland/solidity-exporter-action)](https://github.com/defi-wonderland/solidity-exporter-action/tags)
[![license badge](https://img.shields.io/github/license/defi-wonderland/solidity-exporter-action)](./LICENSE)

# Interface Exporter Action
# Solidity Exporter Action

Interface Exporter Action automates the process of extracting TypeScript interfaces from Solidity contracts and interfaces and provides compatibility with TypeChain. Developers can seamlessly generate typings with only a few lines of yaml code.
Solidity Exporter Action automates the process of extracting TypeScript interfaces from Solidity contracts and interfaces and provides compatibility with TypeChain. Developers can seamlessly generate typings with only a few lines of yaml code.

## Action Inputs

Expand All @@ -26,7 +26,7 @@ Interface Exporter Action automates the process of extracting TypeScript interfa

## Example

Interface Exporter Action generates NPM packages with your interfaces and contracts ABIs using a matrix of arguments with both and then publishes them to NPM:
Solidity Exporter Action generates NPM packages with your interfaces and contracts ABIs using a matrix of arguments with both and then publishes them to NPM:

```yaml
name: Export And Publish Interfaces And Contracts
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
run: yarn version --new-version "0.0.0-${GITHUB_SHA::8}" --no-git-tag-version

- name: Export Solidity - ${{ matrix.export_type }}
uses: defi-wonderland/interface-exporter-action@v1
uses: defi-wonderland/solidity-exporter-action@v1
with:
package_name: '@your-project-name'
out: 'out'
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Interface exporter action'
name: 'Solidity exporter action'
description: 'An action to generate npm packages based on Solidity interfaces and contracts'
author: 'Wonderland'

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

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

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "interface-exporter-action",
"name": "solidity-exporter-action",
"version": "1.0.0",
"description": "An action to generate npm packages based on Solidity contract interfaces",
"description": "An action to generate npm packages based on Solidity contracts and interfaces",
"main": "lib/main.js",
"scripts": {
"build": "tsc",
Expand All @@ -15,7 +15,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/defi-wonderland/interface-exporter-action-private.git"
"url": "git+https://github.com/defi-wonderland/solidity-exporter-action-private.git"
},
"keywords": [
"actions",
Expand Down
2 changes: 1 addition & 1 deletion src/createReadmeAndLicense.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const createReadmeAndLicense = (packageName: string, exportType: ExportTy
## Repository
To learn more about this package, please visit the [interface-exporter-action-private](https://github.com/defi-wonderland/interface-exporter-action-private) repo.
To learn more about this package, please visit the [solidity-exporter-action-private](https://github.com/defi-wonderland/solidity-exporter-action-private) repo.
## Contributors
Expand Down

0 comments on commit 953212c

Please sign in to comment.