@lstsystems/ckeditor5-source-editing-codemirror 47.5.1 → 48.1.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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@lstsystems/ckeditor5-source-editing-codemirror",
3
3
  "description": "Source editing plugin for CKEditor 5 using CodeMirror.",
4
4
  "private": false,
5
- "version": "47.5.1",
5
+ "version": "48.1.0",
6
6
  "type": "module",
7
7
  "main": "dist/sourceediting-codemirror.js",
8
8
  "module": "dist/sourceediting-codemirror.js",
@@ -15,26 +15,37 @@
15
15
  },
16
16
  "scripts": {
17
17
  "dev": "vite",
18
- "build": "tsc -p tsconfig.build.json && vite build",
18
+ "build": "vite build",
19
19
  "preview": "vite preview",
20
20
  "test": "playwright test",
21
21
  "test:ui": "playwright test --ui"
22
22
  },
23
23
  "dependencies": {
24
- "@codemirror/commands": "^6.10.2",
24
+ "@codemirror/commands": "^6.10.3",
25
25
  "@codemirror/lang-html": "^6.4.11",
26
- "@codemirror/language": "^6.12.1",
27
- "@codemirror/state": "^6.5.4",
28
- "@codemirror/view": "^6.39.15",
29
- "ckeditor5": "^47.5.0",
30
- "prettier": "^3.8.1"
26
+ "@codemirror/language": "^6.12.3",
27
+ "@codemirror/state": "^6.6.0",
28
+ "@codemirror/view": "^6.43.0",
29
+ "ckeditor5": "^48.1.0",
30
+ "prettier": "^3.8.3"
31
31
  },
32
32
  "devDependencies": {
33
- "@playwright/test": "^1.58.2",
34
- "typescript": "^5.9.3",
35
- "vite": "^7.3.1"
33
+ "@playwright/test": "^1.60.0",
34
+ "typescript": "^6.0.3",
35
+ "vite": "^8.0.13"
36
36
  },
37
37
  "author": "LST Systems",
38
- "license": "SEE LICENSE.md",
39
- "homepage": "https://github.com/AlphaDepot/ckeditor5-source-editing-codemirror"
38
+ "license": "GPL-2.0-or-later",
39
+ "homepage": "https://github.com/AlphaDepot/ckeditor5-source-editing-codemirror",
40
+ "keywords": [
41
+ "ckeditor5",
42
+ "ckeditor5-feature",
43
+ "ckeditor5-plugin",
44
+ "ckeditor5-source-editing",
45
+ "ckeditor5-codemirror"
46
+ ],
47
+ "repository": {
48
+ "type": "git",
49
+ "url": "https://github.com/AlphaDepot/ckeditor5-source-editing-codemirror"
50
+ }
40
51
  }
package/tsconfig.json CHANGED
@@ -1,4 +1,4 @@
1
- {
1
+ {
2
2
  "compilerOptions": {
3
3
  "target": "ES2020",
4
4
  "module": "ESNext",
@@ -7,7 +7,13 @@
7
7
  "strict": true,
8
8
  "esModuleInterop": true,
9
9
  "skipLibCheck": true,
10
- "allowSyntheticDefaultImports": true
10
+ "allowSyntheticDefaultImports": true,
11
+ "declaration": true,
12
+ "emitDeclarationOnly": true,
13
+ "outDir": "./dist",
14
+ "declarationMap": false,
15
+ "useDefineForClassFields": true,
16
+ "exactOptionalPropertyTypes": true
11
17
  },
12
- "include": ["./**/*.ts"]
18
+ "include": ["src/**/*", "playwright/**/*.ts"]
13
19
  }
package/vite.config.js CHANGED
@@ -5,14 +5,13 @@ export default defineConfig({
5
5
  root: 'Sample',
6
6
 
7
7
  build: {
8
- // Build from project root, not Sample/
9
8
  outDir: '../dist',
10
9
  emptyOutDir: false,
11
10
  lib: {
12
11
  entry: path.resolve(__dirname, 'src/index.ts'),
13
12
  name: 'SourceEditingCodeMirror',
14
13
  fileName: 'sourceediting-codemirror',
15
- formats: ['es'] // You only need ESM for CKEditor
14
+ formats: ['es']
16
15
  },
17
16
  rollupOptions: {
18
17
  external: [
@@ -43,8 +42,6 @@ export default defineConfig({
43
42
  'prettier/plugins/yaml': 'prettierYaml'
44
43
  }
45
44
  }
46
-
47
45
  }
48
- },
49
-
46
+ }
50
47
  });
@@ -1,17 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "module": "ESNext",
5
- "moduleResolution": "Node",
6
- "lib": ["ES2020", "DOM"],
7
- "strict": false,
8
- "esModuleInterop": true,
9
- "skipLibCheck": true,
10
- "declaration": true,
11
- "emitDeclarationOnly": true,
12
- "noEmit": false,
13
- "outDir": "./dist",
14
- "declarationMap": false
15
- },
16
- "include": ["src/**/*"]
17
- }