1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

fix (entraid): correct package entry point structure (#2917)

- last time we forgot to include `index.ts`
This commit is contained in:
Bobby I.
2025-03-25 13:50:16 +02:00
committed by GitHub
parent 0f24c7fc21
commit a7c96a01f8
2 changed files with 5 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ The first step to using @redis/entraid is choosing the right credentials provide
```typescript
import { createClient } from '@redis/client';
import { EntraIdCredentialsProviderFactory } from '@redis/entraid/dist/lib';
import { EntraIdCredentialsProviderFactory } from '@redis/entraid';
const provider = EntraIdCredentialsProviderFactory.createForClientCredentials({
clientId: 'your-client-id',

View File

@@ -4,7 +4,8 @@
"outDir": "./dist"
},
"include": [
"./lib/**/*.ts"
"./lib/**/*.ts",
"./index.ts"
],
"exclude": [
"./lib/**/*.spec.ts",