diff --git a/package.json b/package.json index 72cb763..ad00e22 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ }, "devDependencies": { "@svgr/webpack": "^8.0.1", - "@tinacms/cli": "^1.5.29", + "@tinacms/cli": "^1.5.39", "@types/js-cookie": "^3.0.3", "@types/node": "^20.4.10", "@types/react": "^17.0.35", diff --git a/yarn.lock b/yarn.lock index 204bb6c..76a8715 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2647,19 +2647,19 @@ lodash.merge "^4.6.2" postcss-selector-parser "6.0.10" -"@tinacms/app@1.2.27": - version "1.2.27" - resolved "https://registry.yarnpkg.com/@tinacms/app/-/app-1.2.27.tgz#ddde64bd0b43d8da270589dacb55f26eaf2d4eec" - integrity sha512-wH9kI2xT155i19klrLZoznCl8SI8upirdq8NhnGkqLbOcDTz66Dbt2VXfX3Vb3ugibqx1WFixGCoaHsTzMYGCA== +"@tinacms/app@1.2.35": + version "1.2.35" + resolved "https://registry.yarnpkg.com/@tinacms/app/-/app-1.2.35.tgz#e452e4050b57eeb186d026ba97829522f61b0136" + integrity sha512-ycVA5R9OeHbScHTkU04l4sZUXSjx26vKZ1ePjUbJd09LNb2ewlC+oG2uO6N07PETfnqzwQFVIRxnj7BBULKLng== dependencies: "@codemirror/language" "6.0.0" "@graphiql/toolkit" "0.8.4" "@headlessui/react" "1.6.6" "@heroicons/react" "1.0.6" "@monaco-editor/react" "4.4.5" - "@tinacms/mdx" "1.3.18" + "@tinacms/mdx" "1.3.23" "@xstate/react" "3.0.0" - final-form "4.20.7" + final-form "4.20.10" graphiql "3.0.0-alpha.1" graphql "15.8.0" monaco-editor "0.31.0" @@ -2668,14 +2668,14 @@ react-dom "17.0.2" react-router-dom "6.3.0" tailwindcss "^3.2.7" - tinacms "1.5.20" + tinacms "1.5.28" typescript "^4.6.4" zod "^3.14.3" -"@tinacms/cli@^1.5.29": - version "1.5.29" - resolved "https://registry.yarnpkg.com/@tinacms/cli/-/cli-1.5.29.tgz#cb6d5b7dd7aa98334b236deaf8b86829fb3ba83f" - integrity sha512-exwIolmmARn0xKjdC3qB6ObzdAlCua02UqMSmhJMblZM8idPQXs8yewigKky879eYzY18g+etkdGYBgkud4vjw== +"@tinacms/cli@^1.5.39": + version "1.5.39" + resolved "https://registry.yarnpkg.com/@tinacms/cli/-/cli-1.5.39.tgz#ecd814a469a3091ac146fcf638ce92a15a3f7daa" + integrity sha512-IAYYSWXVvIdeMCbRvuXH70UKcnoekGfy65eZAb2e/QyId0bcuRbPR/kBr8I+ogozmL5CoEXCP+tm2RgRY1O5Ow== dependencies: "@graphql-codegen/core" "^2.1.0" "@graphql-codegen/plugin-helpers" latest @@ -2691,12 +2691,12 @@ "@tailwindcss/aspect-ratio" "^0.4.0" "@tailwindcss/line-clamp" "^0.3.1" "@tailwindcss/typography" "^0.5.9" - "@tinacms/app" "1.2.27" - "@tinacms/datalayer" "1.2.25" - "@tinacms/graphql" "1.4.25" + "@tinacms/app" "1.2.35" + "@tinacms/datalayer" "1.2.32" + "@tinacms/graphql" "1.4.32" "@tinacms/metrics" "1.0.2" - "@tinacms/schema-tools" "1.4.12" - "@tinacms/search" "1.0.10" + "@tinacms/schema-tools" "1.4.15" + "@tinacms/search" "1.0.17" "@vitejs/plugin-react" "3.1.0" ajv "^6.12.3" altair-express-middleware "4.0.6" @@ -2709,6 +2709,7 @@ cli-spinner "^0.2.10" clipanion "^3.2.0" cors "^2.8.5" + crypto-js "^4.1.1" dotenv "^16.0.1" esbuild "^0.18.10" express "^4.17.1" @@ -2735,60 +2736,30 @@ readable-stream "^4.3.0" rollup-plugin-visualizer "^5.9.0" tailwindcss "^3.2.7" - tinacms "1.5.20" + tinacms "1.5.28" typanion "3.13.0" + typescript "4.3.5" url-pattern "^1.0.3" vite "^4.3.9" yarn "^1.22.17" yup "^0.32.9" zod "^3.14.3" -"@tinacms/datalayer@1.2.25": - version "1.2.25" - resolved "https://registry.yarnpkg.com/@tinacms/datalayer/-/datalayer-1.2.25.tgz#8267c49e0ac52ce3a8957a16018930da36ae4b14" - integrity sha512-Ar+8zBY+51TTzGVcSIyTjmncKfhiDXcc6jWMPEX+UXAPMipzZCREeBJYSviqgT1Jc+2jh60D2w15YdpSjKJ/2w== - dependencies: - "@tinacms/graphql" "1.4.25" - -"@tinacms/graphql@1.4.25": - version "1.4.25" - resolved "https://registry.yarnpkg.com/@tinacms/graphql/-/graphql-1.4.25.tgz#cb2a70039e33d24e0f3d5ec26b0bc9756b3c23de" - integrity sha512-razgTI/kZtcEXRc6yNTtOeu8fIbAklDJ5neS4OkBHaow4UEsc08oV01FA9BLcnWnJrz/IaYrulbl6ble6hqGqw== +"@tinacms/datalayer@1.2.32": + version "1.2.32" + resolved "https://registry.yarnpkg.com/@tinacms/datalayer/-/datalayer-1.2.32.tgz#2ddb55f628eec7de20db77c33bcf605766cb84e7" + integrity sha512-loxQhW19GnIQ9S10m4sDLn2rQSmYCMtlnN2skA9poZBL4TmWo2Zs1Tioe+uN3kWPyH6kA0IShhPP9ZujQNukfg== dependencies: - "@iarna/toml" "^2.2.5" - "@tinacms/mdx" "1.3.18" - "@tinacms/schema-tools" "1.4.12" - abstract-level "^1.0.3" - body-parser "^1.19.0" - cors "^2.8.5" - dataloader "^2.0.0" - date-fns "^2.21.1" - encoding-down "^7.1.0" - estree-walker "^3.0.0" - fast-glob "^3.2.5" - fs-extra "^9.0.1" - glob-parent "^6.0.2" - graphql "15.8.0" - gray-matter "^4.0.2" - isomorphic-git "^1.21.0" - js-sha1 "^0.6.0" - js-yaml "^3.14.1" - jsonpath-plus "^6.0.1" - lodash "^4.17.20" - many-level "^2.0.0" - micromatch "4.0.5" - normalize-path "^3.0.0" - readable-stream "^4.3.0" - yup "^0.32.9" + "@tinacms/graphql" "1.4.32" -"@tinacms/graphql@1.4.30": - version "1.4.30" - resolved "https://registry.yarnpkg.com/@tinacms/graphql/-/graphql-1.4.30.tgz#189c288479f1c29655b0ad3c744fee1e69b6c539" - integrity sha512-LaPAULHZHVhWKiTdUJHgtcPCpEzjHgYVGg4/rspA7VWPJtY6fukpGG8+VrDFQnfLTB9h2L5RoUKoFqiULLFpQg== +"@tinacms/graphql@1.4.32": + version "1.4.32" + resolved "https://registry.yarnpkg.com/@tinacms/graphql/-/graphql-1.4.32.tgz#9c69475dfd4f549fe6b1258bcc553d08d28e636f" + integrity sha512-wqCxZjPmV/ncuWmb91hfTdVoouX6HMq69JUyUUeYNmmf1kujBrtovqqABIA5ryI9RPtx0nENcr09XNLgihNjEQ== dependencies: "@iarna/toml" "^2.2.5" - "@tinacms/mdx" "1.3.22" - "@tinacms/schema-tools" "1.4.14" + "@tinacms/mdx" "1.3.23" + "@tinacms/schema-tools" "1.4.15" abstract-level "^1.0.3" body-parser "^1.19.0" cors "^2.8.5" @@ -2813,45 +2784,12 @@ scmp "^2.1.0" yup "^0.32.9" -"@tinacms/mdx@1.3.18": - version "1.3.18" - resolved "https://registry.yarnpkg.com/@tinacms/mdx/-/mdx-1.3.18.tgz#aba2af7a69cd776f650de28c2d2c44a965422748" - integrity sha512-zsyzl/ccvLhNL9L/OMHLEUzl6Q7t08f03iyk+x2XNt7deKhIQ+MYPxJKo1DO74wv6sdLINttp7F2JLxhHNNEeQ== +"@tinacms/mdx@1.3.23": + version "1.3.23" + resolved "https://registry.yarnpkg.com/@tinacms/mdx/-/mdx-1.3.23.tgz#219314ef217a3910a0595fe01c7c11146d13c9c4" + integrity sha512-EnBXXEkOLJ+OiL1hOCfXoBjGMy7MZr7FmNJ71r91UBHXN0gPPYpxUSVwfQ5TnPKmVNgRfFI7IVbZZvmX8vqXhw== dependencies: - "@tinacms/schema-tools" "1.4.12" - acorn "8.8.2" - ccount "2.0.1" - estree-util-is-identifier-name "2.1.0" - lodash-es "4.17.21" - mdast-util-compact "4.1.1" - mdast-util-directive "2.2.4" - mdast-util-from-markdown "1.3.0" - mdast-util-mdx "2.0.1" - mdast-util-mdx-jsx "2.1.2" - mdast-util-to-markdown "1.5.0" - micromark-factory-mdx-expression "1.0.7" - micromark-factory-space "1.0.0" - micromark-factory-whitespace "1.0.0" - micromark-util-character "1.1.0" - micromark-util-symbol "1.0.1" - micromark-util-types "1.0.2" - parse-entities "4.0.1" - prettier "^2.7.1" - remark "14.0.2" - remark-mdx "2.3.0" - stringify-entities "4.0.3" - unist-util-source "4.0.2" - unist-util-stringify-position "3.0.3" - unist-util-visit "4.1.2" - uvu "0.5.6" - vfile-message "3.1.4" - -"@tinacms/mdx@1.3.22": - version "1.3.22" - resolved "https://registry.yarnpkg.com/@tinacms/mdx/-/mdx-1.3.22.tgz#1e29a37c610d092fd70a62ee5a623e4f3e2187d2" - integrity sha512-0M7yCDyTuVBEzdIM+aO7x6Qm8GsI9w1cF/2BbIooplPehPbCu5nY0DRyGCfW4hwxbxU4J+53IUS5xaDrgcnOcA== - dependencies: - "@tinacms/schema-tools" "1.4.14" + "@tinacms/schema-tools" "1.4.15" acorn "8.8.2" ccount "2.0.1" estree-util-is-identifier-name "2.1.0" @@ -2889,46 +2827,22 @@ dependencies: isomorphic-fetch "^3.0.0" -"@tinacms/schema-tools@1.4.12": - version "1.4.12" - resolved "https://registry.yarnpkg.com/@tinacms/schema-tools/-/schema-tools-1.4.12.tgz#68c163f331580b227e8e4f769537c45fed15ab8f" - integrity sha512-S7C8T8XfxTkD38gzPm7n1UviMi2569F/Gt8az9y0CwQneUg6iqjd3DV0fpyBcXOXFHLY+AHCLg3B9Bk+jhA/yQ== - dependencies: - picomatch-browser "2.2.6" - url-pattern "^1.0.3" - zod "^3.14.3" - -"@tinacms/schema-tools@1.4.14": - version "1.4.14" - resolved "https://registry.yarnpkg.com/@tinacms/schema-tools/-/schema-tools-1.4.14.tgz#a1a6372f09f09154bf256509c9882f186667e902" - integrity sha512-wzEByPYXeGJDgB1IO6xe+xeqyquARvFgj50QmVDPJihLlrp0DwNMEFWafEaoIFRR17aLahgQZKzKgKdlED5XDA== +"@tinacms/schema-tools@1.4.15": + version "1.4.15" + resolved "https://registry.yarnpkg.com/@tinacms/schema-tools/-/schema-tools-1.4.15.tgz#8d21e865770127cc6184ccfc0cab77bf613e0ed7" + integrity sha512-fVeYpxKTRdf7mc4+BDj0HmEQ2Pi+iapXFj0QIdlIvj5TmHsQELt8rTkpiwbUELj07Un5iD/+dYIrwZWbIrPoBw== dependencies: picomatch-browser "2.2.6" url-pattern "^1.0.3" zod "^3.14.3" -"@tinacms/search@1.0.10": - version "1.0.10" - resolved "https://registry.yarnpkg.com/@tinacms/search/-/search-1.0.10.tgz#adaa9c8ca40f9654c67343f0f861ec33d66689a3" - integrity sha512-rcb8Ks8Z27SD4IASW5kntrPP2Trtn8AuOOq5A4MeW0Jnm/axJVtYKhMrnjchrueWa7EddAWnYym7NvqRrsT1fA== +"@tinacms/search@1.0.17": + version "1.0.17" + resolved "https://registry.yarnpkg.com/@tinacms/search/-/search-1.0.17.tgz#2a0eeef252476b9eef2401a439e5994a1e9a17ca" + integrity sha512-AIrli3YhMAgxFQ80LyiIKahdMrHwX0J1I+/u/hOl+uRti+Vvj6LRLnY8cSz/0FcswEoypPSjo58EPlrlK0sOVg== dependencies: - "@tinacms/graphql" "1.4.25" - "@tinacms/schema-tools" "1.4.12" - abstract-level "^1.0.3" - memory-level "^1.0.0" - module-error "^1.0.2" - node-fetch "2" - search-index "4.0.0" - sqlite-level "^1.0.1" - stopword "^2.0.8" - -"@tinacms/search@1.0.15": - version "1.0.15" - resolved "https://registry.yarnpkg.com/@tinacms/search/-/search-1.0.15.tgz#9d7de04d4b66c259c9171e0237ac924895ac3bd1" - integrity sha512-9uPSkT6EvvRyCwTh3KUgvo7FAPOSpCR39cNxoV//sVfvMuuyLBLAdEvFkYO3FrWxaGnUxoKxlIL6E+aeLT4f0Q== - dependencies: - "@tinacms/graphql" "1.4.30" - "@tinacms/schema-tools" "1.4.14" + "@tinacms/graphql" "1.4.32" + "@tinacms/schema-tools" "1.4.15" abstract-level "^1.0.3" memory-level "^1.0.0" module-error "^1.0.2" @@ -4540,10 +4454,10 @@ cross-spawn@^7.0.2: shebang-command "^2.0.0" which "^2.0.1" -crypto-js@^4.0.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf" - integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw== +crypto-js@^4.0.0, crypto-js@^4.1.1: + version "4.2.0" + resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631" + integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q== css-box-model@^1.2.0: version "1.2.1" @@ -5223,7 +5137,7 @@ final-form-set-field-data@^1.0.2: resolved "https://registry.yarnpkg.com/final-form-set-field-data/-/final-form-set-field-data-1.0.2.tgz#ce19095af5d607148c1e6ce3403d75d40223d848" integrity sha512-gAnENimyQ5GW3OEGca5pbwm4lYshW2orzfBlPUYqzcm7ZxkQrVO8FqCAgEcCM+Rq9U1OU0q+D+UkqETvvDY6jw== -final-form@4.20.1, final-form@4.20.10, final-form@4.20.4, final-form@4.20.7: +final-form@4.20.1, final-form@4.20.10: version "4.20.1" resolved "https://registry.yarnpkg.com/final-form/-/final-form-4.20.1.tgz#525a7f7f27f55c28d8994b157b24d6104fc560e9" integrity sha512-IIsOK3JRxJrN72OBj7vFWZxtGt3xc1bYwJVPchjVWmDol9DlzMSAOPB+vwe75TUYsw1JaH0fTQnIgwSQZQ9Acg== @@ -8737,68 +8651,10 @@ thenify-all@^1.0.0: dependencies: any-promise "^1.0.0" -tinacms@1.5.20: - version "1.5.20" - resolved "https://registry.yarnpkg.com/tinacms/-/tinacms-1.5.20.tgz#f04b4f991f48184b497f710a019dde33b8e1e42c" - integrity sha512-qOMpgPPRd0QIqzP0Q4hR+PO9r1MZqZzN0Ipxu8c+ohLDwtLSIacIZos98+aDKabh7PLcxn8m4Hhh09Iwdd5Kfg== - dependencies: - "@floating-ui/dom" "^1.4.4" - "@floating-ui/react-dom" "^2.0.1" - "@graphql-inspector/core" "^4.0.0" - "@headlessui/react" "^1.5.0" - "@heroicons/react" "^1.0.4" - "@monaco-editor/react" "4.4.5" - "@radix-ui/react-popover" "^1.0.6" - "@react-aria/i18n" "^3.3.4" - "@react-hook/window-size" "^3.0.7" - "@react-types/combobox" "^3.2.0" - "@react-types/shared" "^3.10.0" - "@sambego/storybook-styles" "^1.0.0" - "@tinacms/schema-tools" "1.4.12" - "@tinacms/search" "1.0.10" - "@tinacms/sharedctx" "1.0.2" - "@udecode/plate-headless" "^21.4.0" - atob "2.1.2" - color-string "^1.5.3" - crypto-js "^4.0.0" - date-fns "2.30.0" - encoding "0.1.13" - fetch-ponyfill "^7.1.0" - final-form "4.20.4" - final-form-arrays "^3.0.1" - final-form-set-field-data "^1.0.2" - graphql "15.8.0" - graphql-tag "^2.11.0" - is-hotkey "^0.2.0" - lodash.get "^4.4.2" - lodash.set "^4.3.2" - moment "2.29.4" - monaco-editor "0.31.0" - prism-react-renderer "^2.0.6" - prismjs "^1.28.0" - prop-types "15.7.2" - react-beautiful-dnd "^13.1.0" - react-color "^2.17.3" - react-datetime "^2.16.3" - react-dropzone "14.2.3" - react-final-form "^6.3.0" - react-icons "^4.3.1" - react-onclickoutside "^6.13.0" - react-router-dom "6.3.0" - react-textarea-autosize "8.5.2" - scheduler "0.19.0" - slate "^0.94.1" - slate-history "^0.93.0" - slate-hyperscript "^0.77.0" - slate-react "^0.97.1" - webfontloader "1.6.28" - yup "^0.32.0" - zod "^3.14.3" - -tinacms@^1.5.25: - version "1.5.25" - resolved "https://registry.yarnpkg.com/tinacms/-/tinacms-1.5.25.tgz#14a8ad6f53733444a2d4dc7a1cfb1a750d79f5c2" - integrity sha512-Ei7gq7aKsdruxWM1kSe6Ppyl5TKiigPNjvgNiPGEShsgQc8/CYJFupbyScYS4zcHcwWr2+eE1vXNn4nS9tlCbA== +tinacms@1.5.28, tinacms@^1.5.25: + version "1.5.28" + resolved "https://registry.yarnpkg.com/tinacms/-/tinacms-1.5.28.tgz#fc787d971b83ab24ac1904bcffc72eb766a6a942" + integrity sha512-z+hMgWB+3YmA17bcq214alt88cR0sgs8leQY8oVYMb74K8zK8SOqGZA1nB4EUtF7gwrdebrRF9ZNpg1QOIJNfQ== dependencies: "@floating-ui/dom" "^1.4.4" "@floating-ui/react-dom" "^2.0.1" @@ -8812,9 +8668,9 @@ tinacms@^1.5.25: "@react-types/combobox" "^3.2.0" "@react-types/shared" "^3.10.0" "@sambego/storybook-styles" "^1.0.0" - "@tinacms/mdx" "1.3.22" - "@tinacms/schema-tools" "1.4.14" - "@tinacms/search" "1.0.15" + "@tinacms/mdx" "1.3.23" + "@tinacms/schema-tools" "1.4.15" + "@tinacms/search" "1.0.17" "@tinacms/sharedctx" "1.0.2" "@udecode/plate-headless" "^21.4.0" atob "2.1.2" @@ -9000,6 +8856,11 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== +typescript@4.3.5: + version "4.3.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz#4d1c37cc16e893973c45a06886b7113234f119f4" + integrity sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA== + typescript@^4.6.4: version "4.9.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"