histoire 0.15.9 → 0.16.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.
@@ -30,7 +30,7 @@ export async function createMarkdownRenderer(ctx) {
30
30
  })}</div>`,
31
31
  linkify: true,
32
32
  html: true,
33
- breaks: true,
33
+ breaks: false,
34
34
  });
35
35
  md.use(anchor, {
36
36
  slugify,
package/dist/node/vite.js CHANGED
@@ -131,6 +131,7 @@ export async function getViteConfigWithPlugins(isServer, ctx) {
131
131
  };
132
132
  },
133
133
  options() {
134
+ // @ts-ignore
134
135
  this.meta.histoire = {
135
136
  isCollecting: isServer,
136
137
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "histoire",
3
- "version": "0.15.9",
3
+ "version": "0.16.0",
4
4
  "description": "A fast story book powered by Vite",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -54,7 +54,7 @@
54
54
  "fs-extra": "^10.0.1",
55
55
  "globby": "^13.1.1",
56
56
  "gray-matter": "^4.0.3",
57
- "jiti": "^1.16.0",
57
+ "jiti": "^1.18.2",
58
58
  "jsdom": "^20.0.3",
59
59
  "markdown-it": "^12.3.2",
60
60
  "markdown-it-anchor": "^8.6.2",
@@ -81,7 +81,7 @@
81
81
  "@types/node": "^17.0.32",
82
82
  "rollup": "^3.5.1",
83
83
  "typescript": "^4.9.5",
84
- "vite": "^4.1.0"
84
+ "vite": "^4.2.0"
85
85
  },
86
86
  "scripts": {
87
87
  "build": "rimraf dist && tsc -d",
@@ -38,7 +38,7 @@ export async function createMarkdownRenderer (ctx: Context) {
38
38
  })}</div>`,
39
39
  linkify: true,
40
40
  html: true,
41
- breaks: true,
41
+ breaks: false,
42
42
  })
43
43
 
44
44
  md.use(anchor, {
package/src/node/vite.ts CHANGED
@@ -154,6 +154,7 @@ export async function getViteConfigWithPlugins (isServer: boolean, ctx: Context)
154
154
  },
155
155
 
156
156
  options () {
157
+ // @ts-ignore
157
158
  this.meta.histoire = {
158
159
  isCollecting: isServer,
159
160
  }