Just me playing around to understand Yarn a bit
- .gitignore
yarn set version stable
locks the yarn version used by this project to the latest stable version (docs)- From recipes
yarn add --dev typescript
add typescript (docs)yarn dlx @yarnpkg/sdks vscode
adding VSCode integration (Editor SDKs & dlx docs)yarn plugin import typescript
enable Yarn's TypeScript plugin, which helps manage @types/* dependencies automatically (docs)- After adding an
app.ts
file it can be compiled withyarn tsc app.ts
and the resulting json run withnode app.js
- I still do not understand what is meant by dependencies in yarn and how to use them