Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Theme Scripts is a collection of utility libraries which help theme developers with problems unique to Shopify Themes.

License

Notifications You must be signed in to change notification settings

PrimaryKids/theme-scripts

 
 

Repository files navigation

PrimaryKids

We forked this so we could easily edit theme-cart. You can also npm publish locally.

  • Only theme-cart is functional.

Package development

  • point pk-shopify-theme's package.json entry directly to the git repo and test branch for easier deveelopment

Updating the package

  • update the version in package.json in the commit that updates master.
  • run npm i --legacy-peer-deps to update the package lock and make roll up available
  • push a tag of the form v1.0.x to this repo and a new version will be packaged
  • point pk-shopify-theme's theme-cart package.json entry to new version.

Theme Scripts

License: MIT Build Status

Theme Scripts is a collection of handy utility libraries which assist theme developers with problems unique to Shopify Themes development environment.

Theme scripts are uncoupled from a particular UI. Typically, they are used alongside a customized solution for a particular theme. For example, @shopify/theme-cart is a great way to interact with the Shopify Cart API and add and remove items, but it does not enforce a particular pattern to display or update the visual state of the cart.

Packages

package
theme-a11y README npm version
theme-addresses README npm version
theme-cart README npm version
theme-currency README npm version
theme-images README npm version
theme-predictive-search README npm version
theme-product README npm version
theme-product-form README npm version
theme-rte README npm version
theme-sections README npm version

Contributing

For help on setting up the repository locally, building, testing, and contributing please see CONTRIBUTING.md.

Code of Conduct

All developers who wish to contribute through code or issues, take a look at the Code of Conduct.

License

Copyright (c) 2018 Shopify. See LICENSE for further details.

About

Theme Scripts is a collection of utility libraries which help theme developers with problems unique to Shopify Themes.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 97.8%
  • HTML 2.2%