Skip to content

Commit

Permalink
add .project to find result
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Aug 6, 2023
1 parent 79f56e5 commit bf2c169
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,8 @@ if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ]; then
exit 1
fi

git fetch origin --tags

V=$(git describe --tags --abbrev=0 --match "v[0-9]*.[0-9]*.[0-9]*")
V=$(tea semverator bump $V $LEVEL)

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/usePantry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export default function usePantry() {
//TODO not very performant due to serial awaits
const rv: ReturnType<typeof project>[] = []
for await (const pkg of ls()) {
const proj = project(pkg.project)
const proj = {...project(pkg.project), ...pkg}
if (pkg.project == name) {
rv.push(proj)
continue
Expand Down

0 comments on commit bf2c169

Please sign in to comment.