Balázs Orbán
fdd5e2390d
chore: format
2022-12-23 14:42:37 +01:00
Balázs Orbán
6132c3fa75
fix(ts): match TS types better with implementation ( #4953 )
...
* refactor(ts): export `AdapterAccount` from `next-auth/adapters`
* chore: run linter, remove prisma warning
* fix(ts): match TS with implementation closer
* remove unused import
* rename error
* add missing dev dependency
* fix type
* fix type
* fix more types and tests
* remove unused `id`
* skip upstash tests in CI
* revert some changes
* fix type
* revert some change
* revert some change
* revert some change
* revert some changes
* update lock file
* revert line change
* revert some change
* improve adapter & oauth typing
* fix test, revert
* apply review suggestion
* Add test for new rejection logics
* Update assert.test.ts
* fix: Hubspot config
* restore some ts-expect-error
* fix: tests in mirko-orm
* fix: remove redundant id: string
* fix: use ts-expect-errors
* fix: simplify provider type
* fix: normalize user options
* restore ts-expect-errors
Co-authored-by: Thang Vu <hi@thvu.dev >
2022-10-09 21:54:01 +07:00
Chancellor Clark
5bd00f6ff1
feat(adapters): update Firebase adapter to use new API ( #3873 )
...
Ports and refactors `@next-auth/firebase-adapter` to use the new Adapter API. Ported from this PR: nextauthjs/adapters#183
BREAKING CHANGE:
- Renames `FirebaseAdapter` export to `FirestoreAdpater`
- This adapter now requires firebase v9+
2022-07-12 01:45:06 +02:00
Thang Vu
4f29d39521
chore: move to pnpm ( #4420 )
...
* feat: pnpm
* Update publish script
* gitignore the pnpm debug log
* Fix workspace
* Fix dev commands
* feat: pnpm
* Update publish script
* gitignore the pnpm debug log
* Fix workspace
* Fix dev commands
* chore: fix pnpm install in GitHub Action
* fix: update tsconfig path
* pnpm run -> pnpm
* chore: remove cache-node and add back setup-node
* fix: tsconfig dependencies
* chore: fix tsconfig path
* fix: adapter-test dependencies
* fix: setup-node for release-pr
* fix: import adapter-test
* chore: update workspace dependency for next-auth
* fix: test failure
* fix: add jest for adapters
* fix: jest again
* fix: mongo in prisma
* fix: `--no-git-checks` for `release-pr`
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-05-03 15:05:55 +02:00
Nico Domino
dc3ad8c408
chore: move adapters to monorepo ( #3805 )
...
* feat: move adapters repo to new packages dir
* fix: rm docusaurus build dir
* fix: update .gitignore
* fix: reorganise package directories
* remove package lock files
* fix: folder rename
* remove package lock file
* fix: jest config paths
* update yarn.lock
* ignore dynamodb local bin
* fix: gitignore
* fix: update adapter-test
* change adapter-test package json
* rename prisma adapter package name
* fix paths
* update gitignore
* run tests with one concurrency
* fix: merge conflicts
* gitignore dist folders
* fix: add jest.config.js to tsconfig ignore
* fix: yarn.lock
* fix: ignore pouch in turbo commands
* ignore jest file
* fix: test turbo test cmd
* fix: turbo test cmd
* test: disable mongodb-adapter temporarily
* ignore all dev.db files
* simplify gitignore
* remove unused dependency
* have tsconfig in its own package
* remove unnecessary .gitignore files
* move jest config to preset
* add ts expect error comment
* chore: update .gitignore
* remove babelrc
* don't depend on build for testing in turbo
* fix: cleanup testing npm scripts
* fix: remove jest-config roots
* fix: add fauna jest preset
* fix: rm dev.db from prisma mirgation
* fix prisma
* remove nohoist
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-02-04 22:40:32 +01:00