Commit graph

98 commits

Author SHA1 Message Date
Manav Rathi e15c7e1642 Move into web/ 2024-03-01 12:21:07 +05:30
Manav Rathi d15deb1cb0 Document NODE_VERSION 2024-02-24 17:01:25 +05:30
Manav Rathi 990e51a904 Move down react dependencies 2024-02-24 16:35:37 +05:30
Manav Rathi e54fe2b15c Move dev dependency down 2024-02-24 11:12:42 +05:30
Manav Rathi c81ecd1ec1 WIP Handle migration 2024-02-24 08:56:23 +05:30
Manav Rathi 8d571a0f52 Remove all dependencies from the top level package.json 2024-02-23 18:19:11 +05:30
Manav Rathi 9ac2a84465 Move is-electron to utils 2024-02-23 16:55:12 +05:30
Manav Rathi 53a92a58e3 Clarify a few things around running shared albums locally
Also, rename the environment variable to match what one would naturally type.
2024-02-23 16:23:11 +05:30
Manav Rathi 69652dec76 Move to lower layer 2024-02-23 12:14:08 +05:30
Manav Rathi adb2c50a4a Match the libsodium version that was previously resolved
The @types package uses a caret import which is bringing a newer libsodium with
it, so add an explicit override to pin it to the version that we want.
2024-02-23 11:58:23 +05:30
Manav Rathi 316e18ceaa Try pinning to 0.7.8
We're getting `sodium.crypto_pwhash_SALTBYTES` as undefined.

https://github.com/jedisct1/libsodium.js/issues/326
2024-02-23 11:49:37 +05:30
Manav Rathi 6b5e3c6a5e Pin libsodium to previously used version "libsodium-wrappers": "0.7.9",
The latest one is causing password generation issues (e.g. when creating an account):

 TypeError: length cannot be null or undefined
    at f (webpack-internal:///../../node_modules/libsodium-wrappers/dist/modules/libsodium-wrappers.js:1:18896)
    at m (webpack-internal:///../../node_modules/libsodium-wrappers/dist/modules/libsodium-wrappers.js:1:18940)
    at Object.Lt [as randombytes_buf] (webpack-internal:///../../node_modules/libsodium-wrappers/dist/modules/libsodium-wrappers.js:1:93208)
    at Module.generateSaltToDeriveKey (webpack-internal:///../../packages/shared/crypto/internal/libsodium.ts:261:82)

We can investigate them and fix them in a subsequent PR, for now it is more
prudent to stick with the version that we've been using and upgrade more
carefully.
2024-02-23 11:24:10 +05:30
Manav Rathi 1b6f020b23 Move to new enum 2024-02-23 10:57:27 +05:30
Manav Rathi 7441883a9c Move the UI dependencies down to the ui package from the top level 2024-02-22 21:52:08 +05:30
Manav Rathi abd0193aea Sync the plugin with the main next version 2024-02-22 15:18:00 +05:30
Manav Rathi 6e0606e5fc Remove another unused library 2024-02-22 15:15:07 +05:30
Manav Rathi 53d04dcf9c Remove unused package next-transpile-modules
yarn workspace photos remove next-transpile-modules
2024-02-22 15:07:25 +05:30
Manav Rathi 35d7f7dff8 Repin sentry cli version to workaround bug when using SENTRY_AUTH_TOKEN 2024-02-22 14:54:14 +05:30
Manav Rathi a21836c3b9 Pin zip.js version to not deal with type errors
This code might anyways be replaced by ONNX
2024-02-22 13:06:00 +05:30
Manav Rathi 0cbc5144a0 Pin tflite to fix build errors 2024-02-22 13:00:23 +05:30
Manav Rathi bac4601ccb Update types to match our React version 2024-02-22 12:14:19 +05:30
Manav Rathi fb1dccc7db Create separate UI package 2024-02-22 10:28:00 +05:30
Manav Rathi 5bf6d5d5ed Align package JSONs
yarn seems to require version for all workspaces, even if they are not imported (apps/*).
2024-02-20 10:58:53 +05:30
Manav Rathi 82fbe55e5a Remove debugging package 2024-02-16 20:48:26 +05:30
Manav Rathi 3720abe0ed Integrate the actual one 2024-02-16 20:47:25 +05:30
Manav Rathi 632af065fe Add a working WIP example 2024-02-16 20:47:25 +05:30
Manav Rathi 7263969953 Make src work with next
- The star in package.json matches any version
  https://docs.npmjs.com/cli/v10/configuring-npm/package-json

- VSCode is still giving errors
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
Manav Rathi 3aa0f4d0b8 Make it work with yarn workspace 2024-02-16 20:47:25 +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
Abhinav 59a0d7c233 use pDebounce for search and fix issues 2023-11-29 12:49:22 +05:30
Abhinav 822c8dbdd5 replace debounce package 2023-11-29 11:51:05 +05:30
Neeraj Gupta 46770c3237 Upgrade heic-conver to ^2.0.0 2023-11-24 23:47:06 +05:30
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 0a79b3f202 downgrade next to 13.1.3 2023-11-17 10:23:34 +05:30
Abhinav 52c2f89412 patch issues 2023-11-10 15:08:10 +05:30
Abhinav 2aaa2197a7 remove unneeded scripts 2023-11-09 11:32:47 +05:30
Abhinav 410d94c8a9 move common needed packages to root 2023-11-08 10:54:12 +05:30
Abhinav 0f46db031c move mui react and next to root package json 2023-11-08 10:15:31 +05:30
Abhinav 87ae9f8d31 remove userService related code 2023-11-02 21:21:48 +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
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
dependabot[bot] bb0e46741c
Bump is-electron from 2.2.0 to 2.2.2
Bumps [is-electron](https://github.com/cheton/is-electron) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/cheton/is-electron/releases)
- [Commits](https://github.com/cheton/is-electron/compare/v2.2.0...v2.2.2)

---
updated-dependencies:
- dependency-name: is-electron
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-30 12:52:07 +00:00
dependabot[bot] 1783c5fd3b
Bump @next/bundle-analyzer from 13.1.6 to 13.4.12
Bumps [@next/bundle-analyzer](https://github.com/vercel/next.js/tree/HEAD/packages/next-bundle-analyzer) from 13.1.6 to 13.4.12.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/commits/v13.4.12/packages/next-bundle-analyzer)

---
updated-dependencies:
- dependency-name: "@next/bundle-analyzer"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-30 08:36:04 +00:00
Abhinav Kumar 3b33f94081
Bump react-datepicker and @types/react-datepicker (#1275) 2023-07-30 13:50:03 +05:30
Abhinav Kumar 41edccb65c
Bump @emotion/server from 11.10.0 to 11.11.0 (#1277) 2023-07-30 13:46:35 +05:30