Add PocketBase v0.40.6 as a dependency together with the pieces the new backend is built from: the list of synced collections with their client-writable fields, the initial migration that creates the five per-user collections (entries, closed_days, closed_weeks, settings_history, balance_adjustments), and empty Register stubs for the tracking and legacy import packages. Clients only get read access to their own rows over REST; writes are meant to go through the sync push endpoint. web/build is now ignored except for a tracked placeholder so the built SPA can be embedded. The entry point (main.go) and the UI embedding (ui.go) are not part of this commit: the repo root is still the legacy "assets" package, and Go does not allow "package main" in the same directory.
45 lines
1.6 KiB
AMPL
45 lines
1.6 KiB
AMPL
module github.com/wotra/wotra
|
|
|
|
go 1.27
|
|
|
|
require (
|
|
github.com/go-chi/chi/v5 v5.3.2
|
|
github.com/google/uuid v1.6.0
|
|
github.com/pocketbase/pocketbase v0.40.6
|
|
github.com/spf13/cobra v1.10.2
|
|
modernc.org/sqlite v1.60.1
|
|
)
|
|
|
|
require (
|
|
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
|
|
github.com/disintegration/imaging v1.6.2 // indirect
|
|
github.com/domodwyer/mailyak/v3 v3.6.2 // indirect
|
|
github.com/dustin/go-humanize v1.1.0 // indirect
|
|
github.com/fatih/color v1.19.0 // indirect
|
|
github.com/fsnotify/fsnotify v1.10.1 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.15 // indirect
|
|
github.com/ganigeorgiev/fexpr v0.6.0 // indirect
|
|
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
|
|
github.com/google/go-cmp v0.6.0 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.16 // indirect
|
|
github.com/mattn/go-isatty v0.0.24 // indirect
|
|
github.com/ncruces/go-strftime v1.1.0 // indirect
|
|
github.com/pocketbase/dbx v1.12.0 // indirect
|
|
github.com/pocketbase/ozzo-validation/v4 v4.3.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/spf13/cast v1.10.0 // indirect
|
|
github.com/spf13/pflag v1.0.10 // indirect
|
|
golang.org/x/crypto v0.58.0 // indirect
|
|
golang.org/x/image v0.47.0 // indirect
|
|
golang.org/x/net v0.61.0 // indirect
|
|
golang.org/x/oauth2 v0.37.0 // indirect
|
|
golang.org/x/sync v0.24.0 // indirect
|
|
golang.org/x/sys v0.49.0 // indirect
|
|
golang.org/x/text v0.43.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
modernc.org/libc v1.77.1 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.12.1 // indirect
|
|
)
|