Compare commits

...

19 Commits

Author SHA1 Message Date
e6b378c170 style: remove unnecessary .dockerignore
All checks were successful
Check / check (push) Successful in 1m2s
Update / update (push) Successful in 3m41s
2025-05-20 10:07:29 -04:00
Trevor Allen
fe05a64eb0
Merge pull request #14 from spotdemo4/update
update
2025-05-19 20:15:12 -04:00
github-actions[bot]
7b3d66886d build(nix): updated nix hashes 2025-05-20 00:12:53 +00:00
github-actions[bot]
bc74994ac4 build(client): updated npm dependencies 2025-05-20 00:11:03 +00:00
Trevor Allen
e20a67f7a4
Merge pull request #13 from spotdemo4/update
update
2025-05-18 20:14:57 -04:00
github-actions[bot]
01e2f3eca3 build(nix): updated nix hashes 2025-05-19 00:12:51 +00:00
github-actions[bot]
95a2a00cec build(client): updated npm dependencies 2025-05-19 00:11:04 +00:00
github-actions[bot]
b6058aa434 build(nix): updated nix dependencies 2025-05-19 00:10:26 +00:00
Trevor Allen
0adbbc3f06
Merge pull request #12 from spotdemo4/update
update
2025-05-17 20:15:32 -04:00
github-actions[bot]
46058ae5d6 build(nix): updated nix hashes 2025-05-18 00:13:30 +00:00
github-actions[bot]
94b367c2fb build(client): updated npm dependencies 2025-05-18 00:11:36 +00:00
github-actions[bot]
548efa254c build(nix): updated nix dependencies 2025-05-18 00:10:57 +00:00
68166c8d3a fix: don't prepend https. I honestly don't know how it was working before
All checks were successful
Check / check (push) Successful in 52s
Update / update (push) Successful in 3m41s
2025-05-17 04:55:04 -04:00
3a5fa69bf6 bump: v0.0.46 -> v0.0.47
All checks were successful
Check / check (push) Has been skipped
Release / check (push) Successful in 51s
Release / release (push) Successful in 2m42s
Release / package (push) Successful in 49s
2025-05-17 04:50:43 -04:00
23be247cdb fix: correct name
All checks were successful
Check / check (push) Successful in 56s
2025-05-17 04:49:14 -04:00
9a204d3808 fix: use ghcr for github 2025-05-17 04:47:55 -04:00
00e36b6c77 fix: change update path for protobuf deps
All checks were successful
Check / check (push) Successful in 54s
2025-05-17 04:34:06 -04:00
3b34d50120 bump: v0.0.45 -> v0.0.46
Some checks failed
Check / check (push) Has been skipped
Release / check (push) Successful in 54s
Release / release (push) Successful in 2m47s
Release / package (push) Failing after 48s
2025-05-17 04:31:17 -04:00
13b652d425 fix: use pat, use shell
All checks were successful
Check / check (push) Successful in 55s
2025-05-17 04:29:39 -04:00
11 changed files with 427 additions and 1381 deletions

View File

@ -13,6 +13,7 @@ runs:
using: "composite"
steps:
- name: Set env
shell: bash
run: |
REGISTRY=$(basename ${{ inputs.server_url }})
@ -29,6 +30,7 @@ runs:
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- name: Push images
shell: bash
run: |
docker image tag $REPOSITORY:$VERSION-amd64 $REGISTRY/$NAMESPACE/$REPOSITORY:$VERSION-amd64
docker push $REGISTRY/$NAMESPACE/$REPOSITORY:$VERSION-amd64
@ -40,8 +42,9 @@ runs:
docker push $REGISTRY/$NAMESPACE/$REPOSITORY:$VERSION-arm
- name: Push manifest
shell: bash
run: |
docker manifest create $HOST/$REPOSITORY:$VERSION \
docker manifest create $REGISTRY/$NAMESPACE/$REPOSITORY:$VERSION \
$REGISTRY/$NAMESPACE/$REPOSITORY:$VERSION-amd64 \
$REGISTRY/$NAMESPACE/$REPOSITORY:$VERSION-arm64 \
$REGISTRY/$NAMESPACE/$REPOSITORY:$VERSION-arm

View File

@ -1,14 +0,0 @@
.env
/docker-compose.*
/result*
/.direnv/
/build/
# Client
/client/node_modules/
/client/.svelte-kit/
# Server
/server/client/
/server/tmp/
/server/build/

View File

@ -52,7 +52,7 @@ jobs:
with:
registry: ${{ github.server_url }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.PAT }}
- name: Build & load images
run: |

View File

@ -36,14 +36,14 @@ jobs:
PR_RESPONSE=$(curl -s -X POST -H "Authorization: token $PAT" \
-H "Content-Type: application/json" \
-d '{"title":"update","body":"automatic update","head":"update","base":"main"}' \
"https://$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls")
"$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls")
PR_NUMBER=$(echo "$PR_RESPONSE" | jq -r '.number')
curl -s -X POST -H "Authorization: token $PAT" \
-H "Content-Type: application/json" \
-d '{"Do":"merge","merge_when_checks_succeed":true,"delete_branch_after_merge":true}' \
"https://$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls/$PR_NUMBER/merge"
"$URL/api/v1/repos/$REPO_OWNER_SLASH_NAME/pulls/$PR_NUMBER/merge"
else
git push origin update --force

View File

@ -68,6 +68,6 @@ jobs:
- name: Push images
uses: ./.actions/push
with:
server_url: ${{ github.server_url }}
server_url: ghcr.io
repository: ${{ github.repository }}
tag: ${{ github.ref_name }}

View File

@ -12,6 +12,7 @@ if ! git diff --exit-code flake.lock; then
fi
echo "updating protobuf deps"
cd "${git_root}/proto"
buf dep update
if ! git diff --exit-code buf.lock; then
git add buf.lock

1744
client/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
{
"name": "trevstack",
"private": true,
"version": "0.0.45",
"version": "0.0.47",
"type": "module",
"scripts": {
"dev": "vite dev",
@ -21,29 +21,29 @@
"@eslint/js": "^9.18.0",
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
"@lucide/svelte": "^0.479.0",
"@scalar/api-reference": "^1.28.33",
"@scalar/api-reference": "^1.28.34",
"@simplewebauthn/browser": "^13.1.0",
"@sveltejs/adapter-static": "^3.0.8",
"@sveltejs/kit": "^2.21.0",
"@sveltejs/kit": "^2.21.1",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@tailwindcss/vite": "^4.1.6",
"bits-ui": "^1.4.8",
"@tailwindcss/vite": "^4.1.7",
"bits-ui": "^1.5.3",
"clsx": "^2.1.1",
"eslint": "^9.26.0",
"eslint": "^9.27.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-svelte": "^3.6.0",
"eslint-plugin-svelte": "^3.8.1",
"globals": "^16.1.0",
"mode-watcher": "^1.0.7",
"prettier": "^3.5.3",
"prettier-plugin-svelte": "^3.3.3",
"prettier-plugin-svelte": "^3.4.0",
"prettier-plugin-tailwindcss": "^0.6.11",
"svelte": "^5.28.6",
"svelte-check": "^4.1.7",
"svelte": "^5.31.1",
"svelte-check": "^4.2.1",
"svelte-sonner": "^0.3.28",
"tailwind-merge": "^3.3.0",
"tailwind-variants": "^1.0.0",
"tailwindcss": "^4.0.13",
"tw-animate-css": "^1.2.9",
"tw-animate-css": "^1.3.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.32.1",
"vite": "^6.3.5"

6
flake.lock generated
View File

@ -2,11 +2,11 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1747179050,
"narHash": "sha256-qhFMmDkeJX9KJwr5H32f1r7Prs7XbQWtO0h3V0a0rFY=",
"lastModified": 1747542820,
"narHash": "sha256-GaOZntlJ6gPPbbkTLjbd8BMWaDYafhuuYRNrxCGnPJw=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "adaa24fbf46737f3f1b5497bf64bae750f82942e",
"rev": "292fa7d4f6519c074f0a50394dbbe69859bb6043",
"type": "github"
},
"original": {

View File

@ -21,7 +21,7 @@
...
}: let
pname = "trevstack";
version = "0.0.45";
version = "0.0.47";
build-systems = [
"x86_64-linux"
@ -130,7 +130,7 @@
pname = "check-client";
inherit version;
src = ./client;
npmDepsHash = "sha256-jO8sDDKUJRnZQJFXP/QleNP+p24iF5IxiLci4Jhnpi8=";
npmDepsHash = "sha256-dl32ehKir0dZ4uiJ4s59xPIIbMkkZtH9dlTm4W0PZag=";
dontNpmInstall = true;
buildPhase = ''
@ -193,7 +193,7 @@
client = pkgs.buildNpmPackage {
inherit pname version;
src = ./client;
npmDepsHash = "sha256-jO8sDDKUJRnZQJFXP/QleNP+p24iF5IxiLci4Jhnpi8=";
npmDepsHash = "sha256-dl32ehKir0dZ4uiJ4s59xPIIbMkkZtH9dlTm4W0PZag=";
installPhase = ''
cp -r build "$out"

View File

@ -3,7 +3,7 @@ servers:
- url: /grpc
info:
title: Trevstack API
version: 0.0.45
version: 0.0.47
description: API for Trevstack
contact:
name: Trev