create-fff-app 0.1.5 → 0.1.6

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fff-app",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Scaffold a new fff-stack project",
5
5
  "bin": {
6
6
  "create-fff-app": "src/index.ts"
@@ -13,7 +13,8 @@
13
13
  "dev:page-templates": "fjsx-watcher --dir src/server/Endpoints/Pages --out dist/server/Pages",
14
14
  "build:client": "dotnet fable src/client/Client.fsproj --outDir dist/client/fable --noCache && bun build dist/client/fable/App.js --outdir dist/client --entry-naming bundle.js",
15
15
  "build:server": "dotnet fable src/server/Server.fsproj --outDir dist/server",
16
- "dev": "concurrently \"bun run dev:templates\" \"bun run dev:page-templates\" \"bun run dev:client\" \"wrangler dev\"",
16
+ "build:wrangler": "bun run build:assets && bun run build:templates && bun run build:page-templates && bun run build:server",
17
+ "dev": "bun run build:client && concurrently \"bun run dev:templates\" \"bun run dev:page-templates\" \"bun run dev:client\" \"wrangler dev\"",
17
18
  "dev:client": "dotnet fable src/client/Client.fsproj --watch --outDir dist/client/fable",
18
19
  "deploy": "wrangler deploy",
19
20
  "migrate": "bun run migrate.ts",
@@ -20,4 +20,4 @@ bucket_name = "fff-stack-bucket" # replace with your bucket name
20
20
  # preview_bucket_name = "fff-stack-bucket-dev" # optional local dev bucket
21
21
 
22
22
  [build]
23
- command = "bun run build"
23
+ command = "bun run build:wrangler"