Skip to content

Commit 3fb2b41

Browse files
authored
Taskfile download button and improved how to start readme (#17)
* 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
1 parent a410320 commit 3fb2b41

File tree

13 files changed

+486
-1054
lines changed

13 files changed

+486
-1054
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ Generate your own Taskfile at [taskfile.sh](https://taskfile.sh).
1919
## How does it work?
2020

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

2426
### Tasks
2527

Taskfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ function banner {
1919
# =========================================================
2020

2121
function task:init { ## Set up the project for local development
22-
project:npm-config
2322
project:git-config
2423
task:update
2524
task:help
@@ -52,12 +51,6 @@ function project:install-dependencies {
5251
npm install
5352
}
5453

55-
function project:npm-config {
56-
title "Configuring NPM"
57-
npm config --location=project set legacy-peer-deps=true \
58-
&& echo -e "All ${GREEN}good${RESET}."
59-
}
60-
6154
function project:git-config {
6255
title "Setting git configuration"
6356
git config --local core.hooksPath dev/git-hooks

0 commit comments

Comments
 (0)