theme-check 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/CHANGELOG.md +7 -0
- data/CONTRIBUTING.md +82 -0
- data/README.md +4 -0
- data/Rakefile +7 -0
- data/TROUBLESHOOTING.md +65 -0
- data/data/shopify_liquid/built_in_liquid_objects.json +60 -0
- data/data/shopify_liquid/documentation/filters.json +5528 -0
- data/data/shopify_liquid/documentation/latest.json +1 -0
- data/data/shopify_liquid/documentation/objects.json +19272 -0
- data/data/shopify_liquid/documentation/tags.json +1252 -0
- data/lib/theme_check/checks/undefined_object.rb +4 -0
- data/lib/theme_check/language_server/completion_context.rb +52 -0
- data/lib/theme_check/language_server/completion_engine.rb +15 -21
- data/lib/theme_check/language_server/completion_provider.rb +16 -1
- data/lib/theme_check/language_server/completion_providers/assignments_completion_provider.rb +36 -0
- data/lib/theme_check/language_server/completion_providers/filter_completion_provider.rb +49 -6
- data/lib/theme_check/language_server/completion_providers/object_attribute_completion_provider.rb +47 -0
- data/lib/theme_check/language_server/completion_providers/object_completion_provider.rb +10 -7
- data/lib/theme_check/language_server/completion_providers/render_snippet_completion_provider.rb +5 -1
- data/lib/theme_check/language_server/completion_providers/tag_completion_provider.rb +8 -1
- data/lib/theme_check/language_server/handler.rb +3 -1
- data/lib/theme_check/language_server/protocol.rb +9 -0
- data/lib/theme_check/language_server/type_helper.rb +22 -0
- data/lib/theme_check/language_server/variable_lookup_finder/assignments_finder/node_handler.rb +63 -0
- data/lib/theme_check/language_server/variable_lookup_finder/assignments_finder/scope.rb +57 -0
- data/lib/theme_check/language_server/variable_lookup_finder/assignments_finder/scope_visitor.rb +42 -0
- data/lib/theme_check/language_server/variable_lookup_finder/assignments_finder.rb +76 -0
- data/lib/theme_check/language_server/variable_lookup_finder/constants.rb +43 -0
- data/lib/theme_check/language_server/variable_lookup_finder/liquid_fixer.rb +103 -0
- data/lib/theme_check/language_server/variable_lookup_finder/potential_lookup.rb +10 -0
- data/lib/theme_check/language_server/variable_lookup_finder/tolerant_parser.rb +94 -0
- data/lib/theme_check/language_server/variable_lookup_finder.rb +60 -100
- data/lib/theme_check/language_server/variable_lookup_traverser.rb +70 -0
- data/lib/theme_check/language_server.rb +12 -0
- data/lib/theme_check/remote_asset_file.rb +13 -7
- data/lib/theme_check/shopify_liquid/documentation/markdown_template.rb +51 -0
- data/lib/theme_check/shopify_liquid/documentation.rb +44 -0
- data/lib/theme_check/shopify_liquid/filter.rb +4 -0
- data/lib/theme_check/shopify_liquid/object.rb +4 -0
- data/lib/theme_check/shopify_liquid/source_index/base_entry.rb +60 -0
- data/lib/theme_check/shopify_liquid/source_index/base_state.rb +23 -0
- data/lib/theme_check/shopify_liquid/source_index/filter_entry.rb +18 -0
- data/lib/theme_check/shopify_liquid/source_index/filter_state.rb +11 -0
- data/lib/theme_check/shopify_liquid/source_index/object_entry.rb +14 -0
- data/lib/theme_check/shopify_liquid/source_index/object_state.rb +11 -0
- data/lib/theme_check/shopify_liquid/source_index/parameter_entry.rb +21 -0
- data/lib/theme_check/shopify_liquid/source_index/property_entry.rb +9 -0
- data/lib/theme_check/shopify_liquid/source_index/return_type_entry.rb +37 -0
- data/lib/theme_check/shopify_liquid/source_index/tag_entry.rb +20 -0
- data/lib/theme_check/shopify_liquid/source_index/tag_state.rb +11 -0
- data/lib/theme_check/shopify_liquid/source_index.rb +56 -0
- data/lib/theme_check/shopify_liquid/source_manager.rb +111 -0
- data/lib/theme_check/shopify_liquid/tag.rb +4 -0
- data/lib/theme_check/shopify_liquid.rb +17 -1
- data/lib/theme_check/version.rb +1 -1
- data/shipit.rubygems.yml +3 -0
- data/theme-check.gemspec +3 -1
- metadata +37 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: theme-check
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc-André Cournoyer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: liquid
|
@@ -76,12 +76,18 @@ files:
|
|
76
76
|
- README.md
|
77
77
|
- RELEASING.md
|
78
78
|
- Rakefile
|
79
|
+
- TROUBLESHOOTING.md
|
79
80
|
- bin/theme-check
|
80
81
|
- bin/theme-check-language-server
|
81
82
|
- config/default.yml
|
82
83
|
- config/nothing.yml
|
83
84
|
- config/theme_app_extension.yml
|
85
|
+
- data/shopify_liquid/built_in_liquid_objects.json
|
84
86
|
- data/shopify_liquid/deprecated_filters.yml
|
87
|
+
- data/shopify_liquid/documentation/filters.json
|
88
|
+
- data/shopify_liquid/documentation/latest.json
|
89
|
+
- data/shopify_liquid/documentation/objects.json
|
90
|
+
- data/shopify_liquid/documentation/tags.json
|
85
91
|
- data/shopify_liquid/filters.yml
|
86
92
|
- data/shopify_liquid/objects.yml
|
87
93
|
- data/shopify_liquid/plus_objects.yml
|
@@ -222,10 +228,13 @@ files:
|
|
222
228
|
- lib/theme_check/language_server/code_action_provider.rb
|
223
229
|
- lib/theme_check/language_server/code_action_providers/quickfix_code_action_provider.rb
|
224
230
|
- lib/theme_check/language_server/code_action_providers/source_fix_all_code_action_provider.rb
|
231
|
+
- lib/theme_check/language_server/completion_context.rb
|
225
232
|
- lib/theme_check/language_server/completion_engine.rb
|
226
233
|
- lib/theme_check/language_server/completion_helper.rb
|
227
234
|
- lib/theme_check/language_server/completion_provider.rb
|
235
|
+
- lib/theme_check/language_server/completion_providers/assignments_completion_provider.rb
|
228
236
|
- lib/theme_check/language_server/completion_providers/filter_completion_provider.rb
|
237
|
+
- lib/theme_check/language_server/completion_providers/object_attribute_completion_provider.rb
|
229
238
|
- lib/theme_check/language_server/completion_providers/object_completion_provider.rb
|
230
239
|
- lib/theme_check/language_server/completion_providers/render_snippet_completion_provider.rb
|
231
240
|
- lib/theme_check/language_server/completion_providers/tag_completion_provider.rb
|
@@ -251,8 +260,18 @@ files:
|
|
251
260
|
- lib/theme_check/language_server/protocol.rb
|
252
261
|
- lib/theme_check/language_server/server.rb
|
253
262
|
- lib/theme_check/language_server/tokens.rb
|
263
|
+
- lib/theme_check/language_server/type_helper.rb
|
254
264
|
- lib/theme_check/language_server/uri_helper.rb
|
255
265
|
- lib/theme_check/language_server/variable_lookup_finder.rb
|
266
|
+
- lib/theme_check/language_server/variable_lookup_finder/assignments_finder.rb
|
267
|
+
- lib/theme_check/language_server/variable_lookup_finder/assignments_finder/node_handler.rb
|
268
|
+
- lib/theme_check/language_server/variable_lookup_finder/assignments_finder/scope.rb
|
269
|
+
- lib/theme_check/language_server/variable_lookup_finder/assignments_finder/scope_visitor.rb
|
270
|
+
- lib/theme_check/language_server/variable_lookup_finder/constants.rb
|
271
|
+
- lib/theme_check/language_server/variable_lookup_finder/liquid_fixer.rb
|
272
|
+
- lib/theme_check/language_server/variable_lookup_finder/potential_lookup.rb
|
273
|
+
- lib/theme_check/language_server/variable_lookup_finder/tolerant_parser.rb
|
274
|
+
- lib/theme_check/language_server/variable_lookup_traverser.rb
|
256
275
|
- lib/theme_check/language_server/versioned_in_memory_storage.rb
|
257
276
|
- lib/theme_check/liquid_check.rb
|
258
277
|
- lib/theme_check/liquid_file.rb
|
@@ -272,8 +291,23 @@ files:
|
|
272
291
|
- lib/theme_check/schema_helper.rb
|
273
292
|
- lib/theme_check/shopify_liquid.rb
|
274
293
|
- lib/theme_check/shopify_liquid/deprecated_filter.rb
|
294
|
+
- lib/theme_check/shopify_liquid/documentation.rb
|
295
|
+
- lib/theme_check/shopify_liquid/documentation/markdown_template.rb
|
275
296
|
- lib/theme_check/shopify_liquid/filter.rb
|
276
297
|
- lib/theme_check/shopify_liquid/object.rb
|
298
|
+
- lib/theme_check/shopify_liquid/source_index.rb
|
299
|
+
- lib/theme_check/shopify_liquid/source_index/base_entry.rb
|
300
|
+
- lib/theme_check/shopify_liquid/source_index/base_state.rb
|
301
|
+
- lib/theme_check/shopify_liquid/source_index/filter_entry.rb
|
302
|
+
- lib/theme_check/shopify_liquid/source_index/filter_state.rb
|
303
|
+
- lib/theme_check/shopify_liquid/source_index/object_entry.rb
|
304
|
+
- lib/theme_check/shopify_liquid/source_index/object_state.rb
|
305
|
+
- lib/theme_check/shopify_liquid/source_index/parameter_entry.rb
|
306
|
+
- lib/theme_check/shopify_liquid/source_index/property_entry.rb
|
307
|
+
- lib/theme_check/shopify_liquid/source_index/return_type_entry.rb
|
308
|
+
- lib/theme_check/shopify_liquid/source_index/tag_entry.rb
|
309
|
+
- lib/theme_check/shopify_liquid/source_index/tag_state.rb
|
310
|
+
- lib/theme_check/shopify_liquid/source_manager.rb
|
277
311
|
- lib/theme_check/shopify_liquid/system_translations.rb
|
278
312
|
- lib/theme_check/shopify_liquid/tag.rb
|
279
313
|
- lib/theme_check/storage.rb
|
@@ -284,6 +318,7 @@ files:
|
|
284
318
|
- lib/theme_check/theme_file_rewriter.rb
|
285
319
|
- lib/theme_check/version.rb
|
286
320
|
- packaging/homebrew/theme_check.base.rb
|
321
|
+
- shipit.rubygems.yml
|
287
322
|
- theme-check.gemspec
|
288
323
|
homepage: https://github.com/Shopify/theme-check
|
289
324
|
licenses:
|