@stritti/vitepress-plugin-openspec 0.4.0 → 0.5.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/README.md +4 -14
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -7,15 +7,9 @@ A [VitePress](https://vitepress.dev/) plugin that renders your project's [OpenSp
|
|
|
7
7
|
## Installation
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
+
npm install @stritti/vitepress-plugin-openspec
|
|
11
|
+
# or with bun:
|
|
10
12
|
bun add @stritti/vitepress-plugin-openspec
|
|
11
|
-
# or: npm install @stritti/vitepress-plugin-openspec
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
The package is also available from [GitHub Packages](https://github.com/stritti/vitepress-plugin-openspec/pkgs/npm/vitepress-plugin-openspec). To install from there, add an `.npmrc` in your project root with a [personal access token](https://github.com/settings/tokens) that has `read:packages` scope:
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
@stritti:registry=https://npm.pkg.github.com
|
|
18
|
-
//npm.pkg.github.com/:_authToken=YOUR_GITHUB_TOKEN
|
|
19
13
|
```
|
|
20
14
|
|
|
21
15
|
---
|
|
@@ -94,7 +88,7 @@ openspec/ ← your source (not committed if used as output)
|
|
|
94
88
|
└── archive/
|
|
95
89
|
└── YYYY-MM-DD-<change-name>/
|
|
96
90
|
|
|
97
|
-
docs/openspec/ ← generated by the plugin (
|
|
91
|
+
docs/openspec/ ← generated by the plugin (automatically gitignored)
|
|
98
92
|
├── index.md
|
|
99
93
|
├── specs/
|
|
100
94
|
│ ├── index.md
|
|
@@ -111,11 +105,7 @@ docs/openspec/ ← generated by the plugin (add to .gitignore)
|
|
|
111
105
|
└── ...
|
|
112
106
|
```
|
|
113
107
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
```
|
|
117
|
-
docs/openspec/
|
|
118
|
-
```
|
|
108
|
+
The plugin automatically writes a `.gitignore` into the output directory that excludes all generated files from version control. No manual `.gitignore` entry is needed.
|
|
119
109
|
|
|
120
110
|
---
|
|
121
111
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stritti/vitepress-plugin-openspec",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "A VitePress plugin that integrates OpenSpec documentation into your VitePress site",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openspec",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"docs:build": "cd docs && bun run build"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"js-yaml": "^4.1.
|
|
44
|
+
"js-yaml": "^4.1.1",
|
|
45
45
|
"picocolors": "^1.1.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"@types/js-yaml": "^4.0.9",
|
|
53
53
|
"@types/node": "^25.4.0",
|
|
54
54
|
"semantic-release": "^25.0.3",
|
|
55
|
-
"tsup": "^8.
|
|
56
|
-
"typescript": "^5.
|
|
55
|
+
"tsup": "^8.5.1",
|
|
56
|
+
"typescript": "^5.9.3",
|
|
57
57
|
"vite": "^7.3.1",
|
|
58
|
-
"vitepress": "^1.
|
|
58
|
+
"vitepress": "^1.6.4",
|
|
59
59
|
"vitest": "^4.0.18"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|