Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

chore: add missing packages

thecodrrc7dd6b5d4925
diff --git a/apps/web/package.json b/apps/web/package.json
index 2909b357b..dc3a275db 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -7,6 +7,7 @@
"@mdi/react": "^1.4.0",
"@rebass/forms": "^4.0.6",
"emotion-theming": "^10.0.19",
+ "fast-sort": "^2.1.1",
"framer-motion": "^1.10.3",
"immer": "^6.0.3",
"libsodium-wrappers": "0.7.6",
@@ -15,7 +16,6 @@
"notes-core": "npm:@streetwriters/notesnook-core@latest",
"quill": "https://github.com/thecodrr/quill.git#1.3.7",
"quill-magic-url": "^1.0.3",
- "quill-markdown-shortcuts": "^0.0.10",
"react": "^16.13.1",
"react-app-polyfill": "^1.0.6",
"react-dom": "^16.13.1",
@@ -27,8 +27,13 @@
"zustand": "^2.2.3"
},
"devDependencies": {
- "babel-loader": "8.1.0",
+ "babel-eslint": "^10.1.0",
"eslint": "^6.8.0",
+ "eslint-config-react-app": "^5.2.1",
+ "eslint-plugin-import": "^2.20.2",
+ "eslint-plugin-jsx-a11y": "^6.2.3",
+ "eslint-plugin-react": "^7.19.0",
+ "eslint-plugin-react-hooks": "^3.0.0",
"typescript": "^3.8.3"
},
"scripts": {
diff --git a/apps/web/src/components/menu/index.js b/apps/web/src/components/menu/index.js
index 1cdfd1ab7..d92237663 100644
--- a/apps/web/src/components/menu/index.js
+++ b/apps/web/src/components/menu/index.js
@@ -35,7 +35,6 @@ function Menu(props) {
key={item.title}
onClick={(e) => {
e.stopPropagation();
- //Dropdown.closeLastOpened();
if (props.closeMenu) {
props.closeMenu();
}
diff --git a/apps/web/yarn.lock b/apps/web/yarn.lock
index 9ce497921..b4d354887 100644
--- a/apps/web/yarn.lock
+++ b/apps/web/yarn.lock
@@ -2264,7 +2264,7 @@ babel-code-frame@^6.22.0:
esutils "^2.0.2"
js-tokens "^3.0.2"
[email protected], babel-eslint@^10.1.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232"
integrity sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==
@@ -4151,7 +4151,25 @@ [email protected]:
read-pkg-up "^2.0.0"
resolve "^1.12.0"
+eslint-plugin-import@^2.20.2:
+ version "2.20.2"
+ resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.20.2.tgz#91fc3807ce08be4837141272c8b99073906e588d"
+ integrity sha512-FObidqpXrR8OnCh4iNsxy+WACztJLXAHBO5hK79T1Hc77PgQZkyDGA5Ag9xAvRpglvLNxhH/zSmZ70/pZ31dHg==
+ dependencies:
+ array-includes "^3.0.3"
+ array.prototype.flat "^1.2.1"
+ contains-path "^0.1.0"
+ debug "^2.6.9"
+ doctrine "1.5.0"
+ eslint-import-resolver-node "^0.3.2"
+ eslint-module-utils "^2.4.1"
+ has "^1.0.3"
+ minimatch "^3.0.4"
+ object.values "^1.1.0"
+ read-pkg-up "^2.0.0"
+ resolve "^1.12.0"
+
[email protected], eslint-plugin-jsx-a11y@^6.2.3:
version "6.2.3"
resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.3.tgz#b872a09d5de51af70a97db1eea7dc933043708aa"
integrity sha512-CawzfGt9w83tyuVekn0GDPU9ytYtxyxyFZ3aSWROmnRRFQFT2BiPJd7jvRdzNDi6oLWaS2asMeYSNMjWTV4eNg==
@@ -4171,7 +4189,12 @@ eslint-plugin-react-hooks@^1.6.1:
resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-1.7.0.tgz#6210b6d5a37205f0b92858f895a4e827020a7d04"
integrity sha512-iXTCFcOmlWvw4+TOE8CLWj6yX1GwzT0Y6cUfHHZqWnSk144VmVIRcVGtUAzrLES7C798lmvnt02C7rxaOX1HNA==
+eslint-plugin-react-hooks@^3.0.0:
+ version "3.0.0"
+ resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-3.0.0.tgz#9e80c71846eb68dd29c3b21d832728aa66e5bd35"
+ integrity sha512-EjxTHxjLKIBWFgDJdhKKzLh5q+vjTFrqNZX36uIxWS4OfyXe5DawqPj3U5qeJ1ngLwatjzQnmR0Lz0J0YH3kxw==
+
[email protected], eslint-plugin-react@^7.19.0:
version "7.19.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.19.0.tgz#6d08f9673628aa69c5559d33489e855d83551666"
integrity sha512-SPT8j72CGuAP+JFbT0sJHOB80TX/pu44gQ4vXH/cq+hQTiY2PuZ6IHkqXJV6x1b28GDdo1lbInjKUrrdUf0LOQ==
@@ -4526,7 +4549,7 @@ fast-levenshtein@~2.0.6:
resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917"
integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=
-fast-sort@^2.0.1:
+fast-sort@^2.0.1, fast-sort@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/fast-sort/-/fast-sort-2.1.1.tgz#b44f908b5bc28c442986682098eb879dba7f07f9"
integrity sha512-X8DNrUzoejZZ+AdAHCVXdKHUrbzz57jKG5/prsKKzyaVKwzSwzm0HQ76cPdo69LObWDShJ77Cn1nPMSXP87FOQ==
@@ -8762,14 +8785,7 @@ quill-magic-url@^1.0.3:
normalize-url "^3.0.1"
quill-delta "^3.6.2"
-quill-markdown-shortcuts@^0.0.10:
- version "0.0.10"
- resolved "https://registry.yarnpkg.com/quill-markdown-shortcuts/-/quill-markdown-shortcuts-0.0.10.tgz#00ca3e7b48e26f6771cb8f81678d02f9b719b7c9"
- integrity sha512-2FFFqqo65JgDgAGSer7cFQTCeiSjJF4N8lRGXGv/xjppCxSwj42OnNdGPZ/zeeCxdUY/j1LW4AiSvPQaTIkY2A==
- dependencies:
- quill "^1.3.1"
-
-quill@^1.3.1, "quill@https://github.com/thecodrr/quill.git#1.3.7":
+"quill@https://github.com/thecodrr/quill.git#1.3.7":
version "1.3.7"
resolved "https://github.com/thecodrr/quill.git#adbb4f12348764ceca69deaf3c507d8601fdea6e"
dependencies: