@quartz-community/syntax-highlighting 0.1.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 +24 -0
- package/dist/index.js +231 -207
- package/dist/index.js.map +1 -1
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
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
|
|
|
17
|
+
## 1.0.0
|
|
18
|
+
|
|
19
|
+
### Major Changes
|
|
20
|
+
|
|
21
|
+
- Stable 1.0 release. All `@quartz-community/*` dependencies now use `^1.0.0` ranges.
|
|
22
|
+
|
|
23
|
+
Pre-1.0 caret ranges pinned the minor version (`^0.2.1` means `>=0.2.1 <0.3.0`), so
|
|
24
|
+
published fixes to shared packages could never be resolved by dependents. Moving the
|
|
25
|
+
ecosystem to 1.0 makes caret ranges behave conventionally.
|
|
26
|
+
|
|
3
27
|
All notable changes to this project will be documented in this file.
|
|
4
28
|
|
|
5
29
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
|