Commit graph

7 commits

Author SHA1 Message Date
Manav Rathi 56d931dfce Add a small (generic workflow) getting started doc 2024-02-18 12:46:56 +05:30
httpjamesm 01beb4f6f0
docs: add webauthn passkeys 2024-02-18 00:41:04 -05:00
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 5b67316720 Update docs
Ref: https://www.joshuakgoldberg.com/blog/configuring-eslint-prettier-and-typescript-together/
2024-02-16 22:05:56 +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 ba12c9c0c7 Set up linter for the package 2024-02-16 20:48:26 +05:30
Manav Rathi 703031f73c Add development notes 2024-02-16 20:48:25 +05:30