@refrakt-md/learning 0.9.8 → 0.9.9

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKrD,eAAO,MAAM,QAAQ,EAAE,WAkEtB,CAAC;AAEF,eAAe,QAAQ,CAAC;AAExB,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAKrD,eAAO,MAAM,QAAQ,EAAE,WAgEtB,CAAC;AAEF,eAAe,QAAQ,CAAC;AAExB,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC"}
package/dist/index.js CHANGED
@@ -4,14 +4,13 @@ import { config } from './config.js';
4
4
  export const learning = {
5
5
  name: 'learning',
6
6
  displayName: 'Learning',
7
- version: '0.9.8',
7
+ version: '0.9.9',
8
8
  runes: {
9
9
  'howto': {
10
10
  transform: howto,
11
11
  aliases: ['how-to'],
12
12
  description: 'Step-by-step how-to guide with tools/materials list and instructions',
13
13
  seoType: 'HowTo',
14
- reinterprets: { 'ordered list': 'steps', list: 'tools/materials', heading: 'title' },
15
14
  category: 'Semantic',
16
15
  snippet: ['{% howto difficulty="${1|easy,medium,hard|}" %}', '# ${2:How to Do Something}', '', '- ${3:Tool or material needed}', '', '1. ${4:First step}', '2. ${5:Second step}', '{% /howto %}'],
17
16
  fixture: `{% howto estimatedTime="PT45M" difficulty="easy" %}
@@ -32,7 +31,6 @@ export const learning = {
32
31
  transform: recipe,
33
32
  description: 'Recipe with ingredients, steps, and chef tips. Supports split layout with media zone. Lists become ingredients, ordered lists become steps, blockquotes become tips.',
34
33
  seoType: 'Recipe',
35
- reinterprets: { list: 'ingredients', 'ordered list': 'steps', blockquote: 'chef tips', image: 'recipe photo', heading: 'recipe name', 'horizontal rule': 'content/media separator' },
36
34
  category: 'Semantic',
37
35
  snippet: ['{% recipe prepTime="${1:15m}" cookTime="${2:30m}" servings=${3:4} difficulty="${4|easy,medium,hard|}" %}', '# ${5:Recipe Name}', '', '- ${6:Ingredient one}', '- ${7:Ingredient two}', '', '1. ${8:Step one}', '2. ${9:Step two}', '{% /recipe %}'],
38
36
  fixture: `{% recipe prepTime="PT15M" cookTime="PT30M" servings="4" difficulty="medium" layout="split" %}
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,QAAQ,GAAgB;IACnC,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,UAAU;IACvB,OAAO,EAAE,OAAO;IAChB,KAAK,EAAE;QACL,OAAO,EAAE;YACP,SAAS,EAAE,KAAK;YAChB,OAAO,EAAE,CAAC,QAAQ,CAAC;YACnB,WAAW,EAAE,sEAAsE;YACnF,OAAO,EAAE,OAAO;YAChB,YAAY,EAAE,EAAE,cAAc,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,OAAO,EAAE;YACpF,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,CAAC,iDAAiD,EAAE,4BAA4B,EAAE,EAAE,EAAE,gCAAgC,EAAE,EAAE,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,cAAc,CAAC;YACjM,OAAO,EAAE;;;;;;;;;;;;aAYF;SACR;QACD,QAAQ,EAAE;YACR,SAA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D,QAAQ,EAAE;YACR,SAAS,EAAE,MAAM;YACjB,WAAW,EAAE,sKAAsK;YACnL,OAAO,EAAE,QAAQ;YACjB,QAAQ,EAAE,UAAU;YACpB,OAAO,EAAE,CAAC,0GAA0G,EAAE,oBAAoB,EAAE,EAAE,EAAE,uBAAuB,EAAE,uBAAuB,EAAE,EAAE,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,eAAe,CAAC;YAC9P,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;cA0BD;SACT;KACF;IACD,KAAK,EAAE;QACL,KAAK,EAAE,MAA4D;KACpE;CACF,CAAC;AAEF,eAAe,QAAQ,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@refrakt-md/learning",
3
3
  "description": "Learning runes for refrakt.md — how-to guides and recipes",
4
- "version": "0.9.8",
4
+ "version": "0.9.9",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -21,9 +21,9 @@
21
21
  "build": "tsc"
22
22
  },
23
23
  "dependencies": {
24
- "@refrakt-md/types": "0.9.8",
25
- "@refrakt-md/transform": "0.9.8",
26
- "@refrakt-md/runes": "0.9.8",
24
+ "@refrakt-md/types": "0.9.9",
25
+ "@refrakt-md/transform": "0.9.9",
26
+ "@refrakt-md/runes": "0.9.9",
27
27
  "@markdoc/markdoc": "0.4.0",
28
28
  "reflect-metadata": "^0.2.0"
29
29
  }