@robsun/create-keystone-app 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ go 1.24.3
|
|
|
5
5
|
require (
|
|
6
6
|
github.com/gin-gonic/gin v1.11.0
|
|
7
7
|
github.com/google/uuid v1.6.0
|
|
8
|
-
github.com/robsuncn/keystone v0.
|
|
8
|
+
github.com/robsuncn/keystone v0.3.0
|
|
9
9
|
github.com/swaggo/files v1.0.1
|
|
10
10
|
github.com/swaggo/gin-swagger v1.6.0
|
|
11
11
|
github.com/swaggo/swag v1.16.2
|
|
@@ -214,7 +214,8 @@ github.com/richardlehane/msoleps v1.0.4 h1:WuESlvhX3gH2IHcd8UqyCuFY5yiq/GR/yqaSM
|
|
|
214
214
|
github.com/richardlehane/msoleps v1.0.4/go.mod h1:BWev5JBpU9Ko2WAgmZEuiz4/u3ZYTKbjLycmwiWUfWg=
|
|
215
215
|
github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs=
|
|
216
216
|
github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro=
|
|
217
|
-
github.com/robsuncn/keystone v0.
|
|
217
|
+
github.com/robsuncn/keystone v0.3.0 h1:TIsSMh26XlOYPpRITT5eu1Lsmp1GsroloIq9WrvFdyM=
|
|
218
|
+
github.com/robsuncn/keystone v0.3.0/go.mod h1:hY7ioaeKN19ldwCW+b4zzh3HK4F6QpAPHRnGJmcG6VU=
|
|
218
219
|
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
|
|
219
220
|
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
|
|
220
221
|
github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w=
|
package/template/scripts/dev.bat
CHANGED
|
@@ -61,6 +61,16 @@ if not exist "apps\\server\\config.yaml" (
|
|
|
61
61
|
)
|
|
62
62
|
)
|
|
63
63
|
|
|
64
|
+
REM Ensure frontend is built (for Go embed)
|
|
65
|
+
if not exist "apps\server\internal\frontend\dist\assets" (
|
|
66
|
+
echo Building frontend for first time...
|
|
67
|
+
cd apps\web
|
|
68
|
+
call pnpm build
|
|
69
|
+
cd ..\..
|
|
70
|
+
echo Frontend built.
|
|
71
|
+
echo.
|
|
72
|
+
)
|
|
73
|
+
|
|
64
74
|
echo Starting development servers...
|
|
65
75
|
echo.
|
|
66
76
|
echo Frontend: http://localhost:3000
|
package/template/scripts/dev.sh
CHANGED
|
@@ -53,6 +53,16 @@ if [ ! -f "apps/server/config.yaml" ] && [ -f "apps/server/config.example.yaml"
|
|
|
53
53
|
echo -e "${GREEN}[INFO]${NC} Created apps/server/config.yaml from template"
|
|
54
54
|
fi
|
|
55
55
|
|
|
56
|
+
# Ensure frontend is built (for Go embed)
|
|
57
|
+
if [ ! -d "apps/server/internal/frontend/dist/assets" ]; then
|
|
58
|
+
echo "Building frontend for first time..."
|
|
59
|
+
cd apps/web
|
|
60
|
+
pnpm build
|
|
61
|
+
cd ../..
|
|
62
|
+
echo "Frontend built."
|
|
63
|
+
echo ""
|
|
64
|
+
fi
|
|
65
|
+
|
|
56
66
|
echo "Starting development servers..."
|
|
57
67
|
echo ""
|
|
58
68
|
echo "Frontend: http://localhost:3000"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|