Skip to content

Commit

Permalink
chore: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Apr 19, 2023
1 parent ffc798e commit cd65d0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ Find monorepo workspace packages and read each package `package.json`
```js
import { resolveWorkspacePkgs } from 'pkg-types'
const { type, root, packages } = await resolveWorkspacePkgs('.')
console.log(root) // { dir: 'fully/resolved/root/path', pakcageJson: { ... } }
console.log(packages) // [ { dir: 'fully/resolved/foo/path', pakcageJson: { ... } } ]
console.log(root) // { dir: 'fully/resolved/root/path', packageJson: { ... } }
console.log(packages) // [ { dir: 'fully/resolved/foo/path', packageJson: { ... } } ]
```

### `resolveWorkspacePkgsGraph`
Expand Down

0 comments on commit cd65d0b

Please sign in to comment.