Remove debugging package

This commit is contained in:
Manav Rathi 2024-02-16 15:25:18 +05:30
parent c124414242
commit 82fbe55e5a
9 changed files with 4 additions and 58 deletions

View file

@ -13,7 +13,6 @@
"@/utils": "*",
"@date-io/date-fns": "^2.14.0",
"@mui/x-date-pickers": "^5.0.0-alpha.6",
"@repo/ui": "*",
"@sentry/nextjs": "^7.77.0",
"@stripe/stripe-js": "^1.13.2",
"@tensorflow-models/coco-ssd": "^2.2.2",

View file

@ -81,7 +81,6 @@ import { AppUpdateInfo } from '@ente/shared/electron/types';
import DownloadManager from 'services/download';
import { sayHello } from '@/utils/hello';
import { Card } from '@/utils/components/Card';
// import { sayHello } from '@repo/ui/hello';
const redirectMap = new Map([
[REDIRECTS.ROADMAP, getRoadmapRedirectURL],

View file

@ -24,7 +24,7 @@
"albums": "turbo run albums",
"prepare": "husky install",
"photos:dev": "TURBO_NO_UPDATE_NOTIFIER=true turbo run dev --filter=photos",
"lint-x": "prettier --check ."
"lint-x": "yarn prettier --check . && yarn workspaces run eslint ."
},
"dependencies": {
"@emotion/react": "11.10.6",

View file

@ -36,7 +36,6 @@ const nextConfig = {
},
},
transpilePackages: [
'@repo/ui',
'@/utils',
'@mui/material',
'@mui/system',

View file

@ -1,15 +0,0 @@
{
"name": "@repo/ui",
"version": "0.0.0",
"private": true,
"exports": {
"./hello": "./src/hello.ts",
"./card": "./src/card.tsx"
},
"devDependencies": {
"@types/react": "^18.2.46",
"@types/react-dom": "^18.2.18",
"react": "^18.2.0",
"typescript": "^5.3.3"
}
}

View file

@ -1,14 +0,0 @@
/** Test comment */
export function Card({
href,
children,
}: {
href: string;
children: React.ReactNode;
}): JSX.Element {
return (
<a href={href} rel="noopener noreferrer" target="_blank">
<p>{children}</p>
</a>
);
}

View file

@ -1,2 +0,0 @@
/** Howdy! */
export const sayHello = () => console.log("Hello, world");

View file

@ -1,23 +0,0 @@
{
"compilerOptions": {
"declaration": true,
"declarationMap": true,
"esModuleInterop": true,
"incremental": false,
"isolatedModules": true,
"lib": ["es2022", "DOM", "DOM.Iterable"],
"module": "NodeNext",
"moduleDetection": "force",
"moduleResolution": "NodeNext",
"noUncheckedIndexedAccess": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"target": "ES2022",
"jsx": "preserve",
"outDir": "dist"
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}

View file

@ -5,5 +5,8 @@
"exports": {
"./components/*": "./src/components/*.tsx",
"./*": "./src/*.ts"
},
"scripts": {
"lint": "eslint --debug "
}
}