Shopify / cli

Build apps, themes, and hydrogen storefronts for Shopify
https://shopify.dev
MIT License
433 stars 130 forks source link

[Bug]: .shopifyignore behaves differently on dev/push #4496

Closed knjshimi closed 1 month ago

knjshimi commented 1 month ago

Please confirm that you have:

In which of these areas are you experiencing a problem?

Theme

Expected behavior

  1. The pattern templates/**/*.json should work for all .json files in templates/ and all its subdirectories for both shopify theme dev and shopify theme push.
  2. The warning message should not be displayed on every single event on shopify theme dev.
  3. When the patterns below are present in .shopifyignore, the warning message should not be displayed.
    templates/*.json
    templates/customers/*.json
    templates/metaobject/*.json

Actual behavior

  1. The pattern templates/**/*.json works for shopify theme dev, but NOT for shopify theme push. On the latter, it will end up overwriting .json files in the templates/ folder.

  2. This warning on EVERY CMD+S while on theme dev: https://github.com/user-attachments/assets/24252115-a927-4b45-9141-dbe384bcf44f

  3. This warning on theme dev:

    Warning: The pattern 'templates/*.json' does not include subdirectories. To maintain backwards compatibility, we have modified your pattern to templates/**/*.json to explicitly include subdirectories.
    Warning: The pattern 'templates/customers/*.json' does not include subdirectories. To maintain backwards compatibility, we have modified your pattern to templates/customers/**/*.json to explicitly include subdirectories.
    Warning: The pattern 'templates/metaobject/*.json' does not include subdirectories. To maintain backwards compatibility, we have modified your pattern to templates/metaobject/**/*.json to explicitly include subdirectories.

Verbose output

Contents of .shopifyignore

# Vite
assets/.vite

# Defaults
config/settings_data.json
locales/*.json
sections/*.json
templates/**/*.json

DEV output

2024-09-20T23:35:19.319Z: Running command theme dev
2024-09-20T23:35:19.327Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]

2024-09-20T23:35:20.392Z: Request to https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes.json?fields=id%2Cname%2Crole%2Cprocessing completed in 1064 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"a6bc7640227db23a32816e4d7a254688"
 - server-timing: processing;dur=206, socket_queue;dur=2.14, cfRequestDuration;dur=994.999886
 - x-request-id: bcc410a4-2d56-46c8-8c92-d9f676187e9f-1726875319

╭─ info ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                   │
│  You're using the new version of `shopify theme dev`.                                                                             │
│                                                                                                                                   │
│  Run `shopify theme dev --legacy` to switch back to the previous version.                                                         │
│                                                                                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

