Make it work with yarn workspace

This commit is contained in:
Manav Rathi 2024-02-15 10:08:22 +05:30
parent 9723f818e0
commit 3aa0f4d0b8
5 changed files with 7 additions and 2 deletions

View file

@ -29,6 +29,7 @@
"comlink": "^4.3.0",
"debounce": "^2.0.0",
"density-clustering": "^1.3.0",
"@ente-io/utils": "0.0.0",
"eventemitter3": "^4.0.7",
"exifr": "^7.1.3",
"fast-srp-hap": "^2.0.4",

View file

@ -79,6 +79,7 @@ import { PHOTOS_PAGES as PAGES } from '@ente/shared/constants/pages';
import { getTheme } from '@ente/shared/themes';
import { AppUpdateInfo } from '@ente/shared/electron/types';
import DownloadManager from 'services/download';
import { sayHello } from '@ente-io/utils/hello';
const redirectMap = new Map([
[REDIRECTS.ROADMAP, getRoadmapRedirectURL],
@ -170,6 +171,7 @@ export default function App(props: EnteAppProps) {
// setup logging
clearLogsIfLocalStorageLimitExceeded();
logStartupMessage();
sayHello();
}, []);
useEffect(() => {

View file

@ -11,7 +11,7 @@
"noUnusedParameters": false,
"strictNullChecks": false,
"target": "es5",
"useUnknownInCatchVariables": false
"useUnknownInCatchVariables": false,
},
"include": [
"next-env.d.ts",

2
packages/utils/hello.ts Normal file
View file

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

View file

@ -1,4 +1,4 @@
{
"name": "@ente-io/utils",
"private": true
"version": "0.0.0"
}