Skip to content

Commit 53d8e70

Browse files
Use the current package manager to run commands instead of npx
1 parent b1ba0b6 commit 53d8e70

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

shopify.web.toml

Lines changed: 0 additions & 7 deletions
This file was deleted.

shopify.web.toml.liquid

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name = "React Router"
2+
roles = ["frontend", "backend"]
3+
webhooks_path = "/webhooks/app/uninstalled"
4+
5+
{%- assign exec = dependency_manager | append: ' exec' -%}
6+
{%- if dependency_manager == 'yarn' -%}
7+
{%- assign exec = 'yarn' -%}
8+
{%- endif %}
9+
[commands]
10+
predev = "{{ exec }} prisma generate"
11+
dev = "{{ exec }} prisma migrate deploy && {{ exec }} react-router dev"

0 commit comments

Comments
 (0)