@forsakringskassan/docs-generator 1.27.0 → 1.29.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.
@@ -31,7 +31,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
31
31
  // file that has been converted to a CommonJS file using a Babel-
32
32
  // compatible transform (i.e. "__esModule" has not been set), then set
33
33
  // "default" to the CommonJS "module.exports" for node compatibility.
34
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
34
+ !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
35
35
  mod
36
36
  ));
37
37
  var require_lodash = __commonJS({
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var require$$0 = require('@vue/compiler-sfc');
4
- require('./vendor-Dmnzl4fQ.js');
4
+ require('./vendor-uab7h6x-.js');
5
5
 
6
6
  var __create = Object.create;
7
7
  var __defProp = Object.defineProperty;
@@ -32,7 +32,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
32
32
  // file that has been converted to a CommonJS file using a Babel-
33
33
  // compatible transform (i.e. "__esModule" has not been set), then set
34
34
  // "default" to the CommonJS "module.exports" for node compatibility.
35
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
35
+ !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
36
36
  mod
37
37
  ));
38
38
  var require_utils = __commonJS({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forsakringskassan/docs-generator",
3
- "version": "1.27.0",
3
+ "version": "1.29.0",
4
4
  "description": "Documentation generator",
5
5
  "keywords": [
6
6
  "documentation"
@@ -17,14 +17,14 @@
17
17
  "src/runtime/**/*"
18
18
  ],
19
19
  "exports": {
20
- ".": "./dist/generator.js",
20
+ ".": "./dist/index.js",
21
21
  "./markdown": "./dist/markdown.js",
22
22
  "./runtime": "./dist/runtime.js",
23
23
  "./docs.css": "./dist/style/index.css",
24
24
  "./style.css": "./dist/style/index.css",
25
25
  "./style/*.css": "./dist/style/*.css"
26
26
  },
27
- "main": "dist/generator.js",
27
+ "main": "dist/index.js",
28
28
  "files": [
29
29
  "dist",
30
30
  "tsconfig-examples.json",
@@ -0,0 +1,15 @@
1
+ {%- macro scmInfo(scm) -%}
2
+ {% if scm.pr %}<a href="{{ scm.prUrl }}">PR {{ scm.pr }}</a>{% endif %}
3
+ {{ scm.branch }} (<a href="{{ scm.commitUrl }}">{{ scm.commitShort }}</a>)<br />
4
+ {{ build.date }} {{ build.time }}
5
+ {%- endmacro -%}
6
+
7
+ <div class="toolbar__item">
8
+ <span class="version">
9
+ {% if scm -%}
10
+ {{ scmInfo(scm) }}
11
+ {%- else -%}
12
+ {{ pkg.version }}
13
+ {%- endif %}
14
+ </span>
15
+ </div>
@@ -1,3 +0,0 @@
1
- <div class="toolbar__item">
2
- <span class="version">{{ pkg.version }}</span>
3
- </div>