Berry: API usage examples

Created on 20 Jan 2020  路  3Comments  路  Source: yarnpkg/berry

Hello, I'm trying to use @yarnpkg/core to programatically install dependencies & run some yarn scripts.

I haven't found much information about using the API - is this a work-in-progress, or am I just looking the wrong way? Thanks!

Most helpful comment

@arcanis can you point to any sample code at all? I spent many hours trying to configure things and it's hunt-and-guess. Any simple starter code would be appreciated.

All 3 comments

Hey! The API documentation hasn't been written yet as we were focusing on the CLI, but you can check how plugins work to get an idea how the API works.

@arcanis aight will do, thanks! & best of luck with the v2 - looks spicy

@arcanis can you point to any sample code at all? I spent many hours trying to configure things and it's hunt-and-guess. Any simple starter code would be appreciated.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dzintars picture dzintars  路  3Comments

IanVS picture IanVS  路  4Comments

Santas picture Santas  路  3Comments

danreg picture danreg  路  3Comments

mormahr picture mormahr  路  3Comments