Default Community Health Files
Use the workflow templates to create workflows for each repository.
https://yarnpkg.com/getting-started/migration
yarn set version stable
# remove this from `.yarnrc.yml`
nodeLinker: node-modules
# update `.gitignore`
# yarn (for non-zero-install)
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
# install plugins
yarn plugin import interactive-tools
yarn dlx @yarnpkg/sdks vscode
Select to use local version of TypeScript language server.
.vscode/settings.json
example:
{
"eslint.nodePath": ".yarn/sdks",
"json.schemas": [
{
"fileMatch": [
"tsconfig.*.json"
],
"url": "http://json.schemastore.org/tsconfig"
}
],
"search.exclude": {
"**/.pnp.*": true,
"**/.yarn": true
},
"typescript.enablePromptUseWorkspaceTsdk": true,
"typescript.tsdk": ".yarn/sdks/typescript/lib"
}