Skip to content

Instantly share code, notes, and snippets.

@roblillack
Last active February 13, 2024 12:19
Show Gist options
  • Save roblillack/5818b0dbb5bfd69757bc4397ff6f8b32 to your computer and use it in GitHub Desktop.
Save roblillack/5818b0dbb5bfd69757bc4397ff6f8b32 to your computer and use it in GitHub Desktop.
Yarn PnP test repo
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
nodeLinker: pnp

Minimal Yarn PnP repo

Usage:

  • Run yarn install
  • In VSCode biome v1.4.0 should be picked up from the Yarn cache
  • bla.ts should show a linter error
function printAge(age: number) {
// We should get a linter error here:
console.log("Hello, my age is " + age);
}
printAge(42);
{
"devDependencies": {
"@biomejs/biome": "1.4.0",
"typescript": "^5.3.3"
},
"packageManager": "yarn@4.1.0"
}
# This file is generated by running "yarn install" inside your project.
# Manual changes might be lost - proceed with caution!
__metadata:
version: 8
cacheKey: 10c0
"@biomejs/biome@npm:1.4.0":
version: 1.4.0
resolution: "@biomejs/biome@npm:1.4.0"
dependencies:
"@biomejs/cli-darwin-arm64": "npm:1.4.0"
"@biomejs/cli-darwin-x64": "npm:1.4.0"
"@biomejs/cli-linux-arm64": "npm:1.4.0"
"@biomejs/cli-linux-x64": "npm:1.4.0"
"@biomejs/cli-win32-arm64": "npm:1.4.0"
"@biomejs/cli-win32-x64": "npm:1.4.0"
dependenciesMeta:
"@biomejs/cli-darwin-arm64":
optional: true
"@biomejs/cli-darwin-x64":
optional: true
"@biomejs/cli-linux-arm64":
optional: true
"@biomejs/cli-linux-x64":
optional: true
"@biomejs/cli-win32-arm64":
optional: true
"@biomejs/cli-win32-x64":
optional: true
bin:
biome: bin/biome
checksum: 10c0/a2a8172bbb60d2fe3edc835aaace10d61122cd81f0c511eea37eb1166e5cfa30b5efcd0dad5f3c224fd4420eb6632363545820c3cac5d84944b62fb5517cb668
languageName: node
linkType: hard
"@biomejs/cli-darwin-arm64@npm:1.4.0":
version: 1.4.0
resolution: "@biomejs/cli-darwin-arm64@npm:1.4.0"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
"@biomejs/cli-darwin-x64@npm:1.4.0":
version: 1.4.0
resolution: "@biomejs/cli-darwin-x64@npm:1.4.0"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
"@biomejs/cli-linux-arm64@npm:1.4.0":
version: 1.4.0
resolution: "@biomejs/cli-linux-arm64@npm:1.4.0"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard
"@biomejs/cli-linux-x64@npm:1.4.0":
version: 1.4.0
resolution: "@biomejs/cli-linux-x64@npm:1.4.0"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard
"@biomejs/cli-win32-arm64@npm:1.4.0":
version: 1.4.0
resolution: "@biomejs/cli-win32-arm64@npm:1.4.0"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
"@biomejs/cli-win32-x64@npm:1.4.0":
version: 1.4.0
resolution: "@biomejs/cli-win32-x64@npm:1.4.0"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
"root-workspace-0b6124@workspace:.":
version: 0.0.0-use.local
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@biomejs/biome": "npm:1.4.0"
typescript: "npm:^5.3.3"
languageName: unknown
linkType: soft
"typescript@npm:^5.3.3":
version: 5.3.3
resolution: "typescript@npm:5.3.3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/e33cef99d82573624fc0f854a2980322714986bc35b9cb4d1ce736ed182aeab78e2cb32b385efa493b2a976ef52c53e20d6c6918312353a91850e2b76f1ea44f
languageName: node
linkType: hard
"typescript@patch:typescript@npm%3A^5.3.3#optional!builtin<compat/typescript>":
version: 5.3.3
resolution: "typescript@patch:typescript@npm%3A5.3.3#optional!builtin<compat/typescript>::version=5.3.3&hash=e012d7"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10c0/1d0a5f4ce496c42caa9a30e659c467c5686eae15d54b027ee7866744952547f1be1262f2d40de911618c242b510029d51d43ff605dba8fb740ec85ca2d3f9500
languageName: node
linkType: hard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment