fb-slides 0.11.0 → 0.11.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/CHANGELOG.md +12 -0
- package/lib/build.mjs +4 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ this — which makes it worth being able to see what arrived.
|
|
|
7
7
|
Entries are written as the work lands, under **Unreleased**; the release commit
|
|
8
8
|
that stamps the version renames that heading to the version and its date.
|
|
9
9
|
|
|
10
|
+
## 0.11.1 — 2026-09-23
|
|
11
|
+
|
|
12
|
+
- **`build` ships the runtime again from an installed package.** `dist/` came
|
|
13
|
+
out without `deck.js`, the plugins, `theme.base.css` and `themes/` whenever
|
|
14
|
+
the package had been installed from npm: the runtime lives under the
|
|
15
|
+
project's `node_modules/`, and the filter that keeps a demo's `node_modules`
|
|
16
|
+
out of the build matched it too. The page pointed at files that were not
|
|
17
|
+
there and came up black. The runtime copy no longer goes through that
|
|
18
|
+
filter — everything in `runtime/` is shipped on purpose. Running `build`
|
|
19
|
+
from this repository never showed it, because here the runtime is not under
|
|
20
|
+
`node_modules/`.
|
|
21
|
+
|
|
10
22
|
## 0.11.0 — 2026-09-23
|
|
11
23
|
|
|
12
24
|
- **Two named themes, and a picker to try them with.** `themePack:` in
|
package/lib/build.mjs
CHANGED
|
@@ -37,10 +37,12 @@ export const build = async (config, runtimeDir, { quiet = false } = {}) => {
|
|
|
37
37
|
relative(config.root, src).split(sep).some((part) => config.exclude.includes(part));
|
|
38
38
|
|
|
39
39
|
// 1. the runtime — everything this package ships except the index template,
|
|
40
|
-
// which is rendered below rather than copied.
|
|
40
|
+
// which is rendered below rather than copied. Not through `excluded`: that
|
|
41
|
+
// filter is for the project's own tree, and in a project that installed
|
|
42
|
+
// this package the runtime sits under node_modules/, which it would match.
|
|
41
43
|
await cp(runtimeDir, out, {
|
|
42
44
|
recursive: true,
|
|
43
|
-
filter: (src) => basename(src) !== 'index.html'
|
|
45
|
+
filter: (src) => basename(src) !== 'index.html',
|
|
44
46
|
});
|
|
45
47
|
|
|
46
48
|
// 2. reveal + mermaid, the UMD entry points only.
|