From 7f1e8a904caff814cacc9f1a702b305670854583 Mon Sep 17 00:00:00 2001
From: Paul Asjes
Date: Thu, 2 Jan 2025 13:36:34 +0200
Subject: [PATCH 1/2] Exclude tests from the build
---
tsconfig.json | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tsconfig.json b/tsconfig.json
index 8595c61..e45d2f4 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -12,11 +12,11 @@
"alwaysStrict": true,
"skipLibCheck": true,
"outDir": "./dist/esm",
+ "declarationDir": "./dist/esm/types",
"module": "ES2020",
"moduleResolution": "node",
- "allowSyntheticDefaultImports": true,
- "declarationDir": "./dist/types"
+ "allowSyntheticDefaultImports": true
},
- "exclude": ["**/*.spec.ts", "**/*.spec.tsx", "jest.config.ts", "jest.setup.ts"]
+ "exclude": ["**/*.spec.ts", "**/*.spec.tsx", "jest.config.ts", "jest.setup.ts", "/dist/**/*", "__tests__/**/*"]
}
From ca915ac95e6044489caf022fb6e47d50ad0d4814 Mon Sep 17 00:00:00 2001
From: Paul Asjes
Date: Thu, 2 Jan 2025 13:37:08 +0200
Subject: [PATCH 2/2] Bump version
---
package.json | 2 +-
src/workos.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
index eeb5583..3bb48dd 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@workos-inc/authkit-nextjs",
- "version": "0.17.0",
+ "version": "0.17.1",
"description": "Authentication and session helpers for using WorkOS & AuthKit with Next.js",
"sideEffects": false,
"type": "module",
diff --git a/src/workos.ts b/src/workos.ts
index c22b097..82d9405 100644
--- a/src/workos.ts
+++ b/src/workos.ts
@@ -1,7 +1,7 @@
import { WorkOS } from '@workos-inc/node';
import { WORKOS_API_HOSTNAME, WORKOS_API_KEY, WORKOS_API_HTTPS, WORKOS_API_PORT } from './env-variables.js';
-export const VERSION = '0.17.0';
+export const VERSION = '0.17.1';
const options = {
apiHostname: WORKOS_API_HOSTNAME,