@shopify/theme-language-server-common
Advanced tools
Comparing version 1.11.0 to 1.11.1
# @shopify/theme-language-server-common | ||
## 1.11.1 | ||
### Patch Changes | ||
- ec1fbd7: The comment object should be available to section files | ||
- Updated dependencies [ec1fbd7] | ||
- @shopify/theme-check-common@2.5.1 | ||
## 1.11.0 | ||
@@ -4,0 +12,0 @@ |
@@ -209,3 +209,3 @@ "use strict"; | ||
if (SECTION_FILE_REGEX.test(absolutePath)) { | ||
return ['section', 'predictive_search', 'recommendations']; | ||
return ['section', 'predictive_search', 'recommendations', 'comment']; | ||
} | ||
@@ -212,0 +212,0 @@ if (BLOCK_FILE_REGEX.test(absolutePath)) { |
{ | ||
"name": "@shopify/theme-language-server-common", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"main": "dist/index.js", | ||
@@ -31,3 +31,3 @@ "types": "dist/index.d.ts", | ||
"@shopify/liquid-html-parser": "^2.0.3", | ||
"@shopify/theme-check-common": "2.5.0", | ||
"@shopify/theme-check-common": "2.5.1", | ||
"@vscode/web-custom-data": "^0.4.6", | ||
@@ -34,0 +34,0 @@ "vscode-json-languageservice": "^5.3.10", |
@@ -62,2 +62,7 @@ import { beforeEach, describe, vi, it, expect, assert } from 'vitest'; | ||
{ | ||
name: 'comment', | ||
access: { global: false, parents: [], template: [] }, | ||
return_type: [], | ||
}, | ||
{ | ||
name: 'recommendations', | ||
@@ -311,2 +316,3 @@ access: { global: false, parents: [], template: [] }, | ||
['section', 'sections/my-section.liquid'], | ||
['comment', 'sections/main-article.liquid'], | ||
['block', 'blocks/my-block.liquid'], | ||
@@ -313,0 +319,0 @@ ['predictive_search', 'sections/predictive-search.liquid'], |
@@ -260,3 +260,3 @@ import { | ||
if (SECTION_FILE_REGEX.test(absolutePath)) { | ||
return ['section', 'predictive_search', 'recommendations']; | ||
return ['section', 'predictive_search', 'recommendations', 'comment']; | ||
} | ||
@@ -263,0 +263,0 @@ if (BLOCK_FILE_REGEX.test(absolutePath)) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
942070
15035
+ Added@shopify/theme-check-common@2.5.1(transitive)
- Removed@shopify/theme-check-common@2.5.0(transitive)