2024-09-20T23:35:20.438Z: Port 9292 is free
2024-09-20T23:35:20.446Z: Reading the content of file at src/.shopifyignore...
2024-09-20T23:35:20.446Z: Reading the content of file at src/assets/_commonjsHelpers-BosuxZz1.js...
2024-09-20T23:35:20.446Z: Reading the content of file at src/assets/accordions-CrcDB060.js...
2024-09-20T23:35:20.447Z: Reading the content of file at src/assets/address-card-BJkY-Zns.js...
2024-09-20T23:35:20.447Z: Reading the content of file at src/assets/announcement-D_Uo1fmW.js...
2024-09-20T23:35:20.447Z: Reading the content of file at src/assets/collection-footer-D0taHCyC.js...
2024-09-20T23:35:20.447Z: Reading the content of file at src/assets/currency-CBGGqVVe.js...
2024-09-20T23:35:20.447Z: Reading the content of file at src/assets/debounce-DkdKCksI.js...
2024-09-20T23:35:20.447Z: Reading the content of file at src/assets/fader-CJ39FkCN.js...
2024-09-20T23:35:20.447Z: Reading the content of file at src/assets/favicon.png...
2024-09-20T23:35:20.447Z: Reading the content of file at src/assets/favicon.svg...
2024-09-20T23:35:20.447Z: Reading the content of file at src/assets/featured-articles-DIxN3OSu.js...
2024-09-20T23:35:20.447Z: Reading the content of file at src/assets/featured-collections-yy_dlmcT.js...
2024-09-20T23:35:20.447Z: Reading the content of file at src/assets/featured-logos-BgT3_nbX.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/featured-product-BmNqUWQO.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/featured-products-e_iQAH7d.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/flickity-D__Z94fg.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/flickity-imagesloaded-DWTfvybk.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/gift_card-B2VRdoEa.css...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/gift_card-BrXe2O4l.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/header-CU9jmYQv.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/hero-banner-DJKKYiGi.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/hero-slider-S40TPogb.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/index-DJqUh406.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/index-DV0Tcc3q.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/jquery-351.min.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/login-modal-Cy_OSb7T.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/main-article-l0sNRNKZ.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/main-blog-BgLKZGds.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/main-cart-D73psDX3.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/main-collection-JT6qjuFX.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/main-customers-login-D8RXvrdA.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/main-gift-card-B6SZjmlm.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/main-password-BiVL-UWs.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/main-product-DG514UJe.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/main-search-CwSPtm-j.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/modal-dialog-CZn5fpJ9.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/model-viewer-loader-DtsNa86N.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/pagination-1TlZBh-3.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/password-BrXe2O4l.js...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/password-DheX7rBb.css...
2024-09-20T23:35:20.448Z: Reading the content of file at src/assets/play-pause-ZGDGyHqN.js...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/popup-C9Y19hH7.js...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/product-card-Be7klkXR.js...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/product-recently-viewed-BAX0s7g7.js...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/product-recommendations-DEf-crO3.js...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/qty-selector-BjqL1OQZ.js...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/recipient-fields-BfWaJJqf.js...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/results-filter-sort-HHiXa__9.js...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/theme-CcsML8Og.js...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/theme-ClhohDrD.css...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/theme-sections-Co0nR_Yu.js...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/video-banner-9HBV60RD.js...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/web-vitals-DcDqaGUf.js...
2024-09-20T23:35:20.449Z: Reading the content of file at src/assets/.vite/manifest.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/config/settings_data.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/config/settings_schema.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/layout/password.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/layout/gift_card.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/layout/theme.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/locales/da.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/locales/de.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/locales/en.default.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/locales/fr.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/locales/nl.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/locales/es.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/locales/pt-BR.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/locales/pt-PT.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/announcement.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/collection-footer.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/contact-form.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/featured-articles.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/featured-blog.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/featured-collections.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/featured-logos.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/featured-product.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/featured-products.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/footer-group.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/footer.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/header-group.json...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/header.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/hero-banner.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/hero-slider.liquid...
2024-09-20T23:35:20.449Z: Reading the content of file at src/sections/image-banner.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/image-with-text.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/instagram-feed.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/login-modal.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-404.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-article.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-blog.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-cart.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-collection-list.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-customers-account-orders.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-collection.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-customers-account.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-customers-activate-account.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-customers-addresses.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-customers-login.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-customers-order.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-customers-register.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-customers-reset-password.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-gift-card.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-page-faqs.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-page.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-password.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-product.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/main-search.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/newsletter.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/page-navigation.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/pickup-availability.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/popup.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/product-recently-viewed.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/product-recommendations.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/rich-text.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/shop-the-look.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/sections/video-banner.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/snippets/address-card.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/snippets/address-form.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/snippets/address-form-fields.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/snippets/article-card.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/snippets/breadcrumbs.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/snippets/carousel-controls.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/snippets/collection-disruptor.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/snippets/component-accordion-item.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/snippets/component-button.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/snippets/component-collection-card.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/snippets/component-image-test.liquid...
2024-09-20T23:35:20.450Z: Reading the content of file at src/snippets/component-image.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/component-modal-dialog.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/component-page-top-links.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/component-picture.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/component-side-cart.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/component-subscribe-form.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/component-video-controls.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/component-video.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/css-variables.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/dns-preconnects.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/favicon.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/ga4-signup.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/ga4.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/gift-card-recipient-fields.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/gtm.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/header-section-cart-toggle.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/header-section-logo.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/header-section-main-navigation.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/header-section-nav-toggle.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/header-section-secondary-nav.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/hreflang.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-account.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-afterpay.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-amex.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-apple-pay.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-arrow-down.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-arrow-left.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-arrow-right.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-arrow-up.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-bag.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-chevron-down.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-chevron-left.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-chevron-right.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-chevron-up.liquid...
2024-09-20T23:35:20.451Z: Reading the content of file at src/snippets/icon-cross.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-discount.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-facebook.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-filter.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-google-pay.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-heart.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-instagram.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-lock.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-mastercard.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-menu.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-minus.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-model-xr.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-paypal.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-pause.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-pinterest.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-play.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-plus.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-rss.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-search.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-shopify-logo.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-shopify-pay.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-snapchat.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-tick.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-tiktok.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-tumblr.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-twitter.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-vimeo.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-visa.liquid...
2024-09-20T23:35:20.452Z: Reading the content of file at src/snippets/icon-volume-off.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/icon-volume-on.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/icon-x.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/icon-youtube.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/icon-zip.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/image-with-markers.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/instant-page.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/json-ld.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/klaviyo.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/line-item.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/littledata-layer.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/logo.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/marker-io-script.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/order-card.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/page-card.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/pagination-load-more.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/pagination-standard.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/pagination.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/pickup-availability-drawer.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/pickup-availability.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/product-accordion.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/product-badges.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/product-card.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/product-card-test.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/product-stitching.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/product-form.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/regionalisation-selector.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/regionalisation.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/results-filters.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/results-products-per-page.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/results-sort.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/section-content.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/social-icon.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/social-meta-tags.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/social-sharing.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/srcset.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/swatches.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/snippets/vite-tag.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/templates/404.json...
2024-09-20T23:35:20.453Z: Reading the content of file at src/templates/article.json...
2024-09-20T23:35:20.453Z: Reading the content of file at src/templates/blog.json...
2024-09-20T23:35:20.453Z: Reading the content of file at src/templates/cart.json...
2024-09-20T23:35:20.453Z: Reading the content of file at src/templates/collection.json...
2024-09-20T23:35:20.453Z: Reading the content of file at src/templates/gift_card.liquid...
2024-09-20T23:35:20.453Z: Reading the content of file at src/templates/index.json...
2024-09-20T23:35:20.453Z: Reading the content of file at src/templates/list-collections.json...
2024-09-20T23:35:20.453Z: Reading the content of file at src/templates/page.contact.json...
2024-09-20T23:35:20.453Z: Reading the content of file at src/templates/page.json...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/page.secondary.json...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/page.style-guide.liquid...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/page.test.liquid...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/password.json...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/product.card.liquid...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/product.json...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/product.recently-viewed.liquid...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/search.json...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/customers/account.json...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/customers/account.orders.json...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/customers/activate_account.json...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/customers/addresses.json...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/customers/login.json...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/customers/order.json...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/customers/register.json...
2024-09-20T23:35:20.454Z: Reading the content of file at src/templates/customers/reset_password.json...
2024-09-20T23:35:20.907Z: Request to https://<REDACTED>.myshopify.com/ completed in 479 ms
With response headers:
 - content-type: text/html; charset=utf-8
 - server-timing: processing;dur=21, db;dur=3, asn;desc="7545", edge;desc="SYD", country;desc="AU", theme;desc="126100832365", pageType;desc="index", servedBy;desc="mzp5", requestID;desc="86b83dab-7532-47c5-a507-70df40653bca-1726875320", cfRequestDuration;dur=140.999794
 - x-request-id: 86b83dab-7532-47c5-a507-70df40653bca-1726875320

