@jarenjs/play 0.49.2 → 0.66.1

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.
package/README.md CHANGED
@@ -51,6 +51,20 @@ the *same* source over each shape. Adding an engine is a descriptor plus
51
51
  examples — the picker, panes and switcher all derive from the descriptor.
52
52
  See [docs/PLAY-FORMAT.md](docs/PLAY-FORMAT.md).
53
53
 
54
+ ## Exports
55
+
56
+ Every subpath a consumer can import, derived from the manifest by
57
+ `npm run docs:derive` (`npm run docs:check` fails when the two drift):
58
+
59
+ <!--fact:exports.play-->
60
+ | Import | Kind | Declarations |
61
+ |---|---|---|
62
+ | `@jarenjs/play` | JavaScript | declared |
63
+ | `@jarenjs/play/component` | JavaScript | declared |
64
+ | `@jarenjs/play/styles/play.css` | asset | — |
65
+ | `@jarenjs/play/package.json` | metadata | — |
66
+ <!--/fact-->
67
+
54
68
  ## Install
55
69
 
56
70
  ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jarenjs/play",
3
3
  "private": false,
4
- "version": "0.49.2",
4
+ "version": "0.66.1",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
7
7
  "types": "./dist/types/index.d.ts",
@@ -56,10 +56,10 @@
56
56
  "prepack": "npm run build:types"
57
57
  },
58
58
  "dependencies": {
59
- "@jarenjs/contract": "^0.49.2",
60
- "@jarenjs/core": "^0.49.2",
61
- "@jarenjs/josl": "^0.49.2",
62
- "@jarenjs/json": "^0.49.2",
63
- "@jarenjs/validate": "^0.49.2"
59
+ "@jarenjs/contract": "^0.66.1",
60
+ "@jarenjs/core": "^0.66.1",
61
+ "@jarenjs/josl": "^0.66.1",
62
+ "@jarenjs/json": "^0.66.1",
63
+ "@jarenjs/validate": "^0.66.1"
64
64
  }
65
65
  }
package/src/examples.js CHANGED
@@ -436,7 +436,7 @@ first-reference order. An uncited definition renders nothing at all.
436
436
  { id: 'md-directives', label: 'Directives: a number a machine derives', engine: 'markdown', datasets: [],
437
437
  source: { source: `# Comment-carried data
438
438
 
439
- Jaren is <!--bm:jsonpath.ctsRatio-->23.1<!--/bm-->x faster on the CTS mean.
439
+ Jaren is <!--fact:jsonpath.ctsRatio-->23.1<!--/fact-->x faster on the CTS mean.
440
440
 
441
441
  Every markdown renderer on earth drops HTML comments, so that line reads as
442
442
  plain, correct, static text — here, on GitHub and on npm. A directive-aware
@@ -446,10 +446,10 @@ rather than a number that quietly stopped being true.
446
446
 
447
447
  This repository's own published figures work exactly this way.
448
448
 
449
- <!--bm:example-->
449
+ <!--fact:example-->
450
450
  A block directive wraps whole blocks — a table, a list, anything the
451
451
  resolver produces.
452
- <!--/bm-->
452
+ <!--/fact-->
453
453
 
454
454
  One rule: an inline marker must not begin a line. A comment at the start of
455
455
  a line opens an HTML block and swallows the rest of that line.