@shopify/manifests
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -1,3 +0,3 @@ | ||
import { AssetMetadataV2 } from './types'; | ||
export declare function manifestSorter(manifestA: AssetMetadataV2, manifestB: AssetMetadataV2): 1 | 0 | -1; | ||
import { AssetMetadata } from '@shopify/webpack-asset-metadata-plugin'; | ||
export declare function manifestSorter(manifestA: AssetMetadata, manifestB: AssetMetadata): 1 | 0 | -1; | ||
//# sourceMappingURL=sorter.d.ts.map |
@@ -20,3 +20,4 @@ "use strict"; | ||
function sanitizeMetadata(manifest) { | ||
const target = (manifest.identifier && manifest.identifier.target) || manifest.name; | ||
const target = (manifest.identifier && manifest.identifier.target) || | ||
manifest.name; | ||
if (!target) { | ||
@@ -23,0 +24,0 @@ throw new Error(`Manifests must contain a 'name' string, or 'identifier.target' string.`); |
{ | ||
"name": "@shopify/manifests", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "./dist/src/index.js", | ||
@@ -24,3 +24,3 @@ "types": "./dist/src/index.d.js", | ||
"devDependencies": { | ||
"@shopify/webpack-asset-metadata-plugin": "^1.3.3" | ||
"@shopify/webpack-asset-metadata-plugin": "^2.0.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
260351
18
256