2024-09-20T23:35:20.908Z: Getting storefront password for shop <REDACTED>.myshopify.com...
2024-09-20T23:35:21.201Z: Request to https://<REDACTED>.myshopify.com/password completed in 291 ms
With response headers:
 - content-type: text/html; charset=utf-8
 - server-timing: processing;dur=11, db;dur=4, asn;desc="7545", edge;desc="SYD", country;desc="AU", pageType;desc="password", servedBy;desc="ndp9", requestID;desc="c9e14f49-2f47-4d92-a1af-fa67e6b06d80-1726875320", cfRequestDuration;dur=260.999918
 - x-request-id: c9e14f49-2f47-4d92-a1af-fa67e6b06d80-1726875320

2024-09-20T23:35:21.201Z: Setting storefront password for shop <REDACTED>.myshopify.com...
2024-09-20T23:35:21.208Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]

2024-09-20T23:35:22.336Z: Request to https://theme-kit-access.shopifyapps.com/cli/sfr?preview_theme_id=<REDACTED>&_fd=0&pb=0 completed in 1128 ms
With response headers:
 - cache-control: no-cache
 - content-type: application/json; charset=utf-8
 - server-timing: processing;dur=250, socket_queue;dur=2.307, cfRequestDuration;dur=1111.999750
 - x-request-id: 5ec94c29-de30-412d-a819-fa5e1c01c259-1726875321

