Commit graph

314 commits

Author SHA1 Message Date
Manav Rathi c9bb6d443b Fix yarn workspace photos add foo
This was likely happening because the package versions in the top level
package.json and the eslint-config package.json were different. I've synced them
for now.

> On a longer time frame, the idea is not have such conflicting cases, and
remove mostly all the top level package.json dependencies and for the rest rely
on them solely being in the top level package.json and not duplicated in two
places.
2024-02-21 21:12:11 +05:30
Manav Rathi 8fbe5fa323 Remove husky 2024-02-17 12:52:18 +05:30
Manav Rathi 64d5834b6a Remove Turbo
- yarn classic workspaces already do what we need

- The main benefit of turbo, the cache, is already disabled on dev builds. On
  production builds, turbo doesn't support `next build` (this is mentioned in
  Vercel's docs).

- We're not using their remote cache

- Maybe there is a monorepo size when the yarn workspace approach gets
  unwieldly, but I feel we're not near that point.

Will bring it back if it gets missed.
2024-02-17 09:21:25 +05:30
Manav Rathi 779d3b4e8a Update yarn.lock after rebasing from main 2024-02-16 20:48:26 +05:30
Manav Rathi c124414242 Get the typeaware rules working 2024-02-16 20:48:26 +05:30
Manav Rathi 9bb2fbb6e1 Go back to existing config
The flat config requires enabling a flag in the VS code plugin, it in not
enabled by default.

    "eslint.experimental.useFlatConfig": true

This is an unnecessary expectation from all developers on the project, so we for
now live with the old format.
2024-02-16 20:48:26 +05:30
Manav Rathi f6e31f0987 Update to a newer eslint 2024-02-16 20:48:26 +05:30
Manav Rathi a9a810ab99 Add typescript configuration in eslint
VSCode still gives an error

We had to set the type to module to get the `import` to work. Setting .mjs
didn't work (eslint didn't recognize the file). Setting the type to module
should be (based on my current understanding) not affect us negatively since we
are exporting a TypeScript library not a bundled one, and all the other source
files apart from this are intended to be `*.ts`.

Refs:
- https://jeremyrichardson.dev/blog/saga_of_learning_exports_property_in_packagejson
- https://github.com/eslint/eslint/discussions/17021
2024-02-16 20:48:26 +05:30
Manav Rathi 0c7beceece Update to Next 14
This was because with 13.5 I was getting an error coming from emotion:

    Unhandled Runtime Error

    Error: Component selectors can only be used in conjunction with
    @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler
    transform.

    Call Stack
    - handleInterpolation
      ../node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js (84:0)
    - serializeStyles
      ../node_modules/@emotion/serialize/dist/emotion-serialize.browser.esm.js (264:0)
