Skip to content

Commit

Permalink
Merge pull request #18 from expressots/fix/jwt-provider-build-issue
Browse files Browse the repository at this point in the history
fix: adjust the tsconfig to have root ./src
  • Loading branch information
rsaz authored Jun 21, 2024
2 parents b5712fc + 1fb2154 commit ad142e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/jwt.provider.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { IProvider, Report } from "@expressots/core";
import { injectable } from "inversify";
import pkg from "../package.json";
import * as jwt from "jsonwebtoken";
import { SignOptions, VerifyOptions, DecodeOptions, Secret } from "./jwt.interface";

Expand All @@ -11,10 +10,10 @@ import { SignOptions, VerifyOptions, DecodeOptions, Secret } from "./jwt.interfa
*/
@injectable()
export class JwtProvider implements IProvider {
readonly name: string = pkg.name;
readonly version: string = pkg.version;
readonly author: string = pkg.author;
readonly repo: string = pkg.repository.url;
readonly name: string = "Jwt provider";
readonly version: string = "1.0.0";
readonly author: string = "Richard Zampieri";
readonly repo: string = "https://github.com/expressots/jwt";
private report: Report;
private secret: Secret | null = null;
private defaultSignOptions?: SignOptions;
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"rootDir": "./src",
"types": ["node", "reflect-metadata", "vitest/globals"]
},
"include": ["src/**/*.ts"],
Expand Down

0 comments on commit ad142e3

Please sign in to comment.