Skip to content

Commit

Permalink
fix: readme generator (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
gas1cent authored Oct 3, 2023
1 parent af0efd7 commit 7c1ff2a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions 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.

2 changes: 1 addition & 1 deletion src/createReadmeAndLicense.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const createReadmeAndLicense = (packageName: string, typingType: TypingTy
const readmeContent = `
# ${packageName}
${packageName} offers ${publicTypeLabels[typingType]} interfaces for designed for seamless interaction with smart contracts. Integrate these interfaces effortlessly into your projects.
${packageName} offers ${publicTypeLabels[typingType]} for seamless interactions with smart contracts. Integrate these interfaces effortlessly into your projects.
## Installation
Expand Down
8 changes: 4 additions & 4 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export interface PackageJson {
}

export const publicTypeLabels: Record<TypingType, string> = {
[TypingType.ABI]: 'ABI',
[TypingType.ETHERS_V6]: 'Ethers.js',
[TypingType.WEB3_V1]: 'Web3',
[TypingType.CONTRACTS]: 'Contracts', // Contracts, abis and interfaces
[TypingType.ABI]: 'ABIs',
[TypingType.ETHERS_V6]: 'ethers.js types',
[TypingType.WEB3_V1]: 'web3 types',
[TypingType.CONTRACTS]: 'ABIs and contracts',
};

0 comments on commit 7c1ff2a

Please sign in to comment.