Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 93b48ef2
authored
Oct 20, 2024
by
afe1
Committed by
GitHub
Oct 20, 2024
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: use pnpm manage package (#4695)
1 parent
860fc15c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
internal/node-utils/src/monorepo.ts
internal/node-utils/src/monorepo.ts
View file @
93b48ef
...
...
@@ -11,13 +11,10 @@ import { findUpSync } from 'find-up';
* @param cwd
*/
function
findMonorepoRoot
(
cwd
:
string
=
process
.
cwd
())
{
const
lockFile
=
findUpSync
(
[
'pnpm-lock.yaml'
,
'yarn.lock'
,
'package-lock.json'
],
{
cwd
,
type
:
'file'
,
},
);
const
lockFile
=
findUpSync
(
'pnpm-lock.yaml'
,
{
cwd
,
type
:
'file'
,
});
return
dirname
(
lockFile
||
''
);
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment