Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
ziteh committed Sep 18, 2024
2 parents 1e2d19b + d8c4b38 commit 0e54fe4
Show file tree
Hide file tree
Showing 6 changed files with 2,884 additions and 3,654 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:

- name: Build
run: |
pnpm run prisma:update
pnpm run prisma:migration
pnpm run build
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ COPY . .

RUN \
corepack enable pnpm && \
pnpm run prisma:update && \
pnpm run prisma:migration && \
pnpm run build

# Remove dev dependencies
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Hie can run on a NAS via Docker, allowing you to access and view your images con

```sh
pnpm install
pnpm run prisma:update
pnpm run prisma:migration
pnpm run dev
```

Expand Down
13 changes: 2 additions & 11 deletions app/components/appLayout/sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,7 @@ export default function Sidebar(props: Props) {
New Tag
</ListItemIcon>
</ListItemButton>
<TagFormDialog
existingTags={[]}
open={tagFormOpen}
onClose={handleTagFormClose}
/>
<TagFormDialog open={tagFormOpen} onClose={handleTagFormClose} />
</ListItem>

<ListItem disablePadding>
Expand All @@ -122,12 +118,7 @@ export default function Sidebar(props: Props) {
New Item
</ListItemIcon>
</ListItemButton>
<ItemFormDialog
folders={[]}
tags={[]}
open={itemFormOpen}
onClose={handleItemFormClose}
/>
<ItemFormDialog open={itemFormOpen} onClose={handleItemFormClose} />
</ListItem>

<ListItem disablePadding>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"prisma:update": "npx prisma migrate dev --name init && npx prisma generate",
"prisma:migration": "pnpm dlx prisma migrate dev --name init",
"prisma:generate": "pnpm dlx prisma generate",
"docker:build": "docker build -t hie .",
"docker:save": "docker save hie -o hie.tar"
},
Expand Down
Loading

0 comments on commit 0e54fe4

Please sign in to comment.