@quartz-community/syntax-highlighting 1.0.0 → 1.0.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/CHANGELOG.md +14 -0
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 1.0.1
|
|
2
|
+
|
|
3
|
+
### Patch Changes
|
|
4
|
+
|
|
5
|
+
- Add `shiki` to devDependencies so the package can be built from source.
|
|
6
|
+
|
|
7
|
+
`shiki` was declared only as a required peer dependency. Quartz sets
|
|
8
|
+
`legacy-peer-deps=true` in its root `.npmrc`, which npm inherits when the plugin loader
|
|
9
|
+
runs `npm install` inside `.quartz/plugins/`. Peers are then not auto-installed, so
|
|
10
|
+
building this plugin from a `github:` source failed with `Could not resolve "shiki"`.
|
|
11
|
+
|
|
12
|
+
Declaring it as a devDependency guarantees build-time availability. It is pruned by the
|
|
13
|
+
loader afterwards via `npm prune --omit=dev`, and remains a peer for consumers.
|
|
14
|
+
|
|
1
15
|
# Changelog
|
|
2
16
|
|
|
3
17
|
## 1.0.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quartz-community/syntax-highlighting",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Syntax highlighting transformer plugin for Quartz",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"@quartz-community/types": "^1.0.0"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
+
"@changesets/cli": "^2.29.2",
|
|
63
64
|
"@types/hast": "^3.0.4",
|
|
64
65
|
"@types/mdast": "^4.0.4",
|
|
65
66
|
"@types/node": "^24.10.0",
|
|
@@ -71,10 +72,10 @@
|
|
|
71
72
|
"prettier": "^3.6.2",
|
|
72
73
|
"rehype-pretty-code": "^0.14.0",
|
|
73
74
|
"sass": "^1.97.3",
|
|
75
|
+
"shiki": "^4.0.0",
|
|
74
76
|
"tsup": "^8.5.0",
|
|
75
77
|
"typescript": "^5.9.3",
|
|
76
|
-
"vitest": "^2.1.9"
|
|
77
|
-
"@changesets/cli": "^2.29.2"
|
|
78
|
+
"vitest": "^2.1.9"
|
|
78
79
|
},
|
|
79
80
|
"engines": {
|
|
80
81
|
"node": ">=22",
|