chore: move version number to base package.json

This commit is contained in:
Ben Allfree 2022-11-19 22:18:44 -08:00
parent 84a8e811c3
commit 1178a0c89e
5 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,3 @@
PUBLIC_POCKETHOST_VERSION=0.5.2
PUBLIC_APP_PROTOCOL=https
PUBLIC_APP_DOMAIN=pockethost.test
PUBLIC_PB_PROTOCOL=https

View File

@ -1,4 +1,3 @@
PUBLIC_POCKETHOST_VERSION=0.5.2
PUBLIC_APP_PROTOCOL=https
PUBLIC_APP_DOMAIN=pockethost.io
PUBLIC_PB_PROTOCOL=https

View File

@ -1,6 +1,6 @@
{
"name": "pockethost",
"version": "0.2.0",
"version": "0.5.2",
"author": "Ben Allfree <ben@benallfree.com>",
"license": "MIT",
"private": true,

View File

@ -1,10 +1,12 @@
import { env } from '$env/dynamic/public'
import base from '../../../package.json'
export const {
PUBLIC_PB_DOMAIN,
PUBLIC_PB_SUBDOMAIN,
PUBLIC_APP_DOMAIN,
PUBLIC_APP_PROTOCOL,
PUBLIC_PB_PROTOCOL,
PUBLIC_POCKETHOST_VERSION
PUBLIC_PB_PROTOCOL
} = env
export const PUBLIC_POCKETHOST_VERSION = base.version

View File

@ -136,6 +136,9 @@ open https://pockethost.io
**next**
- [x] Chore: move version number to base package.json
- [ ] Chore: refactor logging and async helpers
- [ ] Chore: restore autocancellation
- [x] Chore: rebuild with go 1.19.3 and include in bin name
- [ ] Bugfix: Disallow backups if data dir doesn't exist