@fifthbell/brokaw 0.1.70 → 0.1.71

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
@@ -104,3 +104,10 @@ npm run storybook
104
104
 
105
105
  - CI validates typecheck, unit tests, and package build on pull requests and `main` pushes.
106
106
  - Package publish is triggered by pushing a `v*` tag.
107
+
108
+ ### Mediathek
109
+
110
+ The `media-page` renderer emits one shared page for `/mediathek/<assignment-key>`.
111
+ Its browser script selects the assignment from the URL and fetches
112
+ `contents/assignments/<key>.json`; neither the HTML nor its canonical document is
113
+ assignment-specific. Storybook `Pages/MediaPage` uses Mediathek URLs.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@fifthbell/brokaw",
3
- "version": "0.1.70",
3
+ "version": "0.1.71",
4
4
  "templateRendering": {
5
5
  "contract": "cronkite.templates",
6
6
  "contractVersion": 1,
@@ -4,8 +4,8 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
6
6
  <title>Live Program | fifthbell</title>
7
- <script type="module" crossorigin src="./live-program.v0.1.70.js"></script>
8
- <link rel="stylesheet" crossorigin href="./live-program.v0.1.70.css">
7
+ <script type="module" crossorigin src="./live-program.v0.1.71.js"></script>
8
+ <link rel="stylesheet" crossorigin href="./live-program.v0.1.71.css">
9
9
  </head>
10
10
  <body>
11
11
  <div id="root"></div>
@@ -45,7 +45,7 @@
45
45
  ]
46
46
  },
47
47
  "package": "@fifthbell/brokaw",
48
- "bundleVersion": "0.1.70",
48
+ "bundleVersion": "0.1.71",
49
49
  "schemaVersion": 1,
50
50
  "statePath": "state",
51
51
  "eventsPath": "events",
@@ -390,16 +390,16 @@
390
390
  "key": "index.html",
391
391
  "contentType": "text/html; charset=utf-8",
392
392
  "bytes": 446,
393
- "sha256": "d46d5a5d3d0b4b9803189af4a98cd4aea5541698c56680ab9dc458d0231cb28e"
393
+ "sha256": "b9289d1cef08909bf028271333271decc56e8ea28cee1f6c075c634e8a82357a"
394
394
  },
395
395
  {
396
- "key": "live-program.v0.1.70.css",
396
+ "key": "live-program.v0.1.71.css",
397
397
  "contentType": "text/css; charset=utf-8",
398
398
  "bytes": 77718,
399
399
  "sha256": "f41d6c113bcb2a880f5ca0f4c66b3928fac71cf29f99149d5aa047b02928118e"
400
400
  },
401
401
  {
402
- "key": "live-program.v0.1.70.js",
402
+ "key": "live-program.v0.1.71.js",
403
403
  "contentType": "application/javascript; charset=utf-8",
404
404
  "bytes": 294937,
405
405
  "sha256": "3e1abe4ffb61cdef6c9fbf441548df60b972821aa4c4e119a5741a664ff089b0"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fifthbell/brokaw",
3
3
  "description": "Server-side Handlebars renderer and templates for fifthbell pages.",
4
- "version": "0.1.70",
4
+ "version": "0.1.71",
5
5
  "license": "MIT",
6
6
  "author": "fifthbell",
7
7
  "repository": {
@@ -43,7 +43,7 @@
43
43
  }
44
44
 
45
45
  function assignmentIdFromPath() {
46
- var match = window.location.pathname.match(/^\/media\/([^/]+)\/?$/);
46
+ var match = window.location.pathname.match(/^\/mediathek\/([^/]+)\/?$/);
47
47
  return match ? decodeURIComponent(match[1]) : '';
48
48
  }
49
49