Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

Commit

Permalink
fix: yarn package install failer. add: global installs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemtdev committed Apr 5, 2021
1 parent 4f19111 commit c98924c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 25 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ Changing system ttl on linux to four preferred values.
They are basically three commands that can be passed

- configure-system
- install-app
- install-apps
- set-ttl

./nova-script configure-system
./nova-script install-app apt common
./nova-script install-apps apt common
./nova-script set-ttl

### Installation Scripts
Expand All @@ -56,25 +56,25 @@ Change the plank and nano to your preferred applications you wish to install.

###

./nova-script install-app [ package manager ] file/type
./nova-script install-apps [ package manager ] file/type

#### using apt

./nova-script install-app apt common
./nova-script install-app apt dev
./nova-script install-app apt dev-setup
./nova-script install-apps apt common
./nova-script install-apps apt dev
./nova-script install-apps apt dev-setup

#### using dnf

./nova-script install-app dnf common
nova-script install-app dnf dev
./nova-script install-app dnf dev-setup
./nova-script install-apps dnf common
nova-script install-apps dnf dev
./nova-script install-apps dnf dev-setup

#### using apt-fast

./nova-script install-app apt-fast common
nova-script install-app apt-fast dev
./nova-script install-app apt-fast dev-setup
./nova-script install-apps apt-fast common
nova-script install-apps apt-fast dev
./nova-script install-apps apt-fast dev-setup

### CVS files

Expand Down
4 changes: 1 addition & 3 deletions Scripts/install/cvsFiles/Ubuntu-dev-setup.cvs
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
Software,Install
zsh,yes


zsh,yes
2 changes: 1 addition & 1 deletion Scripts/install/cvsFiles/Ubuntu-dev.cvs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Software,Install
nodejs,yes
git,yes

npm,yes
18 changes: 9 additions & 9 deletions Scripts/install/installation-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,8 @@ sudo echo 'plugins=( git zsh-z )' >> ~/.zshrc
function installZsh(){
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
}
function installYarn(){
curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos.d/yarn.repo
installAptFast "apt-fast" "yarn"
function installNpmGlobalPackages(){
sudo npm i $1 -g
}

function yarnInstall {
Expand All @@ -75,18 +74,19 @@ function installNvmAndSetup(){

function configureInstall(){

installNvmAndSetup
# installNvmAndSetup
#Setup yarn
installYarn
installNpmGlobalPackages "yarn"
installNpmGlobalPackages "nodemon"
intallGlobalPkgsYarn

#Terminal
installZsh
installFZF
installZ
# installZsh
# installFZF
# installZ

# configure
chsh -s $(which zsh)
# chsh -s $(which zsh)

}

Expand Down

0 comments on commit c98924c

Please sign in to comment.