Skip to content

Commit a75d0b8

Browse files
committed
Fix Duplication Bug, Improve loading into new notes, Update Deps, Improve Docker
1 parent 1ecd1bb commit a75d0b8

File tree

11 files changed

+274
-70
lines changed

11 files changed

+274
-70
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM oven/bun:1 as builder
1+
FROM oven/bun:latest as builder
22

33
WORKDIR /app
44
COPY package*.json ./
@@ -10,4 +10,4 @@ FROM nginx:alpine
1010
COPY --from=builder /app/dist /usr/share/nginx/html
1111
COPY nginx.conf /etc/nginx/conf.d/default.conf
1212
EXPOSE 80
13-
CMD ["nginx", "-g", "daemon off;"]
13+
CMD ["nginx", "-g", "daemon off;"]

bun.lockb

345 Bytes
Binary file not shown.

desktop/bun.lockb

0 Bytes
Binary file not shown.

desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
}
4040
},
4141
"devDependencies": {
42-
"electron": "^34.0.2",
42+
"electron": "^34.2.0",
4343
"electron-builder": "^25.1.8"
4444
},
4545
"dependencies": {

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
2-
rusty-notes-webapp:
2+
trustynotes:
33
build: .
44
ports:
55
- "8590:80"
6-
restart: unless-stopped
6+
restart: unless-stopped

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@
3333
"@capacitor/splash-screen": "^7.0.0",
3434
"@capacitor/status-bar": "^7.0.0",
3535
"@emotion/react": "^11.14.0",
36-
"@mantine/core": "^7.16.2",
37-
"@mantine/hooks": "^7.16.2",
38-
"@mantine/notifications": "^7.16.2",
36+
"@mantine/core": "^7.16.3",
37+
"@mantine/hooks": "^7.16.3",
38+
"@mantine/notifications": "^7.16.3",
3939
"@noble/ed25519": "^2.2.3",
40-
"@tabler/icons-react": "^3.29.0",
40+
"@tabler/icons-react": "^3.30.0",
4141
"@tiptap/extension-code-block": "^2.11.5",
4242
"@tiptap/extension-highlight": "^2.11.5",
4343
"@tiptap/extension-image": "^2.11.5",
@@ -62,20 +62,20 @@
6262
"react-markdown": "^9.0.3",
6363
"rehype-highlight": "^7.0.2",
6464
"rehype-raw": "^7.0.0",
65-
"remark-gfm": "^4.0.0",
65+
"remark-gfm": "^4.0.1",
6666
"stream-browserify": "^3.0.0",
6767
"util": "^0.12.5"
6868
},
6969
"devDependencies": {
70-
"@types/react": "^19.0.8",
70+
"@types/react": "^19.0.9",
7171
"@types/react-dom": "^19.0.3",
7272
"@vitejs/plugin-react": "^4.3.4",
7373
"concurrently": "^9.1.2",
7474
"cross-env": "^7.0.3",
75-
"electron": "^34.0.2",
75+
"electron": "^34.2.0",
7676
"electron-builder": "^25.1.8",
7777
"sharp": "^0.33.5",
7878
"typescript": "^5.7.3",
79-
"vite": "^6.0.11"
79+
"vite": "^6.1.0"
8080
}
8181
}

server/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ FROM oven/bun:1
33
WORKDIR /app
44

55
COPY package*.json ./
6-
COPY bun.lockb ./
76
COPY .env ./
87
RUN bun install
98

109
COPY . .
1110

1211
EXPOSE 3222
1312

14-
CMD ["bun", "src/index.js"]
13+
CMD ["bun", "src/index.js"]

server/bun.lock

Lines changed: 196 additions & 0 deletions
Large diffs are not rendered by default.

server/bun.lockb

-33.2 KB
Binary file not shown.

server/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
"express": "^4.21.2",
1616
"express-rate-limit": "^7.5.0",
1717
"helmet": "^8.0.0",
18-
"mongodb": "^6.12.0"
18+
"mongodb": "^6.13.0"
1919
},
2020
"devDependencies": {
21-
"@types/node": "^22.10.2"
21+
"@types/node": "^22.13.4"
2222
},
2323
"type": "module"
2424
}

0 commit comments

Comments
 (0)