feat: initialize pnpm workspace, TypeScript configuration, and Turbo tasks

- Added pnpm-workspace.yaml to manage workspace packages and dependencies.
- Created tsconfig.json with strict TypeScript settings for better type safety.
- Introduced turbo.json to define build, lint, test, and other tasks with dependencies.
This commit is contained in:
2026-03-06 15:12:02 +03:00
commit 3f8cda4234
91 changed files with 14393 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import type { INestApplication } from '@nestjs/common'
import { Test, type TestingModule } from '@nestjs/testing'
import request from 'supertest'
import type { App } from 'supertest/types'
import { AppModule } from './../src/app.module'
describe('AppController (e2e)', () => {
let app: INestApplication<App>
beforeEach(async () => {
const moduleFixture: TestingModule = await Test.createTestingModule({
imports: [AppModule],
}).compile()
app = moduleFixture.createNestApplication()
await app.init()
})
it('/ (GET)', () => {
return request(app.getHttpServer())
.get('/')
.expect(200)
.expect('Hello World!')
})
})
+9
View File
@@ -0,0 +1,9 @@
{
"moduleFileExtensions": ["js", "json", "ts"],
"rootDir": ".",
"testEnvironment": "node",
"testRegex": ".e2e-spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
}
}