From 1b0d8b44cbe1fac64f8531d365acfb6bd8ee126f Mon Sep 17 00:00:00 2001 From: zetashift Date: Sun, 10 Sep 2023 13:28:20 +0200 Subject: [PATCH] style(generated-typescript-runtime): fix formatting --- .../generated-typescript-runtime-project.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/type-safe-api/src/project/codegen/runtime/generated-typescript-runtime-project.ts b/packages/type-safe-api/src/project/codegen/runtime/generated-typescript-runtime-project.ts index a6fb7d66f..4c45bdfb3 100644 --- a/packages/type-safe-api/src/project/codegen/runtime/generated-typescript-runtime-project.ts +++ b/packages/type-safe-api/src/project/codegen/runtime/generated-typescript-runtime-project.ts @@ -92,7 +92,7 @@ export class GeneratedTypescriptRuntimeProject extends TypeScriptProject { "@types/aws-lambda", "@aws-lambda-powertools/tracer", "@aws-lambda-powertools/logger", - "@aws-lambda-powertools/metrics", + "@aws-lambda-powertools/metrics" ); // Minimal .npmignore to avoid impacting OpenAPI Generator @@ -102,12 +102,12 @@ export class GeneratedTypescriptRuntimeProject extends TypeScriptProject { // Tell OpenAPI Generator CLI not to generate files that we will generate via this project, or don't need. const openapiGeneratorIgnore = new OpenApiGeneratorIgnoreFile(this); openapiGeneratorIgnore.addPatterns( - ...GeneratedTypescriptRuntimeProject.openApiIgnorePatterns, + ...GeneratedTypescriptRuntimeProject.openApiIgnorePatterns ); // Add OpenAPI Generator cli configuration OpenApiToolsJsonFile.ensure(this).addOpenApiGeneratorCliConfig( - options.openApiGeneratorCliConfig, + options.openApiGeneratorCliConfig ); const generateTask = this.addTask("generate"); @@ -115,8 +115,8 @@ export class GeneratedTypescriptRuntimeProject extends TypeScriptProject { generateTask.exec( buildTypeSafeApiExecCommand( TypeSafeApiScript.GENERATE, - this.buildGenerateCommandArgs(), - ), + this.buildGenerateCommandArgs() + ) ); this.preCompileTask.spawn(generateTask); @@ -142,7 +142,7 @@ export class GeneratedTypescriptRuntimeProject extends TypeScriptProject { "src", ".npmignore", "README.md", - ".openapi-generator", + ".openapi-generator" ); // If we're not in a monorepo, we need to link the generated client such that any local dependency on it can be @@ -155,7 +155,7 @@ export class GeneratedTypescriptRuntimeProject extends TypeScriptProject { this.tasks .tryFind("install") ?.exec( - NodePackageUtils.command.cmd(this.package.packageManager, "link"), + NodePackageUtils.command.cmd(this.package.packageManager, "link") ); break; case NodePackageManager.PNPM: @@ -163,7 +163,7 @@ export class GeneratedTypescriptRuntimeProject extends TypeScriptProject { break; default: console.warn( - `Unknown package manager ${this.package.packageManager}. Cannot link generated typescript runtime project.`, + `Unknown package manager ${this.package.packageManager}. Cannot link generated typescript runtime project.` ); } }