Commit graph

282 commits

Author SHA1 Message Date
Manav Rathi bd24f6a84e Move eslint plugins down into build-config 2024-02-24 11:18:17 +05:30
Manav Rathi e54fe2b15c Move dev dependency down 2024-02-24 11:12:42 +05:30
Manav Rathi 8d571a0f52 Remove all dependencies from the top level package.json 2024-02-23 18:19:11 +05:30
Manav Rathi bc74951a99 Move axios to shared 2024-02-23 17:03:35 +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 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 7441883a9c Move the UI dependencies down to the ui package from the top level 2024-02-22 21:52:08 +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 aabdab1a13 Add shortcuts 2024-02-22 12:22:07 +05:30
Manav Rathi 46720e8fcd Update mui 2024-02-22 12:17:27 +05:30
Manav Rathi cfa630a620 Update to latest emotion
yarn upgrade "@emotion/react" "@emotion/server" "@emotion/styled" --latest

This is to pull in the bugfix for this issue:
https://github.com/emotion-js/emotion/issues/3049
2024-02-22 12:09:56 +05:30
Manav Rathi f1cf014004 Update to Prettier 3 2024-02-22 11:41:13 +05:30
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 d984c6046c
Lint on PRs instead of relying on husky (#1629) 2024-02-17 13:18:34 +05:30
Manav Rathi 8fbe5fa323 Remove husky 2024-02-17 12:52:18 +05:30
Manav Rathi 5c2b57a657 Fix build 2024-02-17 11:16:50 +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 a99903e3e9 next export is deprecated in Next 14 2024-02-16 21:45:02 +05:30
Manav Rathi 97ff657ba6 Add a lint-fix command 2024-02-16 20:48:26 +05:30
Manav Rathi 82fbe55e5a Remove debugging package 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 f6e31f0987 Update to a newer eslint 2024-02-16 20:48:26 +05:30
Manav Rathi 21b8c4e77a Configure global prettier 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 632af065fe Add a working WIP example 2024-02-16 20:47:25 +05:30
Manav Rathi f3340db57e Make it work with src 2024-02-16 20:47:25 +05:30
Neeraj Gupta 33faadf83e accounts: Fixed bad merge 2024-02-16 15:17:03 +05:30
Neeraj Gupta 5d7d166976 Merge branch 'main' into accounts-passkeys 2024-02-16 14:53:04 +05:30
Abhinav 4bc8b351c8 add export:accounts script 2023-12-28 13:36:07 +05:30
httpjamesm 5aacbb5f46
Initial accounts passkeys commit 2023-12-24 14:55:58 -05:00
Abhinav 13a70edd24 remove duplicate packages from cast app 2023-11-27 10:19:06 +05:30
Abhinav eaea801317 add export cast command 2023-11-27 09:56:41 +05:30
httpjamesm af80e908b8
feat: yarn dev cast 2023-11-22 23:45:46 -05:00
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
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
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 c59612330b rename locker to auth 2023-11-09 13:22:19 +05:30
Abhinav 2aaa2197a7 remove unneeded scripts 2023-11-09 11:32:47 +05:30
Abhinav 7c63221a15 update next to 13.5.6 2023-11-09 10:08:15 +05:30
Abhinav 2e324185d4 move all common packages to root level 2023-11-08 14:29:17 +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 3eb33ad009 revert build script 2023-11-02 16:19:30 +05:30
Abhinav 6a23b0642c export depends on build already so no need to clubbing 2023-11-01 14:27:28 +05:30
dependabot[bot] 5da8c4efe3
Bump lint-staged from 11.1.2 to 13.2.3
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 11.1.2 to 13.2.3.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v11.1.2...v13.2.3)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-30 12:52:26 +00:00
Abhinav bfa5adbad1 upgraded tubrorepo to latest version 2023-06-10 16:13:49 +05:30