@platformos/platformos-language-server-common 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/ClientCapabilities.js +1 -1
  3. package/dist/ClientCapabilities.js.map +1 -1
  4. package/dist/TypeSystem.d.ts +1 -1
  5. package/dist/TypeSystem.js +4 -5
  6. package/dist/TypeSystem.js.map +1 -1
  7. package/dist/codeActions/CodeActionsProvider.d.ts +1 -1
  8. package/dist/commands/ExecuteCommandProvider.d.ts +1 -1
  9. package/dist/commands/providers/ApplyFixesProvider.d.ts +2 -2
  10. package/dist/commands/providers/ApplyFixesProvider.js +2 -2
  11. package/dist/commands/providers/ApplyFixesProvider.js.map +1 -1
  12. package/dist/commands/providers/ApplySuggestionProvider.d.ts +2 -2
  13. package/dist/commands/providers/ApplySuggestionProvider.js +2 -2
  14. package/dist/commands/providers/ApplySuggestionProvider.js.map +1 -1
  15. package/dist/commands/providers/RunChecksProvider.d.ts +2 -2
  16. package/dist/commands/providers/RunChecksProvider.js +2 -2
  17. package/dist/commands/providers/RunChecksProvider.js.map +1 -1
  18. package/dist/completions/CompletionsProvider.d.ts +1 -1
  19. package/dist/completions/params/LiquidCompletionParams.js +2 -2
  20. package/dist/completions/providers/RenderPartialParameterCompletionProvider.js +2 -2
  21. package/dist/completions/providers/TranslationCompletionProvider.js +3 -3
  22. package/dist/completions/providers/TranslationCompletionProvider.js.map +1 -1
  23. package/dist/documentLinks/DocumentLinksProvider.js +5 -5
  24. package/dist/hover/providers/RenderPartialParameterHoverProvider.js +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/rename/RenameProvider.d.ts +1 -1
  27. package/dist/rename/RenameProvider.js +1 -1
  28. package/dist/rename/providers/LiquidVariableRenameProvider.js +3 -3
  29. package/dist/rename/providers/LiquidVariableRenameProvider.js.map +1 -1
  30. package/dist/renamed/handlers/AssetRenameHandler.d.ts +1 -1
  31. package/dist/renamed/handlers/AssetRenameHandler.js +1 -1
  32. package/dist/renamed/handlers/PartialRenameHandler.d.ts +1 -1
  33. package/dist/renamed/handlers/PartialRenameHandler.js +5 -5
  34. package/dist/server/safe.d.ts +1 -1
  35. package/dist/server/safe.js +1 -1
  36. package/dist/server/startServer.js +4 -5
  37. package/dist/server/startServer.js.map +1 -1
  38. package/dist/tsconfig.tsbuildinfo +1 -1
  39. package/dist/utils/debounce.d.ts +1 -1
  40. package/dist/utils/debounce.js +1 -1
  41. package/dist/utils/liquidDoc.js +5 -5
  42. package/package.json +4 -4
@@ -24,7 +24,7 @@ export interface DebouncedFunction<F extends Function> {
24
24
  * This is useful in cases where you have an "expensive" function that you only want
25
25
  * to execute after the user is idle for a little bit.
26
26
  *
27
- * e.g. Run theme check after the user has stopped typing for at least 100ms.
27
+ * e.g. Run platformos-check after the user has stopped typing for at least 100ms.
28
28
  *
29
29
  * The debounced function has the same type signature as its argument.
30
30
  *
@@ -11,7 +11,7 @@ exports.debounce = debounce;
11
11
  * This is useful in cases where you have an "expensive" function that you only want
12
12
  * to execute after the user is idle for a little bit.
13
13
  *
14
- * e.g. Run theme check after the user has stopped typing for at least 100ms.
14
+ * e.g. Run platformos-check after the user has stopped typing for at least 100ms.
15
15
  *
16
16
  * The debounced function has the same type signature as its argument.
17
17
  *
@@ -21,7 +21,7 @@ function formatLiquidDocTagHandle(label, description, example) {
21
21
  }
22
22
  exports.SUPPORTED_LIQUID_DOC_TAG_HANDLES = {
23
23
  [platformos_check_common_1.SupportedDocTagTypes.Param]: {
24
- description: 'Provides information about a parameter for the snippet.\n' +
24
+ description: 'Provides information about a parameter for the partial.\n' +
25
25
  `- The type of parameter is optional and can be ${Object.values(platformos_check_common_1.BasicParamTypes)
26
26
  .map((type) => `\`${type}\``)
27
27
  .join(', ')}\n` +
@@ -36,13 +36,13 @@ exports.SUPPORTED_LIQUID_DOC_TAG_HANDLES = {
36
36
  template: `param {$2} $1$0`,
37
37
  },
38
38
  [platformos_check_common_1.SupportedDocTagTypes.Example]: {
39
- description: 'Provides an example on how to use the snippet.',
40
- example: '{% doc %}\n' + ' @example {% render "snippet-name", arg1: "value" %}\n' + '{% enddoc %}\n',
39
+ description: 'Provides an example on how to use the partial.',
40
+ example: '{% doc %}\n' + ' @example {% render "partial-name", arg1: "value" %}\n' + '{% enddoc %}\n',
41
41
  template: `example $0`,
42
42
  },
43
43
  [platformos_check_common_1.SupportedDocTagTypes.Description]: {
44
- description: 'Provides information on what the snippet does.',
45
- example: '{% doc %}\n' + ' @description This snippet renders a product image.\n' + '{% enddoc %}\n',
44
+ description: 'Provides information on what the partial does.',
45
+ example: '{% doc %}\n' + ' @description This partial renders a product image.\n' + '{% enddoc %}\n',
46
46
  template: `description $0`,
47
47
  },
48
48
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformos/platformos-language-server-common",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "platformOS",
@@ -27,9 +27,9 @@
27
27
  "type-check": "tsc --noEmit -p ./tsconfig.json"
28
28
  },
29
29
  "dependencies": {
30
- "@platformos/liquid-html-parser": "^0.0.9",
31
- "@platformos/platformos-check-common": "0.0.9",
32
- "@platformos/platformos-graph": "0.0.9",
30
+ "@platformos/liquid-html-parser": "^0.0.10",
31
+ "@platformos/platformos-check-common": "0.0.10",
32
+ "@platformos/platformos-graph": "0.0.10",
33
33
  "@vscode/web-custom-data": "^0.4.6",
34
34
  "vscode-json-languageservice": "^5.7.1",
35
35
  "vscode-languageserver": "^9.0.1",