diff --git a/package.json b/package.json index fc63a44..78c7880 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@svgr/webpack": "^6.3.1", - "@tinacms/cli": "^1.5.24", + "@tinacms/cli": "^1.5.26", "@types/js-cookie": "^3.0.3", "@types/node": "^16.11.7", "@types/react": "^17.0.35", diff --git a/yarn.lock b/yarn.lock index db132d1..dacdb30 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1446,23 +1446,11 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.43.0.tgz#559ca3d9ddbd6bf907ad524320a0d14b85586af0" integrity sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg== -"@floating-ui/core@^0.3.0": - version "0.3.1" - resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-0.3.1.tgz#3dde0ad0724d4b730567c92f49f0950910e18871" - integrity sha512-ensKY7Ub59u16qsVIFEo2hwTCqZ/r9oZZFh51ivcLGHfUwTn8l1Xzng8RJUe91H/UP8PeqeBronAGx0qmzwk2g== - "@floating-ui/core@^1.3.1": version "1.3.1" resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.3.1.tgz#4d795b649cc3b1cbb760d191c80dcb4353c9a366" integrity sha512-Bu+AMaXNjrpjh41znzHqaz3r2Nr8hHuHZT6V2LBKMhyMl0FgKA62PNYbqnfgmzOhoWZj70Zecisbo4H1rotP5g== -"@floating-ui/dom@^0.1.7", "@floating-ui/dom@^0.1.8": - version "0.1.10" - resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-0.1.10.tgz#ce304136a52c71ef157826d2ebf52d68fa2deed5" - integrity sha512-4kAVoogvQm2N0XE0G6APQJuCNuErjOfPW8Ux7DFxh8+AfugWflwVJ5LDlHOwrwut7z/30NUvdtHzQ3zSip4EzQ== - dependencies: - "@floating-ui/core" "^0.3.0" - "@floating-ui/dom@^1.2.1": version "1.4.3" resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.4.3.tgz#0854a3297ea03894932381f3ea1403fab3a6e602" @@ -1484,14 +1472,6 @@ dependencies: "@floating-ui/core" "^1.3.1" -"@floating-ui/react-dom@^0.3.3": - version "0.3.4" - resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-0.3.4.tgz#7dc7c09a4f645308521bcf2a58c45b4e9aa846d4" - integrity sha512-/rnS+pXHLQC+q/koZD8f2O1utyJJCAzOvhxDfKBUUiEzVZmZE0ryzmpIcvs+3zUudpv8xP7cmWWSRi7Y1DsSdg== - dependencies: - "@floating-ui/dom" "^0.1.8" - use-isomorphic-layout-effect "^1.1.1" - "@floating-ui/react-dom@^1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-1.3.0.tgz#4d35d416eb19811c2b0e9271100a6aa18c1579b3" @@ -2678,18 +2658,18 @@ lodash.merge "^4.6.2" postcss-selector-parser "6.0.10" -"@tinacms/app@1.2.22": - version "1.2.22" - resolved "https://registry.yarnpkg.com/@tinacms/app/-/app-1.2.22.tgz#2751caeb68dc2a0975cb7ab9e18e2861e96f129b" - integrity sha512-fW4BSqiahk16GEyMoqiZRy5NL/n1L1M4cQXFoEit7XR4u/Wajo1zeCfAVnxmUruNZWMeNPY9tGy3Akj4WlY/Vw== +"@tinacms/app@1.2.24": + version "1.2.24" + resolved "https://registry.yarnpkg.com/@tinacms/app/-/app-1.2.24.tgz#1839510052f1212b05ffd585d81e3c119bf6e782" + integrity sha512-RW14CyHjLzIjfvQx8QRCK34dG7/+TOQzsQlFnqgvItSMqFDhWdm5BqZ0vqF/vhwHHu0/qBoOrGfYzAt7WCoH/Q== 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.14" - "@tinacms/toolkit" "1.7.11" + "@tinacms/mdx" "1.3.15" + "@tinacms/toolkit" "1.7.13" "@xstate/react" "3.0.0" final-form "4.20.7" graphiql "3.0.0-alpha.1" @@ -2699,17 +2679,16 @@ postcss-nested "^5.0.6" react "17.0.2" react-dom "17.0.2" - react-is "17.0.2" react-router-dom "6.3.0" tailwindcss "^3.2.7" - tinacms "1.5.15" + tinacms "1.5.17" typescript "^4.6.4" zod "^3.14.3" -"@tinacms/cli@^1.5.24": - version "1.5.24" - resolved "https://registry.yarnpkg.com/@tinacms/cli/-/cli-1.5.24.tgz#d8af0e820571192112867ecf4a6141dc8528a01d" - integrity sha512-xNkgUkUjaSTdZqwepf+vgGLN0qxfjj/7v2F2JSF82HjD8drl45ruYyk9VDZkqlGGCa0ldpO43paouuH5D2Dlag== +"@tinacms/cli@^1.5.26": + version "1.5.26" + resolved "https://registry.yarnpkg.com/@tinacms/cli/-/cli-1.5.26.tgz#eb51d543b17353cc407595d9f3b68824b62fabed" + integrity sha512-PEBWFfHLO2maRpKgw6wbH/qjgKpmMg0zfz+BsI3PscPBa52QgsMYKlOJ/f7M/lsLSMk2fsAL0d7uLDKk55VLQA== dependencies: "@graphql-codegen/core" "^2.1.0" "@graphql-codegen/plugin-helpers" latest @@ -2725,12 +2704,12 @@ "@tailwindcss/aspect-ratio" "^0.4.0" "@tailwindcss/line-clamp" "^0.3.1" "@tailwindcss/typography" "^0.5.9" - "@tinacms/app" "1.2.22" - "@tinacms/datalayer" "1.2.20" - "@tinacms/graphql" "1.4.20" + "@tinacms/app" "1.2.24" + "@tinacms/datalayer" "1.2.22" + "@tinacms/graphql" "1.4.22" "@tinacms/metrics" "1.0.2" - "@tinacms/schema-tools" "1.4.8" - "@tinacms/search" "1.0.5" + "@tinacms/schema-tools" "1.4.9" + "@tinacms/search" "1.0.7" "@vitejs/plugin-react" "3.1.0" ajv "^6.12.3" altair-express-middleware "4.0.6" @@ -2770,49 +2749,19 @@ readable-stream "^4.3.0" rollup-plugin-visualizer "^5.9.0" tailwindcss "^3.2.7" + typanion "3.13.0" 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.20": - version "1.2.20" - resolved "https://registry.yarnpkg.com/@tinacms/datalayer/-/datalayer-1.2.20.tgz#9ecbfd56dab266a66792e5beeb7c6fc732ea773d" - integrity sha512-gsUuhZ9dtX78L4+gu4xKgUfl7fSwmrJZDx1Xxe7CHnUqGeJe3LyHO73en1ulA4FXgW8w2Ch6nAuKl0F5X/O/7Q== - dependencies: - "@tinacms/graphql" "1.4.20" - -"@tinacms/graphql@1.4.20": - version "1.4.20" - resolved "https://registry.yarnpkg.com/@tinacms/graphql/-/graphql-1.4.20.tgz#b4242c57cdde09c9bc41d864ca36c6677256c757" - integrity sha512-Bl4wLGxIDhc1wmo7QCYWNugg+Cs0k1uwPZl8foAwiRQ356F4wtQkTMOyqrhiF1N4aQTlWsdQqd48r3EbBPzBuQ== +"@tinacms/datalayer@1.2.22": + version "1.2.22" + resolved "https://registry.yarnpkg.com/@tinacms/datalayer/-/datalayer-1.2.22.tgz#14beb6ab3f34794902218253fd97d53521e6c4ac" + integrity sha512-RsacvyDje0LVZoDtSb4GUDVramSFdlkE1KOdIoHEgmUG5zeydJ96igNA8QdrZ1/SbQAYiHn9kDyQURq3pSj/zw== dependencies: - "@iarna/toml" "^2.2.5" - "@tinacms/mdx" "1.3.14" - "@tinacms/schema-tools" "1.4.8" - 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.22" "@tinacms/graphql@1.4.22": version "1.4.22" @@ -2845,39 +2794,6 @@ readable-stream "^4.3.0" yup "^0.32.9" -"@tinacms/mdx@1.3.14": - version "1.3.14" - resolved "https://registry.yarnpkg.com/@tinacms/mdx/-/mdx-1.3.14.tgz#984365e98dc029adb75182832cfe710194cfea97" - integrity sha512-JDXsbTJa5q9MuGrWHNio2HawSVzCRQWhSlAiey1rtbct6ignMeQcEGez7jUoPJgXMEpIQ//ARtXdR5RF33Kjmg== - dependencies: - "@tinacms/schema-tools" "1.4.8" - 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.15": version "1.3.15" resolved "https://registry.yarnpkg.com/@tinacms/mdx/-/mdx-1.3.15.tgz#170096e5ab89889407dd084d5e971106b756d44c" @@ -2918,15 +2834,6 @@ dependencies: isomorphic-fetch "^3.0.0" -"@tinacms/schema-tools@1.4.8": - version "1.4.8" - resolved "https://registry.yarnpkg.com/@tinacms/schema-tools/-/schema-tools-1.4.8.tgz#dac33930c606bd9b365d98bc3555ddcf01775a71" - integrity sha512-3bESz72Gd+qEi0A08Hq8Rwm0FTmiWGnGmcdiXrUpdIo3LmBZ+dcGYEfWrZaOfaXXuuPWZi2z5ubATgHOWQ/NKQ== - dependencies: - micromatch "4.0.5" - url-pattern "^1.0.3" - zod "^3.14.3" - "@tinacms/schema-tools@1.4.9": version "1.4.9" resolved "https://registry.yarnpkg.com/@tinacms/schema-tools/-/schema-tools-1.4.9.tgz#7c7c54957cfbf461415a2583e84672dd71e677cb" @@ -2936,21 +2843,6 @@ url-pattern "^1.0.3" zod "^3.14.3" -"@tinacms/search@1.0.5": - version "1.0.5" - resolved "https://registry.yarnpkg.com/@tinacms/search/-/search-1.0.5.tgz#d64331a36b9de3be21ca776a359971e7a10d27c8" - integrity sha512-hB9sQR6PjKO51VPOOrilhd28CiNDaYZzaPAAjjHeUpANtUf/14mukWmW75UaYYuUpmJlQ8EN+xjpLMJNqji2Dg== - dependencies: - "@tinacms/graphql" "1.4.20" - "@tinacms/schema-tools" "1.4.8" - 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.7": version "1.0.7" resolved "https://registry.yarnpkg.com/@tinacms/search/-/search-1.0.7.tgz#a8155048184c9663a33483d0fb8bc76c69c1e60c" @@ -2966,62 +2858,11 @@ sqlite-level "^1.0.1" stopword "^2.0.8" -"@tinacms/sharedctx@1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@tinacms/sharedctx/-/sharedctx-1.0.1.tgz#ccd6ace6c7ede477fc94aa4704faac13e39cff31" - integrity sha512-DXxTKupAMg+gO6zRJOxKlvaZGpWcyJXi1d+At/Ev5C6/jRN//BqUgVMRC2y5hcHhfWK2bkNQ4ZfVvWWrA3//qw== - "@tinacms/sharedctx@1.0.2": version "1.0.2" resolved "https://registry.yarnpkg.com/@tinacms/sharedctx/-/sharedctx-1.0.2.tgz#b12f10b096d04e669ab6ae6a69e0a9526e0a2b37" integrity sha512-YApW5GZDauOGRw+edUk7XE8xq84qZbeiT9MsylhlLfDo3oPWvJVtPUHjbXQo45pSyHHEAIfDF0AcNANp193cXw== -"@tinacms/toolkit@1.7.11": - version "1.7.11" - resolved "https://registry.yarnpkg.com/@tinacms/toolkit/-/toolkit-1.7.11.tgz#23ebf787a3b7d878e120bb2c1d56b8ff23641586" - integrity sha512-XViXsLytxBymyLkl78SN2kn/1ohvRsO4uW/2pZYBmi/8tLzhZJ8yGXlrJEfnBQtV8yaDlP7DQgsKIstlQTMDkA== - dependencies: - "@floating-ui/dom" "^0.1.7" - "@floating-ui/react-dom" "^0.3.3" - "@headlessui/react" "^1.5.0" - "@heroicons/react" "^1.0.5" - "@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/search" "1.0.5" - "@tinacms/sharedctx" "1.0.1" - "@udecode/plate-headless" "^21.4.0" - atob "2.1.2" - color-string "^1.5.3" - date-fns "2.30.0" - final-form "^4.20.2" - final-form-arrays "^3.0.1" - final-form-set-field-data "^1.0.2" - is-hotkey "^0.2.0" - lodash.get "^4.4.2" - moment "2.29.4" - monaco-editor "0.31.0" - prism-react-renderer "^1.3.5" - 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" - 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" - "@tinacms/toolkit@1.7.13": version "1.7.13" resolved "https://registry.yarnpkg.com/@tinacms/toolkit/-/toolkit-1.7.13.tgz#e57d3f647e6d7041fcfe08d5210898dae5dfd0da" @@ -7863,16 +7704,16 @@ react-icons@^4.3.1, react-icons@^4.9.0: resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.10.1.tgz#3f3b5eec1f63c1796f6a26174a1091ca6437a500" integrity sha512-/ngzDP/77tlCfqthiiGNZeYFACw85fUjZtLbedmJ5DTlNDIwETxhwBzdOJ21zj4iJdvc0J3y7yOsX3PpxAJzrw== -react-is@17.0.2, react-is@^17.0.2: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" - integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== - react-is@^16.13.1, react-is@^16.7.0, react-is@^16.8.1: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== +react-is@^17.0.2: + version "17.0.2" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" + integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== + react-onclickoutside@^6.13.0, react-onclickoutside@^6.5.0: version "6.13.0" resolved "https://registry.yarnpkg.com/react-onclickoutside/-/react-onclickoutside-6.13.0.tgz#e165ea4e5157f3da94f4376a3ab3e22a565f4ffc" @@ -8805,33 +8646,7 @@ thenify-all@^1.0.0: dependencies: any-promise "^1.0.0" -tinacms@1.5.15: - version "1.5.15" - resolved "https://registry.yarnpkg.com/tinacms/-/tinacms-1.5.15.tgz#fc2df623d8928c311126da855ae6797648fe21aa" - integrity sha512-O9tXhEmliWV4FANfMRhVdeFhCN29WlEWMeA5J3pAv1E0hb7FB4csSHdNP9BHUC6CPbSQT6UXBdfSdHHRw2kHVw== - dependencies: - "@graphql-inspector/core" "^4.0.0" - "@headlessui/react" "^1.5.0" - "@heroicons/react" "^1.0.4" - "@react-hook/window-size" "^3.0.7" - "@tinacms/schema-tools" "1.4.8" - "@tinacms/search" "1.0.5" - "@tinacms/sharedctx" "1.0.1" - "@tinacms/toolkit" "1.7.11" - crypto-js "^4.0.0" - encoding "0.1.13" - fetch-ponyfill "^7.1.0" - final-form "4.20.1" - graphql "15.8.0" - graphql-tag "^2.11.0" - lodash.set "^4.3.2" - prism-react-renderer "^2.0.6" - react-icons "^4.3.1" - react-router-dom "6.3.0" - yup "^0.32.0" - zod "^3.14.3" - -tinacms@^1.5.17: +tinacms@1.5.17, tinacms@^1.5.17: version "1.5.17" resolved "https://registry.yarnpkg.com/tinacms/-/tinacms-1.5.17.tgz#cddb90e29714f80b3d6b15587ba07167f6a29ce0" integrity sha512-9eK44wxAW56YNZ8fst0d044vdC3hm61w9FPZeouKLL5gom2J7rCRYWgITmOMuqWNHzUr9adhkTN94EzE5VOMyg== @@ -8975,10 +8790,10 @@ tunnel-agent@^0.6.0: dependencies: safe-buffer "^5.0.1" -typanion@^3.8.0: - version "3.12.1" - resolved "https://registry.yarnpkg.com/typanion/-/typanion-3.12.1.tgz#d33deb130aba23ef6f2a3c69e7fb28148dd9089a" - integrity sha512-3SJF/czpzqq6G3lprGFLa6ps12yb1uQ1EmitNnep2fDMNh1aO/Zbq9sWY+3lem0zYb2oHJnQWyabTGUZ+L1ScQ== +typanion@3.13.0, typanion@^3.8.0: + version "3.13.0" + resolved "https://registry.yarnpkg.com/typanion/-/typanion-3.13.0.tgz#16522f197f31415f38d7e554b9776c62673fff8e" + integrity sha512-AkZMjMIW8MGeQwBxu1bixzu/2Zk7rH6ILrI/9zBoW0sAiVaWwHjXSnmPBomfY2t7tSG6m5bIE+OYYyyuGnFVHA== type-check@^0.4.0, type-check@~0.4.0: version "0.4.0"