@platformos/platformos-check-docs-updater 0.0.2

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 (44) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/data/app_block_entry.json +13 -0
  3. package/data/default_setting_values.json +24 -0
  4. package/data/filters.json +7 -0
  5. package/data/graphql.graphql +12964 -0
  6. package/data/latest.json +2 -0
  7. package/data/local_block_entry.json +25 -0
  8. package/data/manifest_theme.json +19 -0
  9. package/data/manifest_theme_app_extension.json +10 -0
  10. package/data/objects.json +6 -0
  11. package/data/preset.json +72 -0
  12. package/data/preset_blocks.json +91 -0
  13. package/data/section.json +208 -0
  14. package/data/setting.json +1353 -0
  15. package/data/settings.json +10 -0
  16. package/data/shopify_system_translations.json +2432 -0
  17. package/data/tags.json +7 -0
  18. package/data/targetted_block_entry.json +15 -0
  19. package/data/theme_block.json +91 -0
  20. package/data/theme_block_entry.json +14 -0
  21. package/data/theme_settings.json +83 -0
  22. package/data/translations.json +63 -0
  23. package/dist/index.d.ts +2 -0
  24. package/dist/index.js +11 -0
  25. package/dist/index.js.map +1 -0
  26. package/dist/themeLiquidDocsDownloader.d.ts +23 -0
  27. package/dist/themeLiquidDocsDownloader.js +148 -0
  28. package/dist/themeLiquidDocsDownloader.js.map +1 -0
  29. package/dist/themeLiquidDocsManager.d.ts +34 -0
  30. package/dist/themeLiquidDocsManager.js +175 -0
  31. package/dist/themeLiquidDocsManager.js.map +1 -0
  32. package/dist/tsconfig.tsbuildinfo +1 -0
  33. package/dist/utils.d.ts +5 -0
  34. package/dist/utils.js +18 -0
  35. package/dist/utils.js.map +1 -0
  36. package/package.json +42 -0
  37. package/scripts/cli.js +48 -0
  38. package/src/index.ts +8 -0
  39. package/src/themeLiquidDocsDownloader.ts +192 -0
  40. package/src/themeLiquidDocsManager.spec.ts +103 -0
  41. package/src/themeLiquidDocsManager.ts +255 -0
  42. package/src/utils.ts +12 -0
  43. package/tsconfig.build.json +7 -0
  44. package/tsconfig.json +18 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # @platformos/theme-check-docs-updater
2
+
3
+ ## 0.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Beta release
8
+ - Updated dependencies
9
+ - @platformos/platformos-check-common@0.0.2
@@ -0,0 +1,13 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$comment": "An @app block entry",
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "properties": {
7
+ "type": {
8
+ "const": "@app",
9
+ "description": "The \"@app\" type is used to denote that this container accepts app blocks. App blocks enable app developers to create blocks for merchants to add app content to their theme without having to directly edit theme code.",
10
+ "markdownDescription": "The `@app` type is used to denote that this container accepts app blocks. [App blocks](/docs/themes/architecture/sections/app-blocks) enable app developers to create blocks for merchants to add app content to their theme without having to directly edit theme code.\n\n---\n\n[Shopify reference](https://shopify.dev/docs/themes/architecture/blocks/app-blocks#supporting-app-blocks)"
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "description": "A list of default values for any settings that you might want to populate. Each entry should include the setting name and the value.",
5
+ "additionalProperties": {
6
+ "anyOf": [
7
+ {
8
+ "type": "number"
9
+ },
10
+ {
11
+ "type": "boolean"
12
+ },
13
+ {
14
+ "type": "string"
15
+ },
16
+ {
17
+ "type": "array",
18
+ "items": {
19
+ "type": "string"
20
+ }
21
+ }
22
+ ]
23
+ }
24
+ }