From 73fdcfdd90ba7ff005ea1379ffa4a172f023791e Mon Sep 17 00:00:00 2001 From: Rafal Galka Date: Tue, 24 Feb 2026 10:29:14 +0100 Subject: [PATCH] refactor(apps): rename nestjs app --- apps/{api => nest-app}/.env.example | 0 apps/{api => nest-app}/README.md | 0 apps/{api => nest-app}/nest-cli.json | 0 apps/{api => nest-app}/package.json | 4 ++-- apps/{api => nest-app}/src/app/app.config.ts | 0 apps/{api => nest-app}/src/app/app.module.ts | 0 apps/{api => nest-app}/src/app/environment.ts | 0 apps/{api => nest-app}/src/app/index.ts | 0 apps/{api => nest-app}/src/main.ts | 0 .../src/modules/hello/hello.controller.spec.ts | 0 .../src/modules/hello/hello.controller.ts | 0 .../src/modules/hello/hello.module.ts | 0 .../src/modules/hello/hello.service.ts | 0 apps/{api => nest-app}/src/modules/hello/index.ts | 0 apps/{api => nest-app}/test/app.e2e-spec.ts | 0 apps/{api => nest-app}/test/jest-e2e.json | 0 apps/{api => nest-app}/tsconfig.build.json | 0 apps/{api => nest-app}/tsconfig.json | 0 pnpm-lock.yaml | 10 +++++----- 19 files changed, 7 insertions(+), 7 deletions(-) rename apps/{api => nest-app}/.env.example (100%) rename apps/{api => nest-app}/README.md (100%) rename apps/{api => nest-app}/nest-cli.json (100%) rename apps/{api => nest-app}/package.json (93%) rename apps/{api => nest-app}/src/app/app.config.ts (100%) rename apps/{api => nest-app}/src/app/app.module.ts (100%) rename apps/{api => nest-app}/src/app/environment.ts (100%) rename apps/{api => nest-app}/src/app/index.ts (100%) rename apps/{api => nest-app}/src/main.ts (100%) rename apps/{api => nest-app}/src/modules/hello/hello.controller.spec.ts (100%) rename apps/{api => nest-app}/src/modules/hello/hello.controller.ts (100%) rename apps/{api => nest-app}/src/modules/hello/hello.module.ts (100%) rename apps/{api => nest-app}/src/modules/hello/hello.service.ts (100%) rename apps/{api => nest-app}/src/modules/hello/index.ts (100%) rename apps/{api => nest-app}/test/app.e2e-spec.ts (100%) rename apps/{api => nest-app}/test/jest-e2e.json (100%) rename apps/{api => nest-app}/tsconfig.build.json (100%) rename apps/{api => nest-app}/tsconfig.json (100%) diff --git a/apps/api/.env.example b/apps/nest-app/.env.example similarity index 100% rename from apps/api/.env.example rename to apps/nest-app/.env.example diff --git a/apps/api/README.md b/apps/nest-app/README.md similarity index 100% rename from apps/api/README.md rename to apps/nest-app/README.md diff --git a/apps/api/nest-cli.json b/apps/nest-app/nest-cli.json similarity index 100% rename from apps/api/nest-cli.json rename to apps/nest-app/nest-cli.json diff --git a/apps/api/package.json b/apps/nest-app/package.json similarity index 93% rename from apps/api/package.json rename to apps/nest-app/package.json index 28558fc..cb03cde 100644 --- a/apps/api/package.json +++ b/apps/nest-app/package.json @@ -1,8 +1,8 @@ { - "name": "@coldrun/monorepo-typescript-api", + "name": "@coldrun/monorepo-typescript-nest-app", "private": true, "version": "1.0.0", - "description": "API starter repository powered by NestJS", + "description": "Starter app service powered by NestJS", "license": "MIT", "scripts": { "build": "nest build", diff --git a/apps/api/src/app/app.config.ts b/apps/nest-app/src/app/app.config.ts similarity index 100% rename from apps/api/src/app/app.config.ts rename to apps/nest-app/src/app/app.config.ts diff --git a/apps/api/src/app/app.module.ts b/apps/nest-app/src/app/app.module.ts similarity index 100% rename from apps/api/src/app/app.module.ts rename to apps/nest-app/src/app/app.module.ts diff --git a/apps/api/src/app/environment.ts b/apps/nest-app/src/app/environment.ts similarity index 100% rename from apps/api/src/app/environment.ts rename to apps/nest-app/src/app/environment.ts diff --git a/apps/api/src/app/index.ts b/apps/nest-app/src/app/index.ts similarity index 100% rename from apps/api/src/app/index.ts rename to apps/nest-app/src/app/index.ts diff --git a/apps/api/src/main.ts b/apps/nest-app/src/main.ts similarity index 100% rename from apps/api/src/main.ts rename to apps/nest-app/src/main.ts diff --git a/apps/api/src/modules/hello/hello.controller.spec.ts b/apps/nest-app/src/modules/hello/hello.controller.spec.ts similarity index 100% rename from apps/api/src/modules/hello/hello.controller.spec.ts rename to apps/nest-app/src/modules/hello/hello.controller.spec.ts diff --git a/apps/api/src/modules/hello/hello.controller.ts b/apps/nest-app/src/modules/hello/hello.controller.ts similarity index 100% rename from apps/api/src/modules/hello/hello.controller.ts rename to apps/nest-app/src/modules/hello/hello.controller.ts diff --git a/apps/api/src/modules/hello/hello.module.ts b/apps/nest-app/src/modules/hello/hello.module.ts similarity index 100% rename from apps/api/src/modules/hello/hello.module.ts rename to apps/nest-app/src/modules/hello/hello.module.ts diff --git a/apps/api/src/modules/hello/hello.service.ts b/apps/nest-app/src/modules/hello/hello.service.ts similarity index 100% rename from apps/api/src/modules/hello/hello.service.ts rename to apps/nest-app/src/modules/hello/hello.service.ts diff --git a/apps/api/src/modules/hello/index.ts b/apps/nest-app/src/modules/hello/index.ts similarity index 100% rename from apps/api/src/modules/hello/index.ts rename to apps/nest-app/src/modules/hello/index.ts diff --git a/apps/api/test/app.e2e-spec.ts b/apps/nest-app/test/app.e2e-spec.ts similarity index 100% rename from apps/api/test/app.e2e-spec.ts rename to apps/nest-app/test/app.e2e-spec.ts diff --git a/apps/api/test/jest-e2e.json b/apps/nest-app/test/jest-e2e.json similarity index 100% rename from apps/api/test/jest-e2e.json rename to apps/nest-app/test/jest-e2e.json diff --git a/apps/api/tsconfig.build.json b/apps/nest-app/tsconfig.build.json similarity index 100% rename from apps/api/tsconfig.build.json rename to apps/nest-app/tsconfig.build.json diff --git a/apps/api/tsconfig.json b/apps/nest-app/tsconfig.json similarity index 100% rename from apps/api/tsconfig.json rename to apps/nest-app/tsconfig.json diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 05af19a..a778bf6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -75,7 +75,7 @@ importers: specifier: ^17.7.2 version: 17.7.2 - apps/api: + apps/nest-app: dependencies: '@coldrun/monorepo-typescript-core': specifier: workspace:* @@ -3318,7 +3318,7 @@ packages: glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - deprecated: Glob versions prior to v9 are no longer supported + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me global-directory@4.0.1: resolution: {integrity: sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==} @@ -6413,7 +6413,7 @@ snapshots: '@jridgewell/gen-mapping@0.3.13': dependencies: - '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/sourcemap-codec': 1.5.5 '@jridgewell/trace-mapping': 0.3.31 '@jridgewell/remapping@2.3.5': @@ -6435,12 +6435,12 @@ snapshots: '@jridgewell/trace-mapping@0.3.31': dependencies: '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/sourcemap-codec': 1.5.5 '@jridgewell/trace-mapping@0.3.9': dependencies: '@jridgewell/resolve-uri': 3.1.2 - '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/sourcemap-codec': 1.5.5 '@lerna-lite/cli@3.12.1(@lerna-lite/publish@3.12.1(@types/node@24.10.13)(typescript@5.7.3))(@lerna-lite/version@3.12.1(@lerna-lite/publish@3.12.1(@types/node@24.10.13)(typescript@5.7.3))(@types/node@24.10.13)(typescript@5.7.3))(@types/node@24.10.13)(typescript@5.7.3)': dependencies: