diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..27f0e1e --- /dev/null +++ b/.eslintignore @@ -0,0 +1,2 @@ +node_modules +.* diff --git a/.eslintrc.js b/.eslintrc.js index 4865227..0c6c939 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -3,13 +3,29 @@ module.exports = { plugins: ['import', 'eslint-plugin-simple-import-sort', 'unused-imports'], ignorePatterns: ['.pnp.*', '.yarn/**/*'], extends: [ + 'eslint:recommended', 'next/core-web-vitals', 'next', 'prettier', 'plugin:import/recommended', 'plugin:@typescript-eslint/recommended', ], + settings: { + 'import/parsers': { + '@typescript-eslint/parser': ['.ts', '.tsx'], + }, + 'import/resolver': { + typescript: { + alwaysTryTypes: true, + project: './', + }, + }, + }, rules: { + 'import/no-cycle': [ + 'error', + { allowUnsafeDynamicCyclicDependency: true }, + ], 'import/no-unresolved': 'error', 'react/jsx-key': 'off', 'react/no-unescaped-entities': 'off', @@ -22,6 +38,7 @@ module.exports = { ], 'react/jsx-first-prop-new-line': 'error', 'comma-dangle': ['error', 'always-multiline'], + eqeqeq: ['warn', 'smart'], indent: ['error', 2], quotes: ['error', 'single'], 'eol-last': 'error', @@ -40,22 +57,10 @@ module.exports = { 'error', { count: 1, considerComments: true }, ], - 'no-unused-vars': 'off', '@typescript-eslint/no-unused-vars': ['warn'], '@typescript-eslint/ban-types': 'warn', 'import/named': 'off', 'react/display-name': 'off', '@typescript-eslint/no-empty-function': 'off', }, - settings: { - 'import/parsers': { - '@typescript-eslint/parser': ['.ts', '.tsx'], - }, - 'import/resolver': { - typescript: { - alwaysTryTypes: true, - project: './', - }, - }, - }, }; diff --git a/.pnp.cjs b/.pnp.cjs index e5c8c1d..bd7bb24 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -30,6 +30,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageDependencies": [\ ["@effect/data", "npm:0.14.1"],\ ["@effect/io", "npm:0.32.1"],\ + ["@lukemorales/query-key-factory", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:1.3.2"],\ + ["@tanstack/query-core", "npm:5.0.0-alpha.84"],\ + ["@tanstack/react-query", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84"],\ + ["@tanstack/react-query-devtools", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84"],\ + ["@tanstack/react-query-next-experimental", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84"],\ ["@types/node", "npm:20.4.1"],\ ["@types/react", "npm:18.2.14"],\ ["@types/react-dom", "npm:18.2.6"],\ @@ -50,7 +55,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["next", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:13.4.9"],\ ["next-themes", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:0.2.1"],\ ["pinst", "npm:3.0.0"],\ - ["prettier", "npm:3.0.0"],\ + ["prettier", "npm:2.8.8"],\ ["react", "npm:18.2.0"],\ ["react-dom", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:18.2.0"],\ ["typescript", "patch:typescript@npm%3A5.1.6#~builtin::version=5.1.6&hash=5da071"]\ @@ -413,6 +418,54 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["@emotion/babel-plugin", [\ + ["npm:11.11.0", {\ + "packageLocation": "./.yarn/cache/@emotion-babel-plugin-npm-11.11.0-c1dcc4c884-6b363edccc.zip/node_modules/@emotion/babel-plugin/",\ + "packageDependencies": [\ + ["@emotion/babel-plugin", "npm:11.11.0"],\ + ["@babel/helper-module-imports", "npm:7.22.5"],\ + ["@babel/runtime", "npm:7.22.6"],\ + ["@emotion/hash", "npm:0.9.1"],\ + ["@emotion/memoize", "npm:0.8.1"],\ + ["@emotion/serialize", "npm:1.1.2"],\ + ["babel-plugin-macros", "npm:3.1.0"],\ + ["convert-source-map", "npm:1.9.0"],\ + ["escape-string-regexp", "npm:4.0.0"],\ + ["find-root", "npm:1.1.0"],\ + ["source-map", "npm:0.5.7"],\ + ["stylis", "npm:4.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@emotion/cache", [\ + ["npm:11.11.0", {\ + "packageLocation": "./.yarn/cache/@emotion-cache-npm-11.11.0-3e6e449071-8eb1dc22be.zip/node_modules/@emotion/cache/",\ + "packageDependencies": [\ + ["@emotion/cache", "npm:11.11.0"],\ + ["@emotion/memoize", "npm:0.8.1"],\ + ["@emotion/sheet", "npm:1.2.2"],\ + ["@emotion/utils", "npm:1.2.1"],\ + ["@emotion/weak-memoize", "npm:0.3.1"],\ + ["stylis", "npm:4.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@emotion/css", [\ + ["npm:11.11.2", {\ + "packageLocation": "./.yarn/cache/@emotion-css-npm-11.11.2-dbfa42cf83-1edea109df.zip/node_modules/@emotion/css/",\ + "packageDependencies": [\ + ["@emotion/css", "npm:11.11.2"],\ + ["@emotion/babel-plugin", "npm:11.11.0"],\ + ["@emotion/cache", "npm:11.11.0"],\ + ["@emotion/serialize", "npm:1.1.2"],\ + ["@emotion/sheet", "npm:1.2.2"],\ + ["@emotion/utils", "npm:1.2.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["@emotion/hash", [\ ["npm:0.9.1", {\ "packageLocation": "./.yarn/cache/@emotion-hash-npm-0.9.1-650576c2b1-716e17e48b.zip/node_modules/@emotion/hash/",\ @@ -422,6 +475,65 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["@emotion/memoize", [\ + ["npm:0.8.1", {\ + "packageLocation": "./.yarn/cache/@emotion-memoize-npm-0.8.1-9b1e35ff15-a19cc01a29.zip/node_modules/@emotion/memoize/",\ + "packageDependencies": [\ + ["@emotion/memoize", "npm:0.8.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@emotion/serialize", [\ + ["npm:1.1.2", {\ + "packageLocation": "./.yarn/cache/@emotion-serialize-npm-1.1.2-4b856d3761-413c352e65.zip/node_modules/@emotion/serialize/",\ + "packageDependencies": [\ + ["@emotion/serialize", "npm:1.1.2"],\ + ["@emotion/hash", "npm:0.9.1"],\ + ["@emotion/memoize", "npm:0.8.1"],\ + ["@emotion/unitless", "npm:0.8.1"],\ + ["@emotion/utils", "npm:1.2.1"],\ + ["csstype", "npm:3.1.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@emotion/sheet", [\ + ["npm:1.2.2", {\ + "packageLocation": "./.yarn/cache/@emotion-sheet-npm-1.2.2-a918ac483c-d973273c9c.zip/node_modules/@emotion/sheet/",\ + "packageDependencies": [\ + ["@emotion/sheet", "npm:1.2.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@emotion/unitless", [\ + ["npm:0.8.1", {\ + "packageLocation": "./.yarn/cache/@emotion-unitless-npm-0.8.1-bcf0a8f565-385e21d184.zip/node_modules/@emotion/unitless/",\ + "packageDependencies": [\ + ["@emotion/unitless", "npm:0.8.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@emotion/utils", [\ + ["npm:1.2.1", {\ + "packageLocation": "./.yarn/cache/@emotion-utils-npm-1.2.1-3d04f99348-e0b44be070.zip/node_modules/@emotion/utils/",\ + "packageDependencies": [\ + ["@emotion/utils", "npm:1.2.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@emotion/weak-memoize", [\ + ["npm:0.3.1", {\ + "packageLocation": "./.yarn/cache/@emotion-weak-memoize-npm-0.3.1-bfc18213af-b2be47caa2.zip/node_modules/@emotion/weak-memoize/",\ + "packageDependencies": [\ + ["@emotion/weak-memoize", "npm:0.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["@esbuild/android-arm", [\ ["npm:0.17.6", {\ "packageLocation": "./.yarn/unplugged/@esbuild-android-arm-npm-0.17.6-886ca2889b/node_modules/@esbuild/android-arm/",\ @@ -944,6 +1056,32 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["@lukemorales/query-key-factory", [\ + ["npm:1.3.2", {\ + "packageLocation": "./.yarn/cache/@lukemorales-query-key-factory-npm-1.3.2-1e303991d7-b7eec057a8.zip/node_modules/@lukemorales/query-key-factory/",\ + "packageDependencies": [\ + ["@lukemorales/query-key-factory", "npm:1.3.2"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:1.3.2", {\ + "packageLocation": "./.yarn/__virtual__/@lukemorales-query-key-factory-virtual-366557e68b/0/cache/@lukemorales-query-key-factory-npm-1.3.2-1e303991d7-b7eec057a8.zip/node_modules/@lukemorales/query-key-factory/",\ + "packageDependencies": [\ + ["@lukemorales/query-key-factory", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:1.3.2"],\ + ["@tanstack/query-core", "npm:5.0.0-alpha.84"],\ + ["@tanstack/react-query", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84"],\ + ["@types/tanstack__query-core", null],\ + ["@types/tanstack__react-query", null]\ + ],\ + "packagePeers": [\ + "@tanstack/query-core",\ + "@tanstack/react-query",\ + "@types/tanstack__query-core",\ + "@types/tanstack__react-query"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["@next/env", [\ ["npm:13.4.9", {\ "packageLocation": "./.yarn/cache/@next-env-npm-13.4.9-5ac46bb714-625f01571a.zip/node_modules/@next/env/",\ @@ -1118,6 +1256,213 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["@solid-primitives/event-listener", [\ + ["npm:2.2.13", {\ + "packageLocation": "./.yarn/cache/@solid-primitives-event-listener-npm-2.2.13-996cd883dc-c4af9325be.zip/node_modules/@solid-primitives/event-listener/",\ + "packageDependencies": [\ + ["@solid-primitives/event-listener", "npm:2.2.13"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:2.2.13", {\ + "packageLocation": "./.yarn/__virtual__/@solid-primitives-event-listener-virtual-a48b96c5ec/0/cache/@solid-primitives-event-listener-npm-2.2.13-996cd883dc-c4af9325be.zip/node_modules/@solid-primitives/event-listener/",\ + "packageDependencies": [\ + ["@solid-primitives/event-listener", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:2.2.13"],\ + ["@solid-primitives/utils", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:6.2.0"],\ + ["@types/solid-js", null],\ + ["solid-js", "npm:1.7.8"]\ + ],\ + "packagePeers": [\ + "@types/solid-js",\ + "solid-js"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@solid-primitives/keyed", [\ + ["npm:1.2.0", {\ + "packageLocation": "./.yarn/cache/@solid-primitives-keyed-npm-1.2.0-daebef8e0a-ac633de7f3.zip/node_modules/@solid-primitives/keyed/",\ + "packageDependencies": [\ + ["@solid-primitives/keyed", "npm:1.2.0"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:638c081e7f6101ce98f8a89c260aabc5924dc8f7876953788f97fcbfdf217274afb9778494dc47ab972134397ca5b947dbe475f9504e99726bdf5558af90171c#npm:1.2.0", {\ + "packageLocation": "./.yarn/__virtual__/@solid-primitives-keyed-virtual-823f5888ce/0/cache/@solid-primitives-keyed-npm-1.2.0-daebef8e0a-ac633de7f3.zip/node_modules/@solid-primitives/keyed/",\ + "packageDependencies": [\ + ["@solid-primitives/keyed", "virtual:638c081e7f6101ce98f8a89c260aabc5924dc8f7876953788f97fcbfdf217274afb9778494dc47ab972134397ca5b947dbe475f9504e99726bdf5558af90171c#npm:1.2.0"],\ + ["@types/solid-js", null],\ + ["solid-js", "npm:1.7.8"]\ + ],\ + "packagePeers": [\ + "@types/solid-js",\ + "solid-js"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@solid-primitives/refs", [\ + ["npm:1.0.4", {\ + "packageLocation": "./.yarn/cache/@solid-primitives-refs-npm-1.0.4-d3ae61e44a-2ce4188cd7.zip/node_modules/@solid-primitives/refs/",\ + "packageDependencies": [\ + ["@solid-primitives/refs", "npm:1.0.4"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:9bdc6a2cb0e8cb62c2be29c7e1db16a826be471cf1fa2330351ded18901a67662e53b3d9b04c6bf73df1ebc692958be696581a10a3a25a66b22e7ac4f2c49a87#npm:1.0.4", {\ + "packageLocation": "./.yarn/__virtual__/@solid-primitives-refs-virtual-36b5481608/0/cache/@solid-primitives-refs-npm-1.0.4-d3ae61e44a-2ce4188cd7.zip/node_modules/@solid-primitives/refs/",\ + "packageDependencies": [\ + ["@solid-primitives/refs", "virtual:9bdc6a2cb0e8cb62c2be29c7e1db16a826be471cf1fa2330351ded18901a67662e53b3d9b04c6bf73df1ebc692958be696581a10a3a25a66b22e7ac4f2c49a87#npm:1.0.4"],\ + ["@solid-primitives/utils", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:6.2.0"],\ + ["@types/solid-js", null],\ + ["solid-js", "npm:1.7.8"]\ + ],\ + "packagePeers": [\ + "@types/solid-js",\ + "solid-js"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@solid-primitives/resize-observer", [\ + ["npm:2.0.18", {\ + "packageLocation": "./.yarn/cache/@solid-primitives-resize-observer-npm-2.0.18-4fb334bf80-6cb89754a4.zip/node_modules/@solid-primitives/resize-observer/",\ + "packageDependencies": [\ + ["@solid-primitives/resize-observer", "npm:2.0.18"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:638c081e7f6101ce98f8a89c260aabc5924dc8f7876953788f97fcbfdf217274afb9778494dc47ab972134397ca5b947dbe475f9504e99726bdf5558af90171c#npm:2.0.18", {\ + "packageLocation": "./.yarn/__virtual__/@solid-primitives-resize-observer-virtual-b209888c85/0/cache/@solid-primitives-resize-observer-npm-2.0.18-4fb334bf80-6cb89754a4.zip/node_modules/@solid-primitives/resize-observer/",\ + "packageDependencies": [\ + ["@solid-primitives/resize-observer", "virtual:638c081e7f6101ce98f8a89c260aabc5924dc8f7876953788f97fcbfdf217274afb9778494dc47ab972134397ca5b947dbe475f9504e99726bdf5558af90171c#npm:2.0.18"],\ + ["@solid-primitives/event-listener", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:2.2.13"],\ + ["@solid-primitives/rootless", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:1.4.1"],\ + ["@solid-primitives/static-store", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:0.0.4"],\ + ["@solid-primitives/utils", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:6.2.0"],\ + ["@types/solid-js", null],\ + ["solid-js", "npm:1.7.8"]\ + ],\ + "packagePeers": [\ + "@types/solid-js",\ + "solid-js"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@solid-primitives/rootless", [\ + ["npm:1.4.1", {\ + "packageLocation": "./.yarn/cache/@solid-primitives-rootless-npm-1.4.1-0ada4f340d-8b31ec4ee7.zip/node_modules/@solid-primitives/rootless/",\ + "packageDependencies": [\ + ["@solid-primitives/rootless", "npm:1.4.1"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:1.4.1", {\ + "packageLocation": "./.yarn/__virtual__/@solid-primitives-rootless-virtual-275993d048/0/cache/@solid-primitives-rootless-npm-1.4.1-0ada4f340d-8b31ec4ee7.zip/node_modules/@solid-primitives/rootless/",\ + "packageDependencies": [\ + ["@solid-primitives/rootless", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:1.4.1"],\ + ["@solid-primitives/utils", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:6.2.0"],\ + ["@types/solid-js", null],\ + ["solid-js", "npm:1.7.8"]\ + ],\ + "packagePeers": [\ + "@types/solid-js",\ + "solid-js"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@solid-primitives/static-store", [\ + ["npm:0.0.4", {\ + "packageLocation": "./.yarn/cache/@solid-primitives-static-store-npm-0.0.4-542e6c26ee-a26387c077.zip/node_modules/@solid-primitives/static-store/",\ + "packageDependencies": [\ + ["@solid-primitives/static-store", "npm:0.0.4"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:0.0.4", {\ + "packageLocation": "./.yarn/__virtual__/@solid-primitives-static-store-virtual-20d61580e4/0/cache/@solid-primitives-static-store-npm-0.0.4-542e6c26ee-a26387c077.zip/node_modules/@solid-primitives/static-store/",\ + "packageDependencies": [\ + ["@solid-primitives/static-store", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:0.0.4"],\ + ["@solid-primitives/utils", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:6.2.0"],\ + ["@types/solid-js", null],\ + ["solid-js", "npm:1.7.8"]\ + ],\ + "packagePeers": [\ + "@types/solid-js",\ + "solid-js"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@solid-primitives/storage", [\ + ["npm:1.3.11", {\ + "packageLocation": "./.yarn/cache/@solid-primitives-storage-npm-1.3.11-ba4cbaf983-e5b0aad0fd.zip/node_modules/@solid-primitives/storage/",\ + "packageDependencies": [\ + ["@solid-primitives/storage", "npm:1.3.11"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:638c081e7f6101ce98f8a89c260aabc5924dc8f7876953788f97fcbfdf217274afb9778494dc47ab972134397ca5b947dbe475f9504e99726bdf5558af90171c#npm:1.3.11", {\ + "packageLocation": "./.yarn/__virtual__/@solid-primitives-storage-virtual-baf1437d07/0/cache/@solid-primitives-storage-npm-1.3.11-ba4cbaf983-e5b0aad0fd.zip/node_modules/@solid-primitives/storage/",\ + "packageDependencies": [\ + ["@solid-primitives/storage", "virtual:638c081e7f6101ce98f8a89c260aabc5924dc8f7876953788f97fcbfdf217274afb9778494dc47ab972134397ca5b947dbe475f9504e99726bdf5558af90171c#npm:1.3.11"],\ + ["@solid-primitives/utils", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:6.2.0"],\ + ["@types/solid-js", null],\ + ["solid-js", "npm:1.7.8"]\ + ],\ + "packagePeers": [\ + "@types/solid-js",\ + "solid-js"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@solid-primitives/transition-group", [\ + ["npm:1.0.2", {\ + "packageLocation": "./.yarn/cache/@solid-primitives-transition-group-npm-1.0.2-82d08db3c3-69907982e9.zip/node_modules/@solid-primitives/transition-group/",\ + "packageDependencies": [\ + ["@solid-primitives/transition-group", "npm:1.0.2"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:9bdc6a2cb0e8cb62c2be29c7e1db16a826be471cf1fa2330351ded18901a67662e53b3d9b04c6bf73df1ebc692958be696581a10a3a25a66b22e7ac4f2c49a87#npm:1.0.2", {\ + "packageLocation": "./.yarn/__virtual__/@solid-primitives-transition-group-virtual-cd241e33b8/0/cache/@solid-primitives-transition-group-npm-1.0.2-82d08db3c3-69907982e9.zip/node_modules/@solid-primitives/transition-group/",\ + "packageDependencies": [\ + ["@solid-primitives/transition-group", "virtual:9bdc6a2cb0e8cb62c2be29c7e1db16a826be471cf1fa2330351ded18901a67662e53b3d9b04c6bf73df1ebc692958be696581a10a3a25a66b22e7ac4f2c49a87#npm:1.0.2"],\ + ["@types/solid-js", null],\ + ["solid-js", "npm:1.7.8"]\ + ],\ + "packagePeers": [\ + "@types/solid-js",\ + "solid-js"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@solid-primitives/utils", [\ + ["npm:6.2.0", {\ + "packageLocation": "./.yarn/cache/@solid-primitives-utils-npm-6.2.0-bb02cb9aa6-945f160407.zip/node_modules/@solid-primitives/utils/",\ + "packageDependencies": [\ + ["@solid-primitives/utils", "npm:6.2.0"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:6.2.0", {\ + "packageLocation": "./.yarn/__virtual__/@solid-primitives-utils-virtual-a12fab0fe1/0/cache/@solid-primitives-utils-npm-6.2.0-bb02cb9aa6-945f160407.zip/node_modules/@solid-primitives/utils/",\ + "packageDependencies": [\ + ["@solid-primitives/utils", "virtual:b209888c8572b96d0cc69f60750338d71a8e878368ac9d796f3f0b18e42b72b10f6ccab29a368f2e52a969b06abe00c9d7d12ee9f2c1b42b4523b15a0660c141#npm:6.2.0"],\ + ["@types/solid-js", null],\ + ["solid-js", "npm:1.7.8"]\ + ],\ + "packagePeers": [\ + "@types/solid-js",\ + "solid-js"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["@swc/helpers", [\ ["npm:0.5.1", {\ "packageLocation": "./.yarn/cache/@swc-helpers-npm-0.5.1-424376f311-71e0e27234.zip/node_modules/@swc/helpers/",\ @@ -1128,6 +1473,139 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["@tanstack/match-sorter-utils", [\ + ["npm:8.8.4", {\ + "packageLocation": "./.yarn/cache/@tanstack-match-sorter-utils-npm-8.8.4-488b98c113-d005f50075.zip/node_modules/@tanstack/match-sorter-utils/",\ + "packageDependencies": [\ + ["@tanstack/match-sorter-utils", "npm:8.8.4"],\ + ["remove-accents", "npm:0.4.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@tanstack/query-core", [\ + ["npm:5.0.0-alpha.84", {\ + "packageLocation": "./.yarn/cache/@tanstack-query-core-npm-5.0.0-alpha.84-d264ddc5fc-3f9e789340.zip/node_modules/@tanstack/query-core/",\ + "packageDependencies": [\ + ["@tanstack/query-core", "npm:5.0.0-alpha.84"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@tanstack/query-devtools", [\ + ["npm:5.0.0-alpha.84", {\ + "packageLocation": "./.yarn/cache/@tanstack-query-devtools-npm-5.0.0-alpha.84-638c081e7f-53684720b1.zip/node_modules/@tanstack/query-devtools/",\ + "packageDependencies": [\ + ["@tanstack/query-devtools", "npm:5.0.0-alpha.84"],\ + ["@emotion/css", "npm:11.11.2"],\ + ["@solid-primitives/keyed", "virtual:638c081e7f6101ce98f8a89c260aabc5924dc8f7876953788f97fcbfdf217274afb9778494dc47ab972134397ca5b947dbe475f9504e99726bdf5558af90171c#npm:1.2.0"],\ + ["@solid-primitives/resize-observer", "virtual:638c081e7f6101ce98f8a89c260aabc5924dc8f7876953788f97fcbfdf217274afb9778494dc47ab972134397ca5b947dbe475f9504e99726bdf5558af90171c#npm:2.0.18"],\ + ["@solid-primitives/storage", "virtual:638c081e7f6101ce98f8a89c260aabc5924dc8f7876953788f97fcbfdf217274afb9778494dc47ab972134397ca5b947dbe475f9504e99726bdf5558af90171c#npm:1.3.11"],\ + ["@tanstack/match-sorter-utils", "npm:8.8.4"],\ + ["solid-js", "npm:1.7.8"],\ + ["solid-transition-group", "virtual:638c081e7f6101ce98f8a89c260aabc5924dc8f7876953788f97fcbfdf217274afb9778494dc47ab972134397ca5b947dbe475f9504e99726bdf5558af90171c#npm:0.2.2"],\ + ["superjson", "npm:1.13.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@tanstack/react-query", [\ + ["npm:5.0.0-alpha.84", {\ + "packageLocation": "./.yarn/cache/@tanstack-react-query-npm-5.0.0-alpha.84-8b0f0aac80-8e8979c407.zip/node_modules/@tanstack/react-query/",\ + "packageDependencies": [\ + ["@tanstack/react-query", "npm:5.0.0-alpha.84"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84", {\ + "packageLocation": "./.yarn/__virtual__/@tanstack-react-query-virtual-72b767ece9/0/cache/@tanstack-react-query-npm-5.0.0-alpha.84-8b0f0aac80-8e8979c407.zip/node_modules/@tanstack/react-query/",\ + "packageDependencies": [\ + ["@tanstack/react-query", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84"],\ + ["@tanstack/query-core", "npm:5.0.0-alpha.84"],\ + ["@types/react", "npm:18.2.14"],\ + ["@types/react-dom", "npm:18.2.6"],\ + ["@types/react-native", null],\ + ["client-only", "npm:0.0.1"],\ + ["react", "npm:18.2.0"],\ + ["react-dom", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:18.2.0"],\ + ["react-native", null]\ + ],\ + "packagePeers": [\ + "@types/react-dom",\ + "@types/react-native",\ + "@types/react",\ + "react-dom",\ + "react-native",\ + "react"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@tanstack/react-query-devtools", [\ + ["npm:5.0.0-alpha.84", {\ + "packageLocation": "./.yarn/cache/@tanstack-react-query-devtools-npm-5.0.0-alpha.84-8c8d0144a8-76b5ec9fbe.zip/node_modules/@tanstack/react-query-devtools/",\ + "packageDependencies": [\ + ["@tanstack/react-query-devtools", "npm:5.0.0-alpha.84"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84", {\ + "packageLocation": "./.yarn/__virtual__/@tanstack-react-query-devtools-virtual-b90a9e6f1e/0/cache/@tanstack-react-query-devtools-npm-5.0.0-alpha.84-8c8d0144a8-76b5ec9fbe.zip/node_modules/@tanstack/react-query-devtools/",\ + "packageDependencies": [\ + ["@tanstack/react-query-devtools", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84"],\ + ["@tanstack/query-devtools", "npm:5.0.0-alpha.84"],\ + ["@tanstack/react-query", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84"],\ + ["@types/react", "npm:18.2.14"],\ + ["@types/react-dom", "npm:18.2.6"],\ + ["@types/tanstack__react-query", null],\ + ["react", "npm:18.2.0"],\ + ["react-dom", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:18.2.0"]\ + ],\ + "packagePeers": [\ + "@tanstack/react-query",\ + "@types/react-dom",\ + "@types/react",\ + "@types/tanstack__react-query",\ + "react-dom",\ + "react"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@tanstack/react-query-next-experimental", [\ + ["npm:5.0.0-alpha.84", {\ + "packageLocation": "./.yarn/cache/@tanstack-react-query-next-experimental-npm-5.0.0-alpha.84-65bd3893e8-474d8f991e.zip/node_modules/@tanstack/react-query-next-experimental/",\ + "packageDependencies": [\ + ["@tanstack/react-query-next-experimental", "npm:5.0.0-alpha.84"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84", {\ + "packageLocation": "./.yarn/__virtual__/@tanstack-react-query-next-experimental-virtual-cc40ef4862/0/cache/@tanstack-react-query-next-experimental-npm-5.0.0-alpha.84-65bd3893e8-474d8f991e.zip/node_modules/@tanstack/react-query-next-experimental/",\ + "packageDependencies": [\ + ["@tanstack/react-query-next-experimental", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84"],\ + ["@tanstack/react-query", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84"],\ + ["@types/next", null],\ + ["@types/react", "npm:18.2.14"],\ + ["@types/react-dom", "npm:18.2.6"],\ + ["@types/tanstack__react-query", null],\ + ["next", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:13.4.9"],\ + ["react", "npm:18.2.0"],\ + ["react-dom", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:18.2.0"]\ + ],\ + "packagePeers": [\ + "@tanstack/react-query",\ + "@types/next",\ + "@types/react-dom",\ + "@types/react",\ + "@types/tanstack__react-query",\ + "next",\ + "react-dom",\ + "react"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["@tootallnate/once", [\ ["npm:2.0.0", {\ "packageLocation": "./.yarn/cache/@tootallnate-once-npm-2.0.0-e36cf4f140-ad87447820.zip/node_modules/@tootallnate/once/",\ @@ -1164,6 +1642,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["@types/parse-json", [\ + ["npm:4.0.0", {\ + "packageLocation": "./.yarn/cache/@types-parse-json-npm-4.0.0-298522afa6-fd6bce2b67.zip/node_modules/@types/parse-json/",\ + "packageDependencies": [\ + ["@types/parse-json", "npm:4.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["@types/prop-types", [\ ["npm:15.7.5", {\ "packageLocation": "./.yarn/cache/@types-prop-types-npm-15.7.5-2aa48aa177-5b43b8b154.zip/node_modules/@types/prop-types/",\ @@ -1839,6 +2326,18 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["babel-plugin-macros", [\ + ["npm:3.1.0", {\ + "packageLocation": "./.yarn/cache/babel-plugin-macros-npm-3.1.0-320e781f4e-765de4abeb.zip/node_modules/babel-plugin-macros/",\ + "packageDependencies": [\ + ["babel-plugin-macros", "npm:3.1.0"],\ + ["@babel/runtime", "npm:7.22.6"],\ + ["cosmiconfig", "npm:7.1.0"],\ + ["resolve", "patch:resolve@npm%3A1.22.3#~builtin::version=1.22.3&hash=c3c19d"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["balanced-match", [\ ["npm:1.0.2", {\ "packageLocation": "./.yarn/cache/balanced-match-npm-1.0.2-a53c126459-9706c088a2.zip/node_modules/balanced-match/",\ @@ -2186,6 +2685,30 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["copy-anything", [\ + ["npm:3.0.5", {\ + "packageLocation": "./.yarn/cache/copy-anything-npm-3.0.5-562d15fb3f-d39f6601c1.zip/node_modules/copy-anything/",\ + "packageDependencies": [\ + ["copy-anything", "npm:3.0.5"],\ + ["is-what", "npm:4.1.15"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["cosmiconfig", [\ + ["npm:7.1.0", {\ + "packageLocation": "./.yarn/cache/cosmiconfig-npm-7.1.0-13a5090bcd-c53bf7befc.zip/node_modules/cosmiconfig/",\ + "packageDependencies": [\ + ["cosmiconfig", "npm:7.1.0"],\ + ["@types/parse-json", "npm:4.0.0"],\ + ["import-fresh", "npm:3.3.0"],\ + ["parse-json", "npm:5.2.0"],\ + ["path-type", "npm:4.0.0"],\ + ["yaml", "npm:1.10.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["cross-spawn", [\ ["npm:7.0.3", {\ "packageLocation": "./.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-671cc7c728.zip/node_modules/cross-spawn/",\ @@ -2486,6 +3009,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["error-ex", [\ + ["npm:1.3.2", {\ + "packageLocation": "./.yarn/cache/error-ex-npm-1.3.2-5654f80c0f-c1c2b8b65f.zip/node_modules/error-ex/",\ + "packageDependencies": [\ + ["error-ex", "npm:1.3.2"],\ + ["is-arrayish", "npm:0.2.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["es-abstract", [\ ["npm:1.21.2", {\ "packageLocation": "./.yarn/cache/es-abstract-npm-1.21.2-f4ebace1ab-037f55ee5e.zip/node_modules/es-abstract/",\ @@ -3274,6 +3807,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["find-root", [\ + ["npm:1.1.0", {\ + "packageLocation": "./.yarn/cache/find-root-npm-1.1.0-a16a94005f-b2a59fe4b6.zip/node_modules/find-root/",\ + "packageDependencies": [\ + ["find-root", "npm:1.1.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["find-up", [\ ["npm:5.0.0", {\ "packageLocation": "./.yarn/cache/find-up-npm-5.0.0-e03e9b796d-07955e3573.zip/node_modules/find-up/",\ @@ -3862,6 +4404,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["is-arrayish", [\ + ["npm:0.2.1", {\ + "packageLocation": "./.yarn/cache/is-arrayish-npm-0.2.1-23927dfb15-eef4417e3c.zip/node_modules/is-arrayish/",\ + "packageDependencies": [\ + ["is-arrayish", "npm:0.2.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["is-bigint", [\ ["npm:1.0.4", {\ "packageLocation": "./.yarn/cache/is-bigint-npm-1.0.4-31c2eecbc9-c56edfe09b.zip/node_modules/is-bigint/",\ @@ -4100,6 +4651,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["is-what", [\ + ["npm:4.1.15", {\ + "packageLocation": "./.yarn/cache/is-what-npm-4.1.15-328677a458-fe27f6cd4a.zip/node_modules/is-what/",\ + "packageDependencies": [\ + ["is-what", "npm:4.1.15"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["is-wsl", [\ ["npm:2.2.0", {\ "packageLocation": "./.yarn/cache/is-wsl-npm-2.2.0-2ba10d6393-20849846ae.zip/node_modules/is-wsl/",\ @@ -4167,6 +4727,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["json-parse-even-better-errors", [\ + ["npm:2.3.1", {\ + "packageLocation": "./.yarn/cache/json-parse-even-better-errors-npm-2.3.1-144d62256e-798ed4cf33.zip/node_modules/json-parse-even-better-errors/",\ + "packageDependencies": [\ + ["json-parse-even-better-errors", "npm:2.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["json-schema-traverse", [\ ["npm:0.4.1", {\ "packageLocation": "./.yarn/cache/json-schema-traverse-npm-0.4.1-4759091693-7486074d3b.zip/node_modules/json-schema-traverse/",\ @@ -4231,6 +4800,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["keyme", "workspace:."],\ ["@effect/data", "npm:0.14.1"],\ ["@effect/io", "npm:0.32.1"],\ + ["@lukemorales/query-key-factory", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:1.3.2"],\ + ["@tanstack/query-core", "npm:5.0.0-alpha.84"],\ + ["@tanstack/react-query", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84"],\ + ["@tanstack/react-query-devtools", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84"],\ + ["@tanstack/react-query-next-experimental", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:5.0.0-alpha.84"],\ ["@types/node", "npm:20.4.1"],\ ["@types/react", "npm:18.2.14"],\ ["@types/react-dom", "npm:18.2.6"],\ @@ -4251,7 +4825,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["next", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:13.4.9"],\ ["next-themes", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:0.2.1"],\ ["pinst", "npm:3.0.0"],\ - ["prettier", "npm:3.0.0"],\ + ["prettier", "npm:2.8.8"],\ ["react", "npm:18.2.0"],\ ["react-dom", "virtual:d76264851e5b094321a276ced02144657c2a2451ee28d2caaf74b8f4479c8df0227e504a54e9773f15a6173267f646d7905b75a2cc8762e1747bcef8d1159930#npm:18.2.0"],\ ["typescript", "patch:typescript@npm%3A5.1.6#~builtin::version=5.1.6&hash=5da071"]\ @@ -4298,6 +4872,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["lines-and-columns", [\ + ["npm:1.2.4", {\ + "packageLocation": "./.yarn/cache/lines-and-columns-npm-1.2.4-d6c7cc5799-0c37f9f7fa.zip/node_modules/lines-and-columns/",\ + "packageDependencies": [\ + ["lines-and-columns", "npm:1.2.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["lint-staged", [\ ["npm:13.2.3", {\ "packageLocation": "./.yarn/cache/lint-staged-npm-13.2.3-2bebc4d0dd-ff51a1e330.zip/node_modules/lint-staged/",\ @@ -5069,6 +5652,19 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["parse-json", [\ + ["npm:5.2.0", {\ + "packageLocation": "./.yarn/cache/parse-json-npm-5.2.0-00a63b1199-62085b17d6.zip/node_modules/parse-json/",\ + "packageDependencies": [\ + ["parse-json", "npm:5.2.0"],\ + ["@babel/code-frame", "npm:7.22.5"],\ + ["error-ex", "npm:1.3.2"],\ + ["json-parse-even-better-errors", "npm:2.3.1"],\ + ["lines-and-columns", "npm:1.2.4"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["path-exists", [\ ["npm:4.0.0", {\ "packageLocation": "./.yarn/cache/path-exists-npm-4.0.0-e9e4f63eb0-505807199d.zip/node_modules/path-exists/",\ @@ -5221,10 +5817,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["prettier", [\ - ["npm:3.0.0", {\ - "packageLocation": "./.yarn/cache/prettier-npm-3.0.0-7ffbcce680-6a832876a1.zip/node_modules/prettier/",\ + ["npm:2.8.8", {\ + "packageLocation": "./.yarn/cache/prettier-npm-2.8.8-430828a36c-b49e409431.zip/node_modules/prettier/",\ "packageDependencies": [\ - ["prettier", "npm:3.0.0"]\ + ["prettier", "npm:2.8.8"]\ ],\ "linkType": "HARD"\ }]\ @@ -5346,6 +5942,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["remove-accents", [\ + ["npm:0.4.2", {\ + "packageLocation": "./.yarn/cache/remove-accents-npm-0.4.2-7cb341092a-84a6988555.zip/node_modules/remove-accents/",\ + "packageDependencies": [\ + ["remove-accents", "npm:0.4.2"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["require-like", [\ ["npm:0.1.2", {\ "packageLocation": "./.yarn/cache/require-like-npm-0.1.2-9f547327b9-edb8331f05.zip/node_modules/require-like/",\ @@ -5540,6 +6145,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["seroval", [\ + ["npm:0.5.1", {\ + "packageLocation": "./.yarn/cache/seroval-npm-0.5.1-f9aac955bb-a4c1e42d6a.zip/node_modules/seroval/",\ + "packageDependencies": [\ + ["seroval", "npm:0.5.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["set-blocking", [\ ["npm:2.0.0", {\ "packageLocation": "./.yarn/cache/set-blocking-npm-2.0.0-49e2cffa24-6e65a05f7c.zip/node_modules/set-blocking/",\ @@ -5675,7 +6289,49 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["solid-js", [\ + ["npm:1.7.8", {\ + "packageLocation": "./.yarn/cache/solid-js-npm-1.7.8-7433d052d1-e86ed6e8aa.zip/node_modules/solid-js/",\ + "packageDependencies": [\ + ["solid-js", "npm:1.7.8"],\ + ["csstype", "npm:3.1.2"],\ + ["seroval", "npm:0.5.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["solid-transition-group", [\ + ["npm:0.2.2", {\ + "packageLocation": "./.yarn/cache/solid-transition-group-npm-0.2.2-a3612433c4-f68058f070.zip/node_modules/solid-transition-group/",\ + "packageDependencies": [\ + ["solid-transition-group", "npm:0.2.2"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:638c081e7f6101ce98f8a89c260aabc5924dc8f7876953788f97fcbfdf217274afb9778494dc47ab972134397ca5b947dbe475f9504e99726bdf5558af90171c#npm:0.2.2", {\ + "packageLocation": "./.yarn/__virtual__/solid-transition-group-virtual-9bdc6a2cb0/0/cache/solid-transition-group-npm-0.2.2-a3612433c4-f68058f070.zip/node_modules/solid-transition-group/",\ + "packageDependencies": [\ + ["solid-transition-group", "virtual:638c081e7f6101ce98f8a89c260aabc5924dc8f7876953788f97fcbfdf217274afb9778494dc47ab972134397ca5b947dbe475f9504e99726bdf5558af90171c#npm:0.2.2"],\ + ["@solid-primitives/refs", "virtual:9bdc6a2cb0e8cb62c2be29c7e1db16a826be471cf1fa2330351ded18901a67662e53b3d9b04c6bf73df1ebc692958be696581a10a3a25a66b22e7ac4f2c49a87#npm:1.0.4"],\ + ["@solid-primitives/transition-group", "virtual:9bdc6a2cb0e8cb62c2be29c7e1db16a826be471cf1fa2330351ded18901a67662e53b3d9b04c6bf73df1ebc692958be696581a10a3a25a66b22e7ac4f2c49a87#npm:1.0.2"],\ + ["@types/solid-js", null],\ + ["solid-js", "npm:1.7.8"]\ + ],\ + "packagePeers": [\ + "@types/solid-js",\ + "solid-js"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["source-map", [\ + ["npm:0.5.7", {\ + "packageLocation": "./.yarn/cache/source-map-npm-0.5.7-7c3f035429-5dc2043b93.zip/node_modules/source-map/",\ + "packageDependencies": [\ + ["source-map", "npm:0.5.7"]\ + ],\ + "linkType": "HARD"\ + }],\ ["npm:0.6.1", {\ "packageLocation": "./.yarn/cache/source-map-npm-0.6.1-1a3621db16-59ce8640cf.zip/node_modules/source-map/",\ "packageDependencies": [\ @@ -5900,6 +6556,25 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["stylis", [\ + ["npm:4.2.0", {\ + "packageLocation": "./.yarn/cache/stylis-npm-4.2.0-6b07f11c99-0eb6cc1b86.zip/node_modules/stylis/",\ + "packageDependencies": [\ + ["stylis", "npm:4.2.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["superjson", [\ + ["npm:1.13.1", {\ + "packageLocation": "./.yarn/cache/superjson-npm-1.13.1-39607ca2e6-9c8c664a92.zip/node_modules/superjson/",\ + "packageDependencies": [\ + ["superjson", "npm:1.13.1"],\ + ["copy-anything", "npm:3.0.5"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["supports-color", [\ ["npm:5.5.0", {\ "packageLocation": "./.yarn/cache/supports-color-npm-5.5.0-183ac537bc-95f6f4ba5a.zip/node_modules/supports-color/",\ @@ -6398,6 +7073,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["yaml", [\ + ["npm:1.10.2", {\ + "packageLocation": "./.yarn/cache/yaml-npm-1.10.2-0e780aebdf-ce4ada136e.zip/node_modules/yaml/",\ + "packageDependencies": [\ + ["yaml", "npm:1.10.2"]\ + ],\ + "linkType": "HARD"\ + }],\ ["npm:2.3.1", {\ "packageLocation": "./.yarn/cache/yaml-npm-2.3.1-743f5688d1-2c7bc9a7cd.zip/node_modules/yaml/",\ "packageDependencies": [\ diff --git a/.vscode/settings.json b/.vscode/settings.json index 62999ce..dfdf6f9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,5 +6,8 @@ }, "eslint.nodePath": ".yarn/sdks", "prettier.prettierPath": ".yarn/sdks/prettier/index.js", - "typescript.enablePromptUseWorkspaceTsdk": true + "typescript.enablePromptUseWorkspaceTsdk": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + } } diff --git a/.yarn/sdks/eslint/bin/eslint.js b/.yarn/sdks/eslint/bin/eslint.js index f0557a0..9ef98e4 100755 --- a/.yarn/sdks/eslint/bin/eslint.js +++ b/.yarn/sdks/eslint/bin/eslint.js @@ -1,10 +1,10 @@ #!/usr/bin/env node -const { existsSync } = require(`fs`); -const { createRequire } = require(`module`); -const { resolve } = require(`path`); +const {existsSync} = require(`fs`); +const {createRequire} = require(`module`); +const {resolve} = require(`path`); -const relPnpApiPath = '../../../../.pnp.cjs'; +const relPnpApiPath = "../../../../.pnp.cjs"; const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = createRequire(absPnpApiPath); diff --git a/.yarn/sdks/eslint/lib/api.js b/.yarn/sdks/eslint/lib/api.js index 93f1f0c..653b22b 100644 --- a/.yarn/sdks/eslint/lib/api.js +++ b/.yarn/sdks/eslint/lib/api.js @@ -1,10 +1,10 @@ #!/usr/bin/env node -const { existsSync } = require(`fs`); -const { createRequire } = require(`module`); -const { resolve } = require(`path`); +const {existsSync} = require(`fs`); +const {createRequire} = require(`module`); +const {resolve} = require(`path`); -const relPnpApiPath = '../../../../.pnp.cjs'; +const relPnpApiPath = "../../../../.pnp.cjs"; const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = createRequire(absPnpApiPath); diff --git a/.yarn/sdks/prettier/index.js b/.yarn/sdks/prettier/index.js index 27ef078..8758e36 100755 --- a/.yarn/sdks/prettier/index.js +++ b/.yarn/sdks/prettier/index.js @@ -1,10 +1,10 @@ #!/usr/bin/env node -const { existsSync } = require(`fs`); -const { createRequire } = require(`module`); -const { resolve } = require(`path`); +const {existsSync} = require(`fs`); +const {createRequire} = require(`module`); +const {resolve} = require(`path`); -const relPnpApiPath = '../../../.pnp.cjs'; +const relPnpApiPath = "../../../.pnp.cjs"; const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = createRequire(absPnpApiPath); diff --git a/.yarn/sdks/prettier/package.json b/.yarn/sdks/prettier/package.json index 3c1bb0b..40e3c2e 100644 --- a/.yarn/sdks/prettier/package.json +++ b/.yarn/sdks/prettier/package.json @@ -1,6 +1,6 @@ { "name": "prettier", - "version": "3.0.0-sdk", + "version": "2.8.8-sdk", "main": "./index.js", "type": "commonjs" } diff --git a/.yarn/sdks/typescript/lib/tsc.js b/.yarn/sdks/typescript/lib/tsc.js index 1d3e2a8..2f62fc9 100644 --- a/.yarn/sdks/typescript/lib/tsc.js +++ b/.yarn/sdks/typescript/lib/tsc.js @@ -1,10 +1,10 @@ #!/usr/bin/env node -const { existsSync } = require(`fs`); -const { createRequire } = require(`module`); -const { resolve } = require(`path`); +const {existsSync} = require(`fs`); +const {createRequire} = require(`module`); +const {resolve} = require(`path`); -const relPnpApiPath = '../../../../.pnp.cjs'; +const relPnpApiPath = "../../../../.pnp.cjs"; const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = createRequire(absPnpApiPath); diff --git a/.yarn/sdks/typescript/lib/tsserver.js b/.yarn/sdks/typescript/lib/tsserver.js index 383f27c..bbb1e46 100644 --- a/.yarn/sdks/typescript/lib/tsserver.js +++ b/.yarn/sdks/typescript/lib/tsserver.js @@ -1,31 +1,29 @@ #!/usr/bin/env node -const { existsSync } = require(`fs`); -const { createRequire } = require(`module`); -const { resolve } = require(`path`); +const {existsSync} = require(`fs`); +const {createRequire} = require(`module`); +const {resolve} = require(`path`); -const relPnpApiPath = '../../../../.pnp.cjs'; +const relPnpApiPath = "../../../../.pnp.cjs"; const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = createRequire(absPnpApiPath); -const moduleWrapper = (tsserver) => { +const moduleWrapper = tsserver => { if (!process.versions.pnp) { return tsserver; } - const { isAbsolute } = require(`path`); + const {isAbsolute} = require(`path`); const pnpApi = require(`pnpapi`); - const isVirtual = (str) => str.match(/\/(\$\$virtual|__virtual__)\//); - const isPortal = (str) => str.startsWith('portal:/'); - const normalize = (str) => str.replace(/\\/g, `/`).replace(/^\/?/, `/`); + const isVirtual = str => str.match(/\/(\$\$virtual|__virtual__)\//); + const isPortal = str => str.startsWith("portal:/"); + const normalize = str => str.replace(/\\/g, `/`).replace(/^\/?/, `/`); - const dependencyTreeRoots = new Set( - pnpApi.getDependencyTreeRoots().map((locator) => { - return `${locator.name}@${locator.reference}`; - }), - ); + const dependencyTreeRoots = new Set(pnpApi.getDependencyTreeRoots().map(locator => { + return `${locator.name}@${locator.reference}`; + })); // VSCode sends the zip paths to TS using the "zip://" prefix, that TS // doesn't understand. This layer makes sure to remove the protocol @@ -33,11 +31,7 @@ const moduleWrapper = (tsserver) => { function toEditorPath(str) { // We add the `zip:` prefix to both `.zip/` paths and virtual paths - if ( - isAbsolute(str) && - !str.match(/^\^?(zip:|\/zip\/)/) && - (str.match(/\.zip\//) || isVirtual(str)) - ) { + if (isAbsolute(str) && !str.match(/^\^?(zip:|\/zip\/)/) && (str.match(/\.zip\//) || isVirtual(str))) { // We also take the opportunity to turn virtual paths into physical ones; // this makes it much easier to work with workspaces that list peer // dependencies, since otherwise Ctrl+Click would bring us to the virtual @@ -51,11 +45,7 @@ const moduleWrapper = (tsserver) => { const resolved = isVirtual(str) ? pnpApi.resolveVirtual(str) : str; if (resolved) { const locator = pnpApi.findPackageLocator(resolved); - if ( - locator && - (dependencyTreeRoots.has(`${locator.name}@${locator.reference}`) || - isPortal(locator.reference)) - ) { + if (locator && (dependencyTreeRoots.has(`${locator.name}@${locator.reference}`) || isPortal(locator.reference))) { str = resolved; } } @@ -83,55 +73,41 @@ const moduleWrapper = (tsserver) => { // Before | ^/zip/c:/foo/bar.zip/package.json // After | ^/zip//c:/foo/bar.zip/package.json // - case `vscode <1.61`: - { - str = `^zip:${str}`; - } - break; + case `vscode <1.61`: { + str = `^zip:${str}`; + } break; - case `vscode <1.66`: - { - str = `^/zip/${str}`; - } - break; + case `vscode <1.66`: { + str = `^/zip/${str}`; + } break; - case `vscode <1.68`: - { - str = `^/zip${str}`; - } - break; + case `vscode <1.68`: { + str = `^/zip${str}`; + } break; - case `vscode`: - { - str = `^/zip/${str}`; - } - break; + case `vscode`: { + str = `^/zip/${str}`; + } break; // To make "go to definition" work, // We have to resolve the actual file system path from virtual path // and convert scheme to supported by [vim-rzip](https://github.com/lbrayner/vim-rzip) - case `coc-nvim`: - { - str = normalize(resolved).replace(/\.zip\//, `.zip::`); - str = resolve(`zipfile:${str}`); - } - break; + case `coc-nvim`: { + str = normalize(resolved).replace(/\.zip\//, `.zip::`); + str = resolve(`zipfile:${str}`); + } break; // Support neovim native LSP and [typescript-language-server](https://github.com/theia-ide/typescript-language-server) // We have to resolve the actual file system path from virtual path, // everything else is up to neovim - case `neovim`: - { - str = normalize(resolved).replace(/\.zip\//, `.zip::`); - str = `zipfile://${str}`; - } - break; - - default: - { - str = `zip:${str}`; - } - break; + case `neovim`: { + str = normalize(resolved).replace(/\.zip\//, `.zip::`); + str = `zipfile://${str}`; + } break; + + default: { + str = `zip:${str}`; + } break; } } else { str = str.replace(/^\/?/, process.platform === `win32` ? `` : `/`); @@ -143,35 +119,26 @@ const moduleWrapper = (tsserver) => { function fromEditorPath(str) { switch (hostInfo) { - case `coc-nvim`: - { - str = str.replace(/\.zip::/, `.zip/`); - // The path for coc-nvim is in format of //zipfile://.yarn/... - // So in order to convert it back, we use .* to match all the thing - // before `zipfile:` - return process.platform === `win32` - ? str.replace(/^.*zipfile:\//, ``) - : str.replace(/^.*zipfile:/, ``); - } - break; - - case `neovim`: - { - str = str.replace(/\.zip::/, `.zip/`); - // The path for neovim is in format of zipfile:////.yarn/... - return str.replace(/^zipfile:\/\//, ``); - } - break; + case `coc-nvim`: { + str = str.replace(/\.zip::/, `.zip/`); + // The path for coc-nvim is in format of //zipfile://.yarn/... + // So in order to convert it back, we use .* to match all the thing + // before `zipfile:` + return process.platform === `win32` + ? str.replace(/^.*zipfile:\//, ``) + : str.replace(/^.*zipfile:/, ``); + } break; + + case `neovim`: { + str = str.replace(/\.zip::/, `.zip/`); + // The path for neovim is in format of zipfile:////.yarn/... + return str.replace(/^zipfile:\/\//, ``); + } break; case `vscode`: - default: - { - return str.replace( - /^\^?(zip:|\/zip(\/ts-nul-authority)?)\/+/, - process.platform === `win32` ? `` : `/`, - ); - } - break; + default: { + return str.replace(/^\^?(zip:|\/zip(\/ts-nul-authority)?)\/+/, process.platform === `win32` ? `` : `/`) + } break; } } @@ -183,9 +150,8 @@ const moduleWrapper = (tsserver) => { // TypeScript already does local loads and if this code is running the user trusts the workspace // https://github.com/microsoft/vscode/issues/45856 const ConfiguredProject = tsserver.server.ConfiguredProject; - const { enablePluginsWithOptions: originalEnablePluginsWithOptions } = - ConfiguredProject.prototype; - ConfiguredProject.prototype.enablePluginsWithOptions = function () { + const {enablePluginsWithOptions: originalEnablePluginsWithOptions} = ConfiguredProject.prototype; + ConfiguredProject.prototype.enablePluginsWithOptions = function() { this.projectService.allowLocalPluginLoads = true; return originalEnablePluginsWithOptions.apply(this, arguments); }; @@ -195,8 +161,7 @@ const moduleWrapper = (tsserver) => { // like an absolute path of ours and normalize it. const Session = tsserver.server.Session; - const { onMessage: originalOnMessage, send: originalSend } = - Session.prototype; + const {onMessage: originalOnMessage, send: originalSend} = Session.prototype; let hostInfo = `unknown`; Object.assign(Session.prototype, { @@ -212,12 +177,10 @@ const moduleWrapper = (tsserver) => { ) { hostInfo = parsedMessage.arguments.hostInfo; if (hostInfo === `vscode` && process.env.VSCODE_IPC_HOOK) { - const [, major, minor] = ( - process.env.VSCODE_IPC_HOOK.match( - // The RegExp from https://semver.org/ but without the caret at the start - /(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/, - ) ?? [] - ).map(Number); + const [, major, minor] = (process.env.VSCODE_IPC_HOOK.match( + // The RegExp from https://semver.org/ but without the caret at the start + /(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/ + ) ?? []).map(Number) if (major === 1) { if (minor < 61) { @@ -231,31 +194,21 @@ const moduleWrapper = (tsserver) => { } } - const processedMessageJSON = JSON.stringify( - parsedMessage, - (key, value) => { - return typeof value === 'string' ? fromEditorPath(value) : value; - }, - ); + const processedMessageJSON = JSON.stringify(parsedMessage, (key, value) => { + return typeof value === 'string' ? fromEditorPath(value) : value; + }); return originalOnMessage.call( this, - isStringMessage - ? processedMessageJSON - : JSON.parse(processedMessageJSON), + isStringMessage ? processedMessageJSON : JSON.parse(processedMessageJSON) ); }, send(/** @type {any} */ msg) { - return originalSend.call( - this, - JSON.parse( - JSON.stringify(msg, (key, value) => { - return typeof value === `string` ? toEditorPath(value) : value; - }), - ), - ); - }, + return originalSend.call(this, JSON.parse(JSON.stringify(msg, (key, value) => { + return typeof value === `string` ? toEditorPath(value) : value; + }))); + } }); return tsserver; diff --git a/.yarn/sdks/typescript/lib/tsserverlibrary.js b/.yarn/sdks/typescript/lib/tsserverlibrary.js index 28fe36f..a68f028 100644 --- a/.yarn/sdks/typescript/lib/tsserverlibrary.js +++ b/.yarn/sdks/typescript/lib/tsserverlibrary.js @@ -1,31 +1,29 @@ #!/usr/bin/env node -const { existsSync } = require(`fs`); -const { createRequire } = require(`module`); -const { resolve } = require(`path`); +const {existsSync} = require(`fs`); +const {createRequire} = require(`module`); +const {resolve} = require(`path`); -const relPnpApiPath = '../../../../.pnp.cjs'; +const relPnpApiPath = "../../../../.pnp.cjs"; const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = createRequire(absPnpApiPath); -const moduleWrapper = (tsserver) => { +const moduleWrapper = tsserver => { if (!process.versions.pnp) { return tsserver; } - const { isAbsolute } = require(`path`); + const {isAbsolute} = require(`path`); const pnpApi = require(`pnpapi`); - const isVirtual = (str) => str.match(/\/(\$\$virtual|__virtual__)\//); - const isPortal = (str) => str.startsWith('portal:/'); - const normalize = (str) => str.replace(/\\/g, `/`).replace(/^\/?/, `/`); + const isVirtual = str => str.match(/\/(\$\$virtual|__virtual__)\//); + const isPortal = str => str.startsWith("portal:/"); + const normalize = str => str.replace(/\\/g, `/`).replace(/^\/?/, `/`); - const dependencyTreeRoots = new Set( - pnpApi.getDependencyTreeRoots().map((locator) => { - return `${locator.name}@${locator.reference}`; - }), - ); + const dependencyTreeRoots = new Set(pnpApi.getDependencyTreeRoots().map(locator => { + return `${locator.name}@${locator.reference}`; + })); // VSCode sends the zip paths to TS using the "zip://" prefix, that TS // doesn't understand. This layer makes sure to remove the protocol @@ -33,11 +31,7 @@ const moduleWrapper = (tsserver) => { function toEditorPath(str) { // We add the `zip:` prefix to both `.zip/` paths and virtual paths - if ( - isAbsolute(str) && - !str.match(/^\^?(zip:|\/zip\/)/) && - (str.match(/\.zip\//) || isVirtual(str)) - ) { + if (isAbsolute(str) && !str.match(/^\^?(zip:|\/zip\/)/) && (str.match(/\.zip\//) || isVirtual(str))) { // We also take the opportunity to turn virtual paths into physical ones; // this makes it much easier to work with workspaces that list peer // dependencies, since otherwise Ctrl+Click would bring us to the virtual @@ -51,11 +45,7 @@ const moduleWrapper = (tsserver) => { const resolved = isVirtual(str) ? pnpApi.resolveVirtual(str) : str; if (resolved) { const locator = pnpApi.findPackageLocator(resolved); - if ( - locator && - (dependencyTreeRoots.has(`${locator.name}@${locator.reference}`) || - isPortal(locator.reference)) - ) { + if (locator && (dependencyTreeRoots.has(`${locator.name}@${locator.reference}`) || isPortal(locator.reference))) { str = resolved; } } @@ -83,55 +73,41 @@ const moduleWrapper = (tsserver) => { // Before | ^/zip/c:/foo/bar.zip/package.json // After | ^/zip//c:/foo/bar.zip/package.json // - case `vscode <1.61`: - { - str = `^zip:${str}`; - } - break; + case `vscode <1.61`: { + str = `^zip:${str}`; + } break; - case `vscode <1.66`: - { - str = `^/zip/${str}`; - } - break; + case `vscode <1.66`: { + str = `^/zip/${str}`; + } break; - case `vscode <1.68`: - { - str = `^/zip${str}`; - } - break; + case `vscode <1.68`: { + str = `^/zip${str}`; + } break; - case `vscode`: - { - str = `^/zip/${str}`; - } - break; + case `vscode`: { + str = `^/zip/${str}`; + } break; // To make "go to definition" work, // We have to resolve the actual file system path from virtual path // and convert scheme to supported by [vim-rzip](https://github.com/lbrayner/vim-rzip) - case `coc-nvim`: - { - str = normalize(resolved).replace(/\.zip\//, `.zip::`); - str = resolve(`zipfile:${str}`); - } - break; + case `coc-nvim`: { + str = normalize(resolved).replace(/\.zip\//, `.zip::`); + str = resolve(`zipfile:${str}`); + } break; // Support neovim native LSP and [typescript-language-server](https://github.com/theia-ide/typescript-language-server) // We have to resolve the actual file system path from virtual path, // everything else is up to neovim - case `neovim`: - { - str = normalize(resolved).replace(/\.zip\//, `.zip::`); - str = `zipfile://${str}`; - } - break; - - default: - { - str = `zip:${str}`; - } - break; + case `neovim`: { + str = normalize(resolved).replace(/\.zip\//, `.zip::`); + str = `zipfile://${str}`; + } break; + + default: { + str = `zip:${str}`; + } break; } } else { str = str.replace(/^\/?/, process.platform === `win32` ? `` : `/`); @@ -143,35 +119,26 @@ const moduleWrapper = (tsserver) => { function fromEditorPath(str) { switch (hostInfo) { - case `coc-nvim`: - { - str = str.replace(/\.zip::/, `.zip/`); - // The path for coc-nvim is in format of //zipfile://.yarn/... - // So in order to convert it back, we use .* to match all the thing - // before `zipfile:` - return process.platform === `win32` - ? str.replace(/^.*zipfile:\//, ``) - : str.replace(/^.*zipfile:/, ``); - } - break; - - case `neovim`: - { - str = str.replace(/\.zip::/, `.zip/`); - // The path for neovim is in format of zipfile:////.yarn/... - return str.replace(/^zipfile:\/\//, ``); - } - break; + case `coc-nvim`: { + str = str.replace(/\.zip::/, `.zip/`); + // The path for coc-nvim is in format of //zipfile://.yarn/... + // So in order to convert it back, we use .* to match all the thing + // before `zipfile:` + return process.platform === `win32` + ? str.replace(/^.*zipfile:\//, ``) + : str.replace(/^.*zipfile:/, ``); + } break; + + case `neovim`: { + str = str.replace(/\.zip::/, `.zip/`); + // The path for neovim is in format of zipfile:////.yarn/... + return str.replace(/^zipfile:\/\//, ``); + } break; case `vscode`: - default: - { - return str.replace( - /^\^?(zip:|\/zip(\/ts-nul-authority)?)\/+/, - process.platform === `win32` ? `` : `/`, - ); - } - break; + default: { + return str.replace(/^\^?(zip:|\/zip(\/ts-nul-authority)?)\/+/, process.platform === `win32` ? `` : `/`) + } break; } } @@ -183,9 +150,8 @@ const moduleWrapper = (tsserver) => { // TypeScript already does local loads and if this code is running the user trusts the workspace // https://github.com/microsoft/vscode/issues/45856 const ConfiguredProject = tsserver.server.ConfiguredProject; - const { enablePluginsWithOptions: originalEnablePluginsWithOptions } = - ConfiguredProject.prototype; - ConfiguredProject.prototype.enablePluginsWithOptions = function () { + const {enablePluginsWithOptions: originalEnablePluginsWithOptions} = ConfiguredProject.prototype; + ConfiguredProject.prototype.enablePluginsWithOptions = function() { this.projectService.allowLocalPluginLoads = true; return originalEnablePluginsWithOptions.apply(this, arguments); }; @@ -195,8 +161,7 @@ const moduleWrapper = (tsserver) => { // like an absolute path of ours and normalize it. const Session = tsserver.server.Session; - const { onMessage: originalOnMessage, send: originalSend } = - Session.prototype; + const {onMessage: originalOnMessage, send: originalSend} = Session.prototype; let hostInfo = `unknown`; Object.assign(Session.prototype, { @@ -212,12 +177,10 @@ const moduleWrapper = (tsserver) => { ) { hostInfo = parsedMessage.arguments.hostInfo; if (hostInfo === `vscode` && process.env.VSCODE_IPC_HOOK) { - const [, major, minor] = ( - process.env.VSCODE_IPC_HOOK.match( - // The RegExp from https://semver.org/ but without the caret at the start - /(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/, - ) ?? [] - ).map(Number); + const [, major, minor] = (process.env.VSCODE_IPC_HOOK.match( + // The RegExp from https://semver.org/ but without the caret at the start + /(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/ + ) ?? []).map(Number) if (major === 1) { if (minor < 61) { @@ -231,31 +194,21 @@ const moduleWrapper = (tsserver) => { } } - const processedMessageJSON = JSON.stringify( - parsedMessage, - (key, value) => { - return typeof value === 'string' ? fromEditorPath(value) : value; - }, - ); + const processedMessageJSON = JSON.stringify(parsedMessage, (key, value) => { + return typeof value === 'string' ? fromEditorPath(value) : value; + }); return originalOnMessage.call( this, - isStringMessage - ? processedMessageJSON - : JSON.parse(processedMessageJSON), + isStringMessage ? processedMessageJSON : JSON.parse(processedMessageJSON) ); }, send(/** @type {any} */ msg) { - return originalSend.call( - this, - JSON.parse( - JSON.stringify(msg, (key, value) => { - return typeof value === `string` ? toEditorPath(value) : value; - }), - ), - ); - }, + return originalSend.call(this, JSON.parse(JSON.stringify(msg, (key, value) => { + return typeof value === `string` ? toEditorPath(value) : value; + }))); + } }); return tsserver; diff --git a/.yarn/sdks/typescript/lib/typescript.js b/.yarn/sdks/typescript/lib/typescript.js index 3e69e60..e14fa87 100644 --- a/.yarn/sdks/typescript/lib/typescript.js +++ b/.yarn/sdks/typescript/lib/typescript.js @@ -1,10 +1,10 @@ #!/usr/bin/env node -const { existsSync } = require(`fs`); -const { createRequire } = require(`module`); -const { resolve } = require(`path`); +const {existsSync} = require(`fs`); +const {createRequire} = require(`module`); +const {resolve} = require(`path`); -const relPnpApiPath = '../../../../.pnp.cjs'; +const relPnpApiPath = "../../../../.pnp.cjs"; const absPnpApiPath = resolve(__dirname, relPnpApiPath); const absRequire = createRequire(absPnpApiPath); diff --git a/apis/requesters.ts b/apis/requesters.ts new file mode 100644 index 0000000..e69de29 diff --git a/apis/types.ts b/apis/types.ts new file mode 100644 index 0000000..e69de29 diff --git a/apis/urls.ts b/apis/urls.ts new file mode 100644 index 0000000..e69de29 diff --git a/app/layout.tsx b/app/layout.tsx index ad6dd9c..bb78a85 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -4,6 +4,8 @@ import '@/styles/theme.css'; import type { Metadata } from 'next'; import { Inter } from 'next/font/google'; +import Providers from '@/contexts/Provider'; + const inter = Inter({ subsets: ['latin'] }); export const metadata: Metadata = { @@ -18,7 +20,9 @@ export default function RootLayout({ }) { return ( - {children} + + {children} + ); } diff --git a/app/page.tsx b/app/page.tsx index f07963a..b2943ec 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,29 +1,13 @@ -'use client'; - -import { ThemeProvider } from 'next-themes'; +import { Suspense } from 'react'; import Hello from '@/components/Hello'; -import { useMounted } from '@/hooks/useMounted'; -import { darkTheme, lightTheme } from '@/styles/theme.css'; - -function Home() { - const mounted = useMounted(); - - if (!mounted) { - return null; - } +function Page() { return ( - + Loading...

}> -
+ ); } -export default Home; +export default Page; diff --git a/components/Hello/index.tsx b/components/Hello/index.tsx index 79cf09e..7e204b9 100644 --- a/components/Hello/index.tsx +++ b/components/Hello/index.tsx @@ -8,10 +8,10 @@ import { useTheme } from '@/hooks/useTheme'; import { button, container } from './styles.css'; function Hello() { - const { theme, toggleTheme } = useTheme(); + const { isDark, toggleTheme } = useTheme(); const value = pipe( - theme, + isDark, (is) => (is ? Either.right('Dark Mode') : Either.left('Light Mode')), Either.merge, ); diff --git a/contexts/Provider.tsx b/contexts/Provider.tsx new file mode 100644 index 0000000..ab0712d --- /dev/null +++ b/contexts/Provider.tsx @@ -0,0 +1,12 @@ +import { QueryClientProvider } from './QueryClientProvider'; +import { ThemeProvider } from './ThemeProvider'; + +function Providers({ children }: React.PropsWithChildren) { + return ( + + {children} + + ); +} + +export default Providers; diff --git a/contexts/QueryClientProvider.tsx b/contexts/QueryClientProvider.tsx new file mode 100644 index 0000000..20df5ac --- /dev/null +++ b/contexts/QueryClientProvider.tsx @@ -0,0 +1,37 @@ +'use client'; + +import { + QueryClient, + QueryClientConfig, + QueryClientProvider as BaseQueryClientProvider, +} from '@tanstack/react-query'; +import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; +import { ReactQueryStreamedHydration } from '@tanstack/react-query-next-experimental'; +import { useState } from 'react'; + +const queryClientOption: QueryClientConfig = { + defaultOptions: { + queries: { + retry: false, + refetchOnMount: false, + refetchOnWindowFocus: false, + suspense: true, + networkMode: 'always', + }, + mutations: { + networkMode: 'always', + }, + }, +}; + +function QueryClientProvider({ children }: React.PropsWithChildren) { + const [queryClient] = useState(() => new QueryClient(queryClientOption)); + return ( + + {children} + + + ); +} + +export { QueryClientProvider }; diff --git a/contexts/ThemeProvider.tsx b/contexts/ThemeProvider.tsx new file mode 100644 index 0000000..83b2711 --- /dev/null +++ b/contexts/ThemeProvider.tsx @@ -0,0 +1,28 @@ +'use client'; + +import { ThemeProvider as BaseThemeProvider } from 'next-themes'; + +import { useMounted } from '@/hooks/useMounted'; +import { darkTheme, lightTheme } from '@/styles/theme.css'; + +function ThemeProvider({ children }: React.PropsWithChildren) { + const mounted = useMounted(); + + if (!mounted) { + return null; + } + + return ( + + {children} + + ); +} + +export { ThemeProvider }; diff --git a/hooks/useTheme.ts b/hooks/useTheme.ts index 0ccfe1c..8e4877d 100644 --- a/hooks/useTheme.ts +++ b/hooks/useTheme.ts @@ -10,7 +10,7 @@ export function useTheme() { return { ...themeProps, - theme: themeProps.theme as Theme, + isDark: (themeProps.theme as Theme) === 'dark', setTheme, toggleTheme, }; diff --git a/mutations/index.ts b/mutations/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/next.config.js b/next.config.js index a5a79d8..2daf927 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,10 @@ const { createVanillaExtractPlugin } = require('@vanilla-extract/next-plugin'); /** @type {import('next').NextConfig} */ -const nextConfig = {}; +const nextConfig = { + reactStrictMode: false, + swcMinify: true, +}; const withVanillaExtract = createVanillaExtractPlugin(); module.exports = withVanillaExtract(nextConfig); diff --git a/package.json b/package.json index 0e6ee3b..e8f993e 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,9 @@ "name": "keyme", "version": "0.0.0", "scripts": { - "dev": "next start", + "dev": "next dev", + "develop": "next dev", "start": "next start", - "develop": "next start", "build": "next build", "lint": "TIMING=1 eslint \"**/*.{ts,tsx}\" --no-error-on-unmatched-pattern", "lint:fix": "TIMING=1 eslint \"**/*.{ts,tsx}\" --fix --no-error-on-unmatched-pattern", @@ -18,6 +18,11 @@ "dependencies": { "@effect/data": "^0.14.1", "@effect/io": "^0.32.1", + "@lukemorales/query-key-factory": "^1.3.2", + "@tanstack/query-core": "^5.0.0-alpha.84", + "@tanstack/react-query": "^5.0.0-alpha.84", + "@tanstack/react-query-devtools": "^5.0.0-alpha.84", + "@tanstack/react-query-next-experimental": "^5.0.0-alpha.84", "@vanilla-extract/css": "^1.12.0", "@vanilla-extract/next-plugin": "^2.1.3", "next": "13.4.9", @@ -42,7 +47,7 @@ "husky": "^8.0.3", "lint-staged": "^13.2.3", "pinst": "^3.0.0", - "prettier": "^3.0.0", + "prettier": "^2.8.8", "typescript": "5.1.6" } } diff --git a/quries/index.ts b/quries/index.ts new file mode 100644 index 0000000..e69de29 diff --git a/quries/queryKeys.ts b/quries/queryKeys.ts new file mode 100644 index 0000000..e69de29 diff --git a/yarn.lock b/yarn.lock index 99ea536..e5fd6fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,7 +22,7 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.22.5": +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.22.5": version: 7.22.5 resolution: "@babel/code-frame@npm:7.22.5" dependencies: @@ -114,7 +114,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.22.5": +"@babel/helper-module-imports@npm:^7.16.7, @babel/helper-module-imports@npm:^7.22.5": version: 7.22.5 resolution: "@babel/helper-module-imports@npm:7.22.5" dependencies: @@ -226,7 +226,7 @@ __metadata: languageName: node linkType: hard -"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.20.7": +"@babel/runtime@npm:^7.12.5, @babel/runtime@npm:^7.18.3, @babel/runtime@npm:^7.20.7": version: 7.22.6 resolution: "@babel/runtime@npm:7.22.6" dependencies: @@ -291,13 +291,106 @@ __metadata: languageName: node linkType: hard -"@emotion/hash@npm:^0.9.0": +"@emotion/babel-plugin@npm:^11.11.0": + version: 11.11.0 + resolution: "@emotion/babel-plugin@npm:11.11.0" + dependencies: + "@babel/helper-module-imports": ^7.16.7 + "@babel/runtime": ^7.18.3 + "@emotion/hash": ^0.9.1 + "@emotion/memoize": ^0.8.1 + "@emotion/serialize": ^1.1.2 + babel-plugin-macros: ^3.1.0 + convert-source-map: ^1.5.0 + escape-string-regexp: ^4.0.0 + find-root: ^1.1.0 + source-map: ^0.5.7 + stylis: 4.2.0 + checksum: 6b363edccc10290f7a23242c06f88e451b5feb2ab94152b18bb8883033db5934fb0e421e2d67d09907c13837c21218a3ac28c51707778a54d6cd3706c0c2f3f9 + languageName: node + linkType: hard + +"@emotion/cache@npm:^11.11.0": + version: 11.11.0 + resolution: "@emotion/cache@npm:11.11.0" + dependencies: + "@emotion/memoize": ^0.8.1 + "@emotion/sheet": ^1.2.2 + "@emotion/utils": ^1.2.1 + "@emotion/weak-memoize": ^0.3.1 + stylis: 4.2.0 + checksum: 8eb1dc22beaa20c21a2e04c284d5a2630a018a9d51fb190e52de348c8d27f4e8ca4bbab003d68b4f6cd9cc1c569ca747a997797e0f76d6c734a660dc29decf08 + languageName: node + linkType: hard + +"@emotion/css@npm:^11.11.0": + version: 11.11.2 + resolution: "@emotion/css@npm:11.11.2" + dependencies: + "@emotion/babel-plugin": ^11.11.0 + "@emotion/cache": ^11.11.0 + "@emotion/serialize": ^1.1.2 + "@emotion/sheet": ^1.2.2 + "@emotion/utils": ^1.2.1 + checksum: 1edea109dfc31005243334bc351ba127220ea5c4986225e0f1b8f7aa71fb2f83fb8f51d8f5b8afb8432d4c6397c23f5061038449f2876888eecc6eac1dd2f0da + languageName: node + linkType: hard + +"@emotion/hash@npm:^0.9.0, @emotion/hash@npm:^0.9.1": version: 0.9.1 resolution: "@emotion/hash@npm:0.9.1" checksum: 716e17e48bf9047bf9383982c071de49f2615310fb4e986738931776f5a823bc1f29c84501abe0d3df91a3803c80122d24e28b57351bca9e01356ebb33d89876 languageName: node linkType: hard +"@emotion/memoize@npm:^0.8.1": + version: 0.8.1 + resolution: "@emotion/memoize@npm:0.8.1" + checksum: a19cc01a29fcc97514948eaab4dc34d8272e934466ed87c07f157887406bc318000c69ae6f813a9001c6a225364df04249842a50e692ef7a9873335fbcc141b0 + languageName: node + linkType: hard + +"@emotion/serialize@npm:^1.1.2": + version: 1.1.2 + resolution: "@emotion/serialize@npm:1.1.2" + dependencies: + "@emotion/hash": ^0.9.1 + "@emotion/memoize": ^0.8.1 + "@emotion/unitless": ^0.8.1 + "@emotion/utils": ^1.2.1 + csstype: ^3.0.2 + checksum: 413c352e657f1b5e27ea6437b3ef7dcc3860669b7ae17fd5c18bfbd44e033af1acc56b64d252284a813ca4f3b3e1b0841c42d3fb08e02d2df56fd3cd63d72986 + languageName: node + linkType: hard + +"@emotion/sheet@npm:^1.2.2": + version: 1.2.2 + resolution: "@emotion/sheet@npm:1.2.2" + checksum: d973273c9c15f1c291ca2269728bf044bd3e92a67bca87943fa9ec6c3cd2b034f9a6bfe95ef1b5d983351d128c75b547b43ff196a00a3875f7e1d269793cecfe + languageName: node + linkType: hard + +"@emotion/unitless@npm:^0.8.1": + version: 0.8.1 + resolution: "@emotion/unitless@npm:0.8.1" + checksum: 385e21d184d27853bb350999471f00e1429fa4e83182f46cd2c164985999d9b46d558dc8b9cc89975cb337831ce50c31ac2f33b15502e85c299892e67e7b4a88 + languageName: node + linkType: hard + +"@emotion/utils@npm:^1.2.1": + version: 1.2.1 + resolution: "@emotion/utils@npm:1.2.1" + checksum: e0b44be0705b56b079c55faff93952150be69e79b660ae70ddd5b6e09fc40eb1319654315a9f34bb479d7f4ec94be6068c061abbb9e18b9778ae180ad5d97c73 + languageName: node + linkType: hard + +"@emotion/weak-memoize@npm:^0.3.1": + version: 0.3.1 + resolution: "@emotion/weak-memoize@npm:0.3.1" + checksum: b2be47caa24a8122622ea18cd2d650dbb4f8ad37b636dc41ed420c2e082f7f1e564ecdea68122b546df7f305b159bf5ab9ffee872abd0f052e687428459af594 + languageName: node + linkType: hard + "@esbuild/android-arm64@npm:0.17.6": version: 0.17.6 resolution: "@esbuild/android-arm64@npm:0.17.6" @@ -736,6 +829,16 @@ __metadata: languageName: node linkType: hard +"@lukemorales/query-key-factory@npm:^1.3.2": + version: 1.3.2 + resolution: "@lukemorales/query-key-factory@npm:1.3.2" + peerDependencies: + "@tanstack/query-core": ">= 4.0.0" + "@tanstack/react-query": ">= 4.0.0" + checksum: b7eec057a8dabe8dae0f0b307279127488437f213b93fb899aceff32385bd9eef0e4ae9a8354d45b7073421b7ca58494261f34d00adfcae432d821b3222291fd + languageName: node + linkType: hard + "@next/env@npm:13.4.9": version: 13.4.9 resolution: "@next/env@npm:13.4.9" @@ -879,6 +982,102 @@ __metadata: languageName: node linkType: hard +"@solid-primitives/event-listener@npm:^2.2.13": + version: 2.2.13 + resolution: "@solid-primitives/event-listener@npm:2.2.13" + dependencies: + "@solid-primitives/utils": ^6.2.0 + peerDependencies: + solid-js: ^1.6.12 + checksum: c4af9325be40ef43eb6753fa414436b078c68e5aa7b49bc8c5f974b250ba443de5a12f26c9e71202e87ed8aeafcbbb4f780ed2d3c9753f5262b79acaa5bbdd4c + languageName: node + linkType: hard + +"@solid-primitives/keyed@npm:^1.2.0": + version: 1.2.0 + resolution: "@solid-primitives/keyed@npm:1.2.0" + peerDependencies: + solid-js: ^1.6.12 + checksum: ac633de7f3f163031f2dcabc1d36247ac39269a31a4f8b7dac0f781519cd9950e235a187f4466c61f3b3218023a7613dabca442915febbe1cdfdfa0a71696bf9 + languageName: node + linkType: hard + +"@solid-primitives/refs@npm:^1.0.1": + version: 1.0.4 + resolution: "@solid-primitives/refs@npm:1.0.4" + dependencies: + "@solid-primitives/utils": ^6.2.0 + peerDependencies: + solid-js: ^1.6.12 + checksum: 2ce4188cd7c4f1bd091678a510f2af1afe53b4404558214491ecf8af0c6168a01dd77ee69b056f7814308f16dfae58cc9ec0c652e5d4e3721854ff0e6b175c38 + languageName: node + linkType: hard + +"@solid-primitives/resize-observer@npm:^2.0.18": + version: 2.0.18 + resolution: "@solid-primitives/resize-observer@npm:2.0.18" + dependencies: + "@solid-primitives/event-listener": ^2.2.13 + "@solid-primitives/rootless": ^1.4.1 + "@solid-primitives/static-store": ^0.0.4 + "@solid-primitives/utils": ^6.2.0 + peerDependencies: + solid-js: ^1.6.12 + checksum: 6cb89754a4697cb5ad5f222a35edabc46c0f23b7e3b27e06e43311865ec164e8bb604da7d92256b1e2f94d0574a56559105e44b71d5ece27e4896b8fe215e5aa + languageName: node + linkType: hard + +"@solid-primitives/rootless@npm:^1.4.1": + version: 1.4.1 + resolution: "@solid-primitives/rootless@npm:1.4.1" + dependencies: + "@solid-primitives/utils": ^6.2.0 + peerDependencies: + solid-js: ^1.6.12 + checksum: 8b31ec4ee7a5dc87b00256613f0c6082bb5d5457a2fe87f159ad4d6f12e2a2a2867af3eb867acec20ff19aec8c1f765254d8f0891b33c69ecb65479935a79496 + languageName: node + linkType: hard + +"@solid-primitives/static-store@npm:^0.0.4": + version: 0.0.4 + resolution: "@solid-primitives/static-store@npm:0.0.4" + dependencies: + "@solid-primitives/utils": ^6.2.0 + peerDependencies: + solid-js: ^1.6.12 + checksum: a26387c077e4779007349a05ac39838c0b973de8c7fbaa091ac856952fdccda3a0b3ad5849c956697385e60538461fb9a5f7d3a7475993353f12a1bd78f044c1 + languageName: node + linkType: hard + +"@solid-primitives/storage@npm:^1.3.11": + version: 1.3.11 + resolution: "@solid-primitives/storage@npm:1.3.11" + dependencies: + "@solid-primitives/utils": ^6.2.0 + peerDependencies: + solid-js: ^1.6.12 + checksum: e5b0aad0fde2407fea1cda78e66a4bf1adb571729dacb31756d50871a80ca5943ee7402a737a5b73123d472cee3ea4b88fd4fe79b62ce9525030299eec8f40d6 + languageName: node + linkType: hard + +"@solid-primitives/transition-group@npm:^1.0.1": + version: 1.0.2 + resolution: "@solid-primitives/transition-group@npm:1.0.2" + peerDependencies: + solid-js: ^1.6.12 + checksum: 69907982e930432d919a5befa8610283faf178e4459ce954ba46111cc7aa697e1d25ee14b53524a6b0a3bf6a807cafc522d6fc1376c0cb9c2518cc9b78e28050 + languageName: node + linkType: hard + +"@solid-primitives/utils@npm:^6.2.0": + version: 6.2.0 + resolution: "@solid-primitives/utils@npm:6.2.0" + peerDependencies: + solid-js: ^1.6.12 + checksum: 945f16040780b0da2a8ef5da7b0e7df22320d6301b230b9ec7d2e9984d7b8f05970b7ed2174a127c3a0a09f590629e47acfd5152025ea0a52f028fc083e98dca + languageName: node + linkType: hard + "@swc/helpers@npm:0.5.1": version: 0.5.1 resolution: "@swc/helpers@npm:0.5.1" @@ -888,6 +1087,82 @@ __metadata: languageName: node linkType: hard +"@tanstack/match-sorter-utils@npm:^8.8.4": + version: 8.8.4 + resolution: "@tanstack/match-sorter-utils@npm:8.8.4" + dependencies: + remove-accents: 0.4.2 + checksum: d005f500754f52ef94966cbbe4217f26e7e3c07291faa2578b06bca9a5abe01689569994c37a1d01c6e783addf5ffbb28fa82eba7961d36eabf43ec43d1e496b + languageName: node + linkType: hard + +"@tanstack/query-core@npm:5.0.0-alpha.84, @tanstack/query-core@npm:^5.0.0-alpha.84": + version: 5.0.0-alpha.84 + resolution: "@tanstack/query-core@npm:5.0.0-alpha.84" + checksum: 3f9e7893400c6633cd36c6ada61ed0692483079428627398c8beead8dad0fdd945d90571e3c3ae675de57673480949e775d01e73e691cfc67ed2cd0771d5d3a3 + languageName: node + linkType: hard + +"@tanstack/query-devtools@npm:5.0.0-alpha.84": + version: 5.0.0-alpha.84 + resolution: "@tanstack/query-devtools@npm:5.0.0-alpha.84" + dependencies: + "@emotion/css": ^11.11.0 + "@solid-primitives/keyed": ^1.2.0 + "@solid-primitives/resize-observer": ^2.0.18 + "@solid-primitives/storage": ^1.3.11 + "@tanstack/match-sorter-utils": ^8.8.4 + solid-js: ^1.6.13 + solid-transition-group: ^0.2.2 + superjson: ^1.12.4 + checksum: 53684720b133b0d0ca16a20a9b4fda291757fa8aa9bc43f378541e8983dd863baa20ed6f1302f70d195793710a0f5ba49d831a2ab7e2aa9e52f5690c3d135dc8 + languageName: node + linkType: hard + +"@tanstack/react-query-devtools@npm:^5.0.0-alpha.84": + version: 5.0.0-alpha.84 + resolution: "@tanstack/react-query-devtools@npm:5.0.0-alpha.84" + dependencies: + "@tanstack/query-devtools": 5.0.0-alpha.84 + peerDependencies: + "@tanstack/react-query": 5.0.0-alpha.84 + react: ^18.0.0 + react-dom: ^18.0.0 + checksum: 76b5ec9fbe6de2e08d35720df415b08e7868c156caaec0efca2f861d0db1c04a0cd03b69d335145bb86784dd3f900087c3130b712f7b7877925c7eae952ae9ec + languageName: node + linkType: hard + +"@tanstack/react-query-next-experimental@npm:^5.0.0-alpha.84": + version: 5.0.0-alpha.84 + resolution: "@tanstack/react-query-next-experimental@npm:5.0.0-alpha.84" + peerDependencies: + "@tanstack/react-query": 5.0.0-alpha.84 + next: ^13.0.0 + react: ^18.0.0 + react-dom: ^18.0.0 + checksum: 474d8f991e18175de50c808f2fde4c9b91f16f9a745f8899c343cdfba951aaaf94787e9773bf480d2ab4f30a6a259e756b89c0013705477c9c932eebabc4b851 + languageName: node + linkType: hard + +"@tanstack/react-query@npm:^5.0.0-alpha.84": + version: 5.0.0-alpha.84 + resolution: "@tanstack/react-query@npm:5.0.0-alpha.84" + dependencies: + "@tanstack/query-core": 5.0.0-alpha.84 + client-only: 0.0.1 + peerDependencies: + react: ^18.0.0 + react-dom: ^18.0.0 + react-native: "*" + peerDependenciesMeta: + react-dom: + optional: true + react-native: + optional: true + checksum: 8e8979c407678e8b7397163fc159492b23175ef291b79801b71b8a57165720f6a27bc0e1f3460ae8e529cb4bc47a5ed403059e32f8b436e8d40177204a233d41 + languageName: node + linkType: hard + "@tootallnate/once@npm:2": version: 2.0.0 resolution: "@tootallnate/once@npm:2.0.0" @@ -916,6 +1191,13 @@ __metadata: languageName: node linkType: hard +"@types/parse-json@npm:^4.0.0": + version: 4.0.0 + resolution: "@types/parse-json@npm:4.0.0" + checksum: fd6bce2b674b6efc3db4c7c3d336bd70c90838e8439de639b909ce22f3720d21344f52427f1d9e57b265fcb7f6c018699b99e5e0c208a1a4823014269a6bf35b + languageName: node + linkType: hard + "@types/prop-types@npm:*": version: 15.7.5 resolution: "@types/prop-types@npm:15.7.5" @@ -1419,6 +1701,17 @@ __metadata: languageName: node linkType: hard +"babel-plugin-macros@npm:^3.1.0": + version: 3.1.0 + resolution: "babel-plugin-macros@npm:3.1.0" + dependencies: + "@babel/runtime": ^7.12.5 + cosmiconfig: ^7.0.0 + resolve: ^1.19.0 + checksum: 765de4abebd3e4688ebdfbff8571ddc8cd8061f839bb6c3e550b0344a4027b04c60491f843296ce3f3379fb356cc873d57a9ee6694262547eb822c14a25be9a6 + languageName: node + linkType: hard + "balanced-match@npm:^1.0.0": version: 1.0.2 resolution: "balanced-match@npm:1.0.2" @@ -1721,13 +2014,35 @@ __metadata: languageName: node linkType: hard -"convert-source-map@npm:^1.7.0": +"convert-source-map@npm:^1.5.0, convert-source-map@npm:^1.7.0": version: 1.9.0 resolution: "convert-source-map@npm:1.9.0" checksum: dc55a1f28ddd0e9485ef13565f8f756b342f9a46c4ae18b843fe3c30c675d058d6a4823eff86d472f187b176f0adf51ea7b69ea38be34be4a63cbbf91b0593c8 languageName: node linkType: hard +"copy-anything@npm:^3.0.2": + version: 3.0.5 + resolution: "copy-anything@npm:3.0.5" + dependencies: + is-what: ^4.1.8 + checksum: d39f6601c16b7cbd81cdb1c1f40f2bf0f2ca0297601cf7bfbb4ef1d85374a6a89c559502329f5bada36604464df17623e111fe19a9bb0c3f6b1c92fe2cbe972f + languageName: node + linkType: hard + +"cosmiconfig@npm:^7.0.0": + version: 7.1.0 + resolution: "cosmiconfig@npm:7.1.0" + dependencies: + "@types/parse-json": ^4.0.0 + import-fresh: ^3.2.1 + parse-json: ^5.0.0 + path-type: ^4.0.0 + yaml: ^1.10.0 + checksum: c53bf7befc1591b2651a22414a5e786cd5f2eeaa87f3678a3d49d6069835a9d8d1aef223728e98aa8fec9a95bf831120d245096db12abe019fecb51f5696c96f + languageName: node + linkType: hard + "cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.2, cross-spawn@npm:^7.0.3": version: 7.0.3 resolution: "cross-spawn@npm:7.0.3" @@ -1755,7 +2070,7 @@ __metadata: languageName: node linkType: hard -"csstype@npm:^3.0.2, csstype@npm:^3.0.7": +"csstype@npm:^3.0.2, csstype@npm:^3.0.7, csstype@npm:^3.1.0": version: 3.1.2 resolution: "csstype@npm:3.1.2" checksum: e1a52e6c25c1314d6beef5168da704ab29c5186b877c07d822bd0806717d9a265e8493a2e35ca7e68d0f5d472d43fac1cdce70fd79fd0853dff81f3028d857b5 @@ -1966,6 +2281,15 @@ __metadata: languageName: node linkType: hard +"error-ex@npm:^1.3.1": + version: 1.3.2 + resolution: "error-ex@npm:1.3.2" + dependencies: + is-arrayish: ^0.2.1 + checksum: c1c2b8b65f9c91b0f9d75f0debaa7ec5b35c266c2cac5de412c1a6de86d4cbae04ae44e510378cb14d032d0645a36925d0186f8bb7367bcc629db256b743a001 + languageName: node + linkType: hard + "es-abstract@npm:^1.19.0, es-abstract@npm:^1.20.4": version: 1.21.2 resolution: "es-abstract@npm:1.21.2" @@ -2643,6 +2967,13 @@ __metadata: languageName: node linkType: hard +"find-root@npm:^1.1.0": + version: 1.1.0 + resolution: "find-root@npm:1.1.0" + checksum: b2a59fe4b6c932eef36c45a048ae8f93c85640212ebe8363164814990ee20f154197505965f3f4f102efc33bfb1cbc26fd17c4a2fc739ebc51b886b137cbefaf + languageName: node + linkType: hard + "find-up@npm:^5.0.0": version: 5.0.0 resolution: "find-up@npm:5.0.0" @@ -3178,6 +3509,13 @@ __metadata: languageName: node linkType: hard +"is-arrayish@npm:^0.2.1": + version: 0.2.1 + resolution: "is-arrayish@npm:0.2.1" + checksum: eef4417e3c10e60e2c810b6084942b3ead455af16c4509959a27e490e7aee87cfb3f38e01bbde92220b528a0ee1a18d52b787e1458ee86174d8c7f0e58cd488f + languageName: node + linkType: hard + "is-bigint@npm:^1.0.1": version: 1.0.4 resolution: "is-bigint@npm:1.0.4" @@ -3391,6 +3729,13 @@ __metadata: languageName: node linkType: hard +"is-what@npm:^4.1.8": + version: 4.1.15 + resolution: "is-what@npm:4.1.15" + checksum: fe27f6cd4af41be59a60caf46ec09e3071bcc69b9b12a7c871c90f54360edb6d0bc7240cb944a251fb0afa3d35635d1cecea9e70709876b368a8285128d70a89 + languageName: node + linkType: hard + "is-wsl@npm:^2.2.0": version: 2.2.0 resolution: "is-wsl@npm:2.2.0" @@ -3454,6 +3799,13 @@ __metadata: languageName: node linkType: hard +"json-parse-even-better-errors@npm:^2.3.0": + version: 2.3.1 + resolution: "json-parse-even-better-errors@npm:2.3.1" + checksum: 798ed4cf3354a2d9ccd78e86d2169515a0097a5c133337807cdf7f1fc32e1391d207ccfc276518cc1d7d8d4db93288b8a50ba4293d212ad1336e52a8ec0a941f + languageName: node + linkType: hard + "json-schema-traverse@npm:^0.4.1": version: 0.4.1 resolution: "json-schema-traverse@npm:0.4.1" @@ -3513,6 +3865,11 @@ __metadata: dependencies: "@effect/data": ^0.14.1 "@effect/io": ^0.32.1 + "@lukemorales/query-key-factory": ^1.3.2 + "@tanstack/query-core": ^5.0.0-alpha.84 + "@tanstack/react-query": ^5.0.0-alpha.84 + "@tanstack/react-query-devtools": ^5.0.0-alpha.84 + "@tanstack/react-query-next-experimental": ^5.0.0-alpha.84 "@types/node": 20.4.1 "@types/react": 18.2.14 "@types/react-dom": 18.2.6 @@ -3533,7 +3890,7 @@ __metadata: next: 13.4.9 next-themes: ^0.2.1 pinst: ^3.0.0 - prettier: ^3.0.0 + prettier: ^2.8.8 react: 18.2.0 react-dom: 18.2.0 typescript: 5.1.6 @@ -3573,6 +3930,13 @@ __metadata: languageName: node linkType: hard +"lines-and-columns@npm:^1.1.6": + version: 1.2.4 + resolution: "lines-and-columns@npm:1.2.4" + checksum: 0c37f9f7fa212b38912b7145e1cd16a5f3cd34d782441c3e6ca653485d326f58b3caccda66efce1c5812bde4961bbde3374fae4b0d11bf1226152337f3894aa5 + languageName: node + linkType: hard + "lint-staged@npm:^13.2.3": version: 13.2.3 resolution: "lint-staged@npm:13.2.3" @@ -4268,6 +4632,18 @@ __metadata: languageName: node linkType: hard +"parse-json@npm:^5.0.0": + version: 5.2.0 + resolution: "parse-json@npm:5.2.0" + dependencies: + "@babel/code-frame": ^7.0.0 + error-ex: ^1.3.1 + json-parse-even-better-errors: ^2.3.0 + lines-and-columns: ^1.1.6 + checksum: 62085b17d64da57f40f6afc2ac1f4d95def18c4323577e1eced571db75d9ab59b297d1d10582920f84b15985cbfc6b6d450ccbf317644cfa176f3ed982ad87e2 + languageName: node + linkType: hard + "path-exists@npm:^4.0.0": version: 4.0.0 resolution: "path-exists@npm:4.0.0" @@ -4399,12 +4775,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^3.0.0": - version: 3.0.0 - resolution: "prettier@npm:3.0.0" +"prettier@npm:^2.8.8": + version: 2.8.8 + resolution: "prettier@npm:2.8.8" bin: - prettier: bin/prettier.cjs - checksum: 6a832876a1552dc58330d2467874e5a0b46b9ccbfc5d3531eb69d15684743e7f83dc9fbd202db6270446deba9c82b79d24383d09924c462b457136a759425e33 + prettier: bin-prettier.js + checksum: b49e409431bf129dd89238d64299ba80717b57ff5a6d1c1a8b1a28b590d998a34e083fa13573bc732bb8d2305becb4c9a4407f8486c81fa7d55100eb08263cf8 languageName: node linkType: hard @@ -4500,6 +4876,13 @@ __metadata: languageName: node linkType: hard +"remove-accents@npm:0.4.2": + version: 0.4.2 + resolution: "remove-accents@npm:0.4.2" + checksum: 84a6988555dea24115e2d1954db99509588d43fe55a1590f0b5894802776f7b488b3151c37ceb9e4f4b646f26b80b7325dcea2fae58bc3865df146e1fa606711 + languageName: node + linkType: hard + "require-like@npm:>= 0.1.1": version: 0.1.2 resolution: "require-like@npm:0.1.2" @@ -4521,7 +4904,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.22.1": +"resolve@npm:^1.19.0, resolve@npm:^1.22.1": version: 1.22.3 resolution: "resolve@npm:1.22.3" dependencies: @@ -4547,7 +4930,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@^1.22.1#~builtin": +"resolve@patch:resolve@^1.19.0#~builtin, resolve@patch:resolve@^1.22.1#~builtin": version: 1.22.3 resolution: "resolve@patch:resolve@npm%3A1.22.3#~builtin::version=1.22.3&hash=c3c19d" dependencies: @@ -4710,6 +5093,13 @@ __metadata: languageName: node linkType: hard +"seroval@npm:^0.5.0": + version: 0.5.1 + resolution: "seroval@npm:0.5.1" + checksum: a4c1e42d6a65ed12de3c1f1b6a5b6b996e575c5bc838e1998e92daed7bc05421f3f6c82096387082dba33c475d64a31d0d932ac9b693352549259216e38dc091 + languageName: node + linkType: hard + "set-blocking@npm:^2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0" @@ -4832,6 +5222,28 @@ __metadata: languageName: node linkType: hard +"solid-js@npm:^1.6.13": + version: 1.7.8 + resolution: "solid-js@npm:1.7.8" + dependencies: + csstype: ^3.1.0 + seroval: ^0.5.0 + checksum: e86ed6e8aa4a9afff652c4a9d49c7e78eae167b9139de8f41095b750f099c25be44a4506d28e927ddb6a684d70ca8c0c2e3398979542ffcbfab55659ad9eedb6 + languageName: node + linkType: hard + +"solid-transition-group@npm:^0.2.2": + version: 0.2.2 + resolution: "solid-transition-group@npm:0.2.2" + dependencies: + "@solid-primitives/refs": ^1.0.1 + "@solid-primitives/transition-group": ^1.0.1 + peerDependencies: + solid-js: ^1.6.12 + checksum: f68058f0708cac26ccbfb8ae5af85aaa84096d6ad81aec9d1e58aa956e5ad8ef13274a682a92da3333808c49472153b0e3794dc6645392765ebf217dff54afcb + languageName: node + linkType: hard + "source-map-js@npm:^1.0.2": version: 1.0.2 resolution: "source-map-js@npm:1.0.2" @@ -4849,6 +5261,13 @@ __metadata: languageName: node linkType: hard +"source-map@npm:^0.5.7": + version: 0.5.7 + resolution: "source-map@npm:0.5.7" + checksum: 5dc2043b93d2f194142c7f38f74a24670cd7a0063acdaf4bf01d2964b402257ae843c2a8fa822ad5b71013b5fcafa55af7421383da919752f22ff488bc553f4d + languageName: node + linkType: hard + "source-map@npm:^0.6.0, source-map@npm:^0.6.1": version: 0.6.1 resolution: "source-map@npm:0.6.1" @@ -5021,6 +5440,22 @@ __metadata: languageName: node linkType: hard +"stylis@npm:4.2.0": + version: 4.2.0 + resolution: "stylis@npm:4.2.0" + checksum: 0eb6cc1b866dc17a6037d0a82ac7fa877eba6a757443e79e7c4f35bacedbf6421fadcab4363b39667b43355cbaaa570a3cde850f776498e5450f32ed2f9b7584 + languageName: node + linkType: hard + +"superjson@npm:^1.12.4": + version: 1.13.1 + resolution: "superjson@npm:1.13.1" + dependencies: + copy-anything: ^3.0.2 + checksum: 9c8c664a924ce097250112428805ccc8b500018b31a91042e953d955108b8481c156005d836b413940c9fa5f124a3195f55f3a518fe76510a254a59f9151a204 + languageName: node + linkType: hard + "supports-color@npm:^5.3.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" @@ -5448,6 +5883,13 @@ __metadata: languageName: node linkType: hard +"yaml@npm:^1.10.0": + version: 1.10.2 + resolution: "yaml@npm:1.10.2" + checksum: ce4ada136e8a78a0b08dc10b4b900936912d15de59905b2bf415b4d33c63df1d555d23acb2a41b23cf9fb5da41c256441afca3d6509de7247daa062fd2c5ea5f + languageName: node + linkType: hard + "yaml@npm:^2.2.2": version: 2.3.1 resolution: "yaml@npm:2.3.1"