1.1.1 • Published 1 year ago

@shopify/manifests v1.1.1

Weekly downloads
6
License
MIT
Repository
github
Last release
1 year ago

@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
1.1.1

1 year ago

1.1.0

2 years ago

1.0.0

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

1.0.0-wp5-beta.9

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

1.0.0-wp5-beta.8

3 years ago

1.0.0-wp5-beta.7

3 years ago

0.0.9

3 years ago

1.0.0-wp5-beta.6

3 years ago

1.0.0-wp5-beta.5

3 years ago

1.0.0-alpha.0

3 years ago

1.0.0-wp5-beta.2

3 years ago

1.0.0-wp5-beta.1

3 years ago

0.0.8-wp5-beta.8

3 years ago

0.0.8-wp5-beta.6

3 years ago

0.0.8-wp5-beta.2

3 years ago

0.0.8

3 years ago

0.0.7-pup-beta.1

3 years ago

0.0.7

3 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago