5 Commits

Author SHA1 Message Date
fc90905dcf bump: v0.0.23 -> v0.0.24 2025-05-13 18:12:26 -04:00
6494d74ab2 style: rename workflows 2025-05-13 18:09:44 -04:00
ca313960c4 style: rename openapi.yaml 2025-05-13 18:01:54 -04:00
0cb262524c fix: format sql and proto 2025-05-13 17:59:22 -04:00
05aff14703 feat: generate release notes 2025-05-13 17:41:38 -04:00
10 changed files with 35 additions and 24 deletions

View File

@ -1,4 +1,4 @@
name: Lint Workflow name: Lint
on: on:
push: push:
@ -22,7 +22,7 @@ jobs:
uses: cachix/cachix-action@v16 uses: cachix/cachix-action@v16
with: with:
name: trevstack name: trevstack
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Run checks - name: Check
run: nix flake check run: nix flake check

View File

@ -1,9 +1,9 @@
name: Release Workflow name: Release
on: on:
push: push:
tags: tags:
- '*' - "*"
permissions: permissions:
contents: write contents: write
@ -25,7 +25,10 @@ jobs:
uses: cachix/cachix-action@v16 uses: cachix/cachix-action@v16
with: with:
name: trevstack name: trevstack
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: Check
run: nix flake check
- name: Build - name: Build
run: > run: >
@ -40,6 +43,7 @@ jobs:
- name: Create Release - name: Create Release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2
with: with:
generate_release_notes: true
files: |- files: |-
result*/bin/* result*/bin/*

View File

@ -1,4 +1,4 @@
name: Update Workflow name: Update
on: on:
schedule: schedule:
@ -21,7 +21,7 @@ jobs:
uses: cachix/cachix-action@v16 uses: cachix/cachix-action@v16
with: with:
name: trevstack name: trevstack
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
# https://github.com/actions/checkout/issues/13 # https://github.com/actions/checkout/issues/13
- name: Set Git Config - name: Set Git Config
@ -37,5 +37,3 @@ jobs:
with: with:
delete-branch: true delete-branch: true
title: Bump deps title: Bump deps

View File

@ -2,6 +2,7 @@
"recommendations": [ "recommendations": [
"golang.go", "golang.go",
"dorzey.vscode-sqlfluff", "dorzey.vscode-sqlfluff",
"zxh404.vscode-proto3",
"dbaeumer.vscode-eslint", "dbaeumer.vscode-eslint",
"svelte.svelte-vscode", "svelte.svelte-vscode",
"esbenp.prettier-vscode" "esbenp.prettier-vscode"

View File

@ -12,6 +12,14 @@
// SQLFluff // SQLFluff
"sqlfluff.config": "server/db/.sqlfluff", "sqlfluff.config": "server/db/.sqlfluff",
"[sql]": {
"editor.defaultFormatter": "dorzey.vscode-sqlfluff"
},
// Proto
"[proto3]": {
"editor.defaultFormatter": "zxh404.vscode-proto3"
},
// ESLint // ESLint
"eslint.workingDirectories": ["./client"], "eslint.workingDirectories": ["./client"],

View File

@ -27,5 +27,5 @@ plugins:
out: client/static/openapi out: client/static/openapi
strategy: all strategy: all
opt: opt:
- base=openapi.base.yaml - base=openapi.yaml
- path=openapi.yaml - path=openapi.yaml

View File

@ -1,12 +1,12 @@
{ {
"name": "trevstack", "name": "trevstack",
"version": "0.0.23", "version": "0.0.24",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "trevstack", "name": "trevstack",
"version": "0.0.23", "version": "0.0.24",
"devDependencies": { "devDependencies": {
"@bufbuild/protovalidate": "^0.1.1", "@bufbuild/protovalidate": "^0.1.1",
"@connectrpc/connect": "^2.0.2", "@connectrpc/connect": "^2.0.2",

View File

@ -1,7 +1,7 @@
{ {
"name": "trevstack", "name": "trevstack",
"private": true, "private": true,
"version": "0.0.23", "version": "0.0.24",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite dev", "dev": "vite dev",

View File

@ -21,7 +21,7 @@
... ...
}: let }: let
pname = "trevstack"; pname = "trevstack";
version = "0.0.23"; version = "0.0.24";
build-systems = [ build-systems = [
"x86_64-linux" "x86_64-linux"
@ -126,7 +126,7 @@
pname = "check-client"; pname = "check-client";
inherit version; inherit version;
src = ./client; src = ./client;
npmDepsHash = "sha256-Te5HGbp7mKG3p1P4O266IpoPPBN7oQ/dZbttdgKbgWs="; npmDepsHash = "sha256-RA4mDU+CJPYIV5NqmpVBMW4gt75RI/F1Jgj4vP9zjys=";
dontNpmInstall = true; dontNpmInstall = true;
buildPhase = '' buildPhase = ''
@ -188,7 +188,7 @@
client = pkgs.buildNpmPackage { client = pkgs.buildNpmPackage {
inherit pname version; inherit pname version;
src = ./client; src = ./client;
npmDepsHash = "sha256-Te5HGbp7mKG3p1P4O266IpoPPBN7oQ/dZbttdgKbgWs="; npmDepsHash = "sha256-RA4mDU+CJPYIV5NqmpVBMW4gt75RI/F1Jgj4vP9zjys=";
installPhase = '' installPhase = ''
cp -r build "$out" cp -r build "$out"

View File

@ -4,7 +4,7 @@ servers:
info: info:
title: Trevstack API title: Trevstack API
version: 1.0.0 version: 1.0.0
description: API for trevstack description: API for Trevstack
contact: contact:
name: Trev name: Trev
email: spam@trev.xyz email: spam@trev.xyz