From 6398199680d64683e899144371bdfecfd12b1f5b Mon Sep 17 00:00:00 2001 From: Kamil Piwko Date: Mon, 2 May 2022 23:50:27 +0200 Subject: [PATCH] simple setup script added --- package.json | 1 + script/setup | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100755 script/setup diff --git a/package.json b/package.json index 00b33302..0fd3f570 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ } }, "scripts": { + "setup": "./script/setup", "dev": "vite", "build": "tsc && vite build", "preview": "vite preview", diff --git a/script/setup b/script/setup new file mode 100755 index 00000000..96f1a30a --- /dev/null +++ b/script/setup @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +# This is a setup script for computers with only brew & asdf installed +brew install gpg +brew install gnu-tar +asdf plugin add nodejs +asdf plugin add ruby +asdf plugin add yarn +asdf install +asdf install yarn # for whatever reason the command above does not necessarily work +yarn