From 7326bf7be304a4dc5b9ee0d7dece8b0a0fddaccf Mon Sep 17 00:00:00 2001 From: Borewit Date: Mon, 5 Aug 2024 17:17:53 +0200 Subject: [PATCH] Switch to Yarn plug-and-play --- .yarnrc.yml | 2 +- biome.jsonc | 8 +++++--- package.json | 2 +- yarn.lock | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.yarnrc.yml b/.yarnrc.yml index fd5296c3..b723f664 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,3 +1,3 @@ -nodeLinker: node-modules +nodeLinker: pnp yarnPath: .yarn/releases/yarn-4.3.1.cjs diff --git a/biome.jsonc b/biome.jsonc index 11cd5d44..91ea469d 100644 --- a/biome.jsonc +++ b/biome.jsonc @@ -4,7 +4,7 @@ "enabled": false }, "formatter": { - "enabled": false + "enabled": true }, "linter": { "enabled": true, @@ -33,14 +33,16 @@ } }, "files": { - "ignoreUnknown": true, + "include": ["lib/**/*.ts", "test/**/*.ts"], "ignore": [ "./coverage", "./yarn", + "./.pnp.*", "./lib/**/*.d.ts", "./lib/**/*.js", "./test/**/*.d.ts", "./test/**/*.js" - ] + ], + "ignoreUnknown": true } } diff --git a/package.json b/package.json index 6d5fd8d9..4c43ea6a 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "lib/**/*.d.ts" ], "devDependencies": { - "@biomejs/biome": "1.8.3", + "@biomejs/biome": "^1.8.3", "@types/chai": "^4.3.17", "@types/mocha": "^10.0.7", "@types/node": "^22.1.0", diff --git a/yarn.lock b/yarn.lock index c8c1838d..8ddf1a8d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -68,7 +68,7 @@ __metadata: languageName: node linkType: hard -"@biomejs/biome@npm:1.8.3": +"@biomejs/biome@npm:^1.8.3": version: 1.8.3 resolution: "@biomejs/biome@npm:1.8.3" dependencies: @@ -2867,7 +2867,7 @@ __metadata: version: 0.0.0-use.local resolution: "peek-readable@workspace:." dependencies: - "@biomejs/biome": "npm:1.8.3" + "@biomejs/biome": "npm:^1.8.3" "@types/chai": "npm:^4.3.17" "@types/mocha": "npm:^10.0.7" "@types/node": "npm:^22.1.0"