2024-02-16 20:47:25 +05:30
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
Manav Rathi c87aca72ad Use yarn add @ente-io/utils@'file:packages/utils'
The version field is still required, but we can additionally add a private for
both semantic signalling and preventing this from being published to npm.
2024-02-16 20:47:25 +05:30
Neeraj Gupta de163b79db
Merge branch 'main' into cast 2024-02-13 09:35:00 +05:30
Manav Rathi b4946693f8 Remove unused workbox-* dependencies
yarn workspace photos remove workbox-precaching workbox-recipes workbox-routing workbox-strategies workbox-window
2024-02-08 14:46:26 +05:30
Neeraj Gupta 6572314657 Add yarn.lock 2024-01-30 12:00:10 +05:30
Abhinav dc57d4509e update yarn lock 2024-01-30 10:52:48 +05:30
Neeraj Gupta 36cad03c71 Merge branch 'main' into cast 2024-01-29 11:09:58 +05:30
dependabot[bot] 9afd108812
Bump follow-redirects from 1.15.2 to 1.15.4
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.2...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 21:51:56 +00:00
Abhinav 4501c719d7 Merge branch 'main' into cast 2024-01-08 12:07:37 +05:30
httpjamesm a26ad05fac
fix: next font dep 2024-01-06 23:11:35 -05:00
Abhinav c847865e75 update yarn lock 2023-11-29 12:51:57 +05:30
Abhinav 822c8dbdd5 replace debounce package 2023-11-29 11:51:05 +05:30
Abhinav ff29ac33fb fix next font issue 2023-11-27 10:22:47 +05:30
Abhinav 13a70edd24 remove duplicate packages from cast app 2023-11-27 10:19:06 +05:30
Abhinav a5560e1d29 Merge branch 'main' into cast 2023-11-27 09:54:59 +05:30
Abhinav a7f73469f1 update yarn lock 2023-11-27 09:54:12 +05:30
Neeraj Gupta 46770c3237 Upgrade heic-conver to ^2.0.0 2023-11-24 23:47:06 +05:30
httpjamesm 4441d8228b
feat: theatre component with video support 2023-11-23 19:19:20 -05:00
httpjamesm 19b223c996
feat: pairing complete overlay 2023-11-23 17:35:43 -05:00
Abhinav 090d570b50 Merge branch 'main' into cast 2023-11-23 10:11:38 +05:30
dependabot[bot] f42b9789c3
Bump axios from 1.4.0 to 1.6.0
Bumps [axios](https://github.com/axios/axios) from 1.4.0 to 1.6.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.4.0...v1.6.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-17 14:30:35 +00:00
dependabot[bot] 05f2461826
Bump @sentry/nextjs from 7.49.0 to 7.77.0
Bumps [@sentry/nextjs](https://github.com/getsentry/sentry-javascript) from 7.49.0 to 7.77.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/7.49.0...7.77.0)

---
updated-dependencies:
- dependency-name: "@sentry/nextjs"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-17 14:14:22 +00:00
Abhinav 0ae9c4caec Revert "migrate to yarn berry"
This reverts commit 8fdac05728.
2023-11-17 14:38:09 +05:30
Abhinav 0a79b3f202 downgrade next to 13.1.3 2023-11-17 10:23:34 +05:30
httpjamesm 2415fe4cab
Initial cast commit 2023-11-12 15:05:53 -05:00
Abhinav 398e5e4963 update turbo json and yarn lock 2023-11-10 21:07:00 +05:30
Abhinav f3bc03b186 yarn update 2023-11-10 16:03:47 +05:30
Abhinav 52c2f89412 patch issues 2023-11-10 15:08:10 +05:30
Abhinav 8fdac05728 migrate to yarn berry 2023-11-09 14:41:46 +05:30
Abhinav 7c63221a15 update next to 13.5.6 2023-11-09 10:08:15 +05:30
Abhinav e4ff7faeec move MessageContainer to shared package 2023-11-08 14:57:12 +05:30
Abhinav 0f46db031c move mui react and next to root package json 2023-11-08 10:15:31 +05:30
Abhinav 92e493c411 complete login 2023-11-02 09:06:31 +05:30
Abhinav 577f968f22 adds ui package 2023-11-01 15:31:08 +05:30
Abhinav 5692df6cfe replace photos login page with accounts test login page 2023-11-01 13:15:41 +05:30
Abhinav Kumar 7a744db009
Login v2 (#1172) 2023-09-01 12:14:00 +05:30
Abhinav 86f9d4b520 upgraded tfjs-core and related packages to v4 2023-08-02 12:40:41 +05:30
Abhinav 5732174c63 Merge branch 'main' into login-v2 2023-07-31 12:12:50 +05:30
Abhinav Kumar 6487734077
Bump bs58 from 4.0.1 to 5.0.0 (#1287) 2023-07-31 11:54:53 +05:30
Abhinav Kumar 13389be532
Bump lint-staged from 11.1.2 to 13.2.3 (#1286) 2023-07-31 11:33:16 +05:30
dependabot[bot] 9a80e2ab26
Bump bs58 from 4.0.1 to 5.0.0
Bumps [bs58](https://github.com/cryptocoinjs/bs58) from 4.0.1 to 5.0.0.
- [Changelog](https://github.com/cryptocoinjs/bs58/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cryptocoinjs/bs58/compare/v4.0.1...v5.0.0)

---
updated-dependencies:
- dependency-name: bs58
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-30 12:52:52 +00:00