Commit d9bed89
authored
update checkout cli templates with 2025-07 stable version (#283)
ui-extensions 2025-07 version release as latest stable, updating cli templates to match this new stable version
# 🎩
Make sure `pnpm` is `10.9.0` or higher
Use the latest CLI
```
pnpm i -g @shopify/cli@latest --@Shopify:registry=https://registry.npmjs.org
```
Create an app. Select _Remix_ and _TypeScript_.
```
shopify app init
```
Change into the app directory and generate a _Checkout UI_ extension with this template
```
shopify app generate extension --clone-url https://github.com/Shopify/extensions-templates#07-03-update_checkout_cli_templates_with_2025-07_stable_version
```
When prompted, create a react/typescript extension and ensure package.json of extension references `2025.7.x` for ui-extensions and ui-extensions-react

and that extensions toml file reference `2025-07` as api version

I did the same steps above for creating an extension with a TS extension (non-react) as well and ensured similar changes
```
npm run dev
```
and make sure extensions render and function properly1 parent d9a3185 commit d9bed89
File tree
2 files changed
+4
-4
lines changed- checkout-extension
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments