From b12d048911f85e9f6fda2730ad73a357e6b3ae37 Mon Sep 17 00:00:00 2001 From: Seth Kaplan Date: Thu, 16 May 2024 14:37:35 -0400 Subject: [PATCH] feat: remove tanstack devtools (#39) * remove tanstack devtools * add package lock --- package-lock.json | 134 ------------------------------------------ package.json | 1 - src/routes/__root.tsx | 2 - 3 files changed, 137 deletions(-) diff --git a/package-lock.json b/package-lock.json index a49f437..be611be 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,7 +30,6 @@ "zustand": "^4.5.2" }, "devDependencies": { - "@tanstack/router-devtools": "^1.31.19", "@tanstack/router-vite-plugin": "^1.31.18", "@types/bezier-js": "^4.1.3", "@types/react": "^18.3.1", @@ -4577,19 +4576,6 @@ "@sinonjs/commons": "^3.0.0" } }, - "node_modules/@tanstack/history": { - "version": "1.31.16", - "resolved": "https://registry.npmjs.org/@tanstack/history/-/history-1.31.16.tgz", - "integrity": "sha512-rahAZXlR879P7dngDH7BZwGYiODA9D5Hqo6nUHn9GAURcqZU5IW0ZiT54dPtV5EPES7muZZmknReYueDHs7FFQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" - } - }, "node_modules/@tanstack/query-core": { "version": "5.34.1", "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.34.1.tgz", @@ -4614,47 +4600,6 @@ "react": "^18.0.0" } }, - "node_modules/@tanstack/react-router": { - "version": "1.31.19", - "resolved": "https://registry.npmjs.org/@tanstack/react-router/-/react-router-1.31.19.tgz", - "integrity": "sha512-WSN5rmB24AhvCfHs9R5LCbXAym1OGFBZHw11VoS1nDZkY+aaH1AjYNm3l/bPH8wC3bJRV2WXKyPTxywjrWPQMQ==", - "dev": true, - "dependencies": { - "@tanstack/history": "1.31.16", - "@tanstack/react-store": "^0.2.1", - "tiny-invariant": "^1.3.1", - "tiny-warning": "^1.0.3" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" - }, - "peerDependencies": { - "react": ">=16.8", - "react-dom": ">=16.8" - } - }, - "node_modules/@tanstack/react-store": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@tanstack/react-store/-/react-store-0.2.1.tgz", - "integrity": "sha512-tEbMCQjbeVw9KOP/202LfqZMSNAVi6zYkkp1kBom8nFuMx/965Hzes3+6G6b/comCwVxoJU8Gg9IrcF8yRPthw==", - "dev": true, - "dependencies": { - "@tanstack/store": "0.1.3", - "use-sync-external-store": "^1.2.0" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" - }, - "peerDependencies": { - "react": ">=16", - "react-dom": ">=16" - } - }, "node_modules/@tanstack/react-virtual": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@tanstack/react-virtual/-/react-virtual-3.0.1.tgz", @@ -4671,45 +4616,6 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }, - "node_modules/@tanstack/router-devtools": { - "version": "1.31.19", - "resolved": "https://registry.npmjs.org/@tanstack/router-devtools/-/router-devtools-1.31.19.tgz", - "integrity": "sha512-0MTK07v653R49Eqyr8yICBAXM0z6NbdsMFjkAIdV4UObXhZF5JuGuyiAJFj/V1SO2r8yt5aSGA9q7wNYVYZ7VQ==", - "dev": true, - "dependencies": { - "@tanstack/react-router": "1.31.19", - "clsx": "^2.1.0", - "date-fns": "^2.29.1", - "goober": "^2.1.14" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" - }, - "peerDependencies": { - "react": ">=16.8", - "react-dom": ">=16.8" - } - }, - "node_modules/@tanstack/router-devtools/node_modules/date-fns": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz", - "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==", - "dev": true, - "dependencies": { - "@babel/runtime": "^7.21.0" - }, - "engines": { - "node": ">=0.11" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/date-fns" - } - }, "node_modules/@tanstack/router-generator": { "version": "1.30.0", "resolved": "https://registry.npmjs.org/@tanstack/router-generator/-/router-generator-1.30.0.tgz", @@ -4758,16 +4664,6 @@ "url": "https://github.com/sponsors/tannerlinsley" } }, - "node_modules/@tanstack/store": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@tanstack/store/-/store-0.1.3.tgz", - "integrity": "sha512-GnolmC8Fr4mvsHE1fGQmR3Nm0eBO3KnZjDU0a+P3TeQNM/dDscFGxtA7p31NplQNW3KwBw4t1RVFmz0VeKLxcw==", - "dev": true, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/tannerlinsley" - } - }, "node_modules/@tanstack/virtual-core": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@tanstack/virtual-core/-/virtual-core-3.0.0.tgz", @@ -6218,15 +6114,6 @@ "node": ">=6" } }, - "node_modules/clsx": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.0.tgz", - "integrity": "sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", @@ -8197,15 +8084,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/goober": { - "version": "2.1.14", - "resolved": "https://registry.npmjs.org/goober/-/goober-2.1.14.tgz", - "integrity": "sha512-4UpC0NdGyAFqLNPnhCT2iHpza2q+RAY3GV85a/mRPdzyPQMsj0KmMMuetdIkzWRbJ+Hgau1EZztq8ImmiMGhsg==", - "dev": true, - "peerDependencies": { - "csstype": "^3.0.10" - } - }, "node_modules/gopd": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", @@ -13437,18 +13315,6 @@ "safe-buffer": "~5.1.0" } }, - "node_modules/tiny-invariant": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz", - "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==", - "dev": true - }, - "node_modules/tiny-warning": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", - "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==", - "dev": true - }, "node_modules/tmpl": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", diff --git a/package.json b/package.json index 5f8ae03..bcbccf9 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,6 @@ "zustand": "^4.5.2" }, "devDependencies": { - "@tanstack/router-devtools": "^1.31.19", "@tanstack/router-vite-plugin": "^1.31.18", "@types/bezier-js": "^4.1.3", "@types/react": "^18.3.1", diff --git a/src/routes/__root.tsx b/src/routes/__root.tsx index 1a62b76..0f1ba1d 100644 --- a/src/routes/__root.tsx +++ b/src/routes/__root.tsx @@ -1,11 +1,9 @@ import { createRootRoute, Outlet } from '@tanstack/react-router'; -import { TanStackRouterDevtools } from '@tanstack/router-devtools'; export const Route = createRootRoute({ component: () => ( <> - ), });