Skip to content

Commit

Permalink
Taskfile download button and improved how to start readme (#17)
Browse files Browse the repository at this point in the history
* Update readme with create instructions

* Add ability to download your Taskfile and improve README

* Remove NPM config from Taskfile as it is no longer needed with react 19

* Remove duplicated css hover classname

* remove duplicated border-radius

* Remove unneeded string parsing

* Fix wrong component name and copy function
  • Loading branch information
rick-nu authored Dec 6, 2024
1 parent a410320 commit 3fb2b41
Show file tree
Hide file tree
Showing 13 changed files with 486 additions and 1,054 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Generate your own Taskfile at [taskfile.sh](https://taskfile.sh).
## How does it work?

Taskfiles are simple bash scripts, but an easy-to-read function format. There are some things that we need to explain
for our Taskfile setup.
for our Taskfile setup. It all starts with a `Taskfile`. Download your `Taskfile` from
[taskfile.sh](https://taskfile.sh) and save it. Make sure the Taskfile is executable: `chmod +x ./Taskfile`. You can now
run `./Taskfile` in your terminal.

### Tasks

Expand Down
7 changes: 0 additions & 7 deletions Taskfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ function banner {
# =========================================================

function task:init { ## Set up the project for local development
project:npm-config
project:git-config
task:update
task:help
Expand Down Expand Up @@ -52,12 +51,6 @@ function project:install-dependencies {
npm install
}

function project:npm-config {
title "Configuring NPM"
npm config --location=project set legacy-peer-deps=true \
&& echo -e "All ${GREEN}good${RESET}."
}

function project:git-config {
title "Setting git configuration"
git config --local core.hooksPath dev/git-hooks
Expand Down
Loading

0 comments on commit 3fb2b41

Please sign in to comment.