fixup! Сборка Docker image

This commit is contained in:
2025-03-02 17:26:49 +04:00
parent a70d2f442d
commit dc266f1d04
4 changed files with 31 additions and 29 deletions

View File

@@ -6,7 +6,7 @@
"private": true,
"license": "UNLICENSED",
"scripts": {
"build": "nest build && npx prisma generate",
"build": "npx prisma generate && nest build",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"precommit": "npm run format && npm run lint",

View File

@@ -4,8 +4,10 @@ import {
Controller,
HttpCode,
HttpStatus,
Param, Patch,
Post, Query,
Param,
Patch,
Post,
Query,
UseGuards,
} from "@nestjs/common";
import { AuthGuard } from "../auth/auth.guard";

View File

@@ -1,7 +1,7 @@
import { Test, TestingModule } from '@nestjs/testing';
import { VKIDController } from './vkid.controller';
import { Test, TestingModule } from "@nestjs/testing";
import { VKIDController } from "./vkid.controller";
describe('VkidController', () => {
describe("VkidController", () => {
let controller: VKIDController;
beforeEach(async () => {
@@ -12,7 +12,7 @@ describe('VkidController', () => {
controller = module.get<VKIDController>(VKIDController);
});
it('should be defined', () => {
it("should be defined", () => {
expect(controller).toBeDefined();
});
});

View File

@@ -1,7 +1,7 @@
import { Test, TestingModule } from '@nestjs/testing';
import { VKIDService } from './vkid.service';
import { Test, TestingModule } from "@nestjs/testing";
import { VKIDService } from "./vkid.service";
describe('VkidService', () => {
describe("VkidService", () => {
let service: VKIDService;
beforeEach(async () => {
@@ -12,7 +12,7 @@ describe('VkidService', () => {
service = module.get<VKIDService>(VKIDService);
});
it('should be defined', () => {
it("should be defined", () => {
expect(service).toBeDefined();
});
});