devpush 1.0.0-beta.4 → 1.0.0-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Deploy Docker Compose applications to your own servers with a git push. Run the dashboard on Cloudflare Workers or Node; the Linux agent builds and runs your applications.
|
|
4
4
|
|
|
5
|
-
<a href="https://devpu.sh/videos/devpush-demo.mp4"
|
|
5
|
+
<a href="https://devpu.sh/videos/devpush-demo.mp4">
|
|
6
6
|
<img src="https://devpu.sh/videos/readme-demo.png" alt="Watch the devpush demo" width="1200" />
|
|
7
7
|
</a>
|
|
8
8
|
|
package/agent-release.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"repository": "hunvreus/devpush",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.5",
|
|
5
5
|
"goVersion": "go1.27.3",
|
|
6
6
|
"protocolVersion": 1,
|
|
7
7
|
"capabilities": [
|
|
@@ -21,16 +21,16 @@
|
|
|
21
21
|
"os": "linux",
|
|
22
22
|
"arch": "amd64",
|
|
23
23
|
"filename": "devpush-agent-linux-amd64",
|
|
24
|
-
"url": "https://github.com/hunvreus/devpush/releases/download/v1.0.0-beta.
|
|
25
|
-
"sha256": "
|
|
24
|
+
"url": "https://github.com/hunvreus/devpush/releases/download/v1.0.0-beta.5/devpush-agent-linux-amd64",
|
|
25
|
+
"sha256": "de7b000f1ad14f2c55c3c4951b72247b0d180f9d5f488d140988e565e2498acb",
|
|
26
26
|
"size": 8212604
|
|
27
27
|
},
|
|
28
28
|
{
|
|
29
29
|
"os": "linux",
|
|
30
30
|
"arch": "arm64",
|
|
31
31
|
"filename": "devpush-agent-linux-arm64",
|
|
32
|
-
"url": "https://github.com/hunvreus/devpush/releases/download/v1.0.0-beta.
|
|
33
|
-
"sha256": "
|
|
32
|
+
"url": "https://github.com/hunvreus/devpush/releases/download/v1.0.0-beta.5/devpush-agent-linux-arm64",
|
|
33
|
+
"sha256": "39c9a95f521592412374a56cd43bcf9f941f37ba9a62f20292b8cfc0f9dc3dbb",
|
|
34
34
|
"size": 7536764
|
|
35
35
|
}
|
|
36
36
|
]
|
package/package.json
CHANGED
|
@@ -184,7 +184,11 @@ function TeamHeader({
|
|
|
184
184
|
currentProject && 'max-sm:hidden',
|
|
185
185
|
)}
|
|
186
186
|
>
|
|
187
|
-
<Link
|
|
187
|
+
<Link
|
|
188
|
+
to={activeUserContext ? '/$teamSlug' : '/'}
|
|
189
|
+
params={activeUserContext ? { teamSlug: activeUserContext.defaultTeam.slug } : undefined}
|
|
190
|
+
aria-label="devpush"
|
|
191
|
+
>
|
|
188
192
|
<LogoMark className="size-4.5 shrink-0 transition-colors duration-200 group-hover:text-orange-600 group-focus-visible:text-orange-600" />
|
|
189
193
|
</Link>
|
|
190
194
|
</Button>
|
package/src/routes/index.tsx
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { pageHead } from '#devpush/lib/page-head'
|
|
2
2
|
import { createFileRoute, redirect } from '@tanstack/react-router'
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { currentUserContextQueryOptions } from '#devpush/features/auth/current-user-context-query'
|
|
5
5
|
|
|
6
6
|
export const Route = createFileRoute('/')({
|
|
7
|
-
loader: async () => {
|
|
8
|
-
const context = await
|
|
7
|
+
loader: async ({ context: routerContext }) => {
|
|
8
|
+
const context = await routerContext.queryClient.fetchQuery(
|
|
9
|
+
currentUserContextQueryOptions(),
|
|
10
|
+
)
|
|
9
11
|
|
|
10
12
|
if (!context) {
|
|
11
13
|
throw redirect({ to: '/auth/login' })
|