fix: add missing rich-markdown-editor dependency

fixes #122
This commit is contained in:
Jordan Knott 2021-09-04 12:15:38 -05:00
parent 05799fce90
commit 2b4f94117c
5 changed files with 43 additions and 4 deletions

View File

@ -6,6 +6,7 @@
"@apollo/client": "^3.3.16", "@apollo/client": "^3.3.16",
"@apollo/react-common": "^3.1.4", "@apollo/react-common": "^3.1.4",
"@apollo/react-hooks": "^4.0.0", "@apollo/react-hooks": "^4.0.0",
"@taskcafe/rich-markdown-editor": "^11.0.10",
"@types/color": "^3.0.1", "@types/color": "^3.0.1",
"@types/dompurify": "^2.2.2", "@types/dompurify": "^2.2.2",
"@types/emoji-mart": "^3.0.4", "@types/emoji-mart": "^3.0.4",
@ -59,7 +60,7 @@
"react-select": "^4.3.0", "react-select": "^4.3.0",
"react-timeago": "^5.2.0", "react-timeago": "^5.2.0",
"react-toastify": "^7.0.4", "react-toastify": "^7.0.4",
"@taskcafe/rich-markdown-editor": "^11.0.10", "rich-markdown-editor": "^11.17.4-0",
"styled-components": "^5.2.3", "styled-components": "^5.2.3",
"typescript": "~4.2.4" "typescript": "~4.2.4"
}, },

View File

@ -515,7 +515,6 @@ const TaskDetails: React.FC<TaskDetailsProps> = ({
defaultValue={task.description ?? ''} defaultValue={task.description ?? ''}
readOnly={user === null || !editTaskDescription} readOnly={user === null || !editTaskDescription}
autoFocus autoFocus
theme={dark}
onChange={(value) => { onChange={(value) => {
setSaveTimeout(() => { setSaveTimeout(() => {
clearTimeout(saveTimeout); clearTimeout(saveTimeout);

View File

@ -150,7 +150,7 @@ export const ProfileIcon = styled.div<{
export const ProjectMeta = styled.div<{ nameOnly?: boolean }>` export const ProjectMeta = styled.div<{ nameOnly?: boolean }>`
display: flex; display: flex;
${props => !props.nameOnly && 'padding-top: 9px;'} ${props => !props.nameOnly && 'padding-top: 9px;'}
margin-left: -14px; margin-left: -6px;
align-items: center; align-items: center;
max-width: 100%; max-width: 100%;
min-height: 51px; min-height: 51px;

View File

@ -11287,6 +11287,15 @@ prosemirror-utils@^0.9.6:
resolved "https://registry.yarnpkg.com/prosemirror-utils/-/prosemirror-utils-0.9.6.tgz#3d97bd85897e3b535555867dc95a51399116a973" resolved "https://registry.yarnpkg.com/prosemirror-utils/-/prosemirror-utils-0.9.6.tgz#3d97bd85897e3b535555867dc95a51399116a973"
integrity sha512-UC+j9hQQ1POYfMc5p7UFxBTptRiGPR7Kkmbl3jVvU8VgQbkI89tR/GK+3QYC8n+VvBZrtAoCrJItNhWSxX3slA== integrity sha512-UC+j9hQQ1POYfMc5p7UFxBTptRiGPR7Kkmbl3jVvU8VgQbkI89tR/GK+3QYC8n+VvBZrtAoCrJItNhWSxX3slA==
prosemirror-view@1.18.1:
version "1.18.1"
resolved "https://registry.yarnpkg.com/prosemirror-view/-/prosemirror-view-1.18.1.tgz#52ad1c67f51144e27e368bba129142ce87c7791e"
integrity sha512-TZd8byDRfdopLiokBY7T27msCSfWqqRxWs/LnBbdI030F+iI2kS+tO59/XFnpZxMLFKlJgOgGGhM9SzD1Nwdxw==
dependencies:
prosemirror-model "^1.1.0"
prosemirror-state "^1.0.0"
prosemirror-transform "^1.1.0"
prosemirror-view@^1.0.0, prosemirror-view@^1.1.0, prosemirror-view@^1.13.3, prosemirror-view@^1.17.6: prosemirror-view@^1.0.0, prosemirror-view@^1.1.0, prosemirror-view@^1.13.3, prosemirror-view@^1.17.6:
version "1.18.4" version "1.18.4"
resolved "https://registry.yarnpkg.com/prosemirror-view/-/prosemirror-view-1.18.4.tgz#179141df117cf414434ade08115f2e233d135f6d" resolved "https://registry.yarnpkg.com/prosemirror-view/-/prosemirror-view-1.18.4.tgz#179141df117cf414434ade08115f2e233d135f6d"
@ -12288,6 +12297,36 @@ rgba-regex@^1.0.0:
resolved "https://registry.yarnpkg.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3" resolved "https://registry.yarnpkg.com/rgba-regex/-/rgba-regex-1.0.0.tgz#43374e2e2ca0968b0ef1523460b7d730ff22eeb3"
integrity sha1-QzdOLiyglosO8VI0YLfXMP8i7rM= integrity sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=
rich-markdown-editor@^11.17.4-0:
version "11.17.4-0"
resolved "https://registry.yarnpkg.com/rich-markdown-editor/-/rich-markdown-editor-11.17.4-0.tgz#81530e4416a3fc7bf76fed9a0f1f98260dffed81"
integrity sha512-s3SVatk6KVz8FTk7vDlSiJewA9gCq/vjBDhP1RsZiiYfaPDDEgxJf0XM1U01g0czEjTXkowrPp5GEbepSHdKsg==
dependencies:
copy-to-clipboard "^3.0.8"
lodash "^4.17.11"
markdown-it-container "^3.0.0"
outline-icons "^1.26.1"
prosemirror-commands "^1.1.6"
prosemirror-dropcursor "^1.3.3"
prosemirror-gapcursor "^1.1.5"
prosemirror-history "^1.1.3"
prosemirror-inputrules "^1.1.3"
prosemirror-keymap "^1.1.4"
prosemirror-markdown "^1.4.4"
prosemirror-model "^1.13.3"
prosemirror-schema-list "^1.1.2"
prosemirror-state "^1.3.4"
prosemirror-tables "^1.1.1"
prosemirror-transform "1.2.5"
prosemirror-utils "^0.9.6"
prosemirror-view "1.18.1"
react-medium-image-zoom "^3.1.3"
react-portal "^4.2.1"
refractor "^3.3.1"
resize-observer-polyfill "^1.5.1"
slugify "^1.4.0"
smooth-scroll-into-view-if-needed "^1.1.29"
rimraf@^2.5.4, rimraf@^2.6.3: rimraf@^2.5.4, rimraf@^2.6.3:
version "2.7.1" version "2.7.1"
resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"

View File

@ -1,6 +1,6 @@
# Where are all the schema files located? globs are supported eg src/**/*.graphqls # Where are all the schema files located? globs are supported eg src/**/*.graphqls
schema: schema:
- internal/graph/schema.graphqls - internal/graph/*.graphqls
# Where should the generated server code go? # Where should the generated server code go?
exec: exec: