Commit 93b0291
authored
feat: Starter Kit v3 for 2026 (#501)
* feat: use swap over to pnpm
* feat: move old starter kit to app directory
prepare for v3
* feat: add pnpm-workspace for monorepo setup
* feat: add tooling packages
* feat: add root package.json
* feat: setup turbo generator
* feat: remove old starter-kit package
* feat: use latest pnpm
* feat: run pnpm update
* fix: prettier monorepo config
* feat: add initial db package
* feat: add initial ui and validator packages
* feat: setup initial (non-working) web app
* docs: update README
* feat: inline trpc setup instead of a separate package
* feat: update vscode settings.json
* feat: update app defaults
* fix: make eslint work
* feat: setup oui and tailwind config
* feat: add version check modal
* feat: split public and authed routes
* feat: add landing page
* feat(api): add email login procedure
* feat: add initial login page
* fix: hoist prisma and pg modules
fixes error messages like:
```
Package @prisma/client can't be external
The request @prisma/client/runtime/client matches serverExternalPackages (or the default list).
```
* feat: add init migration
* feat: finish auth flow
* fix: correct splitLink streaming condition
* feat: add redirects depending on auth state
* feat: conditionally direct to admin or signin page on landing page
* feat: add logout procedure
* feat: tablet styling for login form
* feat: migrate to prisma config file
* test: setup test suite for web app
* test: add user.service tests
* fix: auth service issues that tests highlighted
* feat: reset migrations
* feat: update meRouter
* feat(db): make account table singular
* feat: global error handling
* feat: add vercel-specific build pipeline
* feat(turbo): add missing POSTMAN_API_KEY
* fix: lint
* fix(ci): chromatic workflow
* fix(ci): update conditional to run
* feat: add storybook
* feat: add tooling/storybook package
* feat: update storybook setup
* fix: a11y issues on landing page and add story
* fix(ci): add proper permissions to chromatic workflow
* feat: update error handling
* feat: add error handling for callerFactory
* refactor: extract explicit authMiddleware
* feat: add more docs for why httpBatchStreamLink is used
* feat: add error handling on the trpc route handler itself too
* feat: update to next16 and enable react compiler
* feat: update storybook to v10
* feat(test): add test specific env instead of using local env for tests
* fix: add babel-plugin-react-compiler and remove unnecessary use* calls
* feat: try to figure out why vercel cannot find generated file
* feat: update to vitest v4
* refactor: use _page common syntax for exported page for stories
* feat: add defaultValues for email login form
* feat: add msw and update vitest/browser too
* feat(storybook): add sign-in page stories
* ci: add more types to PR CI.yml
* feat: update prisma and move to pnpm workspace
* docs: update README to links to v2
* feat: update packages
* feat: update starter kit to use node 24 LTS
* feat: format fix
* fix(storybook): flesh out mock link a little more
* fix(turbo): never cache generate
* feat: improve a11y of otp prefix1 parent 3c22a8e commit 93b0291
File tree
314 files changed
+17831
-48613
lines changed- .github
- actions/setup
- workflows
- .storybook
- .vscode
- apps/web
- .storybook
- public
- assets
- src
- app
- (authed)
- admin
- (public)
- _components/landing-page
- sign-in
- _components
- wizard
- email
- _components
- api/trpc/[trpc]
- lib
- server
- api
- routers
- auth
- modules
- auth
- __tests__
- mail
- __mocks__
- user
- __tests__
- stories/pages
- trpc
- types
- utils
- validators
- tests
- db
- msw
- handlers
- redis
- packages
- db
- prisma
- migrations
- 20251010074614_init_tables
- src
- ui
- src
- infobox
- modal
- types
- validators
- src
- playwright
- prisma/migrations
- public
- assets
- src
- components
- AppProviders
- AuthWrappers
- ErrorBoundary
- Svg
- VersionWrapper
- constants
- features
- auth
- home/components
- landing/components
- me/api
- sign-in/components
- EmailLogin
- LoginStep
- SgidErrorFallback
- SgidLogin
- SgidProfileList
- hocs
- hooks
- lib
- auth
- errors
- types
- pages
- api/trpc
- sign-in
- sgid
- schemas
- auth/email
- server
- modules
- auth
- email
- __tests__
- sgid
- me
- __tests__
- stories
- Page
- components
- templates
- layouts
- theme
- components
- foundations
- utils
- tests
- integration
- __mocks__
- helpers
- load
- msw
- handlers
- auth
- tooling
- eslint
- github
- setup
- prettier
- storybook
- src
- tailwind
- typescript
- turbo/generators
- templates
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
314 files changed
+17831
-48613
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
4 | 3 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 4 | + | |
| 5 | + | |
8 | 6 | | |
9 | | - | |
10 | | - | |
| 7 | + | |
| 8 | + | |
11 | 9 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 10 | + | |
| 11 | + | |
17 | 12 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | 1 | | |
5 | 2 | | |
6 | 3 | | |
| |||
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 17 | + | |
| 18 | + | |
21 | 19 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
26 | 23 | | |
27 | | - | |
28 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
29 | 28 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
37 | 42 | | |
38 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
39 | 47 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
45 | 54 | | |
46 | 55 | | |
47 | 56 | | |
48 | | - | |
49 | | - | |
| 57 | + | |
0 commit comments