Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shopify/manifests

Package Overview
Dependencies
Maintainers
27
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/manifests

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE.md) [![npm version](https://badge.fury.io/js/%40shopify%2Fmanifests.svg)](https://badge.fury.io/js/%40shopify%2Fmanifests.svg)

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
647
decreased by-16.94%
Maintainers
27
Weekly downloads
 
Created
Source

@shopify/manifests

License: MIT npm version

Utilities for manipulating manifests generated by @shopify/webpack-asset-metadata-plugin, and @shopify/sewing-kit.

Installation

$ yarn add @shopify/manifests

Commands

consolidate command

Finds assets.json / sewing-kit-manifest.json files inside a build directory, and combines them into a single JSON file.

Options
--root (required)

Directory to scan for manifest files (e.g., public/bundles / build/client).

--destination (required)

Path of the combined manifest file (e.g., public/bundles/sewing-kit-manifest.json)

--manifestGlob

Glob pattern to search for within 'root'.

--removeLegacyData

If enabled, removes the assets array from consolidated manifests. This reduces unused bulk in @shopify/sewing-kit-koa deployments.

--zip

If enabled, gzips the consolidated output. A '.gz' extension will be automatically applied to destination.

Usage

For full details of each option and its defaults, use:

yarn run manifests consolidate --help

An example command:

yarn run manifests consolidate --root public/bundles --destination public/bundles/sewing-kit-manifest.json --removeLegacyData

FAQs

Package last updated on 20 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc