@vibe-agent-toolkit/resource-compiler 0.1.13 → 0.1.15-rc.1
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 +10 -0
- package/package.json +2 -6
package/README.md
CHANGED
|
@@ -21,6 +21,16 @@ The resource compiler transforms markdown files into TypeScript modules with:
|
|
|
21
21
|
npm install -D @vibe-agent-toolkit/resource-compiler
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
+
## Use Cases
|
|
25
|
+
|
|
26
|
+
### Local Development
|
|
27
|
+
Use the compiler to import markdown files directly in your TypeScript projects with full IDE support.
|
|
28
|
+
|
|
29
|
+
### Publishing Packages
|
|
30
|
+
Create reusable npm packages of markdown content (prompts, documentation, knowledge bases) that other projects can consume with full type safety.
|
|
31
|
+
|
|
32
|
+
**📚 See the [TypeScript Resource Compiler Guides](../../docs/guides/resource-compiler/README.md)** for complete documentation on compiling, publishing, and consuming markdown resource packages.
|
|
33
|
+
|
|
24
34
|
## Quick Start
|
|
25
35
|
|
|
26
36
|
### 1. Create a Markdown File
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibe-agent-toolkit/resource-compiler",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15-rc.1",
|
|
4
4
|
"description": "Compile markdown resources to TypeScript with full IDE support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -43,15 +43,11 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"gray-matter": "^4.0.3",
|
|
46
|
-
"unified": "^11.0.5",
|
|
47
|
-
"remark-parse": "^11.0.0",
|
|
48
|
-
"remark-stringify": "^11.0.0",
|
|
49
|
-
"@kayvan/markdown-tree-parser": "^1.0.0",
|
|
50
46
|
"slugify": "^1.6.6",
|
|
51
47
|
"glob": "^10.3.10",
|
|
52
48
|
"chokidar": "^3.6.0",
|
|
53
49
|
"commander": "^11.1.0",
|
|
54
|
-
"@vibe-agent-toolkit/utils": "0.1.
|
|
50
|
+
"@vibe-agent-toolkit/utils": "0.1.15-rc.1"
|
|
55
51
|
},
|
|
56
52
|
"devDependencies": {
|
|
57
53
|
"@types/node": "^20.11.5",
|