# Tells `shopify app dev` how to run this project's web/admin app (the # Remix server everything in app/ belongs to) and lets it wire its local # dev server into the CLI's reverse proxy + tunnel. Without this file, # `shopify app dev` never starts the Remix app at all — it only runs the # theme/function/UI-extension dev servers — which is why the embedded # admin app home never loaded no matter what URL configuration was tried. # # Content below matches shopify.web.toml.liquid (the original scaffold # template for this file, still present at the repo root) rendered for # npm — that .liquid file was apparently never actually run through # `shopify app init`'s templating step when this repo was first set up, # which is the real root cause of this file having been missing entirely. # predev/dev's prisma steps mean `shopify app dev` keeps the generated # Prisma Client and the database schema in sync with schema.prisma # automatically every time it starts, rather than needing `npx prisma # generate`/`migrate deploy` run by hand after every schema change. name = "remix" roles = ["frontend", "backend"] webhooks_path = "/webhooks/app/uninstalled" [commands] predev = "npm exec prisma generate" dev = "npm exec prisma migrate deploy && npm exec remix vite:dev"