-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* add tests * support pnpm for project discovery tests * fix bug in node_modules identification * fix project discovery and ide tests
- Loading branch information
mmews-n4
authored
Jan 18, 2024
1 parent
d3ba9f4
commit fa8bd23
Showing
13 changed files
with
175 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Project Discovery Test | ||
# working dir marked with '*' | ||
|
||
|
||
FOLDERS | ||
-*Root [PROJECT workspaces-pnpm=["packages/*"]] | ||
-- packages | ||
--- P1 [PROJECT dependencies={"D1":"*"}] | ||
---- node_modules | ||
----- D1 [SYMLINK_TO_PATH Root/node_modules/.pnpm/D1] | ||
-- node_modules | ||
--- .pnpm | ||
---- P1 [SYMLINK_TO_PATH Root/packages/P1] | ||
---- D1 [PROJECT] | ||
|
||
EXPECT | ||
- Root | ||
- Root/packages/P1 | ||
- Root/node_modules/.pnpm/D1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Project Discovery Test | ||
# working dir marked with '*' | ||
|
||
|
||
FOLDERS | ||
-*Root [PROJECT workspaces-pnpm=["packages/*"]] | ||
-- packages | ||
--- P1 [PROJECT dependencies={"D1":"*"}] | ||
---- node_modules | ||
----- D1 [SYMLINK_TO_PATH Root/node_modules/.pnpm/[email protected]/node_modules/D1] | ||
-- node_modules | ||
--- .pnpm | ||
---- P1 [SYMLINK_TO_PATH Root/packages/P1] | ||
---- [email protected] | ||
----- node_modules | ||
------ D1 [PROJECT dependencies={"D2":"*"}] | ||
------ D2 [SYMLINK_TO_PATH Root/node_modules/.pnpm/D2] | ||
---- D2 [PROJECT] | ||
|
||
|
||
EXPECT | ||
- Root | ||
- Root/packages/P1 | ||
- Root/node_modules/.pnpm/[email protected]/node_modules/D1 | ||
- Root/node_modules/.pnpm/D2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Project Discovery Test | ||
# working dir marked with '*' | ||
|
||
|
||
FOLDERS | ||
-*P1 [PROJECT workspaces-pnpm=["packages/*"]] | ||
-- packages | ||
--- D1 [PROJECT] | ||
-- node_modules | ||
--- D1 [SYMLINK_TO_PATH P1/packages/D1] | ||
|
||
|
||
EXPECT | ||
- P1 | ||
- P1/packages/D1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Project Discovery Test | ||
# working dir marked with '*' | ||
|
||
|
||
FOLDERS | ||
-*P1 [PROJECT workspaces=["packages/*"]] | ||
-- packages | ||
--- D1 [PROJECT dependencies={"D2":"*"}] | ||
--- D2 [PROJECT] | ||
-- node_modules | ||
--- D1 [SYMLINK_TO_PATH P1/packages/D1] | ||
--- D2 [SYMLINK_TO_PATH P1/packages/D2] | ||
|
||
|
||
EXPECT | ||
- P1 | ||
- P1/packages/D1 | ||
- P1/packages/D2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.