@waveso/docs 0.1.0 → 0.2.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 +84 -0
- package/README.md +111 -22
- package/dist/docs-error.d.ts +74 -0
- package/dist/docs-error.js +40 -0
- package/dist/frontmatter.d.ts +39 -7
- package/dist/frontmatter.js +51 -24
- package/dist/highlighter.d.ts +2 -2
- package/dist/highlighter.js +3 -2
- package/dist/map-pooled.d.ts +26 -0
- package/dist/map-pooled.js +45 -0
- package/dist/meta.d.ts +7 -3
- package/dist/meta.js +61 -15
- package/dist/next.d.ts +41 -19
- package/dist/next.js +117 -21
- package/dist/plugins/rehype-capture-toc.js +26 -15
- package/dist/plugins/rehype-code-language.d.ts +24 -0
- package/dist/plugins/rehype-code-language.js +48 -0
- package/dist/plugins/rehype-fallback-heading-ids.d.ts +6 -0
- package/dist/plugins/rehype-fallback-heading-ids.js +51 -0
- package/dist/plugins/rehype-flatten-roots.d.ts +7 -0
- package/dist/plugins/rehype-flatten-roots.js +39 -0
- package/dist/plugins/remark-doc-links.d.ts +12 -1
- package/dist/plugins/remark-doc-links.js +147 -20
- package/dist/react/markdown-components.js +71 -6
- package/dist/react/search-dialog.d.ts +23 -7
- package/dist/react/search-dialog.js +46 -29
- package/dist/react/toc.js +28 -5
- package/dist/react/youtube.js +6 -4
- package/dist/render.d.ts +43 -9
- package/dist/render.js +112 -50
- package/dist/search-index.d.ts +32 -14
- package/dist/search-index.js +45 -51
- package/dist/search-options.d.ts +32 -1
- package/dist/search-options.js +66 -3
- package/dist/section-boundary.d.ts +17 -0
- package/dist/section-boundary.js +43 -0
- package/dist/source.d.ts +13 -1
- package/dist/source.js +152 -56
- package/dist/styles.css +236 -90
- package/dist/types.d.ts +41 -27
- package/package.json +13 -12
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@waveso/docs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Markdown documentation for Next.js — parsed to hast in Node at build time, rendered as your own React components, zero parser bytes in the browser",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.css"
|
|
8
8
|
],
|
|
9
9
|
"license": "MIT",
|
|
10
|
+
"author": "Wave (https://github.com/wavedotso)",
|
|
10
11
|
"keywords": [
|
|
11
12
|
"documentation",
|
|
12
13
|
"docs",
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
"homepage": "https://github.com/wavedotso/wave-docs#readme",
|
|
26
27
|
"bugs": "https://github.com/wavedotso/wave-docs/issues",
|
|
27
28
|
"engines": {
|
|
28
|
-
"node": ">=
|
|
29
|
+
"node": ">=22.12.0"
|
|
29
30
|
},
|
|
30
31
|
"exports": {
|
|
31
32
|
"./package.json": "./package.json",
|
|
@@ -80,8 +81,13 @@
|
|
|
80
81
|
"dist",
|
|
81
82
|
"package.json",
|
|
82
83
|
"README.md",
|
|
84
|
+
"CHANGELOG.md",
|
|
83
85
|
"LICENSE"
|
|
84
86
|
],
|
|
87
|
+
"publishConfig": {
|
|
88
|
+
"access": "public",
|
|
89
|
+
"provenance": true
|
|
90
|
+
},
|
|
85
91
|
"dependencies": {
|
|
86
92
|
"@shikijs/langs": "4.4.3",
|
|
87
93
|
"@shikijs/rehype": "4.4.3",
|
|
@@ -102,21 +108,17 @@
|
|
|
102
108
|
"shiki": "4.4.3",
|
|
103
109
|
"unified": "^11.0.5",
|
|
104
110
|
"unist-util-visit": "^5.1.0",
|
|
105
|
-
"vfile": "^6.0.3"
|
|
111
|
+
"vfile": "^6.0.3",
|
|
112
|
+
"zod": "^4.4.3"
|
|
106
113
|
},
|
|
107
114
|
"peerDependencies": {
|
|
108
115
|
"next": "^16.0.0",
|
|
109
116
|
"react": "^19.0.0",
|
|
110
|
-
"react-dom": "^19.0.0"
|
|
111
|
-
"tailwindcss": "^4.0.0",
|
|
112
|
-
"zod": "^4.4.3"
|
|
117
|
+
"react-dom": "^19.0.0"
|
|
113
118
|
},
|
|
114
119
|
"peerDependenciesMeta": {
|
|
115
120
|
"next": {
|
|
116
121
|
"optional": true
|
|
117
|
-
},
|
|
118
|
-
"tailwindcss": {
|
|
119
|
-
"optional": true
|
|
120
122
|
}
|
|
121
123
|
},
|
|
122
124
|
"devDependencies": {
|
|
@@ -138,13 +140,12 @@
|
|
|
138
140
|
"tsdown": "^0.22.14",
|
|
139
141
|
"typescript": "^5.9.3",
|
|
140
142
|
"unrun": "^0.3.1",
|
|
141
|
-
"vitest": "^4.1.10"
|
|
142
|
-
"zod": "^4.4.3"
|
|
143
|
+
"vitest": "^4.1.10"
|
|
143
144
|
},
|
|
144
145
|
"devEngines": {
|
|
145
146
|
"runtime": {
|
|
146
147
|
"name": "node",
|
|
147
|
-
"version": ">=
|
|
148
|
+
"version": ">=26.0.0",
|
|
148
149
|
"onFail": "warn"
|
|
149
150
|
}
|
|
150
151
|
},
|