Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(serverless): move project-config to auth-dbauth-api dependencies (r…
…edwoodjs#9281) After cherry picking redwoodjs#9248, Netlify and Vercel deploys were broken with the following error: <img width="1532" alt="image" src="https://github.com/redwoodjs/redwood/assets/32992335/2e366cd9-48e7-46e6-a32e-1c7872418674"> It took me a second to realize it, but `@redwoodjs/project-config` is listed as a dev dependency in `@redwoodjs/auth-dbauth-api` despite being used in a source file: https://github.com/redwoodjs/redwood/blob/040589a4e600e298837e3f2b7373d1c2403eb784/packages/auth-providers/dbAuth/api/src/shared.ts#L4 @Tobbe this may not be the end of it—in those environments, there's no `redwood.toml` either, so I think `getConfig` will throw. But we can solve one bug at a time.
- Loading branch information