@farberg/reveal-template 1.1.0 → 1.1.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.
package/init-reveal.js CHANGED
@@ -27,14 +27,14 @@ const externalJsLibs = [
27
27
  'node_modules/easyqrcodejs/dist/easy.qrcode.min.js',
28
28
  'node_modules/file-saver/dist/FileSaver.min.js',
29
29
  'node_modules/jszip/dist/jszip.min.js',
30
- 'node_modules/reveal.js-plugins/chalkboard/plugin.js',
30
+ //'node_modules/reveal.js-plugins/chalkboard/plugin.js',
31
31
  'node_modules/asciinema-player/dist/bundle/asciinema-player.min.js'
32
32
  ]
33
33
 
34
34
  const extraStylesheets = [
35
35
  { href: 'node_modules/reveal.js/dist/reveal.css' },
36
36
  { href: 'node_modules/reveal.js/plugin/highlight/zenburn.css' },
37
- { href: 'node_modules/reveal.js-plugins/chalkboard/style.css' },
37
+ //{ href: 'node_modules/reveal.js-plugins/chalkboard/style.css' },
38
38
  { href: 'node_modules/asciinema-player/dist/bundle/asciinema-player.css' }
39
39
  ]
40
40
 
@@ -210,7 +210,7 @@ export function initReveal(opts) {
210
210
  finalOptions.plugins = [
211
211
  ...modules,
212
212
  ...defaultDennisPlugins,
213
- window.RevealChalkboard,
213
+ //window.RevealChalkboard,
214
214
  ...finalOptions.plugins
215
215
  ]
216
216
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farberg/reveal-template",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "homepage": "https://github.com/pfisterer/reveal-template",
5
5
  "description": "Reveal.js template for Dennis' lectures",
6
6
  "main": "index.js",
@@ -21,7 +21,6 @@
21
21
  "jszip": "^3.10.1",
22
22
  "qrcode": "1.5.4",
23
23
  "reveal.js": "^5.1.0",
24
- "reveal.js-plugins": "^4.2.5",
25
24
  "connect": "^3.7.0",
26
25
  "pdf-merger-js": "^5.1.2",
27
26
  "puppeteer": "^24.2.1",
@@ -5,7 +5,6 @@ const os = require('os');
5
5
  const path = require('path');
6
6
  const fs = require('fs');
7
7
  const puppeteer = require('puppeteer')
8
- const PDFMerger = require('pdf-merger-js');
9
8
  const { combined_pdf, pdf_exists_and_is_newer_than_markdown } = require('./helpers')
10
9
 
11
10
  const cwd = process.cwd()
@@ -145,6 +144,7 @@ async function convert_to_pdf_single(todo) {
145
144
 
146
145
  async function merge_pdfs(todos, out_file) {
147
146
  const out_file_path = path.join(pdf_dir, path.basename(out_file))
147
+ const { default: PDFMerger } = await import("pdf-merger-js");
148
148
  const merger = new PDFMerger()
149
149
 
150
150
  let pdfs = todos