Commit graph

269 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 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
Neeraj Gupta 3fd81907d5 Fix pkg dependency 2023-05-29 07:36:02 +05:30
Abhinav d28d039456 use eslint for linting staged file instead of yarn lint
yarn lint is linting non staged files too causing issues
2023-05-16 10:40:36 +05:30
Abhinav 6c6b8461ef add turbo as dev dependency 2023-04-30 13:32:26 +05:30
httpjamesm 84ff196ebe
fix: remove eslint command 2023-04-29 12:59:00 -04:00
httpjamesm 2df2b312db
fix: eslint issue 2023-04-29 12:00:49 -04:00
httpjamesm ee933bf631
fix: too many fixes 2023-04-29 11:16:40 -04:00
httpjamesm a2d04d2898
fix: add more turbo commands 2023-04-28 20:35:18 -04:00
httpjamesm 851ef85097
fix: rename monorepo to ente-web 2023-04-28 20:29:57 -04:00
httpjamesm 2550b823e4
feat: simplify dependencies and remove eslint 2023-04-21 19:54:57 -04:00
httpjamesm bc5c1c7f16
fix: export with turbo 2023-04-19 19:57:06 -04:00
httpjamesm c680a81ce3
feat: monorepo, turbo config, minimal pkgs 2023-04-18 17:29:40 -04:00
Abhinav 2ffd6ed0ba add auth app start script 2023-04-14 09:23:59 +05:30
Abhinav a370fbad16 removed styled-component 2023-04-06 11:05:56 +05:30