Skip to content

Commit 3cf8c4e

Browse files
authored
Fixed an issue with projects using npm workspaces being recognized as yarn projects (#250)
* Fixed an issue with projects using npm workspaces being recognized as yarn projects * add npm to one extra place * fix an extra thing
1 parent 7ba131d commit 3cf8c4e

File tree

22 files changed

+220
-17
lines changed

22 files changed

+220
-17
lines changed

.changeset/large-plants-sit.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@manypkg/get-packages": major
3+
"@manypkg/find-root": major
4+
"@manypkg/tools": major
5+
---
6+
7+
Fixed an issue with projects using npm workspaces being recognized as yarn projects

__fixtures__/basic-npm/package-lock.json

Whitespace-only changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "@manypkg/basic-npm-fixture",
3+
"version": "1.0.0",
4+
"workspaces": [
5+
"packages/*"
6+
]
7+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "@manypkg/basic-fixture-pkg-one",
3+
"version": "1.0.0"
4+
}

__fixtures__/basic-npm/packages/package-one/src/index.js

Whitespace-only changes.

__fixtures__/basic-with-scripts/yarn.lock

Whitespace-only changes.

__fixtures__/basic/yarn.lock

Whitespace-only changes.

__fixtures__/local-deps-cycle/yarn.lock

Whitespace-only changes.

__fixtures__/no-name-field/yarn.lock

Whitespace-only changes.

__fixtures__/npm-workspace-base/package-lock.json

Whitespace-only changes.

0 commit comments

Comments
 (0)