Skip to content

Commit

Permalink
1.97 (#213)
Browse files Browse the repository at this point in the history
* fix: yarn monorepos

* fix: bug in package lock check
  • Loading branch information
dtarnawsky authored Oct 22, 2024
1 parent 582b36e commit 2e829ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ionic",
"displayName": "Ionic",
"description": "Official extension for Ionic and Capacitor development",
"version": "1.97.0",
"version": "1.97.1",
"icon": "media/ionic.png",
"publisher": "Ionic",
"keywords": [
Expand Down
3 changes: 2 additions & 1 deletion src/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,8 @@ function getPackageManager(folder: string, monoRepoType: MonoRepoType): PackageM

if (monoRepoType == MonoRepoType.yarn) {
const packageLock = join(folder, 'package-lock.json');
if (!packageLock) {

if (!existsSync(packageLock)) {
// Its a yarn monorepo so use yarn as package manager
return PackageManager.yarn;
}
Expand Down

0 comments on commit 2e829ee

Please sign in to comment.