1337cookie
2e52a89c52
docs: fix links to moved docs ( #6196 )
2022-12-27 16:10:31 +01:00
Balázs Orbán
f9b75e0a39
chore: remove extra tsconfigs
2022-12-24 03:16:50 +01:00
Balázs Orbán
fdd5e2390d
chore: format
2022-12-23 14:42:37 +01:00
Nico Domino
0ea9ada3a9
chore(docs): remaining authjs.dev and repo clean up ( #6097 )
2022-12-22 18:04:52 +01:00
Thang Vu
777b7b2f23
chore(release): bump package version(s) [skip ci]
2022-10-09 22:52:53 +07: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
Balázs Orbán
2d8e910a19
chore(release): bump package version(s) [skip ci]
2022-09-25 10:29:56 +02:00
voinik
d16e04848e
fix(adapters): check token during email verification in Upstash Adapter ( #5377 )
...
* Check token during email verification
* Undo accidental linter fix
* Update index.ts
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-09-25 09:10:55 +01:00
Balázs Orbán
8104cb1287
chore: fix builds/tests/eslint ( #4780 )
...
* chore(deps): upgrade `typescript`
* chore(ts): don't exclude test files in tsconfig
* test: expect error when overriding `NODE_ENV`
* chore: remove unused import
* format
* chore: use pnpm@7 in action
* chore: fix eslint
* chore: remove pnpm from engines
* chore: fix configs/builds
* fix: make eslint works
* Update pnpm-lock.yaml
* fix: build failure
* fix: add react to paths
* ignore upstash for now
* add eslintignore, add a bunch of tsconfig.eslint.json
* ignore mikro orm for now
* Delete tsconfig.eslint.json
* Update package.json
* Update pnpm-lock.yaml
* move eslint back to package.json
* move eslintrc.js out
Co-authored-by: Thang Vu <thvu@hey.com >
Co-authored-by: Thang Vu <thang.vu@binance.com >
2022-09-09 13:51:40 +02:00
Balázs Orbán
44aaa6f1c3
chore: turbo cleanup ( #4951 )
...
* clean up `package.json` files
* chore(ts): make sure `next-auth/next` does not conflict with `next`
* simplify `turbo.json`
* fix: apply suggestion
* simplify doc dev command
* ignore upstash redis again
* ignore mikro orm for now
* chore: dev command
* update lock file
* update css path for dev only
* Update apps/dev/package.json
Co-authored-by: Thang Vu <thvu@hey.com >
2022-09-08 16:43:16 +02:00
Balázs Orbán
6590993fdc
chore(release): bump package version(s) [skip ci]
2022-07-21 16:35:03 +02:00
Balázs Orbán
c57d8c997e
fix(adapters): set correct peer dependency version of next-auth ( #4950 )
...
* fix(adapters): set correct peer dependency version of `next-auth`
* fix fauna peer dependency
2022-07-19 23:46:45 +02:00
Balázs Orbán
4ff836a8cf
test(providers): add fetch polyfill to redis test runs
2022-07-16 17:39:32 +02:00
Balázs Orbán
a911b4a40b
chore(deps): upgrade dependencies
2022-06-28 12:22:11 +02:00
Matthew Francis Brunetti
172813f987
docs(adapters): fix references to deprecated adapters repo ( #4737 )
2022-06-22 18:12:07 +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
Balázs Orbán
e71118b996
chore: bump versions
2022-04-20 19:07:54 +02:00
Balázs Orbán
abb9fed7aa
chore: bump versions
2022-04-14 11:09:32 +02:00
Thang Vu
6e28ccf84f
chore(adapters): Add next-autth as devDependencies for adapters ( #4226 )
...
* Upgrade turborepo, add next-auth as dev deps
* Fix TS error
* Update adapters.json
* ignore linting
2022-03-21 21:26:37 +01:00
Andreas Thomas
3f396be5d9
feat(deps): upgrade minimal peer dependency @upstash/redis@v1 ( #4213 )
...
BREAKING CHANGE
From now on, you will need a minimum version of `@upstash/redis@v1` installed if you want to use this adapter.
You can upgrade by running `npm i @upstash/redis@latest` or `yarn add @upstash/redis@latest`
2022-03-18 22:27:45 +01:00
Balázs Orbán
bf4916dd70
chore: manually bump versions
2022-03-17 19:24:08 +01:00
Andreas Thomas
966381ac9b
docs: pin @upstash/redis version to 0.2.1 ( #4201 )
...
Until we migrate to v1 there might be people installing the latest
version of @upstash/redis and then encountering errors.
With this they will at least get a warning.
This is obsolete and should be updated once
https://github.com/nextauthjs/next-auth/issues/4183 is resolved.
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-03-17 13:44:21 +01:00
Thang Vu
68bab17914
fix: set module to commonjs for adapters ( #4205 )
...
* fix: set module to commonjs for adapters
* Update tsconfig.json
* Update tsconfig.json
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-03-17 13:36:25 +01:00
Balázs Orbán
f1af3ffae7
chore: make upstash tests dependent on env variables
2022-02-28 00:34:54 +01:00
Balázs Orbán
45861548c2
chore: tweak Turbo
2022-02-21 01:40:13 +01: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