Skip to content

Commit

Permalink
Setup plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
adrinr committed Feb 2, 2023
1 parent 4b9d178 commit 909da26
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodejs 14.19.3
python 3.11.1
25 changes: 12 additions & 13 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,30 +90,29 @@ Component libraries are collections of components as well as the definition of t

#### 1. Prerequisites

##### 1.1 NodeJs and python

- NodeJS version `14.x.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.
If can be installed either:

1. Run script (recommended): `./scripts/install-contributor-dependencies.sh`
2. Or, manual installation steps: https://asdf-vm.com/guide/getting-started.html
- asdf plugin add nodejs
- asdf plugin add python
1. Install using script (recommended):

##### 1.1.2 Using NVM
`./scripts/install-contributor-dependencies.sh`

https://github.com/nvm-sh/nvm#installing-and-updating
2. Manually

- Installation steps: https://asdf-vm.com/guide/getting-started.html
- asdf plugin add nodejs
- asdf plugin add python
- npm install -g yarn

---
#### 1.2 Using NVM

#### 1.2 Install yarn
- https://github.com/nvm-sh/nvm#installing-and-updating

_yarn -_ `npm install -g yarn`
- _yarn -_ `npm install -g yarn`

#### 2. Clone this repository

Expand Down
6 changes: 5 additions & 1 deletion scripts/install-contributor-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,8 @@ fi

# Install ASDF Plugins
asdf plugin add nodejs
asdf plugin add python
asdf plugin add python

asdf install

npm install -g yarn

0 comments on commit 909da26

Please sign in to comment.