From 4a17a88d7ca222d689cf0d055143879bf664fcc3 Mon Sep 17 00:00:00 2001 From: Sauli Anto Date: Thu, 27 Feb 2020 18:01:21 +0200 Subject: [PATCH] Update dependencies to v17.0.0 --- .stylelintrc | 3 +++ README.md | 5 +++++ package.json | 36 +++++++++++++++++++++++------------- 3 files changed, 31 insertions(+), 13 deletions(-) create mode 100644 .stylelintrc diff --git a/.stylelintrc b/.stylelintrc new file mode 100644 index 000000000..1d86a41f9 --- /dev/null +++ b/.stylelintrc @@ -0,0 +1,3 @@ +{ + "extends": "stylelint-config-ckeditor5" +} diff --git a/README.md b/README.md index 703288328..3f8a607b6 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 5ff341d2e..08f17b1f7 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"