webpmp-v5-components v1.1.3
Getting Started
Install Node
Start by installing Node if it is not already installed on your machine. Install here: https://nodejs.org/en/download/
By the time writing we recommend using Node version 16.15.0 as it is tested and works as expected in this environment. You can check that node is correctly installed by running the command:
node --version
Install Yarn
Node ships with its own package manager called NPM. You can use NPM to install the package manager used in Foresight frontends which is yarn:
npm install --global yarn
Install project dependencies
Once Yarn is installed we will use this to download the project dependencies. Make sure your current directory is the project root, and run the command:
yarn
which will populate the node_modules
directory with dependencies.
Using private npm registry
- Set registry url:
npm config set registry https://nexus.piscada.tools/repository/npm-group/
- Set always auth:
npm config set always-auth=true
- Set auth credentials:
npm config set _auth="BASE64_TOKEN"
, to get BASE64_TOKENecho -n 'USER_NAME:PASSWORD' | openssl base64
Developing webpmp-v5-components standalone:
- Go into webpmp-v5-components:
cd YOUR_FOLDER/webpmp-v5-components
- Install dependencies:
yarn install
Developing webpmp-v5-components with other projects (portal-next , webPMP ...etc):
- Go into webpmp-v5-components:
cd YOUR_FOLDER/webpmp-v5-components
- Install dependencies:
yarn install
Create a global link in your machine:
yarn link
Go into project:
cd YOUR_FOLDER/webpmp-v5
- Create a link from project to local repository:
yarn link @piscada/webpmp-v5-components
(To cancel that link:yarn unlink @piscada/webpmp-v5-components
)
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
2 months ago
2 months ago
3 months ago
2 months ago
3 months ago
3 months ago
3 months ago
2 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
2 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
4 months ago
6 months ago
6 months ago
6 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
6 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
7 months ago
6 months ago
6 months ago
7 months ago
6 months ago
7 months ago
6 months ago
6 months ago
7 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
5 months ago
4 months ago
5 months ago
4 months ago
5 months ago
7 months ago
4 months ago
5 months ago
7 months ago
4 months ago
5 months ago
7 months ago
4 months ago
7 months ago
4 months ago
5 months ago
7 months ago
4 months ago
5 months ago
7 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
4 months ago
5 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
6 months ago
5 months ago
4 months ago
5 months ago
4 months ago
4 months ago
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
8 months ago
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
1 year ago
1 year ago