Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: templatise tailwind and hardhat config #106

Merged
merged 6 commits into from
Aug 30, 2024

Conversation

technophile-04
Copy link
Collaborator

@technophile-04 technophile-04 commented Aug 30, 2024

Description:

  • templatise tailwind light and dark theme
    • this allow people to give SE-2 colors of their choice
  • allow importing more stuff in hardhat.config.ts
    • Since hardhat requires something to be present in hardhat.config.ts for example plugins
    • another example is exposing tasks

Test:

  1. use latest cli changes
yarn dev
  1. Create a test instance:
yarn cli ../test-my-new-extension -e technophile-04/tailwind-hardhat-tasks-extension

I have created technophile-04/tailwind-hardhat-tasks-extension this extension which uses hardhat tasks and updates tailwind theme.

  1. Go to directory :
cd ../test-my-new-extension
  1. To check hardhat tasks:
cd packages/hardhat && yarn hardhat sayHello

^ the above should pring "Hello, World!"

  1. Checkout the theme by doing yarn start

Copy link
Member

@carletex carletex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Paired with Shiv on this to test. Found this issue 8c0c199

Working great now!

@technophile-04 technophile-04 merged commit 7d5626f into main Aug 30, 2024
1 check passed
@technophile-04 technophile-04 deleted the more-templates-files branch August 30, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants