@mdit-vue/plugin-title 0.5.0 → 0.6.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.6.0](https://github.com/mdit-vue/mdit-vue/compare/v0.5.0...v0.6.0) (2022-07-11)
7
+
8
+ ### Features
9
+
10
+ - **types:** extract types from shared package ([5fc56ce](https://github.com/mdit-vue/mdit-vue/commit/5fc56ce6439159584e09e13ca9a6e87abe8f4389))
11
+
6
12
  # [0.5.0](https://github.com/mdit-vue/mdit-vue/compare/v0.4.0...v0.5.0) (2022-07-06)
7
13
 
8
14
  **Note:** Version bump only for package @mdit-vue/plugin-title
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { PluginSimple } from 'markdown-it';
2
2
 
3
- declare module '@mdit-vue/shared' {
3
+ declare module '@mdit-vue/types' {
4
4
  interface MarkdownItEnv {
5
5
  title?: string;
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdit-vue/plugin-title",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "A markdown-it plugin to get markdown page title",
5
5
  "keywords": [
6
6
  "markdown-it",
@@ -33,7 +33,8 @@
33
33
  "test": "vitest"
34
34
  },
35
35
  "dependencies": {
36
- "@mdit-vue/shared": "0.5.0",
36
+ "@mdit-vue/shared": "0.6.0",
37
+ "@mdit-vue/types": "0.6.0",
37
38
  "@types/markdown-it": "^12.2.3",
38
39
  "markdown-it": "^13.0.1"
39
40
  },
@@ -42,10 +43,10 @@
42
43
  "c8": "^7.11.3",
43
44
  "markdown-it-emoji": "^2.0.2",
44
45
  "unbuild": "^0.7.4",
45
- "vitest": "^0.17.0"
46
+ "vitest": "^0.18.0"
46
47
  },
47
48
  "publishConfig": {
48
49
  "access": "public"
49
50
  },
50
- "gitHead": "33671b4a15611ea35b065269526449129eef99d6"
51
+ "gitHead": "654a3a4d52f4fb9711bf5f7ba3674ff58ec663bf"
51
52
  }
@@ -1,5 +1,5 @@
1
1
  import { resolveTitleFromToken } from '@mdit-vue/shared';
2
- import type { MarkdownItEnv } from '@mdit-vue/shared';
2
+ import type { MarkdownItEnv } from '@mdit-vue/types';
3
3
  import type { PluginSimple } from 'markdown-it';
4
4
 
5
5
  /**
package/src/types.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export {};
2
2
 
3
- declare module '@mdit-vue/shared' {
3
+ declare module '@mdit-vue/types' {
4
4
  interface MarkdownItEnv {
5
5
  title?: string;
6
6
  }
@@ -1,4 +1,4 @@
1
- import type { MarkdownItEnv } from '@mdit-vue/shared';
1
+ import type { MarkdownItEnv } from '@mdit-vue/types';
2
2
  import MarkdownIt from 'markdown-it';
3
3
  import emojiPlugin from 'markdown-it-emoji';
4
4
  import { describe, expect, it } from 'vitest';