Releases: Shopify/theme-tools
Releases · Shopify/theme-tools
@shopify/theme-language-server-node@2.21.1
@shopify/theme-language-server-common@2.21.1
Patch Changes
- Updated dependencies
- Updated dependencies [5f098a2]
- @shopify/theme-graph@0.2.5
- @shopify/theme-check-common@3.25.1
@shopify/theme-language-server-browser@2.21.1
Patch Changes
- @shopify/theme-language-server-common@2.21.1
@shopify/theme-graph@0.2.5
Patch Changes
- Patch bump because it depends on @shopify/theme-check-common
- Updated dependencies [5f098a2]
- @shopify/theme-check-common@3.25.1
@shopify/theme-check-node@3.25.1
Patch Changes
- 5f098a2: Temporarily remove
ValidScopedCSSClassfrom the recommended config. The check causes severe save lag in VS Code on larger themes (see #1179) because it re-parses every{% stylesheet %}tag in the theme on every save. It remains available as an opt-in check. Will be re-enabled once the performance issue is resolved. - 54e1418: Fix VSCode extension failing to resolve custom check packages from node_modules (e.g.
extends: '@acme/theme-check-extension/recommended.yml'). The extension server is webpack-bundled, sorequire.resolvewas being handled by webpack instead of Node.js, returning a module ID rather than a file path. Now usescreateRequirefromnode:moduleto get real Node.js resolution. - Updated dependencies
- Updated dependencies [5f098a2]
- @shopify/theme-graph@0.2.5
- @shopify/theme-check-common@3.25.1
- @shopify/theme-check-docs-updater@3.25.1
@shopify/theme-check-docs-updater@3.25.1
Patch Changes
- Updated dependencies [5f098a2]
- @shopify/theme-check-common@3.25.1
@shopify/theme-check-common@3.25.1
Patch Changes
- 5f098a2: Temporarily remove
ValidScopedCSSClassfrom the recommended config. The check causes severe save lag in VS Code on larger themes (see #1179) because it re-parses every{% stylesheet %}tag in the theme on every save. It remains available as an opt-in check. Will be re-enabled once the performance issue is resolved.
@shopify/theme-check-browser@3.25.1
Patch Changes
- Updated dependencies [5f098a2]
- @shopify/theme-check-common@3.25.1
@shopify/theme-language-server-node@2.21.0
@shopify/theme-language-server-common@2.21.0
Minor Changes
-
78a55fc: Introduce new theme-check to detect invalid CSS class usage in HTML
ValidScopedCSSClassdetects invalid CSS classes in HTML if it deems them being out of scope.
A CSS class is in-scope if it matches any of the following:- The CSS class is declared in
assets/*.cssfile - The CSS class is declared in the file's
stylesheettag - The CSS class is declared in a direct ancestor's
stylesheettag - The CSS class is declared in a snippet file's
stylesheettag that is rendered by this file or its direct ancestor (recursive)
- The CSS class is declared in
Patch Changes
- b049a84: Read only liquid and JSON files from theme directories (assets, blocks, config, layout, locales, sections, snippets, templates) when preloading files
- f15566c: add tabstops to translations variables
- 020d34f: Add support for color_palette input type
- 6951379: Allow theme app extensions to use block-level completion items in snippets
- Updated dependencies [e10da7c]
- Updated dependencies [020d34f]
- Updated dependencies [78a55fc]
- Updated dependencies [6951379]
- Updated dependencies [78a55fc]
- @shopify/theme-check-common@3.25.0
- @shopify/theme-graph@0.2.4