@domternal/vue 0.12.1 → 0.14.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -376,11 +376,11 @@ declare const DomternalEditor: vue.DefineComponent<vue.ExtractPropTypes<{
376
376
  onDestroy: () => void;
377
377
  content: Content;
378
378
  class: string;
379
+ editable: boolean;
379
380
  onSelectionChange: (props: {
380
381
  editor: Editor;
381
382
  }) => void;
382
383
  extensions: AnyExtension[];
383
- editable: boolean;
384
384
  autofocus: FocusPosition;
385
385
  outputFormat: "html" | "json";
386
386
  immediatelyRender: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domternal/vue",
3
- "version": "0.12.1",
3
+ "version": "0.14.0",
4
4
  "description": "Vue 3 components for Domternal editor",
5
5
  "author": "https://github.com/ThomasNowHere",
6
6
  "license": "MIT",
@@ -20,14 +20,14 @@
20
20
  ],
21
21
  "peerDependencies": {
22
22
  "vue": ">=3.3",
23
- "@domternal/core": ">=0.12.0"
23
+ "@domternal/core": ">=0.14.0"
24
24
  },
25
25
  "scripts": {
26
26
  "build": "tsup",
27
27
  "dev": "tsup --watch",
28
28
  "lint": "eslint src",
29
29
  "typecheck": "tsc --noEmit",
30
- "prepublishOnly": "pnpm build && node -e \"const p=JSON.parse(require('fs').readFileSync('package.json','utf8'));delete p.devDependencies;if(p.dependencies){for(const[k,v]of Object.entries(p.dependencies)){if(v==='workspace:*')p.dependencies[k]='>=0.12.0'}}require('fs').writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\"",
30
+ "prepublishOnly": "pnpm build && node -e \"const p=JSON.parse(require('fs').readFileSync('package.json','utf8'));delete p.devDependencies;if(p.dependencies){for(const[k,v]of Object.entries(p.dependencies)){if(v==='workspace:*')p.dependencies[k]='>=0.14.0'}}require('fs').writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\"",
31
31
  "postpublish": "git checkout package.json"
32
32
  },
33
33
  "keywords": [