Skip to content

Commit 6687804

Browse files
authored
Adds a note about workspaces in the enableScripts documentation (#4781)
Update yarnrc.json
1 parent 8963fc0 commit 6687804

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gatsby/static/configuration/yarnrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
},
172172
"enableScripts": {
173173
"_package": "@yarnpkg/core",
174-
"description": "If false, Yarn will not execute the `postInstall` scripts when installing the project. Note that you can now also disable scripts on a per-package basis thanks to `dependenciesMeta`.",
174+
"description": "If false, Yarn will not execute the `postinstall` scripts from third-party packages when installing the project (workspaces will still see their postinstall scripts evaluated, as they're assumed to be safe if you're running an install within them). Note that you can now also disable scripts on a per-package basis thanks to `dependenciesMeta`.",
175175
"type": "boolean",
176176
"default": true
177177
},

0 commit comments

Comments
 (0)