@quartz-community/syntax-highlighting 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +10 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.0.2
2
+
3
+ ### Patch Changes
4
+
5
+ - 450ef39: The manifest declares that the plugin provides the code blocks' clipboard button (`quartz.capabilities`), so plugins that use it (e.g. Mermaid controls) can declare the dependency and Quartz 5.1+ can report it when the plugin is off. Older versions ignore the field.
6
+
1
7
  ## 1.0.1
2
8
 
3
9
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quartz-community/syntax-highlighting",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Syntax highlighting transformer plugin for Quartz",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -42,7 +42,8 @@
42
42
  "typecheck": "tsc --noEmit",
43
43
  "check": "npm run typecheck && npm run lint && npm run format && npm run test",
44
44
  "prepublishOnly": "npm run build",
45
- "release": "npm run build && changeset publish"
45
+ "release": "npm run build && changeset publish",
46
+ "version-packages": "changeset version && npm install --package-lock-only --ignore-scripts --no-audit --no-fund"
46
47
  },
47
48
  "peerDependencies": {
48
49
  "preact": "^10.0.0",
@@ -112,6 +113,13 @@
112
113
  "tokenClassification": {
113
114
  "type": "boolean"
114
115
  }
116
+ },
117
+ "capabilities": {
118
+ "provides": {
119
+ "dom": [
120
+ ".clipboard-button"
121
+ ]
122
+ }
115
123
  }
116
124
  },
117
125
  "publishConfig": {