From cf51e77b4b2e3933dfc426b5d147193df2db7a24 Mon Sep 17 00:00:00 2001 From: merceyz Date: Sun, 14 Jun 2020 18:30:31 +0200 Subject: [PATCH 1/2] fix(core): ignore node_modules and .git folders for workspaces --- packages/yarnpkg-core/sources/Workspace.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/yarnpkg-core/sources/Workspace.ts b/packages/yarnpkg-core/sources/Workspace.ts index a657e06e22c1..51a8563e6be7 100644 --- a/packages/yarnpkg-core/sources/Workspace.ts +++ b/packages/yarnpkg-core/sources/Workspace.ts @@ -69,6 +69,7 @@ export class Workspace { expandDirectories: false, onlyDirectories: true, onlyFiles: false, + ignore: [`node_modules`, `.git`], }); // It seems that the return value of globby isn't in any guaranteed order - not even the directory listing order From 817530ed1d796cdf8bec6bee5a77365ff60f0094 Mon Sep 17 00:00:00 2001 From: merceyz Date: Sun, 14 Jun 2020 18:38:44 +0200 Subject: [PATCH 2/2] chore: versions --- .yarn/versions/8cc061aa.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .yarn/versions/8cc061aa.yml diff --git a/.yarn/versions/8cc061aa.yml b/.yarn/versions/8cc061aa.yml new file mode 100644 index 000000000000..8812efe8c3c6 --- /dev/null +++ b/.yarn/versions/8cc061aa.yml @@ -0,0 +1,30 @@ +releases: + "@yarnpkg/cli": prerelease + "@yarnpkg/core": prerelease + +declined: + - "@yarnpkg/plugin-compat" + - "@yarnpkg/plugin-constraints" + - "@yarnpkg/plugin-dlx" + - "@yarnpkg/plugin-essentials" + - "@yarnpkg/plugin-exec" + - "@yarnpkg/plugin-file" + - "@yarnpkg/plugin-git" + - "@yarnpkg/plugin-github" + - "@yarnpkg/plugin-http" + - "@yarnpkg/plugin-init" + - "@yarnpkg/plugin-interactive-tools" + - "@yarnpkg/plugin-link" + - "@yarnpkg/plugin-node-modules" + - "@yarnpkg/plugin-npm" + - "@yarnpkg/plugin-npm-cli" + - "@yarnpkg/plugin-pack" + - "@yarnpkg/plugin-patch" + - "@yarnpkg/plugin-pnp" + - "@yarnpkg/plugin-stage" + - "@yarnpkg/plugin-typescript" + - "@yarnpkg/plugin-version" + - "@yarnpkg/plugin-workspace-tools" + - "@yarnpkg/builder" + - "@yarnpkg/doctor" + - "@yarnpkg/pnpify"