diff --git a/package.json b/package.json index f1d2ea66b8..b5e1a41cf6 100644 --- a/package.json +++ b/package.json @@ -30,9 +30,10 @@ "gpt-generate": "node gpt/generate.js" }, "devDependencies": { + "@arethetypeswrong/cli": "^0.15.4", "@eslint-react/eslint-plugin": "^1.12.3", "@playwright/test": "^1.46.1", - "@tanstack/config": "^0.12.0", + "@tanstack/config": "^0.12.1", "@types/node": "^20.14.7", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", diff --git a/packages/history/package.json b/packages/history/package.json index e9fe552263..ec57fbed59 100644 --- a/packages/history/package.json +++ b/packages/history/package.json @@ -28,7 +28,7 @@ "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js", "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js", "test:types:ts55": "tsc", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "test:unit": "vitest", "test:unit:dev": "pnpm run test:unit --watch", "build": "vite build" diff --git a/packages/react-cross-context/package.json b/packages/react-cross-context/package.json index 0d5cd5a118..bc3917724f 100644 --- a/packages/react-cross-context/package.json +++ b/packages/react-cross-context/package.json @@ -24,7 +24,7 @@ "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js", "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js", "test:types:ts55": "tsc", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", diff --git a/packages/react-router-with-query/package.json b/packages/react-router-with-query/package.json index b150a6c2a6..e30eeda963 100644 --- a/packages/react-router-with-query/package.json +++ b/packages/react-router-with-query/package.json @@ -35,7 +35,7 @@ "test:types:ts55": "tsc", "test:unit": "vitest", "test:unit:dev": "pnpm run test:unit --watch", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", diff --git a/packages/react-router/package.json b/packages/react-router/package.json index 36f9f7d24f..d67a7225c0 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -35,7 +35,7 @@ "test:types:ts55": "tsc", "test:unit": "vitest", "test:unit:dev": "pnpm run test:unit --watch --hideSkippedTests", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", diff --git a/packages/router-arktype-adapter/package.json b/packages/router-arktype-adapter/package.json index fdb1e5c19f..5a0390ed17 100644 --- a/packages/router-arktype-adapter/package.json +++ b/packages/router-arktype-adapter/package.json @@ -35,7 +35,7 @@ "test:types:ts55": "tsc", "test:unit": "vitest", "test:unit:dev": "pnpm run test:unit --watch --typecheck", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", diff --git a/packages/router-cli/package.json b/packages/router-cli/package.json index f9ab38d846..a595645457 100644 --- a/packages/router-cli/package.json +++ b/packages/router-cli/package.json @@ -33,7 +33,7 @@ "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js", "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js", "test:types:ts55": "tsc", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", diff --git a/packages/router-devtools/package.json b/packages/router-devtools/package.json index 2d4548d047..9cc5d645f4 100644 --- a/packages/router-devtools/package.json +++ b/packages/router-devtools/package.json @@ -33,7 +33,7 @@ "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js", "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js", "test:types:ts55": "tsc", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", diff --git a/packages/router-generator/package.json b/packages/router-generator/package.json index f17de4edff..2d912dd152 100644 --- a/packages/router-generator/package.json +++ b/packages/router-generator/package.json @@ -34,7 +34,7 @@ "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js", "test:types:ts55": "tsc", "test:unit": "vitest", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", diff --git a/packages/router-plugin/package.json b/packages/router-plugin/package.json index 156d6912bb..67c900c6b0 100644 --- a/packages/router-plugin/package.json +++ b/packages/router-plugin/package.json @@ -36,7 +36,7 @@ "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js", "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js", "test:types:ts55": "tsc", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", diff --git a/packages/router-valibot-adapter/package.json b/packages/router-valibot-adapter/package.json index 14f852eda4..9059144e8b 100644 --- a/packages/router-valibot-adapter/package.json +++ b/packages/router-valibot-adapter/package.json @@ -35,7 +35,7 @@ "test:types:ts55": "tsc", "test:unit": "vitest", "test:unit:dev": "pnpm run test:unit --watch --typecheck", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", diff --git a/packages/router-vite-plugin/package.json b/packages/router-vite-plugin/package.json index 99807ee523..6212443a40 100644 --- a/packages/router-vite-plugin/package.json +++ b/packages/router-vite-plugin/package.json @@ -35,7 +35,7 @@ "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js", "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js", "test:types:ts55": "tsc", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", diff --git a/packages/router-zod-adapter/package.json b/packages/router-zod-adapter/package.json index 45e7564986..65a3dcb1b1 100644 --- a/packages/router-zod-adapter/package.json +++ b/packages/router-zod-adapter/package.json @@ -35,7 +35,7 @@ "test:types:ts55": "tsc", "test:unit": "vitest", "test:unit:dev": "pnpm run test:unit --watch --typecheck", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", diff --git a/packages/start-vite-plugin/package.json b/packages/start-vite-plugin/package.json index 8d4989cfad..14abd97c80 100644 --- a/packages/start-vite-plugin/package.json +++ b/packages/start-vite-plugin/package.json @@ -35,7 +35,7 @@ "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js", "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js", "test:types:ts55": "tsc", - "test:build": "publint --strict", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", "build": "vite build" }, "type": "module", diff --git a/packages/start/package.json b/packages/start/package.json index 9309f03dac..f5c2b75662 100644 --- a/packages/start/package.json +++ b/packages/start/package.json @@ -33,13 +33,10 @@ "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js", "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js", "test:types:ts55": "tsc", - "test:build": "publint --strict", - "build": "vite build && pnpm build:config && pnpm build:router-manifest && pnpm build:server-handler && pnpm build:server-runtime && pnpm build:react-server-runtime", + "test:build": "publint --strict && attw --ignore-rules no-resolution --pack .", + "build": "vite build && pnpm build:config && pnpm build:router-manifest", "build:config": "tsc --project tsconfigs/config.tsconfig.json", - "build:router-manifest": "tsc --project tsconfigs/router-manifest.tsconfig.json", - "build:server-handler": "tsc --project tsconfigs/server-handler.tsconfig.json", - "build:server-runtime": "tsc --project tsconfigs/server-runtime.tsconfig.json", - "build:react-server-runtime": "tsc --project tsconfigs/react-server-runtime.tsconfig.json" + "build:router-manifest": "tsc --project tsconfigs/router-manifest.tsconfig.json" }, "type": "module", "exports": { @@ -107,8 +104,8 @@ }, "./server-runtime": { "import": { - "types": "./dist/esm/server-runtime/server-runtime/index.d.ts", - "default": "./dist/esm/server-runtime/server-runtime/index.js" + "types": "./dist/esm/server-runtime/index.d.ts", + "default": "./dist/esm/server-runtime/index.js" } }, "./react-server-runtime": { @@ -119,8 +116,8 @@ }, "./server-handler": { "import": { - "types": "./dist/esm/server-handler/server-handler/index.d.ts", - "default": "./dist/esm/server-handler/server-handler/index.js" + "types": "./dist/esm/server-handler/index.d.ts", + "default": "./dist/esm/server-handler/index.js" } }, "./package.json": "./package.json" diff --git a/packages/start/src/client-runtime/index.tsx b/packages/start/src/client-runtime/index.tsx index 1205974461..26a870d846 100644 --- a/packages/start/src/client-runtime/index.tsx +++ b/packages/start/src/client-runtime/index.tsx @@ -1,6 +1,6 @@ import { fetcher } from './fetcher' import { getBaseUrl } from './getBaseUrl' -import type { FetchFn } from '../client' +import type { FetchFn } from '../client/createServerFn' export function createServerReference( _fn: FetchFn, diff --git a/packages/start/src/server-runtime/index.tsx b/packages/start/src/server-runtime/index.tsx index 4b807d2775..909038a1eb 100644 --- a/packages/start/src/server-runtime/index.tsx +++ b/packages/start/src/server-runtime/index.tsx @@ -1,10 +1,10 @@ import { Readable, Writable } from 'node:stream' import { getEvent, getRequestHeaders } from 'vinxi/http' -import { fetcher } from '../client-runtime' +import { fetcher } from '../client-runtime/fetcher' import { getBaseUrl } from '../client-runtime/getBaseUrl' -import { handleServerRequest } from '../server-handler' +import { handleServerRequest } from '../server-handler/index' import type { WritableOptions } from 'node:stream' -import type { FetchFn } from '../client' +import type { FetchFn } from '../client/createServerFn' /** * * @returns {import('node:http').IncomingMessage} diff --git a/packages/start/tsconfigs/react-server-runtime.tsconfig.json b/packages/start/tsconfigs/react-server-runtime.tsconfig.json deleted file mode 100644 index 9d94fb6491..0000000000 --- a/packages/start/tsconfigs/react-server-runtime.tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "include": ["../src/react-server-runtime/index.tsx"], - "compilerOptions": { - "outDir": "../dist/esm/react-server-runtime", - "target": "esnext", - "noEmit": false, - "jsx": "react-jsx" - } -} diff --git a/packages/start/tsconfigs/server-handler.tsconfig.json b/packages/start/tsconfigs/server-handler.tsconfig.json deleted file mode 100644 index 0fad93aad0..0000000000 --- a/packages/start/tsconfigs/server-handler.tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "include": ["../src/server-handler/index.tsx"], - "compilerOptions": { - "outDir": "../dist/esm/server-handler", - "target": "esnext", - "noEmit": false, - "jsx": "react-jsx" - } -} diff --git a/packages/start/tsconfigs/server-runtime.tsconfig.json b/packages/start/tsconfigs/server-runtime.tsconfig.json deleted file mode 100644 index 091334a19d..0000000000 --- a/packages/start/tsconfigs/server-runtime.tsconfig.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extends": "../../../tsconfig.json", - "include": ["../src/server-runtime/index.tsx"], - "compilerOptions": { - "outDir": "../dist/esm/server-runtime", - "target": "esnext", - "noEmit": false, - "jsx": "react-jsx" - } -} diff --git a/packages/start/vite.config.ts b/packages/start/vite.config.ts index 409c2073b1..d370358486 100644 --- a/packages/start/vite.config.ts +++ b/packages/start/vite.config.ts @@ -15,6 +15,9 @@ export default mergeConfig( './src/server/index.tsx', './src/client-runtime/index.tsx', './src/api/index.ts', + './src/server-runtime/index.tsx', + './src/react-server-runtime/index.tsx', + './src/server-handler/index.tsx', ], srcDir: './src', exclude: ['./src/config'], diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d1affdb69e..8602ff0415 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,6 +28,9 @@ importers: .: devDependencies: + '@arethetypeswrong/cli': + specifier: ^0.15.4 + version: 0.15.4 '@eslint-react/eslint-plugin': specifier: ^1.12.3 version: 1.12.3(eslint@8.57.0)(typescript@5.5.3) @@ -35,8 +38,8 @@ importers: specifier: ^1.46.1 version: 1.46.1 '@tanstack/config': - specifier: ^0.12.0 - version: 0.12.0(@types/node@20.14.9)(esbuild@0.21.5)(eslint@8.57.0)(rollup@4.18.0)(typescript@5.5.3)(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1)) + specifier: ^0.12.1 + version: 0.12.1(@types/node@20.14.9)(esbuild@0.21.5)(eslint@8.57.0)(rollup@4.18.0)(typescript@5.5.3)(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1)) '@types/node': specifier: ^20.14.7 version: 20.14.9 @@ -2229,6 +2232,18 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} + '@andrewbranch/untar.js@1.0.3': + resolution: {integrity: sha512-Jh15/qVmrLGhkKJBdXlK1+9tY4lZruYjsgkDFj08ZmDiWVBLJcqkok7Z0/R0In+i1rScBpJlSvrTS2Lm41Pbnw==} + + '@arethetypeswrong/cli@0.15.4': + resolution: {integrity: sha512-YDbImAi1MGkouT7f2yAECpUMFhhA1J0EaXzIqoC5GGtK0xDgauLtcsZezm8tNq7d3wOFXH7OnY+IORYcG212rw==} + engines: {node: '>=18'} + hasBin: true + + '@arethetypeswrong/core@0.15.1': + resolution: {integrity: sha512-FYp6GBAgsNz81BkfItRz8RLZO03w5+BaeiPma1uCfmxTnxbtuMrI/dbzGiOk8VghO108uFI0oJo0OkewdSHw7g==} + engines: {node: '>=18'} + '@ark/schema@0.3.2': resolution: {integrity: sha512-StWlBec++TxgDgpEUAkOxB7rqCZmOJr1dsW0P44vcgoitGtlQN13eCW1MlHlzScTUWA5iOtyHD+TsA0gKm4X0w==} @@ -3005,6 +3020,10 @@ packages: resolution: {integrity: sha512-EeEjMobfuJrwoctj7FA1y1KEbM0+Q1xSjobIEyie9k4haVEBB7vkDvsasw1pM3rO39mL2akxIAzLMUAtrMHZhA==} engines: {node: '>=16.13'} + '@colors/colors@1.5.0': + resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==} + engines: {node: '>=0.1.90'} + '@colors/colors@1.6.0': resolution: {integrity: sha512-Ir+AOibqzrIsL6ajt3Rz3LskB7OiMVHqltZmspbW/TJuTVuyOMirVqAkjfY6JISiLHgyNqicAC8AyHHGzNd/dA==} engines: {node: '>=0.1.90'} @@ -4585,6 +4604,10 @@ packages: '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + '@sindresorhus/is@4.6.0': + resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} + engines: {node: '>=10'} + '@sindresorhus/merge-streams@2.3.0': resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} @@ -4676,8 +4699,8 @@ packages: '@swc/types@0.1.12': resolution: {integrity: sha512-wBJA+SdtkbFhHjTMYH+dEH1y4VpfGdAc2Kw/LK09i9bXd/K6j6PkDcFCEzb6iVfZMkPRrl/q0e3toqTAJdkIVA==} - '@tanstack/config@0.12.0': - resolution: {integrity: sha512-hzvdYmMJlLZMcaVSAgkmH149Nc/UxzDFEOlBNUOR2mFMP6Siw6QhfhgvhHwiTtluWsnsrEGzN7zVc+Rxf4p2Jg==} + '@tanstack/config@0.12.1': + resolution: {integrity: sha512-v0w00ZOrR1Pf32c3Vte4TCUNAjFTCubxeGpcb00QkxkUtYc6Njk4rjBqhl7SdSuExpgCyDN1U41sxk+mIKohUw==} engines: {node: '>=18'} hasBin: true @@ -5360,6 +5383,10 @@ packages: resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} engines: {node: '>=8'} + ansi-escapes@7.0.0: + resolution: {integrity: sha512-GdYO7a61mR0fOlAsvC9/rIHf7L96sBc6dEWzeOu+KAea5bZyQRPIpojrVoI4AXGJS/ycu/fBTdLrUkA4ODrvjw==} + engines: {node: '>=18'} + ansi-html-community@0.0.8: resolution: {integrity: sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==} engines: {'0': node >= 0.8.0} @@ -5705,6 +5732,10 @@ packages: resolution: {integrity: sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} + char-regex@1.0.2: + resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} + engines: {node: '>=10'} + check-error@1.0.3: resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} @@ -5739,6 +5770,11 @@ packages: resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} engines: {node: '>=8'} + cli-highlight@2.1.11: + resolution: {integrity: sha512-9KDcoEVwyUXrjcJNvHD0NFc/hiwe/WPVYIleQh2O1N2Zro5gWJZ/K+3DGn8w8P/F6FxOgzyC5bxDyHIgCSPhGg==} + engines: {node: '>=8.0.0', npm: '>=5.0.0'} + hasBin: true + cli-spinners@2.6.1: resolution: {integrity: sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==} engines: {node: '>=6'} @@ -5747,6 +5783,10 @@ packages: resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} engines: {node: '>=6'} + cli-table3@0.6.5: + resolution: {integrity: sha512-+W/5efTR7y5HRD7gACw9yQjqMVvEMLBHmboM/kPWam+H+Hmyrgjh6YncVKK122YZkXrLudzTuAukUw9FnMf7IQ==} + engines: {node: 10.* || >= 12.*} + cli-width@4.1.0: resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} engines: {node: '>= 12'} @@ -5758,6 +5798,9 @@ packages: resolution: {integrity: sha512-5mOlNS0mhX0707P2I0aZ2V/cmHUEO/fL7VFLqszkhUsxt7RwnmrInf/eEQKlf5GzvYeHIjT+Ov1HRfNmymlG0w==} engines: {node: '>=18'} + cliui@7.0.4: + resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==} + cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -6268,6 +6311,9 @@ packages: emoji-regex@9.2.2: resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + emojilib@2.4.0: + resolution: {integrity: sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==} + enabled@2.0.0: resolution: {integrity: sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==} @@ -6302,6 +6348,10 @@ packages: engines: {node: '>=4'} hasBin: true + environment@1.1.0: + resolution: {integrity: sha512-xUtoPkMggbz0MPyPiIWr1Kp4aeWJjDZ6SMvURhimjdZgsRuDplF5/s9hcgGhyXMhs+6vpnuoiZ2kFiu3FMnS8Q==} + engines: {node: '>=18'} + error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} @@ -6709,6 +6759,9 @@ packages: resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==} engines: {node: ^12.20 || >= 14.13} + fflate@0.8.2: + resolution: {integrity: sha512-cPJU47OaAoCbg0pBvzsgpTPhmhqI5eJjh/JIu8tPj5q+T7iLvW/JAYUqmE7KOB4R1ZyEhzBaIQpQpardBF5z8A==} + figures@3.2.0: resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} engines: {node: '>=8'} @@ -7044,6 +7097,9 @@ packages: headers-polyfill@4.0.3: resolution: {integrity: sha512-IScLbePpkvO846sIwOtOTDjutRMWdXdJmXdMvk6gCBHxFO8d+QKOQedyZSxFTTFYRSmlgSTDtXqqq4pcenBXLQ==} + highlight.js@10.7.3: + resolution: {integrity: sha512-tzcUFauisWKNHaRkN4Wjl/ZA07gENAjFl3J/c480dprkGTg5EQstgaNFqBfUqCq54kZRIEcreTsAgF/m2quD7A==} + homedir-polyfill@1.0.3: resolution: {integrity: sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==} engines: {node: '>=0.10.0'} @@ -7797,6 +7853,17 @@ packages: resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==} hasBin: true + marked-terminal@7.1.0: + resolution: {integrity: sha512-+pvwa14KZL74MVXjYdPR3nSInhGhNvPce/3mqLVZT2oUvt654sL1XImFuLZ1pkA866IYZ3ikDTOFUIC7XzpZZg==} + engines: {node: '>=16.0.0'} + peerDependencies: + marked: '>=1 <14' + + marked@9.1.6: + resolution: {integrity: sha512-jcByLnIFkd5gSXZmjNvS1TlmRhCXZjIzHYlaGkPlLIekG55JDR2Z4va9tZwCiP+/RDERiNhMOFu01xd6O5ct1Q==} + engines: {node: '>= 16'} + hasBin: true + mdurl@2.0.0: resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==} @@ -7997,6 +8064,10 @@ packages: resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} engines: {node: '>=10.5.0'} + node-emoji@2.1.3: + resolution: {integrity: sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA==} + engines: {node: '>=18'} + node-fetch-native@1.6.4: resolution: {integrity: sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ==} @@ -8259,6 +8330,15 @@ packages: resolution: {integrity: sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==} engines: {node: '>=0.10.0'} + parse5-htmlparser2-tree-adapter@6.0.1: + resolution: {integrity: sha512-qPuWvbLgvDGilKc5BoicRovlT4MtYT6JfJyBOMDsKoiT+GiuP5qyrPCnR9HcPECIJJmZh5jRndyNThnhhb/vlA==} + + parse5@5.1.1: + resolution: {integrity: sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==} + + parse5@6.0.1: + resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} + parse5@7.1.2: resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} @@ -8937,6 +9017,10 @@ packages: simple-swizzle@0.2.2: resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==} + skin-tone@2.0.0: + resolution: {integrity: sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==} + engines: {node: '>=8'} + slash@3.0.0: resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} engines: {node: '>=8'} @@ -9152,6 +9236,10 @@ packages: resolution: {integrity: sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==} engines: {node: '>=8'} + supports-hyperlinks@3.1.0: + resolution: {integrity: sha512-2rn0BZ+/f7puLOHZm1HOJfwBggfaHXUpPUSSG/SWM4TWp5KCfmNYwnC3hruy2rZlMnmWZ+QAGpZfchu3f3695A==} + engines: {node: '>=14.18'} + supports-preserve-symlinks-flag@1.0.0: resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} engines: {node: '>= 0.4'} @@ -9320,6 +9408,9 @@ packages: peerDependencies: typescript: '>=4.0.0' + ts-expose-internals-conditionally@1.0.0-empty.0: + resolution: {integrity: sha512-F8m9NOF6ZhdOClDVdlM8gj3fDCav4ZIFSs/EI3ksQbAAXVSCN/Jh5OCJDDZWBuBy9psFc6jULGDlPwjMYMhJDw==} + ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} @@ -9511,6 +9602,10 @@ packages: resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} engines: {node: '>=4'} + unicode-emoji-modifier-base@1.0.0: + resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} + engines: {node: '>=4'} + unicode-match-property-ecmascript@2.0.0: resolution: {integrity: sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q==} engines: {node: '>=4'} @@ -9679,6 +9774,10 @@ packages: typescript: optional: true + validate-npm-package-name@5.0.1: + resolution: {integrity: sha512-OljLrQ9SQdOUqTaQxqL5dEfZWrXExyyWsozYlAWFawPVNuD83igl7uJD2RTkNMbniIYgt8l81eCJGIdQF7avLQ==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + vary@1.1.2: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} @@ -10005,10 +10104,18 @@ packages: engines: {node: '>= 14'} hasBin: true + yargs-parser@20.2.9: + resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==} + engines: {node: '>=10'} + yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} + yargs@16.2.0: + resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==} + engines: {node: '>=10'} + yargs@17.7.2: resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} @@ -10047,6 +10154,27 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 + '@andrewbranch/untar.js@1.0.3': {} + + '@arethetypeswrong/cli@0.15.4': + dependencies: + '@arethetypeswrong/core': 0.15.1 + chalk: 4.1.2 + cli-table3: 0.6.5 + commander: 10.0.1 + marked: 9.1.6 + marked-terminal: 7.1.0(marked@9.1.6) + semver: 7.6.3 + + '@arethetypeswrong/core@0.15.1': + dependencies: + '@andrewbranch/untar.js': 1.0.3 + fflate: 0.8.2 + semver: 7.6.3 + ts-expose-internals-conditionally: 1.0.0-empty.0 + typescript: 5.3.3 + validate-npm-package-name: 5.0.1 + '@ark/schema@0.3.2': dependencies: '@ark/util': 0.2.1 @@ -11042,6 +11170,9 @@ snapshots: dependencies: mime: 3.0.0 + '@colors/colors@1.5.0': + optional: true + '@colors/colors@1.6.0': {} '@commitlint/parse@19.0.3': @@ -12461,6 +12592,8 @@ snapshots: '@sinclair/typebox@0.27.8': {} + '@sindresorhus/is@4.6.0': {} + '@sindresorhus/merge-streams@2.3.0': {} '@stylistic/eslint-plugin-js@2.6.4(eslint@8.57.0)': @@ -12532,7 +12665,7 @@ snapshots: dependencies: '@swc/counter': 0.1.3 - '@tanstack/config@0.12.0(@types/node@20.14.9)(esbuild@0.21.5)(eslint@8.57.0)(rollup@4.18.0)(typescript@5.5.3)(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))': + '@tanstack/config@0.12.1(@types/node@20.14.9)(esbuild@0.21.5)(eslint@8.57.0)(rollup@4.18.0)(typescript@5.5.3)(vite@5.3.5(@types/node@20.14.9)(terser@5.31.1))': dependencies: '@commitlint/parse': 19.0.3 '@eslint/js': 8.57.0 @@ -13435,6 +13568,10 @@ snapshots: dependencies: type-fest: 0.21.3 + ansi-escapes@7.0.0: + dependencies: + environment: 1.1.0 + ansi-html-community@0.0.8: {} ansi-regex@5.0.1: {} @@ -13881,6 +14018,8 @@ snapshots: chalk@5.3.0: {} + char-regex@1.0.2: {} + check-error@1.0.3: dependencies: get-func-name: 2.0.2 @@ -13917,10 +14056,25 @@ snapshots: dependencies: restore-cursor: 3.1.0 + cli-highlight@2.1.11: + dependencies: + chalk: 4.1.2 + highlight.js: 10.7.3 + mz: 2.7.0 + parse5: 5.1.1 + parse5-htmlparser2-tree-adapter: 6.0.1 + yargs: 16.2.0 + cli-spinners@2.6.1: {} cli-spinners@2.9.2: {} + cli-table3@0.6.5: + dependencies: + string-width: 4.2.3 + optionalDependencies: + '@colors/colors': 1.5.0 + cli-width@4.1.0: {} client-only@0.0.1: {} @@ -13931,6 +14085,12 @@ snapshots: is-wsl: 3.1.0 is64bit: 2.0.0 + cliui@7.0.4: + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + cliui@8.0.1: dependencies: string-width: 4.2.3 @@ -14371,6 +14531,8 @@ snapshots: emoji-regex@9.2.2: {} + emojilib@2.4.0: {} + enabled@2.0.0: {} encodeurl@1.0.2: {} @@ -14399,6 +14561,8 @@ snapshots: envinfo@7.13.0: {} + environment@1.1.0: {} + error-ex@1.3.2: dependencies: is-arrayish: 0.2.1 @@ -15124,6 +15288,8 @@ snapshots: node-domexception: 1.0.0 web-streams-polyfill: 3.2.1 + fflate@0.8.2: {} + figures@3.2.0: dependencies: escape-string-regexp: 1.0.5 @@ -15478,6 +15644,8 @@ snapshots: headers-polyfill@4.0.3: {} + highlight.js@10.7.3: {} + homedir-polyfill@1.0.3: dependencies: parse-passwd: 1.0.0 @@ -16231,6 +16399,18 @@ snapshots: punycode.js: 2.3.1 uc.micro: 2.1.0 + marked-terminal@7.1.0(marked@9.1.6): + dependencies: + ansi-escapes: 7.0.0 + chalk: 5.3.0 + cli-highlight: 2.1.11 + cli-table3: 0.6.5 + marked: 9.1.6 + node-emoji: 2.1.3 + supports-hyperlinks: 3.1.0 + + marked@9.1.6: {} + mdurl@2.0.0: {} media-typer@0.3.0: {} @@ -16485,6 +16665,13 @@ snapshots: node-domexception@1.0.0: {} + node-emoji@2.1.3: + dependencies: + '@sindresorhus/is': 4.6.0 + char-regex: 1.0.2 + emojilib: 2.4.0 + skin-tone: 2.0.0 + node-fetch-native@1.6.4: {} node-fetch@2.7.0: @@ -16812,6 +16999,14 @@ snapshots: parse-passwd@1.0.0: {} + parse5-htmlparser2-tree-adapter@6.0.1: + dependencies: + parse5: 6.0.1 + + parse5@5.1.1: {} + + parse5@6.0.1: {} + parse5@7.1.2: dependencies: entities: 4.5.0 @@ -17520,6 +17715,10 @@ snapshots: dependencies: is-arrayish: 0.3.2 + skin-tone@2.0.0: + dependencies: + unicode-emoji-modifier-base: 1.0.0 + slash@3.0.0: {} slash@4.0.0: {} @@ -17762,6 +17961,11 @@ snapshots: has-flag: 4.0.0 supports-color: 7.2.0 + supports-hyperlinks@3.1.0: + dependencies: + has-flag: 4.0.0 + supports-color: 7.2.0 + supports-preserve-symlinks-flag@1.0.0: {} swc-loader@0.2.6(@swc/core@1.7.6(@swc/helpers@0.5.12))(webpack@5.93.0(@swc/core@1.7.6(@swc/helpers@0.5.12))(esbuild@0.21.5)(webpack-cli@5.1.4)): @@ -17942,6 +18146,8 @@ snapshots: minimatch: 10.0.1 typescript: 5.5.3 + ts-expose-internals-conditionally@1.0.0-empty.0: {} + ts-interface-checker@0.1.13: {} ts-pattern@5.3.1: {} @@ -18114,6 +18320,8 @@ snapshots: unicode-canonical-property-names-ecmascript@2.0.0: {} + unicode-emoji-modifier-base@1.0.0: {} + unicode-match-property-ecmascript@2.0.0: dependencies: unicode-canonical-property-names-ecmascript: 2.0.0 @@ -18254,6 +18462,8 @@ snapshots: optionalDependencies: typescript: 5.5.3 + validate-npm-package-name@5.0.1: {} + vary@1.1.2: {} vinxi@0.4.2(@opentelemetry/api@1.8.0)(@types/node@20.14.9)(ioredis@5.4.1)(terser@5.31.1): @@ -18764,8 +18974,20 @@ snapshots: yaml@2.4.5: {} + yargs-parser@20.2.9: {} + yargs-parser@21.1.1: {} + yargs@16.2.0: + dependencies: + cliui: 7.0.4 + escalade: 3.1.2 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 20.2.9 + yargs@17.7.2: dependencies: cliui: 8.0.1