@edc4it/reveal.js-external-code 1.1.7 → 2.0.0

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
@@ -2,6 +2,15 @@
2
2
 
3
3
  [![Version](https://img.shields.io/npm/v/@edc4it/reveal.js-external-code)](#)
4
4
 
5
+ ## Compatibility
6
+
7
+ | Plugin version | reveal.js |
8
+ |-----------------|-----------|
9
+ | `2.x` | `6.x` |
10
+ | `1.x` | `5.x` |
11
+
12
+ ---
13
+
5
14
  A [reveal.js](https://revealjs.com/) plugin to load code from the server.
6
15
  This is helpful when code samples/demos are part
7
16
  of your reveal.js presentation.
package/dist/options.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Options as RevealOptions } from 'reveal.js';
1
+ import { RevealConfig as RevealOptions } from 'reveal.js';
2
2
  import { DeepPartial } from './util/utility-types.ts';
3
3
  export type CodeBlockOptions = {
4
4
  trim: boolean;
package/dist/plugin.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Api as RevealAPI } from 'reveal.js';
1
+ import { RevealApi as RevealAPI } from 'reveal.js';
2
2
  declare const _default: () => {
3
3
  id: string;
4
4
  init: (deck: RevealAPI) => Promise<void[]> | undefined;
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "syntax",
11
11
  "diagrams"
12
12
  ],
13
- "version": "1.1.7",
13
+ "version": "2.0.0",
14
14
  "files": [
15
15
  "dist"
16
16
  ],
@@ -28,13 +28,12 @@
28
28
  "test": "vitest",
29
29
  "preview": "vite preview",
30
30
  "lint": "eslint . --ext .ts,.tsx",
31
- "prepare": "husky"
31
+ "prepare": "husky || true && yarn build"
32
32
  },
33
33
  "lint-staged": {
34
34
  "*.ts": "eslint --cache --fix"
35
35
  },
36
36
  "devDependencies": {
37
- "@types/reveal.js": "^5.0.1",
38
37
  "@typescript-eslint/eslint-plugin": "^7.4.0",
39
38
  "@typescript-eslint/parser": "^7.4.0",
40
39
  "autoprefixer": "^10.4.19",
@@ -52,7 +51,7 @@
52
51
  },
53
52
  "dependencies": {
54
53
  "deepmerge": "^4.3.1",
55
- "reveal.js": "^5.0.5",
54
+ "reveal.js": "^6.0.1",
56
55
  "simple-notify": "^1.0.4"
57
56
  },
58
57
  "bugs": {