Skip to content

Build your personal knowledge base with Trilium Notes

Update dependencies to v17.0.0

Sauli Anto4a17a88d7ca2
diff --git a/.stylelintrc b/.stylelintrc
new file mode 100644
index 0000000000..1d86a41f98
--- /dev/null
+++ b/.stylelintrc
@@ -0,0 +1,3 @@
+{
+ "extends": "stylelint-config-ckeditor5"
+}
diff --git a/README.md b/README.md
index 7032883286..3f8a607b6c 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,7 @@ This is the best* TeX-based mathematical plugin for CKEditor 5. You can use it t
- [Features](#features)
- [Demos](#demos)
- [Screenshots](#screenshots)
+- [Requirements](#requirements)
- [Examples](#examples)
- [Installation](#installation)
* [Styles for Lark theme](#styles-for-lark-theme)
@@ -40,6 +41,10 @@ This is the best* TeX-based mathematical plugin for CKEditor 5. You can use it t
![Screenshot 2](/screenshots/2.png?raw=true "Screenshot 2")
+## Requirements
+
+- CKEditor v17.0.0
+
## Examples
[Link to examples repository](https://github.com/isaul32/ckeditor5-math-examples)
diff --git a/package.json b/package.json
index 5ff341d2eb..08f17b1f79 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ckeditor5-math",
- "version": "1.0.3",
+ "version": "17.0.0",
"description": "Math feature for CKEditor 5.",
"keywords": [
"ckeditor",
@@ -10,23 +10,25 @@
"ckeditor5-plugin"
],
"dependencies": {
- "@ckeditor/ckeditor5-clipboard": "^12.0.2",
- "@ckeditor/ckeditor5-core": "^12.3.0",
- "@ckeditor/ckeditor5-engine": "^14.0.0",
- "@ckeditor/ckeditor5-ui": "^14.0.0",
- "@ckeditor/ckeditor5-undo": "^11.0.5",
- "@ckeditor/ckeditor5-utils": "^14.0.0",
- "@ckeditor/ckeditor5-widget": "^11.1.0"
+ "@ckeditor/ckeditor5-clipboard": "^17.0.0",
+ "@ckeditor/ckeditor5-core": "^17.0.0",
+ "@ckeditor/ckeditor5-engine": "^17.0.0",
+ "@ckeditor/ckeditor5-ui": "^17.0.0",
+ "@ckeditor/ckeditor5-undo": "^17.0.0",
+ "@ckeditor/ckeditor5-utils": "^17.0.0",
+ "@ckeditor/ckeditor5-widget": "^17.0.0"
},
"devDependencies": {
- "@ckeditor/ckeditor5-dev-tests": "^16.9.0",
- "@ckeditor/ckeditor5-editor-inline": "^12.3.0",
- "@ckeditor/ckeditor5-essentials": "^11.0.5",
- "@ckeditor/ckeditor5-paragraph": "^11.0.5",
+ "@ckeditor/ckeditor5-dev-tests": "^18.0.0",
+ "@ckeditor/ckeditor5-editor-inline": "^17.0.0",
+ "@ckeditor/ckeditor5-essentials": "^17.0.0",
+ "@ckeditor/ckeditor5-paragraph": "^17.0.0",
"eslint": "^5.5.0",
"eslint-config-ckeditor5": "^2.0.0",
"husky": "^1.3.1",
- "lint-staged": "^7.0.0"
+ "lint-staged": "^7.0.0",
+ "stylelint": "^11.1.1",
+ "stylelint-config-ckeditor5": "^1.0.0"
},
"engines": {
"node": ">=8.0.0",
@@ -47,13 +49,21 @@
"scripts": {
"lint": "eslint --quiet **/*.js",
"lint:fix": "eslint --quiet **/*.js --fix",
+ "stylelint": "stylelint --quiet --allow-empty-input 'theme/**/*.css' 'docs/**/*.css'",
"test": "node node_modules/@ckeditor/ckeditor5-dev-tests/bin/test.js"
},
"lint-staged": {
"**/*.js": [
"eslint --quiet"
+ ],
+ "**/*.css": [
+ "stylelint --quiet --allow-empty-input"
]
},
+ "eslintIgnore": [
+ "src/lib/**",
+ "packages/**"
+ ],
"husky": {
"hooks": {
"pre-commit": "lint-staged"