@kubb/parser-md 5.0.0-beta.33 → 5.0.0-beta.35

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
@@ -1,7 +1,6 @@
1
1
  <div align="center">
2
- <h1>@kubb/parser-md</h1>
3
2
  <a href="https://kubb.dev" target="_blank" rel="noopener noreferrer">
4
- <img width="180" src="https://raw.githubusercontent.com/kubb-labs/kubb/main/assets/logo.png" alt="Kubb logo">
3
+ <img src="https://kubb.dev/og.png" alt="Kubb banner">
5
4
  </a>
6
5
 
7
6
  [![npm version][npm-version-src]][npm-version-href]
@@ -11,7 +10,7 @@
11
10
  [![Sponsors][sponsors-src]][sponsors-href]
12
11
 
13
12
  <h4>
14
- <a href="https://kubb.dev/" target="_blank">Documentation</a>
13
+ <a href="https://kubb.dev" target="_blank">Documentation</a>
15
14
  <span> · </span>
16
15
  <a href="https://github.com/kubb-labs/kubb/issues/" target="_blank">Report Bug</a>
17
16
  <span> · </span>
@@ -19,7 +18,13 @@
19
18
  </h4>
20
19
  </div>
21
20
 
22
- Markdown source file parser for Kubb. Joins source blocks as plain markdown and renders YAML frontmatter via `parserMd.print`.
21
+ <br />
22
+
23
+ # @kubb/parser-md
24
+
25
+ ### Markdown source file parser for Kubb
26
+
27
+ Joins source blocks as plain markdown and renders YAML frontmatter via `parserMd.print`.
23
28
 
24
29
  ## Installation
25
30
 
@@ -68,9 +73,10 @@ Parser instance for `.md` and `.markdown` files. Pass to `defineConfig({ parsers
68
73
 
69
74
  ## Supporting Kubb
70
75
 
71
- Kubb is an open source project with its ongoing development made possible entirely by the support of Sponsors. If you would like to become a sponsor, please consider:
76
+ Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:
72
77
 
73
78
  - [Become a Sponsor on GitHub](https://github.com/sponsors/stijnvanhulle)
79
+ - [See sponsorship tiers and our sponsors](https://kubb.dev/sponsors)
74
80
 
75
81
  <p align="center">
76
82
  <a href="https://github.com/sponsors/stijnvanhulle">
@@ -78,6 +84,10 @@ Kubb is an open source project with its ongoing development made possible entire
78
84
  </a>
79
85
  </p>
80
86
 
87
+ ## License
88
+
89
+ [MIT](https://github.com/kubb-labs/kubb/blob/main/licenses/LICENSE-MIT)
90
+
81
91
  <!-- Badges -->
82
92
 
83
93
  [npm-version-src]: https://img.shields.io/npm/v/@kubb/parser-md?flat&colorA=18181B&colorB=f58517
package/dist/index.d.ts CHANGED
@@ -43,7 +43,7 @@ declare const parserMd: {
43
43
  name: string;
44
44
  extNames: (".md" | ".markdown")[];
45
45
  print(...parts: Array<PrintInput>): string;
46
- parse(file: ast.FileNode<any>): string;
46
+ parse(file: ast.FileNode<object>): string;
47
47
  };
48
48
  //#endregion
49
49
  export { type MdMeta, parserMd };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/parser-md",
3
- "version": "5.0.0-beta.33",
3
+ "version": "5.0.0-beta.35",
4
4
  "description": "Markdown source file parser for Kubb. Converts the universal AST to `.md` source and renders YAML frontmatter via the `print` helper.",
5
5
  "keywords": [
6
6
  "codegen",
@@ -43,7 +43,7 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "yaml": "^2.9.0",
46
- "@kubb/core": "5.0.0-beta.33"
46
+ "@kubb/core": "5.0.0-beta.35"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@internals/utils": "0.0.0"
@@ -58,6 +58,7 @@
58
58
  "lint:fix": "oxlint --fix .",
59
59
  "release": "pnpm publish --no-git-check",
60
60
  "release:canary": "bash ../../.github/canary.sh && node ../../scripts/build.js canary && pnpm publish --no-git-check",
61
+ "release:stage": "pnpm stage publish --no-git-check",
61
62
  "start": "tsdown --watch",
62
63
  "test": "vitest --passWithNoTests",
63
64
  "typecheck": "tsc -p ./tsconfig.json --noEmit --emitDeclarationOnly false"