Setup plugins

This commit is contained in:
adrinr 2023-02-02 13:45:36 +00:00
parent 64d9149eaf
commit 4193aa7a11
3 changed files with 19 additions and 14 deletions

2
.tool-versions Normal file
View File

@ -0,0 +1,2 @@
nodejs 14.19.3
python 3.11.1

View File

@ -90,30 +90,29 @@ Component libraries are collections of components as well as the definition of t
#### 1. Prerequisites #### 1. Prerequisites
##### 1.1 NodeJs and python
- NodeJS version `14.x.x` - NodeJS version `14.x.x`
- Python version `3.x` - Python version `3.x`
##### 1.1.1 Using asdf (recommended) #### 1.1 Using asdf (recommended)
Asdf is a package manager that allows managing multiple dependencies. Asdf is a package manager that allows managing multiple dependencies.
If can be installed either:
1. Run script (recommended): `./scripts/install-contributor-dependencies.sh` 1. Install using script (recommended):
2. Or, manual installation steps: https://asdf-vm.com/guide/getting-started.html
`./scripts/install-contributor-dependencies.sh`
2. Manually
- Installation steps: https://asdf-vm.com/guide/getting-started.html
- asdf plugin add nodejs - asdf plugin add nodejs
- asdf plugin add python - asdf plugin add python
- npm install -g yarn
##### 1.1.2 Using NVM #### 1.2 Using NVM
https://github.com/nvm-sh/nvm#installing-and-updating - https://github.com/nvm-sh/nvm#installing-and-updating
--- - _yarn -_ `npm install -g yarn`
#### 1.2 Install yarn
_yarn -_ `npm install -g yarn`
#### 2. Clone this repository #### 2. Clone this repository

View File

@ -20,4 +20,8 @@ fi
# Install ASDF Plugins # Install ASDF Plugins
asdf plugin add nodejs asdf plugin add nodejs
asdf plugin add python asdf plugin add python
asdf install
npm install -g yarn