Skip to content

Commit

Permalink
Include dependencies when analyzing single --workspace (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Sep 28, 2023
1 parent 770c0b4 commit 7ffa993
Show file tree
Hide file tree
Showing 9 changed files with 679 additions and 82 deletions.
4 changes: 2 additions & 2 deletions fixtures/workspaces/apps/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"name": "@workspaces/backend",
"main": "./index.js",
"dependencies": {
"@workspaces/shared": "*",
"@workspaces/tools": "*",
"@workspaces/shared": "1.0.0",
"@workspaces/tools": "1.0.0",
"picomatch": "*",
"next": "*"
}
Expand Down
4 changes: 2 additions & 2 deletions fixtures/workspaces/apps/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@workspaces/frontend",
"main": "./index.js",
"dependencies": {
"@workspaces/shared": "*",
"@workspaces/tools": "*"
"@workspaces/shared": "1.0.0",
"@workspaces/tools": "1.0.0"
}
}
3 changes: 2 additions & 1 deletion fixtures/workspaces/local/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"name": "@workspaces/tsconfig"
"name": "@workspaces/tsconfig",
"version": "1.0.0"
}
3 changes: 2 additions & 1 deletion fixtures/workspaces/packages/shared/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name": "@workspaces/shared",
"version": "1.0.0",
"main": "./index.js",
"scripts": {
"e2e": "cypress"
},
"devDependencies": {
"@workspaces/tsconfig": "*"
"@workspaces/tsconfig": "1.0.0"
}
}
1 change: 1 addition & 0 deletions fixtures/workspaces/packages/tools/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "@workspaces/tools",
"version": "1.0.0",
"main": "./index.js"
}

0 comments on commit 7ffa993

Please sign in to comment.