From 3f757bdeb2f62484944eb42a75cadd30de2eedb3 Mon Sep 17 00:00:00 2001 From: Valery Melou Date: Fri, 24 May 2024 02:53:54 +0100 Subject: [PATCH] refactor: rename portfolio into website --- apps/{portfolio => website}/.eslintrc.json | 0 apps/{portfolio => website}/jest.config.ts | 4 +-- apps/{portfolio => website}/project.json | 27 ++++++++---------- .../src/app/app.component.html | 0 .../src/app/app.component.scss | 0 .../src/app/app.component.spec.ts | 0 .../src/app/app.component.ts | 0 .../src/app/app.config.ts | 0 .../src/app/app.routes.ts | 0 .../src/assets/.gitkeep | 0 .../src/assets/images/screenshots/ifdd.png | Bin .../src/assets/images/valerymelou.jpg | Bin apps/{portfolio => website}/src/favicon.ico | Bin apps/{portfolio => website}/src/index.html | 0 apps/{portfolio => website}/src/main.ts | 0 apps/{portfolio => website}/src/styles.scss | 0 apps/{portfolio => website}/src/test-setup.ts | 0 .../{portfolio => website}/tailwind.config.js | 0 apps/{portfolio => website}/tsconfig.app.json | 0 .../tsconfig.editor.json | 0 apps/{portfolio => website}/tsconfig.json | 0 .../{portfolio => website}/tsconfig.spec.json | 0 22 files changed, 14 insertions(+), 17 deletions(-) rename apps/{portfolio => website}/.eslintrc.json (100%) rename apps/{portfolio => website}/jest.config.ts (88%) rename apps/{portfolio => website}/project.json (71%) rename apps/{portfolio => website}/src/app/app.component.html (100%) rename apps/{portfolio => website}/src/app/app.component.scss (100%) rename apps/{portfolio => website}/src/app/app.component.spec.ts (100%) rename apps/{portfolio => website}/src/app/app.component.ts (100%) rename apps/{portfolio => website}/src/app/app.config.ts (100%) rename apps/{portfolio => website}/src/app/app.routes.ts (100%) rename apps/{portfolio => website}/src/assets/.gitkeep (100%) rename apps/{portfolio => website}/src/assets/images/screenshots/ifdd.png (100%) rename apps/{portfolio => website}/src/assets/images/valerymelou.jpg (100%) rename apps/{portfolio => website}/src/favicon.ico (100%) rename apps/{portfolio => website}/src/index.html (100%) rename apps/{portfolio => website}/src/main.ts (100%) rename apps/{portfolio => website}/src/styles.scss (100%) rename apps/{portfolio => website}/src/test-setup.ts (100%) rename apps/{portfolio => website}/tailwind.config.js (100%) rename apps/{portfolio => website}/tsconfig.app.json (100%) rename apps/{portfolio => website}/tsconfig.editor.json (100%) rename apps/{portfolio => website}/tsconfig.json (100%) rename apps/{portfolio => website}/tsconfig.spec.json (100%) diff --git a/apps/portfolio/.eslintrc.json b/apps/website/.eslintrc.json similarity index 100% rename from apps/portfolio/.eslintrc.json rename to apps/website/.eslintrc.json diff --git a/apps/portfolio/jest.config.ts b/apps/website/jest.config.ts similarity index 88% rename from apps/portfolio/jest.config.ts rename to apps/website/jest.config.ts index 71edf2c..f35a027 100644 --- a/apps/portfolio/jest.config.ts +++ b/apps/website/jest.config.ts @@ -1,9 +1,9 @@ /* eslint-disable */ export default { - displayName: 'portfolio', + displayName: 'website', preset: '../../jest.preset.js', setupFilesAfterEnv: ['/src/test-setup.ts'], - coverageDirectory: '../../coverage/apps/portfolio', + coverageDirectory: '../../coverage/apps/website', transform: { '^.+\\.(ts|mjs|js|html)$': [ 'jest-preset-angular', diff --git a/apps/portfolio/project.json b/apps/website/project.json similarity index 71% rename from apps/portfolio/project.json rename to apps/website/project.json index 54adb1e..7863594 100644 --- a/apps/portfolio/project.json +++ b/apps/website/project.json @@ -1,26 +1,23 @@ { - "name": "portfolio", + "name": "website", "$schema": "../../node_modules/nx/schemas/project-schema.json", "projectType": "application", "prefix": "app", - "sourceRoot": "apps/portfolio/src", + "sourceRoot": "apps/website/src", "tags": [], "targets": { "build": { "executor": "@angular-devkit/build-angular:application", "outputs": ["{options.outputPath}"], "options": { - "outputPath": "dist/apps/portfolio", - "index": "apps/portfolio/src/index.html", - "browser": "apps/portfolio/src/main.ts", + "outputPath": "dist/apps/website", + "index": "apps/website/src/index.html", + "browser": "apps/website/src/main.ts", "polyfills": ["zone.js"], - "tsConfig": "apps/portfolio/tsconfig.app.json", + "tsConfig": "apps/website/tsconfig.app.json", "inlineStyleLanguage": "scss", - "assets": [ - "apps/portfolio/src/favicon.ico", - "apps/portfolio/src/assets" - ], - "styles": ["apps/portfolio/src/styles.scss"], + "assets": ["apps/website/src/favicon.ico", "apps/website/src/assets"], + "styles": ["apps/website/src/styles.scss"], "scripts": [] }, "configurations": { @@ -51,10 +48,10 @@ "executor": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { - "buildTarget": "portfolio:build:production" + "buildTarget": "website:build:production" }, "development": { - "buildTarget": "portfolio:build:development" + "buildTarget": "website:build:development" } }, "defaultConfiguration": "development" @@ -62,7 +59,7 @@ "extract-i18n": { "executor": "@angular-devkit/build-angular:extract-i18n", "options": { - "buildTarget": "portfolio:build" + "buildTarget": "website:build" } }, "lint": { @@ -72,7 +69,7 @@ "executor": "@nx/jest:jest", "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], "options": { - "jestConfig": "apps/portfolio/jest.config.ts" + "jestConfig": "apps/website/jest.config.ts" } } } diff --git a/apps/portfolio/src/app/app.component.html b/apps/website/src/app/app.component.html similarity index 100% rename from apps/portfolio/src/app/app.component.html rename to apps/website/src/app/app.component.html diff --git a/apps/portfolio/src/app/app.component.scss b/apps/website/src/app/app.component.scss similarity index 100% rename from apps/portfolio/src/app/app.component.scss rename to apps/website/src/app/app.component.scss diff --git a/apps/portfolio/src/app/app.component.spec.ts b/apps/website/src/app/app.component.spec.ts similarity index 100% rename from apps/portfolio/src/app/app.component.spec.ts rename to apps/website/src/app/app.component.spec.ts diff --git a/apps/portfolio/src/app/app.component.ts b/apps/website/src/app/app.component.ts similarity index 100% rename from apps/portfolio/src/app/app.component.ts rename to apps/website/src/app/app.component.ts diff --git a/apps/portfolio/src/app/app.config.ts b/apps/website/src/app/app.config.ts similarity index 100% rename from apps/portfolio/src/app/app.config.ts rename to apps/website/src/app/app.config.ts diff --git a/apps/portfolio/src/app/app.routes.ts b/apps/website/src/app/app.routes.ts similarity index 100% rename from apps/portfolio/src/app/app.routes.ts rename to apps/website/src/app/app.routes.ts diff --git a/apps/portfolio/src/assets/.gitkeep b/apps/website/src/assets/.gitkeep similarity index 100% rename from apps/portfolio/src/assets/.gitkeep rename to apps/website/src/assets/.gitkeep diff --git a/apps/portfolio/src/assets/images/screenshots/ifdd.png b/apps/website/src/assets/images/screenshots/ifdd.png similarity index 100% rename from apps/portfolio/src/assets/images/screenshots/ifdd.png rename to apps/website/src/assets/images/screenshots/ifdd.png diff --git a/apps/portfolio/src/assets/images/valerymelou.jpg b/apps/website/src/assets/images/valerymelou.jpg similarity index 100% rename from apps/portfolio/src/assets/images/valerymelou.jpg rename to apps/website/src/assets/images/valerymelou.jpg diff --git a/apps/portfolio/src/favicon.ico b/apps/website/src/favicon.ico similarity index 100% rename from apps/portfolio/src/favicon.ico rename to apps/website/src/favicon.ico diff --git a/apps/portfolio/src/index.html b/apps/website/src/index.html similarity index 100% rename from apps/portfolio/src/index.html rename to apps/website/src/index.html diff --git a/apps/portfolio/src/main.ts b/apps/website/src/main.ts similarity index 100% rename from apps/portfolio/src/main.ts rename to apps/website/src/main.ts diff --git a/apps/portfolio/src/styles.scss b/apps/website/src/styles.scss similarity index 100% rename from apps/portfolio/src/styles.scss rename to apps/website/src/styles.scss diff --git a/apps/portfolio/src/test-setup.ts b/apps/website/src/test-setup.ts similarity index 100% rename from apps/portfolio/src/test-setup.ts rename to apps/website/src/test-setup.ts diff --git a/apps/portfolio/tailwind.config.js b/apps/website/tailwind.config.js similarity index 100% rename from apps/portfolio/tailwind.config.js rename to apps/website/tailwind.config.js diff --git a/apps/portfolio/tsconfig.app.json b/apps/website/tsconfig.app.json similarity index 100% rename from apps/portfolio/tsconfig.app.json rename to apps/website/tsconfig.app.json diff --git a/apps/portfolio/tsconfig.editor.json b/apps/website/tsconfig.editor.json similarity index 100% rename from apps/portfolio/tsconfig.editor.json rename to apps/website/tsconfig.editor.json diff --git a/apps/portfolio/tsconfig.json b/apps/website/tsconfig.json similarity index 100% rename from apps/portfolio/tsconfig.json rename to apps/website/tsconfig.json diff --git a/apps/portfolio/tsconfig.spec.json b/apps/website/tsconfig.spec.json similarity index 100% rename from apps/portfolio/tsconfig.spec.json rename to apps/website/tsconfig.spec.json