2024-09-20T23:35:22.890Z: Request to https://theme-kit-access.shopifyapps.com/cli/sfr/password completed in 553 ms
With response headers:
 - cache-control: no-cache
 - content-type: application/json; charset=utf-8
 - server-timing: processing;dur=188, socket_queue;dur=2.19, cfRequestDuration;dur=539.999962
 - x-request-id: c3692798-1352-4ec3-8a41-448f4df124a0-1726875322

2024-09-20T23:35:23.649Z: Request to https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json?fields=key%2Cchecksum completed in 758 ms
With response headers:
 - cache-control: max-age=0, private, must-revalidate
 - content-type: application/json; charset=utf-8
 - etag: W/"f40d9ad5530cf528a97772a37ae2b121"
 - server-timing: processing;dur=265, socket_queue;dur=2.022, cfRequestDuration;dur=739.000082
 - x-request-id: 96562860-6af3-4962-8ab3-007135a0f054-1726875322

2024-09-20T23:35:23.962Z: Ignoring theme file config/settings_data.json via .shopifyignore...
2024-09-20T23:35:23.962Z: Ignoring theme file assets/.vite/manifest.json via .shopifyignore...
2024-09-20T23:35:23.963Z: Ignoring theme file locales/da.json via .shopifyignore...
2024-09-20T23:35:23.965Z: Ignoring theme file locales/de.json via .shopifyignore...
2024-09-20T23:35:23.965Z: Ignoring theme file locales/en.default.json via .shopifyignore...
2024-09-20T23:35:23.965Z: Ignoring theme file locales/nl.json via .shopifyignore...
2024-09-20T23:35:23.965Z: Ignoring theme file locales/pt-BR.json via .shopifyignore...
2024-09-20T23:35:23.966Z: Ignoring theme file locales/fr.json via .shopifyignore...
2024-09-20T23:35:23.966Z: Ignoring theme file locales/es.json via .shopifyignore...
2024-09-20T23:35:23.966Z: Ignoring theme file locales/pt-PT.json via .shopifyignore...
2024-09-20T23:35:23.967Z: Ignoring theme file sections/header-group.json via .shopifyignore...
2024-09-20T23:35:23.967Z: Ignoring theme file sections/footer-group.json via .shopifyignore...
2024-09-20T23:35:23.978Z: Ignoring theme file templates/blog.json via .shopifyignore...
2024-09-20T23:35:23.979Z: Ignoring theme file templates/article.json via .shopifyignore...
2024-09-20T23:35:23.979Z: Ignoring theme file templates/cart.json via .shopifyignore...
2024-09-20T23:35:23.979Z: Ignoring theme file templates/collection.json via .shopifyignore...
2024-09-20T23:35:23.979Z: Ignoring theme file templates/index.json via .shopifyignore...
2024-09-20T23:35:23.979Z: Ignoring theme file templates/list-collections.json via .shopifyignore...
2024-09-20T23:35:23.979Z: Ignoring theme file templates/page.json via .shopifyignore...
2024-09-20T23:35:23.979Z: Ignoring theme file templates/page.contact.json via .shopifyignore...
2024-09-20T23:35:23.979Z: Ignoring theme file templates/password.json via .shopifyignore...
2024-09-20T23:35:23.980Z: Ignoring theme file templates/page.secondary.json via .shopifyignore...
2024-09-20T23:35:23.980Z: Ignoring theme file templates/product.json via .shopifyignore...
2024-09-20T23:35:23.980Z: Ignoring theme file templates/search.json via .shopifyignore...
2024-09-20T23:35:23.980Z: Ignoring theme file templates/customers/account.json via .shopifyignore...
2024-09-20T23:35:23.980Z: Ignoring theme file templates/customers/account.orders.json via .shopifyignore...
2024-09-20T23:35:23.980Z: Ignoring theme file templates/404.json via .shopifyignore...
2024-09-20T23:35:23.980Z: Ignoring theme file templates/customers/activate_account.json via .shopifyignore...
2024-09-20T23:35:23.980Z: Ignoring theme file templates/customers/addresses.json via .shopifyignore...
2024-09-20T23:35:23.980Z: Ignoring theme file templates/customers/order.json via .shopifyignore...
2024-09-20T23:35:23.980Z: Ignoring theme file templates/customers/register.json via .shopifyignore...
2024-09-20T23:35:23.980Z: Ignoring theme file templates/customers/reset_password.json via .shopifyignore...
2024-09-20T23:35:23.980Z: Ignoring theme file templates/customers/login.json via .shopifyignore...
2024-09-20T23:35:23.981Z: Files to be uploaded:
-templates/page.test.liquid
-snippets/vite-tag.liquid
2024-09-20T23:35:23.981Z: Uploading the following files:
-templates/page.test.liquid
-snippets/vite-tag.liquid
╭─ success ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                                                                   │
│  Preview your theme                                                                                                               │
│    • http://127.0.0.1:9292 [1]                                                                                                    │
│                                                                                                                                   │
│  Next steps                                                                                                                       │
│    • Customize your theme at the theme editor [2]                                                                                 │
│    • Share your theme preview [3] (https://<REDACTED>.myshopify.com/?preview_theme_id=<REDACTED>)                        │
│                                                                                                                                   │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
[1] http://127.0.0.1:9292
[2] https://<REDACTED>.myshopify.com/admin/themes/<REDACTED>/editor
[3] https://<REDACTED>.myshopify.com/?preview_theme_id=<REDACTED>

2024-09-20T23:35:24.002Z: 
Running system process:
  · Command: npm prefix
  · Working directory: /Users/kenji/Dev/twp/<REDACTED>

2024-09-20T23:35:24.079Z: Obtaining the dependency manager in directory /Users/kenji/Dev/twp/<REDACTED>...
2024-09-20T23:35:24.150Z: 
Running system process:
  · Command: ruby -v
  · Working directory: /Users/kenji/Dev/twp/<REDACTED>

2024-09-20T23:35:24.450Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 292 ms
With response headers:
 - x-request-id: cfcf8341-f4f5-4142-aef1-7bceb38f317b

2024-09-20T23:35:24.451Z: Analytics event sent: {
  "command": "theme dev",
  "time_start": 1726875319320,
  "time_end": 1726875323999,
  "total_time": 4679,
  "success": true,
  "cli_version": "3.67.1",
  "ruby_version": "3.3.1",
  "node_version": "20.11.1",
  "is_employee": false,
  "uname": "darwin arm64",
  "env_ci": false,
  "env_plugin_installed_any_custom": false,
  "env_plugin_installed_shopify": "[\"@shopify/cli\"]",
  "env_shell": "zsh",
  "env_device_id": "2ca130fb9711b86d670785cda830b05008ad7deb",
  "env_cloud": "localhost",
  "env_package_manager": "yarn",
  "env_is_global": true,
  "cmd_app_warning_api_key_deprecation_displayed": false,
  "cmd_all_timing_network_ms": 4274,
  "cmd_all_timing_prompts_ms": 0,
  "cmd_all_launcher": "unknown",
  "cmd_all_topic": "theme",
  "cmd_all_plugin": "@shopify/theme",
  "cmd_all_force": false,
  "cmd_all_verbose": true,
  "cmd_all_path_override": true,
  "cmd_all_path_override_hash": "d394007da3f795fda0f3a2e46568d3a7f40523c9",
  "cmd_all_timing_active_ms": 404,
  "cmd_all_exit": "ok",
  "args": "--path=src --store=<REDACTED> --password=***** --theme=<REDACTED> --verbose",
  "env_plugin_installed_all": "[\"@shopify/cli\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2024-09-20T23:35:24.452Z: Completed command theme dev
2024-09-20T23:35:24.656Z: Request to https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets/bulk.json completed in 675 ms
With response headers:
 - cache-control: no-cache
 - content-type: application/json; charset=utf-8
 - server-timing: processing;dur=418, socket_queue;dur=3.202, cfRequestDuration;dur=657.999754
 - x-request-id: 89c8aeb9-183a-4318-b33a-a8a7a7258853-1726875324

2024-09-20T23:35:24.657Z: File Upload Results:
-templates/page.test.liquid: success
-snippets/vite-tag.liquid: success
2024-09-20T23:35:24.662Z: Ignoring theme file config/settings_data.json via .shopifyignore...
2024-09-20T23:35:24.666Z: Ignoring theme file locales/da.json via .shopifyignore...
2024-09-20T23:35:24.666Z: Ignoring theme file locales/de.json via .shopifyignore...
2024-09-20T23:35:24.666Z: Ignoring theme file locales/en.default.json via .shopifyignore...
2024-09-20T23:35:24.667Z: Ignoring theme file locales/es.json via .shopifyignore...
2024-09-20T23:35:24.667Z: Ignoring theme file locales/fr.json via .shopifyignore...
2024-09-20T23:35:24.667Z: Ignoring theme file locales/nl.json via .shopifyignore...
2024-09-20T23:35:24.667Z: Ignoring theme file locales/pt-BR.json via .shopifyignore...
2024-09-20T23:35:24.667Z: Ignoring theme file locales/pt-PT.json via .shopifyignore...
2024-09-20T23:35:24.670Z: Ignoring theme file sections/footer-group.context.au.json via .shopifyignore...
2024-09-20T23:35:24.670Z: Ignoring theme file sections/footer-group.context.b2b.json via .shopifyignore...
2024-09-20T23:35:24.670Z: Ignoring theme file sections/footer-group.context.united-states.json via .shopifyignore...
2024-09-20T23:35:24.670Z: Ignoring theme file sections/footer-group.json via .shopifyignore...
2024-09-20T23:35:24.671Z: Ignoring theme file sections/header-group.context.au.json via .shopifyignore...
2024-09-20T23:35:24.671Z: Ignoring theme file sections/header-group.context.b2b.json via .shopifyignore...
2024-09-20T23:35:24.671Z: Ignoring theme file sections/header-group.context.united-states.json via .shopifyignore...
2024-09-20T23:35:24.671Z: Ignoring theme file sections/header-group.json via .shopifyignore...
2024-09-20T23:35:24.682Z: Ignoring theme file templates/404.json via .shopifyignore...
2024-09-20T23:35:24.682Z: Ignoring theme file templates/article.json via .shopifyignore...
2024-09-20T23:35:24.682Z: Ignoring theme file templates/blog.json via .shopifyignore...
2024-09-20T23:35:24.682Z: Ignoring theme file templates/cart.json via .shopifyignore...
2024-09-20T23:35:24.682Z: Ignoring theme file templates/collection.json via .shopifyignore...
2024-09-20T23:35:24.682Z: Ignoring theme file templates/customers/account.json via .shopifyignore...
2024-09-20T23:35:24.682Z: Ignoring theme file templates/customers/account.orders.json via .shopifyignore...
2024-09-20T23:35:24.682Z: Ignoring theme file templates/customers/activate_account.json via .shopifyignore...
2024-09-20T23:35:24.682Z: Ignoring theme file templates/customers/addresses.json via .shopifyignore...
2024-09-20T23:35:24.682Z: Ignoring theme file templates/customers/login.json via .shopifyignore...
2024-09-20T23:35:24.683Z: Ignoring theme file templates/customers/order.json via .shopifyignore...
2024-09-20T23:35:24.683Z: Ignoring theme file templates/customers/register.json via .shopifyignore...
2024-09-20T23:35:24.683Z: Ignoring theme file templates/customers/reset_password.json via .shopifyignore...
2024-09-20T23:35:24.683Z: Ignoring theme file templates/index.json via .shopifyignore...
2024-09-20T23:35:24.683Z: Ignoring theme file templates/list-collections.json via .shopifyignore...
2024-09-20T23:35:24.683Z: Ignoring theme file templates/page.contact.json via .shopifyignore...
2024-09-20T23:35:24.683Z: Ignoring theme file templates/page.json via .shopifyignore...
2024-09-20T23:35:24.683Z: Ignoring theme file templates/page.secondary.json via .shopifyignore...
2024-09-20T23:35:24.683Z: Ignoring theme file templates/password.json via .shopifyignore...
2024-09-20T23:35:24.683Z: Ignoring theme file templates/product.json via .shopifyignore...
2024-09-20T23:35:24.683Z: Ignoring theme file templates/search.json via .shopifyignore...
2024-09-20T23:35:24.684Z: Files to be deleted:

PUSH output

2024-09-20T23:26:05.028Z: Running command theme push
2024-09-20T23:26:05.036Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]

2024-09-20T23:26:05.038Z: Getting development theme...
2024-09-20T23:26:05.042Z: 
Running system process:
  · Command: ruby -v
  · Working directory: /Users/kenji/Dev/twp/<REDACTED>

2024-09-20T23:26:05.048Z: 
Running system process:
  · Command: bundle -v
  · Working directory: /Users/kenji/Dev/twp/<REDACTED>

2024-09-20T23:26:05.113Z: Reading the content of file at /Users/kenji/.nvm/versions/node/v20.11.1/lib/node_modules/@shopify/cli/dist/assets/cli-ruby/Gemfile...
2024-09-20T23:26:05.114Z: 
Running system process:
  · Command: bundle install
  · Working directory: /Users/kenji/.nvm/versions/node/v20.11.1/lib/node_modules/@shopify/cli/dist/assets/cli-ruby

2024-09-20T23:26:05.238Z: 
Running system process:
  · Command: bundle exec ruby /Users/kenji/.nvm/versions/node/v20.11.1/lib/node_modules/@shopify/cli/dist/assets/cli-ruby/bin/shopify theme push /Users/kenji/Dev/twp/<REDACTED>/src --theme <REDACTED> --json
  · Working directory: /Users/kenji/Dev/twp/<REDACTED>

/Users/kenji/.nvm/versions/node/v20.11.1/lib/node_modules/@shopify/cli/dist/assets/cli-ruby/bin/shopify:15: warning: webrick was loaded from the standard library, but is not part of the default gems since Ruby 3.0.0. Add webrick to your Gemfile or gemspec.
/Users/kenji/.nvm/versions/node/v20.11.1/lib/node_modules/@shopify/cli/dist/assets/cli-ruby/bin/shopify:15: warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add base64 to your Gemfile or gemspec.
DEBUG GET https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes.json with request_id: 1638d335-ccd9-476e-94ef-a78290e3a498-1726874765
DEBUG GET https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: 682083b6-0c9d-4835-a373-a1a4c757cf64-1726874766
DEBUG ignore sections/footer-group.context.au.json
DEBUG ignore sections/footer-group.context.b2b.json
DEBUG ignore sections/footer-group.context.united-states.json
DEBUG ignore sections/header-group.context.au.json
DEBUG ignore sections/header-group.context.b2b.json
DEBUG ignore sections/header-group.context.united-states.json
DEBUG ignore config/settings_data.json
DEBUG ignore locales/da.json
DEBUG ignore locales/de.json
DEBUG ignore locales/en.default.json
DEBUG ignore locales/es.json
DEBUG ignore locales/fr.json
DEBUG ignore locales/nl.json
DEBUG ignore locales/pt-BR.json
DEBUG ignore locales/pt-PT.json
DEBUG ignore sections/footer-group.json
DEBUG ignore sections/header-group.json
DEBUG ignore templates/customers/account.json
DEBUG ignore templates/customers/account.orders.json
DEBUG ignore templates/customers/activate_account.json
DEBUG ignore templates/customers/addresses.json
DEBUG ignore templates/customers/login.json
DEBUG ignore templates/customers/order.json
DEBUG ignore templates/customers/register.json
DEBUG ignore templates/customers/reset_password.json
DEBUG ignore config/settings_data.json
DEBUG update templates/404.json
DEBUG update templates/article.json
DEBUG PUT https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: 77ad2a95-895a-4d55-bf27-a1041879105d-1726874767
DEBUG update templates/blog.json
DEBUG PUT https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: 6296329f-6e91-4055-a58c-08249267e4f4-1726874767
DEBUG update templates/cart.json
DEBUG PUT https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: 6a4c9918-9d88-47d8-bdd8-008e1c445b76-1726874768
DEBUG update templates/collection.json
DEBUG PUT https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: 41a0685a-fb03-4328-b843-872675d62d99-1726874768
DEBUG update templates/index.json
DEBUG PUT https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: a42957cc-e92b-499f-9569-8b9e4729d449-1726874769
DEBUG update templates/list-collections.json
DEBUG PUT https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: f2f9b527-a280-4858-a2db-0fb19c537ea3-1726874768
DEBUG update templates/page.contact.json
DEBUG PUT https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: 85d50577-3c27-42a6-804b-3872fd2d1c4a-1726874770
DEBUG update templates/page.json
DEBUG PUT https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: cf82474a-bf01-4a6b-bb3a-fd8bdab58b8b-1726874770
DEBUG update templates/password.json
DEBUG PUT https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: 25da7823-3f37-4ca9-b173-e26f9611cb94-1726874770
DEBUG update templates/product.json
DEBUG PUT https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: 9fe92476-a3f4-44bf-9d89-c71ab321e842-1726874770
DEBUG update templates/search.json
DEBUG PUT https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: 34540a64-27c6-48e8-9b42-2896d9cd1e42-1726874771
DEBUG PUT https://theme-kit-access.shopifyapps.com/cli/admin/api/unstable/themes/<REDACTED>/assets.json with request_id: 99ca0494-31d2-41f3-b921-466139053e0a-1726874772
{"theme":{"id":<REDACTED>,"name":"<REDACTED>","role":"unpublished","shop":"<REDACTED>.myshopify.com","editor_url":"https://<REDACTED>.myshopify.com/admin/themes/<REDACTED>/editor","preview_url":"https://<REDACTED>.myshopify.com/?preview_theme_id=<REDACTED>"}}
2024-09-20T23:26:13.816Z: 
Running system process:
  · Command: npm prefix
  · Working directory: /Users/kenji/Dev/twp/<REDACTED>

2024-09-20T23:26:13.889Z: Obtaining the dependency manager in directory /Users/kenji/Dev/twp/<REDACTED>...
2024-09-20T23:26:13.960Z: 
Running system process:
  · Command: ruby -v
  · Working directory: /Users/kenji/Dev/twp/<REDACTED>

2024-09-20T23:26:14.287Z: Request to https://monorail-edge.shopifysvc.com/v1/produce completed in 316 ms
With response headers:
 - x-request-id: bd04d63b-809c-46cd-bac6-d70df5239dca

2024-09-20T23:26:14.288Z: Analytics event sent: {
  "command": "theme push",
  "time_start": 1726874765029,
  "time_end": 1726874773815,
  "total_time": 8786,
  "success": true,
  "cli_version": "3.67.1",
  "ruby_version": "3.3.1",
  "node_version": "20.11.1",
  "is_employee": false,
  "uname": "darwin arm64",
  "env_ci": false,
  "env_plugin_installed_any_custom": false,
  "env_plugin_installed_shopify": "[\"@shopify/cli\"]",
  "env_shell": "zsh",
  "env_device_id": "2ca130fb9711b86d670785cda830b05008ad7deb",
  "env_cloud": "localhost",
  "env_package_manager": "yarn",
  "env_is_global": true,
  "cmd_app_warning_api_key_deprecation_displayed": false,
  "cmd_all_timing_network_ms": 122,
  "cmd_all_timing_prompts_ms": 0,
  "cmd_all_launcher": "unknown",
  "cmd_all_topic": "theme",
  "cmd_all_plugin": "@shopify/theme",
  "cmd_all_force": false,
  "cmd_all_verbose": true,
  "cmd_all_path_override": true,
  "cmd_all_path_override_hash": "d394007da3f795fda0f3a2e46568d3a7f40523c9",
  "cmd_all_timing_active_ms": 8663,
  "cmd_all_exit": "ok",
  "args": "--no-color --json --store=<REDACTED> --password=***** --path=src --theme=<REDACTED> --verbose",
  "env_plugin_installed_all": "[\"@shopify/cli\"]",
  "metadata": "{\"extraPublic\":{},\"extraSensitive\":{}}"
}
2024-09-20T23:26:14.288Z: Completed command theme push

Reproduction steps

  1. Add the templates/**/*.json pattern in .shopifyignore
  2. Run shopify theme dev - it should work and not overwrite any .json files
  3. Run shopify theme push - it will overwrite files like templates/index.json

Note: In my case I used these flags: shopify theme push --password <pass> --store <store> --no-color --json --theme <theme>

Operating System

Mac OS Sequoia

Shopify CLI version (check your project's package.json if you're not sure)

3.67.1

Shell

zsh

Node version (run node -v if you're not sure)

v20.11.1

What language and version are you using in your application?

No response

knjshimi commented 1 month ago

Update: I added the verbose output for both dev and push commands