From bc01d44d46fb7efe0daaf57f7cd7a51fc9b74321 Mon Sep 17 00:00:00 2001 From: Frederik Batuna Date: Wed, 30 Mar 2022 14:28:10 +0200 Subject: [PATCH] chore: format command --- relying-party/package.json | 2 ++ .../src/persistance/entity/AccessTokenResponseEntity.ts | 9 +-------- relying-party/yarn.lock | 5 +++++ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/relying-party/package.json b/relying-party/package.json index 89a8f30..820cdd1 100644 --- a/relying-party/package.json +++ b/relying-party/package.json @@ -16,6 +16,7 @@ "scripts": { "build": "rollup -c", "typeorm": "node --require ts-node/register ./node_modules/typeorm/cli.js", + "format": "prettier --write src", "test": "jest", "test:coverage": "jest --coverage --collectCoverageFrom=\"./src/**\"" }, @@ -36,6 +37,7 @@ "@types/node": "^16.11.10", "@types/uuid": "^8.3.4", "jest": "^27.5.1", + "prettier": "^2.6.1", "rollup": "^2.70.1", "rollup-plugin-dts": "^4.2.0", "rollup-plugin-typescript2": "^0.31.2", diff --git a/relying-party/src/persistance/entity/AccessTokenResponseEntity.ts b/relying-party/src/persistance/entity/AccessTokenResponseEntity.ts index 8ee2dc7..ca0abb6 100644 --- a/relying-party/src/persistance/entity/AccessTokenResponseEntity.ts +++ b/relying-party/src/persistance/entity/AccessTokenResponseEntity.ts @@ -1,11 +1,4 @@ -import { - Entity, - Column, - ManyToOne, - UpdateDateColumn, - CreateDateColumn, - PrimaryGeneratedColumn, -} from "typeorm"; +import { Entity, Column, ManyToOne, UpdateDateColumn, CreateDateColumn, PrimaryGeneratedColumn } from "typeorm"; import { AuthenticationRequestEntity } from "./AuthenticationRequestEntity"; @Entity() diff --git a/relying-party/yarn.lock b/relying-party/yarn.lock index f30d87f..ff3c906 100644 --- a/relying-party/yarn.lock +++ b/relying-party/yarn.lock @@ -2663,6 +2663,11 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= +prettier@^2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.1.tgz#d472797e0d7461605c1609808e27b80c0f9cfe17" + integrity sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A== + pretty-format@^27.0.0, pretty-format@^27.5.1: version "27.5.1" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.5.1.tgz#2181879fdea51a7a5851fb39d920faa63f01d88e"