Skip to content

Commit

Permalink
feat: new required version for peerDependency @editorjs/editorjs
Browse files Browse the repository at this point in the history
  • Loading branch information
natterstefan committed Mar 22, 2020
1 parent f3776b1 commit dce2565
Show file tree
Hide file tree
Showing 5 changed files with 1,135 additions and 467 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
parser: '@typescript-eslint/parser',
rules: {
'class-methods-use-this': 0,
'import/extensions': 0,
'sort-keys': 0,
'@typescript-eslint/interface-name-prefix': [
2,
Expand Down
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"arrowParens": "avoid",
"printWidth": 80,
"semi": false,
"singleQuote": true,
Expand Down
80 changes: 40 additions & 40 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"build-storybook": "build-storybook",
"contributors-add": "all-contributors add",
"contributors-generate": "all-contributors generate",
"lint": "tsc --noEmit && eslint '**/*.{ts,tsx}' --quiet",
"lint": "tsc --noEmit && eslint '**/*.{ts,tsx}' --quiet --cache",
"prebuild": "rimraf dist && rimraf es && rimraf esm && rimraf lib",
"prepublishOnly": "npm run build",
"postbuild": "npm run size",
Expand All @@ -56,72 +56,72 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"peerDependencies": {
"@editorjs/editorjs": ">=2.15"
"@editorjs/editorjs": "^2.16.0"
},
"devDependencies": {
"@babel/core": "^7.7.4",
"@babel/core": "^7.9.0",
"@editorjs/checklist": "^1.1.0",
"@editorjs/code": "^2.4.1",
"@editorjs/delimiter": "^1.1.0",
"@editorjs/editorjs": "^2.15.1",
"@editorjs/editorjs": "^2.16.2",
"@editorjs/embed": "^2.2.1",
"@editorjs/header": "^2.3.1",
"@editorjs/header": "^2.4.0",
"@editorjs/image": "^2.3.3",
"@editorjs/inline-code": "^1.3.0",
"@editorjs/inline-code": "^1.3.1",
"@editorjs/link": "^2.1.3",
"@editorjs/list": "^1.4.0",
"@editorjs/marker": "^1.2.1",
"@editorjs/paragraph": "^2.6.0",
"@editorjs/marker": "^1.2.2",
"@editorjs/paragraph": "^2.6.1",
"@editorjs/quote": "^2.3.0",
"@editorjs/raw": "^2.1.1",
"@editorjs/simple-image": "^1.3.3",
"@editorjs/table": "^1.2.0",
"@editorjs/table": "^1.2.2",
"@editorjs/warning": "^1.1.1",
"@natterstefan/react-editor-js": "^0.2.3",
"@natterstefan/react-editor-js": "^0.3.1",
"@size-limit/preset-small-lib": "^2.2.1",
"@storybook/addon-actions": "^5.2.6",
"@storybook/addons": "^5.2.6",
"@storybook/react": "^5.2.6",
"@types/enzyme": "^3.10.3",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/enzyme": "^3.10.5",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/react": "^16.9.13",
"@types/react-dom": "^16.9.4",
"@typescript-eslint/eslint-plugin": "^2.9.0",
"@typescript-eslint/parser": "^2.9.0",
"all-contributors-cli": "^6.11.0",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"all-contributors-cli": "^6.14.0",
"awesome-typescript-loader": "^5.2.1",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.1.0",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"eslint": "^6.7.1",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-ns": "^1.0.0",
"eslint-config-prettier": "^6.7.0",
"cz-conventional-changelog": "^3.1.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.1.0",
"eslint-config-ns": "^1.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^23.0.4",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.16.0",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": "^3.1.0",
"lint-staged": "^9.4.3",
"prettier": "^1.19.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^2.5.1",
"husky": "^4.2.3",
"lint-staged": "^10.0.8",
"prettier": "^2.0.1",
"react": "^16.12.0",
"react-docgen-typescript-loader": "^3.6.0",
"react-docgen-typescript-loader": "^3.7.1",
"react-dom": "^16.12.0",
"rimraf": "^3.0.0",
"rimraf": "^3.0.2",
"source-map-loader": "^0.2.4",
"standard-version": "^7.0.1",
"start-server-and-test": "^1.10.6",
"standard-version": "^7.1.0",
"start-server-and-test": "^1.10.11",
"storybook-readme": "^5.0.8",
"terser-webpack-plugin": "^2.2.1",
"typescript": "^3.7.2",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
"terser-webpack-plugin": "^2.3.5",
"typescript": "^3.8.3",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11"
},
"husky": {
"hooks": {
Expand Down
2 changes: 1 addition & 1 deletion src/inline-tools.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ export const UnderlineInlineTool = createGenericInlineTool({
tagName: 'U',
// icon taken from https://github.com/mui-org/material-ui/blob/4fba0dafd30f608937efa32883d151ba01fc9681/packages/material-ui-icons/src/FormatUnderlined.js
toolboxIcon:
'<svg width="34" height="34" viewBox="-8 0 38 24"><path d="M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z"></path></svg>',
'<svg width="24" height="24" viewBox="-8 0 38 24"><path d="M12 17c3.31 0 6-2.69 6-6V3h-2.5v8c0 1.93-1.57 3.5-3.5 3.5S8.5 12.93 8.5 11V3H6v8c0 3.31 2.69 6 6 6zm-7 2v2h14v-2H5z"></path></svg>',
})
Loading

0 comments on commit dce2565

Please sign in to comment.