-
Notifications
You must be signed in to change notification settings - Fork 42
Comparing changes
Open a pull request
base repository: Shopify/theme-tools
base: @shopify/prettier-plugin-liquid@1.6.0
head repository: Shopify/theme-tools
compare: @shopify/prettier-plugin-liquid@1.6.1
Commits on Nov 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3f7680e - Browse repository at this point
Copy the full SHA 3f7680eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 36cf1b9 - Browse repository at this point
Copy the full SHA 36cf1b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 142036a - Browse repository at this point
Copy the full SHA 142036aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e65cb0c - Browse repository at this point
Copy the full SHA e65cb0cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7adbdbc - Browse repository at this point
Copy the full SHA 7adbdbcView commit details
Commits on Nov 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8a0bf78 - Browse repository at this point
Copy the full SHA 8a0bf78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 697bdd5 - Browse repository at this point
Copy the full SHA 697bdd5View commit details
Commits on Nov 13, 2024
-
Preload theme on boot with progress (#585)
We'll do more stuff like the `{Snippet,Asset}RenameHandler`. We don't want those operations to feel slow. So as soon as we open a text document in a theme, we'll preload all the files in it. - Added new helpers in DocumentManager to handle create,delete,rename correctly and prevent requiring preload invalidation. - Added a `Progress` class to help with progress bars. The LSP stuff feels very heavy and that class makes it a bit cuter/less disruptive in the code. Still gotta do percent calculations (which sucks), but with a couple of comments it ain't so bad. - Running theme check _after_ the rename handler completes so that we no longer have a race condition that makes it so the file appears to not be there when it is. Performance wise: - We'll cache the preload a theme is only preloaded once (once per theme root URI)
Configuration menu - View commit details
-
Copy full SHA for f09c923 - Browse repository at this point
Copy the full SHA f09c923View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7317830 - Browse repository at this point
Copy the full SHA 7317830View commit details -
Gate the "preload" functionality behind
themeCheck.preloadOnBoot
in……itialization option (#589) We probably don't want to preload all the files just yet. We can now start the `CodeMirrorLanguageClient` with the following to disable full theme preload on theme file open. ``` const client = new CodeMirrorLanguageClient(worker, { initializationOptions: { 'themeCheck.preloadOnBoot': false, } }); ```
Configuration menu - View commit details
-
Copy full SHA for 0b7534b - Browse repository at this point
Copy the full SHA 0b7534bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a07208 - Browse repository at this point
Copy the full SHA 9a07208View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe52cd7 - Browse repository at this point
Copy the full SHA fe52cd7View commit details
Commits on Nov 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7a6dfe8 - Browse repository at this point
Copy the full SHA 7a6dfe8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7d77fe - Browse repository at this point
Copy the full SHA d7d77feView commit details -
Configuration menu - View commit details
-
Copy full SHA for ddca7dc - Browse repository at this point
Copy the full SHA ddca7dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 753f286 - Browse repository at this point
Copy the full SHA 753f286View commit details -
Merge pull request #584 from Shopify/miaz/valid-schema-name-trans
Verify schema name translation
Configuration menu - View commit details
-
Copy full SHA for c9ae6e8 - Browse repository at this point
Copy the full SHA c9ae6e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97366b0 - Browse repository at this point
Copy the full SHA 97366b0View commit details
Commits on Nov 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b558bfe - Browse repository at this point
Copy the full SHA b558bfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c4813ff - Browse repository at this point
Copy the full SHA c4813ffView commit details
Commits on Nov 18, 2024
-
Merge pull request #561 from Shopify/navdeep-block-targetting
Check for Valid Block Targeting
Configuration menu - View commit details
-
Copy full SHA for be00b52 - Browse repository at this point
Copy the full SHA be00b52View commit details -
Merge pull request #587 from Shopify/navdeep-static-local-blocks
Add ValidLocalBlocks Check
Configuration menu - View commit details
-
Copy full SHA for c383f62 - Browse repository at this point
Copy the full SHA c383f62View commit details -
Merge pull request #595 from Shopify/miaz/warn-block-id-usage
Warn against block.id usage
Configuration menu - View commit details
-
Copy full SHA for 498f48f - Browse repository at this point
Copy the full SHA 498f48fView commit details -
Better building blocks for dealing with
{% schema %}
content (#599)* Add `getSectionSchema` and `getBlockSchema` context utils in theme check - Batteries are included in `@shopify/theme-check-node` - Language server stores the information in the document manager and injects it * Add {ThemeBlock,Section}.Schema TypeScript types JSON Schema conversions of the theme-liquid-docs JSON schemas into TypeScript interfaces * Provide better building blocks for dealing with schemas Fixes #572
Configuration menu - View commit details
-
Copy full SHA for add2445 - Browse repository at this point
Copy the full SHA add2445View commit details
Commits on Nov 19, 2024
-
Theme Tools Release: 19-11-24 (#603)
* Update changesets * Release 19-11-24: Updated 11 package versions @shopify/prettier-plugin-liquid: 1.6.0 -> 1.6.1 (patch) @shopify/theme-check-common: 3.1.0 -> 3.2.0 (minor) @shopify/theme-check-node: 3.1.0 -> 3.2.0 (minor) theme-check-vscode: 3.1.0 -> 3.2.0 (minor) @shopify/theme-language-server-common: 2.1.0 -> 2.2.0 (minor) @shopify/liquid-html-parser: 2.1.0 -> 2.1.1 (patch) @shopify/codemirror-language-client: 0.7.0 -> 0.7.1 (patch) @shopify/theme-check-docs-updater: 3.1.0 -> 3.2.0 (minor) @shopify/theme-check-browser: 3.1.0 -> 3.2.0 (minor) @shopify/theme-language-server-browser: 2.1.0 -> 2.2.0 (minor) @shopify/theme-language-server-node: 2.1.0 -> 2.2.0 (minor)
Configuration menu - View commit details
-
Copy full SHA for 49d3d4b - Browse repository at this point
Copy the full SHA 49d3d4bView commit details
There are no files selected for viewing