Skip to main content

Configure Azure personal access token

When installing the project for the first time, you need to run an initialization script (initYarnrc.sh or initYarnrc.ps1) with a personal access token.

Generating a Personal Access Token

To obtain <YOUR_PERSONAL_ACCESS_TOKEN>, follow these steps:

  1. Navigate to Azure DevOps Personal Access Tokens and create a new token.
  2. Set the expiration date as desired (custom range allows up to one year).
  3. Provide a meaningful name for the token.
  4. Assign at least the Packaging = Read permission.
  5. Click Create.

Personal Access Token Creation

Running the Initialization Script

Once you have your token, follow these steps:

  1. Copy your personal access token or save it in a file.
  2. Open your terminal and navigate to your project's folder on your machine .

For Windows (using PowerShell):

./initYarnrc.ps1 YOUR_PERSONAL_ACCESS_TOKEN

For Linux, WSL, or Windows (using Git Bash):

bash initYarnrc.sh YOUR_PERSONAL_ACCESS_TOKEN

You should see a message confirming that the .yarnrc.yml file has been created successfully.

Artifact Feed

The artifact feed is located inside the OnePortal project. You can access it here.

If you do not have access, please request it before proceeding.