Skip to content

Commit

Permalink
fix: adjust to type-fest@3.5.0
Browse files Browse the repository at this point in the history
it updated the PackageJson type a bit
  • Loading branch information
AviVahl committed Dec 26, 2022
1 parent 05a7d34 commit ac4fb86
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"dependencies": {
"minimatch": "^5.1.2",
"type-fest": "^3.4.0"
"type-fest": "^3.5.0"
},
"devDependencies": {
"@file-services/memory": "^7.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/yarn-workspaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export function resolveWorkspacePackages(
return Array.from(packages.values());
}

export function extractPackageLocations(workspaces: PackageJson.YarnConfiguration['workspaces']): string[] {
export function extractPackageLocations(workspaces: PackageJson['workspaces']): string[] {
if (isString(workspaces)) {
return [workspaces];
} else if (Array.isArray(workspaces)) {
Expand Down

0 comments on commit ac4fb86

Please sign in to comment.