aboutsummaryrefslogtreecommitdiff
path: root/front-end/Taskfile.yaml
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-07-24 18:25:07 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-07-24 18:25:07 -0400
commitf0d91ad12e3a01118357b0cbf2aabbcd7464028f (patch)
treefd53c170a8f454678b5a4cee827bc259e544c119 /front-end/Taskfile.yaml
parent32ec903006813469e48824c6b20d33df0fc518ba (diff)
chore: package updates & compose build
Diffstat (limited to 'front-end/Taskfile.yaml')
-rw-r--r--front-end/Taskfile.yaml11
1 files changed, 8 insertions, 3 deletions
diff --git a/front-end/Taskfile.yaml b/front-end/Taskfile.yaml
index 9e2e28f..5ac845e 100644
--- a/front-end/Taskfile.yaml
+++ b/front-end/Taskfile.yaml
@@ -5,6 +5,11 @@ version: '3'
tasks:
+ package-update:
+ dir: '{{.USER_WORKING_DIR}}'
+ cmds:
+ - npm update
+
build:
cmds:
#install deps and run build
@@ -21,7 +26,7 @@ tasks:
clean:
ignore_error: true
cmds:
- - cmd: powershell -Command "Remove-Item -Recurse -Force node_modules"
- - cmd: powershell -Command "Remove-Item -Recurse -Force dist"
- - cmd: powershell -Command "Remove-Item -Recurse -Force bin"
+ - for: [ node_modules/, dist/, bin/ ]
+ cmd: powershell -Command "Remove-Item -Recurse -Force {{.ITEM}}"
+
- cmd: powershell -Command "Remove-Item release.tgz" \ No newline at end of file