ente/package.json
Manav Rathi 2e926ed60f Upgrade next (remaining in 13 series) to fix moduleResolution issue
This is to prevent Next from forcefully overwriting the "moduleResolution" in
tsconfig.json to "node". If it is "node", then VS code cannot find the imports
we do from @repo/ui.

This was a bug in Next which was fixed in this PR:
https://github.com/vercel/next.js/pull/51957

To upgrade, I used:

    yarn upgrade next@^13.5

The latest Next.js is 14, but I left it at the last release in the 13
series. Will deal with the upgrade to 14 later in a different PR.
2024-02-16 20:47:25 +05:30

66 lines
2.1 KiB
JSON

{
"name": "ente-web",
"version": "1.0.0",
"private": true,
"workspaces": [
"packages/*",
"apps/*"
],
"scripts": {
"build:photos": "turbo run build --filter=photos",
"build:auth": "turbo run build --filter=auth",
"build:cast": "turbo run build --filter=cast",
"build:accounts": "turbo run build --filter=accounts",
"dev:auth": "turbo run dev --filter=auth",
"dev:photos": "turbo run dev --filter=photos",
"dev:accounts": "turbo run dev --filter=accounts",
"dev:web": "turbo run dev --filter=web",
"dev:cast": "turbo run dev --filter=cast",
"export:photos": "turbo run export --filter=photos",
"export:auth": "turbo run export --filter=auth",
"export:cast": "turbo run export --filter=cast",
"export:accounts": "turbo run export --filter=accounts",
"lint": "turbo run lint",
"albums": "turbo run albums",
"prepare": "husky install",
"photos:dev": "TURBO_NO_UPDATE_NOTIFIER=true turbo run dev --filter=photos"
},
"dependencies": {
"@emotion/react": "11.10.6",
"@emotion/server": "11.11.0",
"@emotion/styled": "11.11.0",
"@ente/accounts": "*",
"@ente/shared": "*",
"@mui/icons-material": "5.14.1",
"@mui/material": "5.11.16",
"axios": "^1.6.0",
"is-electron": "^2.2.2",
"next": "^13.5",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"@ente/eslint-config": "*",
"@typescript-eslint/parser": "^5.59.2",
"eslint": "^8.28.0",
"husky": "^7.0.1",
"lint-staged": "^13.2.3",
"prettier": "2.3.2",
"turbo": "^1.10.3",
"typescript": "^5.1.3"
},
"lint-staged": {
"apps/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write --ignore-unknown"
],
"packages/**/*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --write --ignore-unknown"
],
"**/*.{json,css,scss,md,html,yml,yaml}": [
"prettier --write --ignore-unknown"
]
}
}