All checks were successful
Build and Push Docker Image to GHCR / build-and-push (push) Successful in 1h19m23s
This commit includes many bug fixes and improvements to the admin UI. More errors are caught and displayed to the user. Submit buttons now display a loading state while the request is being processed. Several inconsistencies and style issues in the admin UI have been fixed. Image upload inputs now have an accurate accept attribute, so tat users cannot upload images that are unsupported. Finally, in development mode, the page is outlined in dashed yello to help me not go insane when I forget that I'm using the deployed site and thats why my changes arent doing anything, and the API returns 400 errors when images are unsupported formats.
25 lines
1.2 KiB
JSON
25 lines
1.2 KiB
JSON
{
|
|
"name": "passport",
|
|
"version": "0.3.4",
|
|
"description": "Passport is a simple, lightweight, and fast dashboard/new tab page for your browser.",
|
|
"author": "juls0730",
|
|
"license": "BSL-1.0",
|
|
"homepage": "https://github.com/juls0730/passport",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/juls0730/passport.git"
|
|
},
|
|
"scripts": {
|
|
"generate": "go generate ./src/",
|
|
"dev": "zqdgr generate; PASSPORT_DEV_MODE=true go run src/main.go",
|
|
"build": "zqdgr generate && go build -tags netgo,prod -ldflags=\"-w -s\" -o passport src/main.go && upx passport",
|
|
"build:all": "zqdgr build && zqdgr build:arm64 && zqdgr build:amd64",
|
|
"build:amd64": "zqdgr generate && GOOS=linux GOARCH=amd64 go build -tags netgo,prod -ldflags=\"-w -s\" -o passport-linux-amd64 src/main.go && upx passport-linux-amd64",
|
|
"build:arm64": "zqdgr generate && GOOS=linux GOARCH=arm64 go build -tags netgo,prod -ldflags=\"-w -s\" -o passport-linux-arm64 src/main.go && upx passport-linux-arm64"
|
|
},
|
|
"pattern": "src/**/*.{go,hbs,css,js,svg,png,jpg,jpeg,webp,woff2,ico,webp}",
|
|
"excluded_files": [
|
|
"src/assets/styles"
|
|
],
|
|
"shutdown_signal": "SIGINT"
|
|
} |