Skip to content

Commit

Permalink
Enable Yarn PnP
Browse files Browse the repository at this point in the history
  • Loading branch information
texpert committed Apr 30, 2024
1 parent d3f64f4 commit 770e87a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodeLinker: node-modules
nodeLinker: pnp
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import globals from "globals";
import js from "@eslint/js";

export default [
{ ignores: ["**/public/"] },
{ ignores: ["**/public/", ".pnp.cjs", ".pnp.loader.mjs"] },
{
languageOptions: {
sourceType: "module",
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
"yarn": "4.x"
},
"devDependencies": {
"@eslint/js": "^9.1.1",
"eslint": "^9.1.1",
"globals": "15.1.0",
"postcss": "^8.4.38",
"postcss-scss": "^4.0.9",
"stylelint": "^16.4.0",
"stylelint-config-sass-guidelines": "^11.1.0"
},
Expand Down
12 changes: 11 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ __metadata:
languageName: node
linkType: hard

"@eslint/js@npm:9.1.1":
"@eslint/js@npm:9.1.1, @eslint/js@npm:^9.1.1":
version: 9.1.1
resolution: "@eslint/js@npm:9.1.1"
checksum: 10c0/b25d11736b91d8df44dd217e88adb1f43d2bd5911ef4f4033e51faffe370f28d329731ffbf841d0b8303c8eedb60bda8c3a9efe803bb3b3737a06bb22c09ad0c
Expand Down Expand Up @@ -708,8 +708,11 @@ __metadata:
version: 0.0.0-use.local
resolution: "florsan@workspace:."
dependencies:
"@eslint/js": "npm:^9.1.1"
eslint: "npm:^9.1.1"
globals: "npm:15.1.0"
postcss: "npm:^8.4.38"
postcss-scss: "npm:^4.0.9"
stylelint: "npm:^16.4.0"
stylelint-config-sass-guidelines: "npm:^11.1.0"
languageName: unknown
Expand Down Expand Up @@ -753,6 +756,13 @@ __metadata:
languageName: node
linkType: hard

"globals@npm:15.1.0":
version: 15.1.0
resolution: "globals@npm:15.1.0"
checksum: 10c0/ae9cd15057dc6a21d6dbafe9f47b66bd063c6d3c9215fa1e8294bd130d89f188c48370a11a9525a5a33bd8689fc4fdfd3f474d930692d7abb7459cd982503336
languageName: node
linkType: hard

"globals@npm:^14.0.0":
version: 14.0.0
resolution: "globals@npm:14.0.0"
Expand Down

0 comments on commit 770e87a

Please sign in to comment.