Compare commits

...

3 Commits

Author SHA1 Message Date
Balázs Orbán
37c4a813e3 chore: bump version 2022-06-23 16:48:10 +02:00
Balázs Orbán
6a23ff7126 fix(build): include utils in package (#4760)
* fix: include `utils` in package

* fix: import `InternalUrl` as type

* `"emitDeclarationOnly": false`

* don't ignore `types.ts` in build
2022-06-23 16:41:01 +02:00
Balázs Orbán
23db0e68dd chore: bump version 2022-06-23 12:30:56 +02:00
4 changed files with 6 additions and 5 deletions

View File

@@ -25,7 +25,6 @@ module.exports = (api) => {
ignore: [ ignore: [
"../src/**/__tests__/**", "../src/**/__tests__/**",
"../src/adapters.ts", "../src/adapters.ts",
"../src/core/types.ts",
"../src/providers/oauth-types.ts", "../src/providers/oauth-types.ts",
], ],
comments: false, comments: false,

View File

@@ -1,6 +1,6 @@
{ {
"name": "next-auth", "name": "next-auth",
"version": "4.5.0", "version": "4.6.1",
"description": "Authentication for Next.js", "description": "Authentication for Next.js",
"homepage": "https://next-auth.js.org", "homepage": "https://next-auth.js.org",
"repository": "https://github.com/nextauthjs/next-auth.git", "repository": "https://github.com/nextauthjs/next-auth.git",
@@ -62,7 +62,8 @@
"index.js", "index.js",
"adapters.d.ts", "adapters.d.ts",
"middleware.d.ts", "middleware.d.ts",
"middleware.js" "middleware.js",
"utils"
], ],
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {

View File

@@ -14,7 +14,7 @@ import type { CookieSerializeOptions } from "cookie"
import type { NextApiRequest, NextApiResponse } from "next" import type { NextApiRequest, NextApiResponse } from "next"
import { InternalUrl } from "../utils/parse-url" import type { InternalUrl } from "../utils/parse-url"
export type Awaitable<T> = T | PromiseLike<T> export type Awaitable<T> = T | PromiseLike<T>

View File

@@ -14,7 +14,8 @@
"stripInternal": true, "stripInternal": true,
"skipDefaultLibCheck": true, "skipDefaultLibCheck": true,
"baseUrl": ".", "baseUrl": ".",
"outDir": "." "outDir": ".",
}, },
"exclude": ["./*.js", "./*.d.ts", "config", "**/__tests__", "tests"] "exclude": ["./*.js", "./*.d.ts", "config", "**/__tests__", "tests"]
} }