@shopify/theme-check-node
Advanced tools
Comparing version 1.14.1 to 1.15.0
@@ -26,2 +26,3 @@ "use strict"; | ||
const glob = require("glob"); | ||
const theme_check_docs_updater_1 = require("@shopify/theme-check-docs-updater"); | ||
const file_utils_1 = require("./file-utils"); | ||
@@ -58,5 +59,8 @@ const config_1 = require("./config"); | ||
const defaultTranslations = JSON.parse((defaultTranslationsFile === null || defaultTranslationsFile === void 0 ? void 0 : defaultTranslationsFile.source) || '{}'); | ||
const themeLiquidDocsManager = new theme_check_docs_updater_1.ThemeLiquidDocsManager(); | ||
const offenses = await (0, theme_check_common_1.check)(theme, config, { | ||
fileExists: file_utils_1.fileExists, | ||
fileSize: file_utils_1.fileSize, | ||
themeDocset: themeLiquidDocsManager, | ||
schemaValidators: themeLiquidDocsManager, | ||
async getDefaultTranslations() { | ||
@@ -63,0 +67,0 @@ return defaultTranslations; |
{ | ||
"name": "@shopify/theme-check-node", | ||
"version": "1.14.1", | ||
"version": "1.15.0", | ||
"main": "dist/index.js", | ||
@@ -28,3 +28,4 @@ "types": "dist/index.d.ts", | ||
"dependencies": { | ||
"@shopify/theme-check-common": "1.14.1", | ||
"@shopify/theme-check-common": "1.15.0", | ||
"@shopify/theme-check-docs-updater": "1.15.0", | ||
"glob": "^8.0.3", | ||
@@ -31,0 +32,0 @@ "yaml": "^2.3.0" |
44939
964
4
+ Added@shopify/theme-check-common@1.15.0(transitive)
+ Added@shopify/theme-check-docs-updater@1.15.0(transitive)
+ Addedajv@8.17.1(transitive)
+ Addedenv-paths@2.2.1(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedfast-uri@3.0.6(transitive)
+ Addedjson-schema-traverse@1.0.0(transitive)
+ Addedrequire-from-string@2.0.2(transitive)
- Removed@shopify/theme-check-common@1.14.1(transitive)