@snailicide/g-shopify-library
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

🐌Welcome to @snailicide/g-shopify-library🐌

| npm | GitHub |

Version License: MIT

Collections of types and utilities for working with Shopify

Table of contents generated with markdown-toc

Author

👤 Gillian Tunney | github | email |

Features

  • Generic functions for Storefront API, Shopify MediaURLs, etc
  • Section Schema types and validators (using zod)

Examples

See @snailicide/vite-plugin-shopify-liquid-modules for an usage example of using the validators and types.

Usage

Install

This library is published in the NPM registry and can be installed using any compatible package manager.

#npm
npm i @snailicide/g-shopify-library -D

# yarn
yarn add @snailicide/g-shopify-library -D

# pnp
pnpm add @snailicide/g-shopify-library -D

For pnpm workspace:

pnpm add @snailicide/g-shopify-library@workspace:*

pnpm --filter=[yourGlob] add @snailicide/g-shopify-library@workspace:*

Build

pnpm --filter=@snailicide/g-shopify-library build

Tests

pnpm --filter=@snailicide/g-shopify-library test

Helpful Links

To-Do

  • [ ] Presets (in new version)
  • [ ] Documentation

Bugs

Please create an issue if you found any bugs, to help us improve this project!

Package Sidebar

Install

npm i @snailicide/g-shopify-library

Weekly Downloads

0

Version

0.2.1

License

MIT

Unpacked Size

584 kB

Total Files

76

Last publish

Collaborators

  • gillian.tunney